140
5 MODULE DEDICATED INSTRUCTION
5.4 Network Dedicated Instruction
J(P)_SWRITE, G(P)_SWRITE
The following instruction can go in the dotted squares.
J_SWRITE, JP_SWRITE, G_SWRITE, GP_SWRITE
■
Executing condition
■
Argument
*1 Local devices and file registers per program cannot be used as setting data.
Processing details
This instruction writes data to a word device of another station.
Instruction
Executing condition
J_SWRITE
G_SWRITE
JP_SWRITE
GP_SWRITE
Input/output
argument
Name
Description
Data type
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
send data
ANY16
d1
Start number of the target station to which data are
written
ANY
Output argument
ENO
Execution result
Bit
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]
d3
Variable that turns ON upon completion of the
instruction
(Write notification device)
Bit
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant
Others
Bit
Word
Bit
Word
(s1)
(s2)
(d1)
(d2)
(d3)
CC IE F
CC IE C
NET/H
Ether
J_SWRITE
G_SWRITE
ST
J_SWRITE
(EN, Jn*, s1, s2, d1, d2, d3);
ENO:=
G_SWRITE
(EN, Un*, s1, s2, d1, d2, d3);
ENO:=
EN
ENO
Jn*
d2
d3
s1
d1
EN
ENO
Un*
d2
d3
s1
s2
s2
d1
J_SWRITE
G_SWRITE
Structured ladder/FBD
Содержание MELSEC System Q
Страница 1: ...MELSEC Q L Structured Programming Manual Special Instructions ...
Страница 2: ......
Страница 307: ...10 SFC CONTROL INSTRUCTION 10 2 SFC Transition Condition Comment Read 305 10 MEMO ...
Страница 309: ...I 307 MEMO ...
Страница 315: ......