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

Скачать
Страница из 412
5-156
5.4 Network Dedicated Instruction
5.4.10 WRITE instruction
J_WRITE, G_WRITE
5.4.10  
WRITE instruction
J_WRITE, G_WRITE
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
s3:
Start number of the target station's device to which data are 
written
:ANY
Output argument
ENO:
Execution result
:Bit
d1:
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
CC IE F
CC IE C
NET/H
Ether
Structured ladder/FBD
EN
ENO
Jn*
d1
s1
s3
J_WRITE
EN
ENO
Un*
d1
s1
s2
s2
s3
G_WRITE
ST
J_WRITE
ENO:=
(EN, Jn*, s1, s2, s3, d1);
G_WRITE
(EN, Un*, s1, s2, s3, d1);
ENO:=
s1
s2
s3
d1