Mitsubishi Electronics MELSEC Q series MELSEC L series ユーザーズマニュアル

ページ / 412
5-146
5.4 Network Dedicated Instruction
5.4.8 READ instruction
J_READ, G_READ
5.4.8  
READ instruction
J_READ, G_READ
*1 :
Local devices and file registers per program cannot be used as setting data.
*2 :
Only CC-Link IE Field Network
When the target station is LCPU, Universal model QCPU, or  Basic model QCPU, the digit specification 
of the bit device can be used (example: K4M16).
The digit specification of the bit device can be used when the following conditions are met.
• The device number is a multiple of 16 (10
H
).
• The digit specification is 4 points (K4).
Function
This instruction reads data from a word device of another station.
J(P)_READ
G(P)_READ
P: Executing condition
:
 indicates any of the following 
instructions.
J_READ
JP_READ
G_READ
GP_READ
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
s1:
Variable that stores control data
:Array of ANY16 [0..17]
s2:
Start number of the target station's device from which data are 
read
:ANY
Output argument
ENO:
Execution result
:Bit
d1:
Start number of the host station's 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
*2
CC IE F
CC IE C
NET/H
Ether
Structured ladder/FBD
EN
ENO
Jn*
d1
d2
s1
s2
EN
ENO
Un*
d1
d2
s1
s2
ST
(EN, Jn*, s1, s2, d1, d2);
ENO:=
(EN, Un*, s1, s2, d1, d2);
ENO:=
J_READ
G_READ
J_READ
G_READ
s1
s2
d1
d2