S5-100U
13.3
Coordinating Data Exchange in the Control Program
After you set the parameters, the control program for data exchange has to be created. The control
program relies on the coordination information that the operating system makes available in the
coordination bytes (see Figure 13-3).
Sender (source)
KBS
KBE
Control program
for data exchange
Send Mailbox
Receive Mailbox
L1 bus
Figure 13-3.
In the following paragraphs, you will learn how to control the sending and receiving of data after you
have set the parameters in DB1.
There is an example in section 13.3.3 of how you must program the data exchange in a function
block.
EWA 4NEB 812 6120-02
RAM
Data
area or
flag area
Data Exchange between Sender and Receiver (Principle)
Connecting the S5-100U to SINEC L1
Receive (destination)
RAM
KBS
KBE
Control program
for data exchange
Send Mailbox
Receive Mailbox
Data
area or
flag area
13-7