Siemens SIMATIC S5 Manual page 111

Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

S5-115F Manual
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
*
*
NOP 0 is required if the program is to be represented in LAD or CSF in the PG 635, PG 670, PG 675, PG 685, PG 695 or
PG 750 programmers. NOP 0 operations are automatically assigned when programming in LAD and CSF.
EWA 4NEB 811 6149-02
Example
CSF
T 10
1
I 5.0
IW 22
TV
BI
DI
R
Q
T 10
QW 50
I 5.0
IW 22
QW 50
STEP 5 Operations
Representation
Load
Transfer
LAD
T 10
1
TV
BI
QW 50
DI
R
Q
3-15

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5-115f

Table of Contents