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


 
5-122
5.4 Network Dedicated Instruction
5.4.2 RIWT instruction
J_RIWT, G_RIWT
5.4.2 RIWT instruction
J_RIWT, G_RIWT
*1: Local devices and file registers per program cannot be used as setting data.
Function
This instruction writes the data for the specified number of points to the buffer memory of the CC-
Link module or the device of the programmable controller CPU module on the specified station.
J(P)_RIWT
G(P)_RIWT
P: Executing condition
:
indicates any of the following
instructions.
J_RIWT JP_RIWT
G_RIWT GP_RIWT
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..4]
s2:
Start number of the 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-Link
CC IE C CC IE F
Structured ladder/FBD
EN ENO
Jn* d
s1
s2
J_RIWT
EN ENO
Un* d
s1
s2
G_RIWT
ST
J_RIWT
(EN, Jn*, s1, s2, d);ENO:=
G_RIWT
(EN, Un*, s1, s2, d);ENO:=
s1
s2
d