How to make a channel value increase / decrease by 1 when conditions are met?
E.g.
I set value of channel no.1 to 10, then set formula of channel no.1 to
Val(1)>1?Val()+1:Val()
I want to use this value as a timer to give the alarm detection as time delay / tolerance.
With configuration of Current Data writing period of 1s,
I excepted the value of channel no.2 increase every time the data refreshed.
But the value increased rapidly, maybe 9-10 every second, seems the channel keep updating the value endlessly.
Any solution or alternative solution?