Timer / Counter
6 instructions.
- On-delay timer
TONTimes while the rung is true. DN turns on when ACC reaches PRE. - Off-delay timer
TOFKeeps DN on for PRE after the rung goes false. - Retentive timer
RTOLike TON, but keeps ACC when the rung goes false. Clear it with RES. - Count up
CTUAdds 1 each time the rung turns on. DN is on at PRE. - Count down
CTDTakes 1 away each time the rung turns on. - Reset
RESSets a timer's or counter's ACC to 0 and clears DN.