Siemens S5-100U User Manual page 171

Simatic s5 programmable controller
Hide thumbs Also See for S5-100U:
Table of Contents

Advertisement

STEP 5 Operations
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
Loading a Constant Time Value
The following example shows how you can load a time value of 40 s.
L KT
40.2
Key for Time Base
Base
0
Factor
0.01 s
8-16
These data types must be
in BCD code.
Operation
Operand
Coded time base (0 to 3)
Time (0 to 999)
1
2
0.1 s
1 s
3
10 s
S5-100U
EWA 4NEB 812 6120-02

Advertisement

Table of Contents
loading

Table of Contents