
9-11
Ladder Logic (LAD) for S7-300 and S7-400
C79000-G7076-C504-02
9.6 Retentive On-Delay S5 Timer
The Retentive On-Delay S5 Timer instruction starts a specified timer if there
is a positive edge (that is, a change in signal state from 0 to 1) at the Start (S)
input. A signal change is always necessary to start a timer. The timer
continues to run with the time that is specified at the Time Value (TV) input,
even if the signal state at input S changes to 0 before the timer has expired. A
signal state check for 1 at output Q produces a result of 1 when the time has
elapsed, without regard to the signal state at input S when the reset input (R)
remains at “0”. The timer is restarted with the specified time if the signal
state at input S changes from 0 to 1 while the timer is running.
A change from 0 to 1 at the Reset (R) input of the timer resets the timer
without regard to the RLO at the S input.
Table 9-9 Retentive On-Delay S5 Timer Box and Parameters, with International Short Name
LAD Box
Parameter Data Type Memory Area Description
T no.
no. TIMER T
Timer identification number. The
range depends on the CPU.
S_ODTS
S BOOL I, Q, M, D, L, T, C Start input
SQ
TV S5TIME I, Q, M, D, L Preset time value (range 0 to 9999)
TV BI
R BOOL I, Q, M, D, L, T, C Reset input
Q BOOL I, Q, M, D, L Status of the timer
BI WORD I, Q, M, D, L Remaining time value (integer format)
BCD WORD I, Q, M, D, L Remaining time value (BCD format)
Table 9-10 Retentive On-Delay S5 Timer Box and Parameters, with SIMATIC Short Name
LAD Box
Parameter Data Type Memory Area Description
T no.
no. TIMER T
Timer identification number. The
range depends on the CPU.
S_SEVERZ
S BOOL I, Q, M, D, L, T, C Start input
SQ
TW S5TIME I, Q, M, D, L Preset time value (range 0 to 9999)
TW DUAL
R BOOL I, Q, M, D, L, T, C Reset input
Q BOOL I, Q, M, D, L Status of the timer
DUAL WORD I, Q, M, D, L Remaining time value (integer format)
DEZ WORD I, Q, M, D, L Remaining time value (BCD format)
Description
Timer Instructions
Kommentare zu diesen Handbüchern