Siemens SIMATIC S5 CP 523 Manual page 174

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

Advertisement

CP 523
STL FB 123
M003
:A
F
100.2
:JC
=M001
:L
FW 242
:ADD KF +4
:T
FW 242
:L
FW 244
:ADD KF +4
:T
FW 244
:L
FW 250
:ADD KF +6
:T
FW 252
:
M004
:L
FW 254
:DO
FW 242
:L
DW
:!=F
:S
F
100.2
:DO
FW 252
:T
PW
:L
FW 242
:L
FW 244
:><F
:JC
=M002
:L
FW 242
:ADD KF +3
:T
FW 242
:JU
=M003
M002 :L
FW 242
:ADD KF -1
:T
FW 242
:L
FW 252
:ADD KF -2
:T
FW 252
:JU
=M004
M001 :
:BE
EWA 4NEB 811 6044-02a
If end-of-text character flag set,
block end.
Load data word pointer,
increment by 4
and store.
Load auxiliary data word pointer,
increment by 4
and store.
Set byte 6 - CP 523 address
and store.
Load end-of-text character and
compare with the data word to be
transferred.
0
If data word = end-of-text character,
set end-of-text character flag.
Transfer data word
to CP 523.
0
Transfer message block (8 data bytes) to
the CP 523?
If no,
transfer next data word.
Prepare
transfer
of next message block.
Set number of the next data word and
store.
Set transfer area on the CP 523 and
store.
Block End
Explanation
Communications Mode
7-69

Advertisement

Table of Contents
loading

Table of Contents