![Mitsubishi Electric MELSEC System Q Special Instructions Manual Download Page 56](http://html.mh-extra.com/html/mitsubishi-electric/melsec-system-q/melsec-system-q_special-instructions-manual_239154056.webp)
54
5 MODULE DEDICATED INSTRUCTION
5.3 Serial Communication Instruction
Nonprocedural protocol communication
G(P)_OUTPUT
The following instruction can go in the dotted squares.
G_OUTPUT, GP_OUTPUT
■
Executing condition
■
Argument
*1 Local devices and file registers per program cannot be used as setting data.
Processing details
This instruction sends data in the message format specified by the user using the nonprocedural protocol.
Setting data
Instruction
Executing condition
G_OUTPUT
GP_OUTPUT
Input/output
argument
Name
Description
Data type
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 send 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
Internal device
R, ZR
J
\
U
\G
Zn
Constant
Others
Bit
Word
Bit
Word
(s1)
(s2)
(d)
Device
Item
Setting data
Setting range
Setting side
(s1)[0]
Transmission channel
Set the transmission channel.
1: Channel 1 (CH1 side)
2: Channel 2 (CH2 side)
1, 2
User
(s1)[1]
Transmission result
The instruction completion status is stored.
0: Normal completion
Other than 0: Error completion (error code)
System
(s1)[2]
Number of send data
Set the number of send data.
1 or more
User
Serial
Modem
Structured ladder/FBD
ST
G_OUTPUT
EN
ENO
Un*
s1
s2
d
G_OUTPUT
(EN, Un*, s1, s2, d);
ENO:=
Summary of Contents for MELSEC System Q
Page 1: ...MELSEC Q L Structured Programming Manual Special Instructions ...
Page 2: ......
Page 307: ...10 SFC CONTROL INSTRUCTION 10 2 SFC Transition Condition Comment Read 305 10 MEMO ...
Page 309: ...I 307 MEMO ...
Page 315: ......