Internet PLC Forum
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
Internet PLC Forum
»
General
»
General Discussions
»
settimer sv
« previous
next »
Print
Pages: [
1
]
Author
Topic: settimer sv (Read 23020 times)
artkraft
Newbie
Posts: 22
I'm a llama!
settimer sv
«
on:
November 23, 2018, 07:29:17 PM »
I have been using SETCTRSV 6, DM[100] and entering a value via touch screen.
Will SETTIMERSV 7, DM[101] work as well.
Logged
support
Global Moderator
Hero Member
Posts: 3174
Re:settimer sv
«
Reply #1 on:
November 24, 2018, 06:28:12 PM »
Yes both of these are TBASIC codes to set the timer and counters preset values.
Note that for Fx class PLCs the changes are immediately non-voilatile since they are stored to the FRAM memory.
For FMD and Nano-10 you will need to run the SETSYSTEM command to store these new values to the flash memory. So it is not recommended to make changes to these set values very frequently as it will affect the SCAN time due to the need to erase a bank of flash memory and then backup the whole bank to the flash memory.
One other way to start a timer or counter in TBASIC is to assign their PV to a value.
E.g.
TIMERPV[ tim1 ] = DM[100]
CLRIO tim1 ' Timer #1 label name is tim1.
Logged
Email: support@triplc.com
Tel: 1-877-TRI-PLCS
BetterBath
Newbie
Posts: 18
Re: settimer sv
«
Reply #2 on:
January 26, 2023, 02:55:22 AM »
Thank you for this article.
About us
Our company
Visit us
roofing
drywall
repair
click here
roofing
roofing
services
roofing
click here
our site
roofing
«
Last Edit: January 31, 2023, 04:05:08 AM by BetterBath
»
Logged
Print
Pages: [
1
]
« previous
next »
Internet PLC Forum
»
General
»
General Discussions
»
settimer sv