0% found this document useful (0 votes)
1K views

S Odt

This document provides information about the S_ODT instruction in Siemens Step 7 which is used to assign on-delay timer parameters and start a timer. The instruction starts a specified timer if there is a rising edge at the start input and runs it for the time specified. It will output a 1 at its status output once the time has elapsed if the start input is still high. The timer can be reset by a rising edge at the reset input or if the start input goes low before time expires. The current time value can be read from outputs in binary or BCD format.

Uploaded by

lindembm
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views

S Odt

This document provides information about the S_ODT instruction in Siemens Step 7 which is used to assign on-delay timer parameters and start a timer. The instruction starts a specified timer if there is a rising edge at the start input and runs it for the time specified. It will output a 1 at its status output once the time has elapsed if the start input is still high. The timer can be reset by a rising edge at the reset input or if the start input goes low before time expires. The current time value can be read from outputs in binary or BCD format.

Uploaded by

lindembm
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

S_ODT : Assign On-Delay Timer Parameters and Start

Symbol

English German
T no. T-Nr.
S_ODT S_EVERZ
S BI S DUAL
TV BCD TW DEZ
R Q R Q

Parameter Parameter Data Type Memory Area Description


English German
no. Nr. TIMER T Timer identification number.
The range depends on the CPU.
S S BOOL I, Q, M, D, L, T, C Start input
TV TW S5TIME I, Q, M, D, L or Preset time value (range 0-9999)
constant
R R BOOL I, Q, M, D, L, T, C Reset input
BI DUAL WORD I, Q, M, D, L Time remaining
(value in integer format)
BCD DEZ WORD I, Q, M, D, L Time remaining
(value in BCD format)
Q Q BOOL I, Q, M, D, L Status of the timer

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

Scan for "1"

Scan for "0"


t = Programmed time

Status Word

BR CC1 CC0 OV OS OR STA RLO FC


writes - - - - - X X X 1

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.

You might also like