5 - 36
MELSEC-
A
5 PRELIMINARY INFORMATION
(5) When using the RIRCV command
This is used to read a R2-designated buffer memory with executing handshake
automatically between the master station and R2.
When the RIRCV command is used, the master station buffer memory is used for
the control data size transmission buffer, and the master station buffer memory is
used for the read data size reception buffer.
(Example) Reading the reception data
R2 400
H
R2 401
H
Programmable controller CPU
Refer to control data (a)
Address
1000
H
to 11FF
H
M
of Q/QnA Series
0
H
to 1FF
H
of A Series bank 1
Address
Address
Q/QnA Series A Series
Bank 1
+
1203
H
M
203
H
M
Master module
(Transmission buffer)
(Reception buffer)
Complete status
Station No., request code
Bank 1
+
1200
H
M
200
H
M
Bank 1
+
1201
H
M
201
H
M
Bank 1
+
1202
H
M
202
H
M
Read data
Read data
No. of read data (byte)
R2
R2
401+n
H
Refer to interlock signal (b)
Reception data size
Reception data 1
...
Reception data n
Reception data size
designation area
Reception data storage
area
Bank 1 +
13FF
H
M
3FF
H
M
~
~
RIRCV command
execution
Reception normal read
request signal (RXn2)
At reception
normal completion
At reception
error completion
RIRCV command
execution completion
Reception error read
request signal (RXn3)
Reception read complete
signal (RYn2)
Reading of buffer
memory
R2