Siemens SIMATIC S5-115U User Manual page 216

Simatic s5 series cpu 941-7ub11 cpu 942-7ub11 cpu 943-7ub11 and cpu 943-7ub21 cpu 944-7ub11 and cpu 944-7ub21
Table of Contents

Advertisement

STEP 5 Operations
Loading a Time
Timer operations call internal timers.
When a timer operation is started, the word in ACCUM 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 sec.
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
3
0.1 s
1 s
10 s
S5-115U Manual
EWA 4NEB 811 6130-02b

Advertisement

Table of Contents
loading

Table of Contents