Hi
I have the following code in the IDE:
index@=index@+1
IF index@>359 Then
hourmeter@=hourmeter@+0.1
index@=0
ENDIF
That is supposed to function as an hourmeter, but it doesn’t capture 24hours in a 24hour period. I have previously set a TSET to accomplish this but it also doesn’t work as intended (i have multiple timers in the code).
Is there any way to solve this?
Thanks in advance