Mitsubishi Electronics MELSEC Q series MELSEC L series Home Theater Server User Manual


 
5.4 Network Dedicated Instruction
5.4.12 SEND instruction
5-167
J_SEND, G_SEND
5
MODULE DEDICATED
INSTRUCTION
J_SEND, G_SEND
5.4.12 SEND instruction
J_SEND, G_SEND
*1: Local devices and file registers per program cannot be used as setting data.
Function
This instruction sends data to another station.
J(P)_SEND
G(P)_SEND
P: Executing condition
:
indicates any of the following
instructions.
J_SEND JP_SEND
G_SEND GP_SEND
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
d:
Variable that turns ON upon completion of the instruction
d[1] also turns ON at the time of error completion.
:Array of bit [0..1]
Setting
data
*1
Internal device
R, ZR
J\
U\G
Zn
Constant
Others
Bit Word Bit Word


CC IE FCC IE C
NET/H Ether
Structured ladder/FBD
EN ENO
Jn* d
s1
s2
J_SEND
EN ENO
Un* d
s1
s2
G_SEND
ST
J_SEND
(EN, Jn*, s1, s2, d);ENO:=
G_SEND
(EN, Un*, s1, s2, d);ENO:=
s1
s2
d