
9-13
Ladder Logic (LAD) for S7-300 and S7-400
C79000-G7076-C504-02
9.7 Off-Delay S5 Timer
The Off-Delay S5 Timer instruction starts a specified timer if there is a
negative edge (that is, a change in signal state from 1 to 0) at the Start (S)
input. A signal change is always necessary to start a timer. The result of a
signal state check for 1 at output Q is 1 when the signal state at the S input is
1 or when the timer is running. The timer is reset when the signal state at
input S goes from 0 to 1 while the timer is running. The timer is not restarted
until the signal state at input S changes again from 1 to 0.
A change from 0 to 1 at the Reset (R) input of the timer while the timer is
running resets the timer.
The actual time value can be scanned at the outputs BI and BCD. The time
value at BI is in binary coded format; at BCD it is in binary coded decimal
format.
Certain restrictions apply to the placement of timer boxes (see Section 6.1).
Table 9-11 Off-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_OFFDT
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
BCD
Q BOOL I, Q, M, D, L Status of the timer
R
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-12 Off-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_AVERZ
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
DEZ
Q BOOL I, Q, M, D, L Status of the timer
R
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
Comentarios a estos manuales