Publication 1747-RM001G-EN-P - November 2008
Basic Instructions 2-9
Timer On-delay (TON)
Use the TON instruction to turn an output on or off after the timer has been
on for a preset time interval. The TON instruction begins to count timebase
intervals when rung conditions become true. As long as rung conditions
remain true, the timer adjusts its accumulated value (ACC) each evaluation
until it reaches the preset value (PRE). The accumulated value is reset when
rung conditions go false, regardless of whether the timer has timed out.
Using Status Bits
When the processor changes from the REM Run or REM Test mode to the
REM Program mode or user power is lost while the instruction is timing but
has not reached its preset value, the following occur.
• Timer Enable (EN) bit remains set
• Timer Timing (TT) bit remains set
• Accumulated value (ACC) remains the same
On returning to the REM Run or REM Test mode, the following can happen.
(EN)
(DN)
Timer
T4:0
Time Base
0.01
Preset 120
Accum 0
TON
TIMER ON DELAY
Output Instruction
Fixed SLC
5/01
SLC
5/02
SLC
5/03
SLC
5/04
SLC
5/05
• •••••
Table 2.4 Setting TON Status Bits
This Bit Is Set When And Remains Set Until
One of the Following
Timer Done Bit DN (bit 13) accumulated value is equal
to or greater than the preset
value
rung conditions go false
Timer Timing Bit TT (bit 14) rung conditions are true and
the accumulated value is
less than the preset value
rung conditions go false or
when the done bit is set
Timer Enable Bit EN (bit 15) rung conditions are true rung conditions go false
Table 2.5 Returning to REM Run or REM Test Mode
Condition Result
If the rung is true: EN bit remains set.
TT bit remains set.
ACC value is reset.
If the rung is false: EN bit is reset.
TT bit is reset.
ACC value is reset.