I have a channel with a formula that needs to be activated at a regular interval this seems to be provided with the “EverySec” function in the “Timers” script. For example, I want to be able to have the following formula:
EverySec(SetVal(101, Val()+1:Val()))
However, this causes an error. Some clarification on how this functionality is achieved would be helpful.
If you use this formula inside the channel 101, try EverySec(() => { return Val() + 1; }) or EverySec(() => Val() + 1)
The channel should be of the Calculated type.
This reply was modified 1 year, 10 months ago by Mikhail.
This reply was modified 1 year, 10 months ago by Mikhail.
Thanks for the info,
I have been trying to figure out how to get the channel to stop counting at a maximum value, using limits to do this has proven to be non-functional even when tied to the channel. Currently I have the E. Low and the Low set to 0, the High and E. High set to 165, and the dead band set to 1. Is there a way to have my channel stop counting once it reaches 165 using limits or is that under a different function?