Riwt Instruction - Mitsubishi QCPU Structured Programming Manual

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

Advertisement

5.3.2

RIWT instruction

G(P)_RIWT
Structured ladder
G_RIWT
EN
ENO
Un*
d
s1
s2
Input argument
EN:
Executing condition
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 device that stores write data
Output argument
ENO:
Execution result
d:
Variable that turns ON upon completion of the instruction
d[1] also turns ON at the time of error completion.
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.
ST
ENO:=
(EN, Un*, s1, s2, d);
G_RIWT
Internal device
R, ZR
*1
Bit
Word
S1
S2
d
*1: Local devices and file registers per program cannot be used as setting data.
P: Executing condition
indicates any of the following
instructions.
G_RIWT
GP_RIWT
:Bit
:ANY16
:Array of ANY16 [0..4]
:ANY16
:Bit
:Array of bit [0..1]
J
\
U
\G
Bit
Word
5.3 CC-Link Instruction
5.3.2 RIWT instruction
G_RIWT
G_RIWT
:
5
Zn
Constant Others
5-83

Advertisement

Table of Contents
loading

Table of Contents