EasyManua.ls Logo

Siemens S5-100U - Page 171

Siemens S5-100U
512 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
STEP 5 Operations S5-100U
Loading a Time
Timer operations call internal timers.
When a timer operation is started, the word in ACCU 1 is used as a time value. You must therefore
first specify time values in the accumulator.
You can load a timer with any of the following data types:
KT constant time value
or
DW data word
IW input word
QW output word
FW flag word
These data types must be
in BCD code.
Loading a Constant Time Value
The following example shows how you can load a time value of 40 s.
L KT 40.2
Operation
Operand
Coded time base (0 to 3)
Time (0 to 999)
Key for Time Base
Base 0 1 2 3
Factor 0.01 s 0.1 s 1 s 10 s
8-16
EWA 4NEB 812 6120-02

Table of Contents

Related product manuals