
9-5
Ladder Logic (LAD) for S7-300 and S7-400
C79000-G7076-C504-02
9.3 Pulse S5 Timer
The Pulse 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 specified time at the Time Value (TV) input until the programmed
time elapses, as long as the signal state at input TV is 1. While the timer is
running, a signal state check for 1 at output Q produces a result of 1. If there
is a change from 1 to 0 at the S input before the time has elapsed, the timer is
stopped. Then a signal state check for 1 at output Q produces a result of 0.
While the timer is running, a change from 0 to 1 at the Reset (R) input of the
timer resets the timer. This change also resets the time and the time base to
zero. A signal state of 1 at the R input of the timer has no effect if the timer
is not running.
The actual time value can be scanned at outputs BI and BCD. The time value
at BI is in binary coded format; at BCD it is in binary coded decimal format.
Table 9-3 Pulse 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_PULSE
S BOOL I, Q, M, D, L, T, C Start input
S
Q
TV S5TIME I, Q, M, D, L Preset time value (range 0 to 9999)
BCD
R BOOL I, Q, M, D, L, T, C Reset input
R
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-4 Pulse 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_IMPULS
S BOOL I, Q, M, D, L, T, C Start input
S
Q
TW S5TIME I, Q, M, D, L Preset time value (range 0 to 9999)
DEZ
R BOOL I, Q, M, D, L, T, C Reset input
R
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
Comentários a estes Manuais