52
S7-200 SIMATIC Timers The S7-200 SIMATIC LAD instruction set includes three types
of timers: On-Delay Timer (TON), Retentive On-Delay Timer
(TONR), and Off-Delay Timer (TOF). Timers are represented in an
S7-PLC ladder logic program by boxes.
S7-200 timers have a resolution of 1 millisecond,
10 milliseconds, or 100 milliseconds. This resolution appears
in the lower right corner of the timer box. As shown in the
following illustration, the resolution and type of timer that can
be used depends on the timer number. The maximum value of
time shown is for a single timer. By adding program elements,
greater time intervals can be timed.
IN
PT
TON
On-Delay Timer
Retentive On-Delay Timer Off-Delay Timer
Txxx
Txxx Txxx
IN
PT
TONR IN
PT
TOF
Timer Number (T0 to T255)
xxx ms xxx ms xxx ms
Timer Resolution
1 ms, 10 ms, or 100 ms
SIMATIC Timers
Timer Type Timer Number Resolution Maximum Value
TONR T0, T64 1 ms 32.767 seconds
(retentive) T1 to T4, T65 to T68 10 ms 327.67 seconds
T5 to T31, T69 to T95 100 ms 3276.7 seconds
TON, TOF T32, T96 1 ms 32.767 seconds
(non-retentive) T33 to T36, T97 to T100 10 ms 327.67 seconds
T37 to T63, T101 to T255 100 ms 3276.7 seconds
SIMATIC On-Delay Timer The previous example illustrated how a hardware on-delay timer
(TON) works. The corresponding software function in the S7-200
SIMATIC LAD instruction set is the On-Delay Timer (TON).
After the On-Delay Timer (TON) receives an enable (logic 1) at
its input (IN), a predetermined amount of time (preset time - PT)
passes before the timer bit (T-bit) turns on. The T-bit is a logic
function internal to the timer and is not shown on the symbol.
The timer resets the accumulated time to zero when the
enabling input goes to a logic 0.