Rockwell Automation Publication 1756-RM003N-EN-P - October 2011 123
Timer and Counter Instructions (TON, TOF, RTO, TONR, TOFR, RTOR, CTU, CTD, CTUD, RES) Chapter 3
Example: When limit_switch_2 is cleared, light_2 is on for 180 ms (timer_2 is timing).
When timer_2.acc reaches 180, light_2 goes off and light_3 goes on. Light_3
remains on until the TOF instruction is enabled. If limit_switch_2 is set while
timer_2 is timing, light_2 goes off.