Uploaded November 2026 | Updated November 2026, 15 hours ago
PLC timer sequence in six rungs: TON on delay, TOF off delay, then an RTO retentive total that breaks the seal in. Plus the Structured Text version.
โก QUICK ANSWER
The three timers are wired in a chain, and the chain closes on itself. Start seals in the run request. The run request drives the on delay timer. That timer's done bit drives the off delay timer. The off delay timer's done bit is the motor. The motor drives the retentive timer, and when the retentive timer reaches its service preset it breaks the run request that started everything. Six rungs: the seal in with a normally closed contact on the retentive timer for the service interlock, the TON at 2 seconds, the TOF at 5 seconds, the output, the RTO at 20 seconds, and a reset. In Structured Text the on delay and off delay timers are standard function blocks, but there is no standard retentive block, so each run is timed with an on delay timer and the elapsed time is banked when the motor stops. The total is the bank plus the current run.
๐ FULL STEP-BY-STEP + DOWNLOADS (example program, Structured Text file)
accautomation.ca/plc-timers-explained-ton-tof-rto
๐ WHAT YOU'LL LEARN
โ Chain three timers by feeding each one's done bit into the next, so the sequence needs no step counter or state variable
โ Break the seal in rung with a normally closed contact on the retentive timer, so reaching the service interval stops the machine and blocks a restart
โ Lay the whole thing out in six rungs: seal in, on delay, off delay, output, retentive, reset
โ Build a retentive timer in Structured Text, where no standard block exists, by banking elapsed time at each stop and adding the current run
โ Clear both the banked time and the current run from one reset input, matching what the ladder reset rung does
โ FREQUENTLY ASKED
Q: Does Structured Text have a retentive timer?
A: No. On delay and off delay are standard function blocks, but there is no standard retentive block. You time each run with an on delay timer, bank the elapsed time when the machine stops, and add the banked total to the current run.
Q: How does a timer stop the circuit that started it?
A: The seal in rung carries a normally closed contact from the retentive timer. While the timer is below its preset the contact passes power, and the moment it times out the contact opens and drops the run request, so the machine cannot restart until the timer is reset.
Q: Why chain the done bits instead of using a step sequencer?
A: For a short fixed sequence the chain is fewer rungs and reads straight down the page. A sequencer earns its place once there are many steps or the order has to change.
๐ Full walkthrough, example program and Structured Text file: accautomation.ca/plc-timers-explained-ton-tof-rto
๐ MORE RESOURCES
โถ Full video โ TON, TOF or RTO: Which PLC Timer Should You Use? youtu.be/TL4jVWr_xL4
โถ Free ACC PLC Simulator, runs in your browser: accautomation.ca/simulator
โถ PLC Beginners Guide: accautomation.ca/programming/plc-beginners-guide
๐ฌ Questions? Drop a comment below.
๐ New tutorials every Monday โ Subscribe and hit the bell!
#PLC #LadderLogic #IndustrialAutomation #PLCProgramming #ACCAutomation #PLCTimer #StructuredText #LearnPLC #Shorts
Regards,
Garry
ACC Automation
accautomation.ca
PLC timer sequence in six rungs: TON on delay, TOF off delay, then an RTO retentive total that breaks the seal in. Plus the Structured Text version.
โก QUICK ANSWER
The three timers are wired in a chain, and the chain closes on itself. Start seals in the run request. The run request drives the on delay timer. That timer's done bit drives the off delay timer. The off delay timer's done bit is the motor. The motor drives the retentive timer, and when the retentive timer reaches its service preset it breaks the run request that started everything. Six rungs: the seal in with a normally closed contact on the retentive timer for the service interlock, the TON at 2 seconds, the TOF at 5 seconds, the output, the RTO at 20 seconds, and a reset. In Structured Text the on delay and off delay timers are standard function blocks, but there is no standard retentive block, so each run is timed with an on delay timer and the elapsed time is banked when the motor stops. The total is the bank plus the current run.
๐ FULL STEP-BY-STEP + DOWNLOADS (example program, Structured Text file)
accautomation.ca/plc-timers-explained-ton-tof-rto
๐ WHAT YOU'LL LEARN
โ Chain three timers by feeding each one's done bit into the next, so the sequence needs no step counter or state variable
โ Break the seal in rung with a normally closed contact on the retentive timer, so reaching the service interval stops the machine and blocks a restart
โ Lay the whole thing out in six rungs: seal in, on delay, off delay, output, retentive, reset
โ Build a retentive timer in Structured Text, where no standard block exists, by banking elapsed time at each stop and adding the current run
โ Clear both the banked time and the current run from one reset input, matching what the ladder reset rung does
โ FREQUENTLY ASKED
Q: Does Structured Text have a retentive timer?
A: No. On delay and off delay are standard function blocks, but there is no standard retentive block. You time each run with an on delay timer, bank the elapsed time when the machine stops, and add the banked total to the current run.
Q: How does a timer stop the circuit that started it?
A: The seal in rung carries a normally closed contact from the retentive timer. While the timer is below its preset the contact passes power, and the moment it times out the contact opens and drops the run request, so the machine cannot restart until the timer is reset.
Q: Why chain the done bits instead of using a step sequencer?
A: For a short fixed sequence the chain is fewer rungs and reads straight down the page. A sequencer earns its place once there are many steps or the order has to change.
๐ Full walkthrough, example program and Structured Text file: accautomation.ca/plc-timers-explained-ton-tof-rto
๐ MORE RESOURCES
โถ Full video โ TON, TOF or RTO: Which PLC Timer Should You Use? youtu.be/TL4jVWr_xL4
โถ Free ACC PLC Simulator, runs in your browser: accautomation.ca/simulator
โถ PLC Beginners Guide: accautomation.ca/programming/plc-beginners-guide
๐ฌ Questions? Drop a comment below.
๐ New tutorials every Monday โ Subscribe and hit the bell!
#PLC #LadderLogic #IndustrialAutomation #PLCProgramming #ACCAutomation #PLCTimer #StructuredText #LearnPLC #Shorts
Regards,
Garry
ACC Automation
accautomation.ca










