S Odt
S Odt
Symbol
English German
T no. T-Nr.
S_ODT S_EVERZ
S BI S DUAL
TV BCD TW DEZ
R Q R Q
Description
The Assign On-Delay Timer Parameters and Start instruction starts a specified timer if there is a
rising edge (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 for the time specified at the Time Value (TV)
input as long as the signal state at input S is 1. A signal state check for 1 at output Q produces a
result of 1 when the time has elapsed without error and when the signal state at input S is still 1.
When the signal state at input S changes from 1 to 0 while the timer is running, the timer is stopped.
In this case, a signal state check for 1 at output Q always produces the result 0.
A change from 0 to 1 at the Reset (R) input of the timer while the timer is running resets the timer.
This change also resets the time and the time base to zero. The timer is also reset if the signal state
is 1 at the R input while the timer is not running.
The current time value can be scanned at the outputs BI and BCD. The time value at BI is in binary
format; at BCD it is in binary coded decimal format.
Timing Diagram
On-Delay timer characteristics:
t t t
RLO at S input
RLO at R input
Timer running
Status Word
Example
T5
S_ODT
I 0.0 S BI
S5T#2s TV BCD
Q 4.0
I 0.1 R Q =
If the signal state of input I0.0 changes from 0 to 1 (rising edge in the RLO), timer T5 is started. If the
specified time of two seconds (2s) elapses and the signal state of input I0.0 is still 1, the signal state
of output Q4.0 is 1. If the signal state of input I0.0 changes from 1 to 0, the timer is stopped and
output Q4.0 is 0. If the signal state of input I0.1 changes from 0 to 1 while the timer is running, the
timer is restarted.