Siemens SIMATIC S5-115U User Manual page 214

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 and Transferring a Time (Coded)
The contents of the memory location addressed with
T 10 are loaded into the accumulator in BCD code.
Then a transfer operation transfers the accumulator
contents to the process image memory location
addressed by QW 50. A coding operation is possible
only indirectly for the graphic representation forms
LAD and CSF by assigning an address to output DE of
a timer or counter location. However, with STL, this
operation can be entered with a separate statement.
STL
A
I
5.0
L
IW
22
SP
T
10
NOP 0
NOP 0
LC
T
10
T
QW 50
NOP 0
8-14
Example
CSF
T 10
1
I 5.0
IW 22
TV
BI
DE
QW 50
R
Q
S5-115U Manual
Representation
T 10
Load
Transfer
QW 50
LAD
T 10
I 5.0
1
IW 22
TV
BI
DE
R
Q
EWA 4NEB 811 6130-02b
QW 50

Advertisement

Table of Contents
loading

Table of Contents