5.2 Serial Communication and Modem Interface Instruction
5.2.2 OUTPUT instruction
5-53
5
QCP
U
IN
S
T
RUCTI
O
N
DE
TA
IL
S
G_O
U
T
P
UT
G_OUTPUT
5.2.2
OUTPUT instruction
G_OUTPUT
*1: Local devices and file registers per program cannot be used as setting data.
Function
This instruction sends data in the message format specified by the user using the nonprocedural
protocol.
G(P)_OUTPUT
P: Executing condition
:
indicates any of the following
instructions.
G_OUTPUT
GP_OUTPUT
Input argument
EN:
Executing condition
:Bit
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..2]
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
−
−
−
−
−
Structured ladder
ST
G_OUTPUT
EN
ENO
U
n
*
s
1
s
2
d
G_OUTPUT
(EN, U
n
*, s
1
, s
2
, d);
ENO:=
S1
S2
d
Summary of Contents for QCPU
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Special Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 28: ...2 10 MEMO ...
Page 32: ...3 4 MEMO ...
Page 38: ...4 6 MEMO ...
Page 234: ...5 196 MEMO ...
Page 238: ...Index 4 MEMO ...
Page 241: ......