Справочник Пользователя для Mitsubishi Electronics MELSEC Q series MELSEC L series

Скачать
Страница из 412
5.4 Network Dedicated Instruction
5.4.3 RIRCV instruction
5-127
G_RIRCV
5
MODULE DEDICA
TED 
INSTRU
CTI
O
N
G_RIRC
V
5.4.3  
RIRCV instruction
G_RIRCV
*1: Local devices and file registers per program cannot be used as setting data.
Function
This instruction automatically performs handshaking with an intelligent device station and reads 
data from the buffer memory of the specified intelligent device station.
This instruction is applicable with a module having a handshake signal, such as the 
AJ65BT-R2(N).
G(P)_RIRCV
P: Executing condition
:
 indicates any of the following 
instructions.
G_RIRCV
GP_RIRCV
Input argument
EN:
Executing condition
:Bit
Un*:
Start I/O number of the module
(00 to FE: Higher two digits when expressing the I/O number in 
three digits)
:ANY16
s1:
Variable that stores control data
:Array of ANY16 [0..4]
s2:
Variable that stores interlock signal
:Array of ANY16 [0..2]
Output argument
ENO:
Execution result
:Bit
d1:
Start number of the device that stores read data
:ANY16
d2:
Variable that turns ON upon completion of the instruction
d2[1] also turns ON at the time of error completion.
:Array of bit [0..1]
Setting
data 
*1
Internal device
R, ZR
J
\
U
\G
Zn
Constant Others
Bit
Word
Bit
Word
CC-Link
Structured ladder/FBD
ST
G_RIRCV
EN
ENO
Un*
s1
s2
d1
d2
G_RIRCV
(EN, Un*, s1, s2, d1, d2);
ENO:=
s1
s2
d1
d2