Cc-Link Ie Controller Network, Melsecnet/H, And Ethernet Instruction; Read Instruction - Mitsubishi QCPU Structured Programming Manual

Melsec-q series
Hide thumbs Also See for QCPU:
Table of Contents

Advertisement

5.4
CC-Link IE Controller Network, MELSECNET/H, and
Ethernet Instruction
5.4.1

READ instruction

J(P)_READ
G(P)_READ
Structured ladder
J_READ
G_READ
EN
ENO
EN
Jn*
d1
Un*
s1
d2
s1
s2
s2
Input argument
EN:
Executing condition
Jn*:
Network number of the host station (1 to 239, 254)
254: Network specified in
access
Un*:
Start I/O number of the module
(00 to FE: Higher two digits when expressing the I/O number in
three digits)
s1:
Variable that stores control data
s2:
Start number of the target station's device from which data are
read
Output argument
ENO:
Execution result
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.
Setting
data
Function
This instruction reads data from a word device of another station.

5.4 CC-Link IE Controller Network, MELSECNET/H, and Ethernet Instruction

ST
ENO
ENO:=
(EN, Jn*, s1, s2, d1, d2);
J_READ
d1
ENO:=
(EN, Un*, s1, s2, d1, d2);
G_READ
d2
"
Valid module during other station
"
Internal device
R, ZR
*1
Bit
Word
S1
S2
d1
d2
*1: Local devices and file registers per program cannot be used as setting data.
J_READ, G_READ
P: Executing condition
indicates any of the following
instructions.
J_READ
G_READ
:Bit
:ANY16
:ANY16
:Array of ANY16 [0..17]
:ANY
:Bit
:Array of bit [0..1]
J
\
U
\G
Bit
Word
5.4.1 READ instruction
J_READ, G_READ
:
JP_READ
GP_READ
5
Zn
Constant Others
5-97

Advertisement

Table of Contents
loading

Table of Contents