Input Instruction - Mitsubishi MELSEC-L series Programming Manual

Hide thumbs Also See for MELSEC-L series:
Table of Contents

Advertisement

5.2.3

INPUT instruction

G_INPUT
Structured ladder
G_INPUT
EN
ENO
Un*
d1
s
d2
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)
s:
Variable that stores control data
Output argument
ENO:
Execution result
d1:
Start number of the device that stores read data
d2:
Variable that turns ON upon completion of the instruction
d2[1] also turns ON at the time of error completion.
Setting
data
Function
This instruction receives data in the message format specified by the user using the
nonprocedural protocol.
ST
ENO:=
(EN, Un*, s, d1, d2);
G_INPUT
Internal device
R, ZR
*1
Bit
Word
s
d1
d2
*1: Local devices and file registers per program cannot be used as setting data.
5.2 Serial Communication and Modem Interface Instruction
indicates any of the following
instructions.
G_INPUT
:Bit
:ANY16
:Array of ANY16 [0..3]
:Bit
:ANY16
:Array of bit [0..1]
J
\
U
\G
Bit
Word
5.2.3 INPUT instruction
G_INPUT
G_INPUT
Sirial
Modem
5
Zn
Constant Others
5-67

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q series

Table of Contents