Siemens SIMATIC S5-115U User Manual page 213

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

S5-115U Manual
Loading and Transferring a Time (See also Timer and Counter Operations)
During graphic input, QW 62 is assigned to output BI
of a timer. The programmer automatically stores the
corresponding load and transfer operation in the
control program. Thus the contents of the memory
location addressed with T 10 are loaded into
ACCUM 1.
Afterwards, the contents of the accumulator are
transferred to the process image addressed with
QW 62. In this example, you can see timer T 10 at
QW 62 in binary code.
Outputs BI and DE are digital outputs. The time at
output BI is in binary code. The time at output DE is in
BCD code with time base.
STL
A
I
5.0
L
IW
22
SP
T
10
NOP 0
L
T
10
T
QW 62
NOP 0
NOP 0
EWA 4NEB 811 6130-02b
Example
CSF
T 10
1
I 5.0
IW 22
TV
BI
QW 62
DE
R
Q
STEP 5 Operations
Representation
T 10
Load
Transfer
QW 62
LAD
T 10
I 5.0
1
IW 22
TV
BI
DE
R
Q
QW 62
8-13

Advertisement

Table of Contents
loading

Table of Contents