Swrite Instruction - Mitsubishi QCPU Structured Programming Manual

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

Advertisement

5.4.4

SWRITE instruction

J(P)_SWRITE
G(P)_SWRITE
Structured ladder
J_SWRITE
G_SWRITE
EN
ENO
EN
Jn*
d1
Un*
s1
d2
s1
s2
d3
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 host station's device that stores write data :ANY16
Output argument
ENO:
Execution result
d1:
Start number of the target station's device to which data are
written
d2:
Variable that turns ON upon completion of the instruction
d2[1] also turns ON at the time of error completion.
d3:
Variable that turns ON upon completion of the instruction
(Write notification device)
Setting
data
5.4 CC-Link IE Controller Network, MELSECNET/H, and Ethernet Instruction
ST
ENO
ENO:=
(EN, Jn*, s1, s2, d1, d2, d3);
J_SWRITE
d1
ENO:=
(EN, Un*, s1, s2, d1, d2, d3);
G_SWRITE
d2
d3
"
Valid module during other station
"
Internal device
R, ZR
*1
Bit
Word
S1
S2
d1
d2
d3
*1: Local devices and file registers per program cannot be used as setting data.
J_SWRITE, G_SWRITE
J_SWRITE, G_SWRITE
P: Executing condition
indicates any of the following
instructions.
J_SWRITE
G_SWRITE
:Bit
:ANY16
:ANY16
:Array of ANY16 [0..17]
:Bit
:ANY16
:Array of bit [0..1]
:Bit
J
\
U
\G
Bit
Word
5.4.4 SWRITE instruction
:
JP_SWRITE
GP_SWRITE
5
Zn
Constant Others
5-107

Advertisement

Table of Contents
loading

Table of Contents