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

Скачать
Страница из 412
5.4 Network Dedicated Instruction
5.4.1 RIRD instruction
5-117
J_RIRD, G_RIRD
5
MODULE DEDICA
TED 
INSTRU
CTI
O
N
J_
R
IRD, G_
RIRD
5.4  
Network Dedicated Instruction
5.4.1  
RIRD instruction
J_RIRD, G_RIRD
*1: Local devices and file registers per program cannot be used as setting data.
Function
This instruction reads data for the specified number of points from the buffer memory of the CC-
Link module or the device of the programmable controller CPU module on the specified station.
J(P)_RIRD
G(P)_RIRD
P: Executing condition
:
 indicates any of the following 
instructions.
J_RIRD
JP_RIRD
G_RIRD
GP_RIRD
Input argument
EN:
Executing condition
:Bit
Jn*:
Network number of the host station (1 to 239, 254)
254: Network specified in "Valid module during other station
access"
:ANY16
Un*:
Start I/O number of the module
(00 to FE: Higher two digits when expressing the I/O number in 
three digits)
:ANY16
s:
Variable that stores control data
:Array of ANY16 [0..4]
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 CC IE C CC IE F
Structured ladder/FBD
EN
ENO
Jn*
d1
d2
s
J_RIRD
EN
ENO
Un*
d1
d2
s
G_RIRD
ST
J_RIRD
(EN, Jn*, s, d1, d2);
ENO:=
G_RIRD
(EN, Un*, s, d1, d2);
ENO:=
s
d1
d2