5-102
5.4 CC-Link IE Controller Network, MELSECNET/H, and Ethernet Instruction
5.4.3 WRITE instruction
J_WRITE, G_WRITE
5.4.3
WRITE instruction
J_WRITE, G_WRITE
*1: Local devices and file registers per program cannot be used as setting data.
Function
This instruction writes data to a word device of another station.
J(P)_WRITE
G(P)_WRITE
P: Executing condition
:
indicates any of the following
instructions.
J_WRITE
JP_WRITE
G_WRITE
GP_WRITE
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 host station's device that stores write data :ANY16
Output argument
ENO:
Execution result
:Bit
d1:
Start number of the target station's device to which data are
written
: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
Internal device
R, ZR
J
\
U
\G
Zn
Constant Others
Bit
Word
Bit
Word
−
−
−
−
−
−
−
Structured ladder
EN
ENO
J
n
*
d
1
d
2
s
1
s
2
J_
W
RITE
EN
ENO
U
n
*
d
1
d
2
s
1
s
2
G_
W
RITE
ST
J_
W
RITE
(EN, J
n
*, s
1
, s
2
, d
1
, d
2
);
ENO:=
G_
W
RITE
(EN, U
n
*, s
1
, s
2
, d
1
, d
2
);
ENO:=
S1
S2
d1
d2
Содержание QCPU
Страница 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Special Instructions ...
Страница 2: ......
Страница 14: ...A 12 MEMO ...
Страница 28: ...2 10 MEMO ...
Страница 32: ...3 4 MEMO ...
Страница 38: ...4 6 MEMO ...
Страница 234: ...5 196 MEMO ...
Страница 238: ...Index 4 MEMO ...
Страница 241: ......