Internet PLC Forum

General => General Discussions => Topic started by: artkraft on November 23, 2018, 07:29:17 PM

Title: settimer sv
Post by: artkraft 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.
Title: Re:settimer sv
Post by: support 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.
Title: Re: settimer sv
Post by: BetterBath on January 26, 2023, 02:55:22 AM
Thank you for this article.
About us (http://www.iformative.com/product/roofing-p2188424.html)Our company (https://tasks.anbient.com/p/Roofing/)Visit us (https://www.provenexpert.com/port-st-lucie-roofers/)roofing (https://www.whofish.org/Default.aspx?tabid=47&modid=382&action=detail&itemid=5278161&rCode=18)drywall (https://www.b2bco.com/pslroofers/)repair (https://www.a-zbusinessfinder.com/business-directory/Port-St-Lucie-Roofers-Port-St-Lucie-Florida-USA/33740486/)click here (http://www.4mark.net/story/8527333/trusted-roofers-port-st-lucie-fl-roofing-in-port-st-lucie-10)roofing (http://)roofing (http://www.adbirds.com/ViewAd/?roofingAdRNUVQ)services (https://folkd.com/detail/https%3A%2F%2Fpslroofers.com)roofing (https://www.expatriates.com/cls/52392922.html)click here (http://adbritedirectory.com/Port-St-Lucie-Roofers_334350.html)our site (https://homedirectory.biz/Port-St-Lucie-Roofers_305770.html)roofing (http://classdirectory.org/details.php?id=220851)