Siemens SIMATIC S5 CP 523 Manual page 217

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

Advertisement

CP 523
Segment 6
Calculate the number of words in the last message
Has the last DW
been received?
No
Increment ZLAE by 1
END
EWA 4NEB 811 6044-02a
3
Buffer number of message blocks given in
acknowledgement and process
Buffer message frame length given in
acknowledgement and process
block
Further program preparations
Access word 0 on CP
Decrement number of message blocks by 1
Fetch a DW from the CP
Yes
Last message
block?
No
Increment ZLAE by 1
ZANF
Z-DB?
>
Yes
Output error message
Yes
Last message
block?
No
Access word 0 on CP
Decrement number of
message blocks by 1
Using the "SEND" and "RECEIVE" Function Blocks
Fetch Receive data from CP 523
No
Last DW of the
message block?
Yes
Last message
block?
Yes
END
Next DW
No
No
8-27

Advertisement

Table of Contents
loading

Table of Contents