Timer On Delay (TON) : Instruction
Timer On Delay (TON) : Instruction
Timer On Delay (TON) : Instruction
The TON instruction is a non-retentive timer that accumulates time when the instruction is enabled (rung-condition-in is
true).
Available Languages
Ladder Diagram
Function Block
This instruction is available in function block as TONR.
Structured Text
This instruction is available in structured text as TONR.
Operands
Ladder Diagram
TIMER Structure
Description
The time base is always 1 msec. For example, for a 2 second timer, enter 2000 for the .PRE value.
When the TON instruction is disabled, the .ACC value is cleared.
mk:@MSITStore:C:\Program%20Files%20(x86)\Rockwell%20Software\RSLogix%2050... 08-Mar-19
Timer On Delay (TON) Page 2 of 3
A timer runs by subtracting the time of its last scan from the current time:
ACC = ACC + (current_time - last_time_scanned)
After it updates the ACC, the timer sets last_time_scanned = current_time. This gets the timer ready for the next scan.
Important: Be sure to scan the timer at least every 69 minutes while it runs. Otherwise, the ACC value won’t be correct.
The last_time_scanned value has a range of up to 69 minutes. The timer’s calculation rolls over if you don’t scan the timer
within 69 minutes. The ACC value won’t be correct if this happens.
While a timer runs, scan it within 69 minutes if you put it in a:
subroutine
Not affected
Fault Conditions
Execution
Ladder Diagram
Condition Action
prescan The .EN bit is cleared.
The .TT bit is cleared.
mk:@MSITStore:C:\Program%20Files%20(x86)\Rockwell%20Software\RSLogix%2050... 08-Mar-19
Timer On Delay (TON) Page 3 of 3
Example
Ladder Diagram
Related Instructions
TOF, RTO
Related Topics
Counter Instructions
mk:@MSITStore:C:\Program%20Files%20(x86)\Rockwell%20Software\RSLogix%2050... 08-Mar-19