106
1 FUNCTIONS
1.6 Communications Using the Random Access Buffer
Example of communications with random access buffer
The following figure shows an example of the write operation from the external device.
The receive completion flag is set at the end of the received data.
The receive completion flag is monitored.
When the receive completion flag turns on, the data is transferred from the random access buffer to the CPU module.
ÒÓ
Ô
D10000
D10009
21710
21719
21720
RJ71EN71
1
1
Ó
Ô
Data received
Data received
Device memory
Random access buffer
CPU module
External device
Receive completion flag
Program for receive processing