pedroborges
Member
Good,
Code Totalizer:
IF ( Hour = 23) and ( Minute = 59) and ( Second = 59) THEN
totalizerDay_previous : = totalizerDay;
totalizerDay= 0;
End_IF
-------------------
I want to move the value from day's totalizer to previous day's totalizer at 23:59:59 (hour/minute/second). the code is not working, whenever I move the value from the totalizer of the day to the totalizer of the previous day it moves the zero value instead of moving the current value of the totalizer of the day
Code Totalizer:
IF ( Hour = 23) and ( Minute = 59) and ( Second = 59) THEN
totalizerDay_previous : = totalizerDay;
totalizerDay= 0;
End_IF
-------------------
I want to move the value from day's totalizer to previous day's totalizer at 23:59:59 (hour/minute/second). the code is not working, whenever I move the value from the totalizer of the day to the totalizer of the previous day it moves the zero value instead of moving the current value of the totalizer of the day