I have two TMRAG's, and whenever I do a PLC restart, they revert to 0 accumulated time.
I have addressed with some rungs, in $tLastScan I copy both Timer.Acc's values to D registers.
Then, in $tFirstScan, I copy the values back to the Timer.Acc's.
One of the Timers, T37, always continues with "old" value, the other, T0, does not, it starts over at 0.
EDIT: Both timers start over at 0, they are not "taking" the COPY of the restored value.
The T0 logic is in $tBottomOfScan, whereas the T37 logic is in a Program. They are both really simple logic: if contact closed, run timer.
Both the INC functions do occur, so the rungs are triggering. See attached screenshots.
What can I do to troubleshoot here? Both of the D registers have the correct, $tLastScan, value in them after restart.