■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB,
FX, FY
*1
(U)
*2
(s1)
*2
(s2)
(d)
*2
(n)
*1 Index modification is not available.
*2 FX and FY cannot be used.
*3 FD cannot be used.
Processing details
• Data is read from the automatic update or random access buffer of the master station.
• The instruction can be executed, from the master station, for an intelligent device station that performs communication with
an automatic update buffer (e.g. AJ65BT-R2N).
• The following figure shows how the G(P).RIFR instruction operates during execution.
[Own station]
CPU module
(s1)
(s2)
(d)
Data is read from the automatic update or random access buffer specified by (s1) and (s2) that is in the master station.
The read data is stored in the device specified by (d) and later.
Precautions
• Assignment of the automatic update buffer can be achieved by CC-Link configuration setting of the module parameters.
Operation error
Error code
Description
(SD0)
MELSEC iQ-R CPU Module User's Manual (Application)
4000H to 4FFFH
19 CC-LINK INSTRUCTIONS
1658
19.5 Reading Data from the Automatic Update Buffer
Word
J\
T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
*3
*3
*3
*3
CC-Link master station
G(P).RIFR
Automatic update buffer
Ò
Random access buffer
Ó
Double word Indirect
U\G, J\,
Z
LT, LST,
U3E\(H)G
LC
Communications start
when conditions are met.
Constant
specification
LZ
K, H E
[Target station]
CC-Link intelligent device station
Buffer memory
Automatic update
buffer memory
Others
(U)
$