5.2 Serial Communication and Modem Interface Instruction
5.2.3 INPUT instruction
5-55
5
QCP
U
IN
S
T
RUCTI
O
N
DE
TA
IL
S
G_I
N
PUT
G_INPUT
5.2.3
INPUT instruction
G_INPUT
*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)_INPUT
P: Executing condition
:
indicates any of the following
instructions.
G_INPUT
GP_INPUT
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
s:
Variable that stores control data
:Array of ANY16 [0..3]
Output argument
ENO:
Execution result
:Bit
d1:
Start number of the device that stores read data
:ANY16
d2:
Variable that turns ON upon completion of the instruction
d2[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_INPUT
EN
ENO
d
1
U
n
*
s
d
2
G_INPUT
(EN, U
n
*, s, d
1
, d
2
);
ENO:=
S
d1
d
d2
Содержание QCPU
Страница 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Special Instructions ...
Страница 2: ......
Страница 14: ...A 12 MEMO ...
Страница 28: ...2 10 MEMO ...
Страница 32: ...3 4 MEMO ...
Страница 38: ...4 6 MEMO ...
Страница 234: ...5 196 MEMO ...
Страница 238: ...Index 4 MEMO ...
Страница 241: ......