Nonprocedural Protocol Communication - Mitsubishi Electric MELSEC-L Special Instructions Manual

Melsec-q/l structured programming manual
Hide thumbs Also See for MELSEC-L:
Table of Contents

Advertisement

Nonprocedural protocol communication

G(P)_OUTPUT
Serial Modem
Structured ladder/FBD
G_OUTPUT
EN
ENO
Un*
s1
s2
The following instruction can go in the dotted squares.
G_OUTPUT, GP_OUTPUT
■Executing condition
Instruction
G_OUTPUT
GP_OUTPUT
■Argument
Input/output
argument
Input argument
Output argument
Setting
Internal device
*1
data
Bit
(s1)
(s2)
(d)
*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
Device
Item
(s1)[0]
Transmission channel
(s1)[1]
Transmission result
(s1)[2]
Number of send data
5 MODULE DEDICATED INSTRUCTION
54
5.3 Serial Communication Instruction
ST
ENO:=
G_OUTPUT
d
Executing condition
Name
Description
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 send data
ENO
Execution result
d
Variable that turns ON upon completion of the
instruction
d[1] also turns ON at the time of error completion.
R, ZR
Word
Setting data
Set the transmission channel.
1: Channel 1 (CH1 side)
2: Channel 2 (CH2 side)
The instruction completion status is stored.
0: Normal completion
Other than 0: Error completion (error code)
Set the number of send data.
(EN, Un*, s1, s2, d);
J\
Bit
Word
Data type
Bit
ANY16
Array of ANY16 [0..2]
ANY16
Bit
Array of bit [0..1]
U\G
Zn
Constant
Setting range
1, 2
1 or more
Others
Setting side
User
System
User

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q

Table of Contents