I have noticed that a TON's ACC value increases as long as the input is TRUE. When it reaches the .PRE value, the .DN bit goes true but the .ACC continues to increase. However, a RTO's .ACC value stops increasing once the .DN bit goes TRUE, regardless of the input's state.
The ACCumlator does not continue to accumulate after it reaches the PREset value. Once it reaches the PREset value, it stops.
What you may see is a slight overshoot on the ACC value. But this is due to the way the Timer and the program scan time interact.
If the timer reaches the PREset value before it gets scanned, the ACCumulator will count up a bit more until it is scanned and the Timer is Done. Then it will stop. So you may see, for example, a Timer that is Done with the PREset value of 1000 ms, but the ACCumulator sitting at 1004.
Showshocka, did you find YYY.J_TM used elsewhere in the program? It sounds like somewhere outside the AOI is changing the allowed Jamming time, which is why you are seeing the J_TM value change in your AOI.
Last edited: