CP 523
Using the ”SEND” and ”Receive” Function Blocks
Yes
Yes
No
No
No
Last message block?
No
No
Yes
Transferring Send data to the CP 523
SEGMENT 7
Decrement message block number by 1
Calculate message frame
remainder register
Transfer data word
to CP
Prepare transfer of next
DW
Yes
3
Is data to be
sent in fixed-length
message
frames?
Prepare for
transfer of
last message
block
Prepare for
transfer of
message
block
Prepare
transfer of
next DW
Transfer
data word
to CP
Last word of the
message block
transferred?
Last message block?
END
Set pointer to start of
message block
Are the contents
of the DW also the end-of-
text character?
Transfer last word of the
message block
Auxiliary flag set?
Yes
Yes
END
Set auxiliary
flag
No
EWA 4NEB 811 6044-02a
8-9