Siemens SIMATIC S5 CP 523 Manual page 186

Serial i/o module
Hide thumbs Also See for SIMATIC S5 CP 523:
Table of Contents

Advertisement

CP 523
STL FB 126
:DO
FW 232
:T
DW
:A
F
101.2
:JC
=M001
:L
FW 232
:L
FW 234
:><F
:JC
=M002
:L
FW 234
:ADD KF +4
:T
FW 234
:L
FW 232
:ADD KF +1
:T
FW 232
:JU
=M003
M002
:L
FW 232
:ADD KF +1
:T
FW 232
:L
FW 220
:ADD KF +2
:T
FW 220
:JC
=M004
M001
:
:BE
EWA 4NEB 811 6044-02a
Store data bytes
in destination DB.
0
Block End if
end-of-text character detected.
Has the message block
been completely transferred?
If no, read in two further
data bytes.
Set auxiliary data word pointer
for the next message block.
Set auxiliary data word pointer
for the first two data bytes
of the next message block.
Read in next message block.
Increment data word pointer by 1.
Increment current address
on the CP by 2.
Read in next word
of message block.
Block End
Explanation
Communications Mode
7-81

Advertisement

Table of Contents
loading

Table of Contents