Hi
I have the following code in the IDE:
index@ = index@ + 1
IF index@>359 Then
hourmeter@=hourmeter@+0.1
index@=0
ENDIF
but it doesn’t capture 24hours over a full 24hour period. According to the historical logs there are periods where the hourmeter@ doesn’t increment.
I have previously tried using TSET with 360 as the timer, but I have other timers in the IDE as well and it affected the other timers, hence i nested this code within an existing timer (so as to not create additional TSET)
is there any reason this could be happening?
Many thanks in advance