Mitsubishi Electronics MELSEC Q series MELSEC L series Home Theater Server User Manual


 
5.4 Network Dedicated Instruction
5.4.3 RIRCV instruction
5-129
G_RIRCV
5
MODULE DEDICATED
INSTRUCTION
G_RIRCV
Program Example
The following program reads 11-word data, which are stored in buffer memory starting from the
buffer memory address 400H of the number 63 intelligent device station (AJ65BT-R2(N))
connected to the master module mounted on the I/O numbers X/Y00 to X/Y1F, and stores the
data in the devices starting from D40.
The interlock signal storage is set to request device: RY2, completion device: RX2, error code
storage device: RWr2, and completion mode: 1.
(When the refresh device of the link special register (SW) is set to SW0.)
[Structured ladder/FBD]
Sets station number
Sets access code
and attribute code
Sets buffer memory
address
Sets number of
read points
Sets request device
Sets completion device
and error code storage
area
Sets completion mode
Performs readout
Turns execution
flag ON
Turns read request OFF
Turns execution
flag OFF
Process on normal completion
Process on error completion