9 - 34
MELSEC-
A
9 PROGRAM EXAMPLES
(7) Program for receiving data
Change to bank 1
Set dummy area
Set station No., request
code
Quantity (Fixed)
Access code, attribute
(Fixed)
Transmission buffer write
data size
R2 buffer memory address
(reception area)
Reception data size
Write reception data size
read request
Change to bank 0
Set intelligent device
station access request
Set intelligent device
station access request
Change to bank 1
Change to bank 0
Read reception data size