5.2 Serial Communication and Modem Interface Instruction
5.2.5 BIDIN instruction
5-59
5
QCP
U
IN
S
T
RUCTI
O
N
DE
TA
IL
S
G_BI
DI
N
G_BIDIN
5.2.5
BIDIN instruction
G_BIDIN
*1: Local devices and file registers per program cannot be used as setting data.
Function
This instruction receives data using the bidirectional protocol.
G(P)_BIDIN
P: Executing condition
:
indicates any of the following
instructions.
G_BIDIN
GP_BIDIN
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_BIDIN
EN
ENO
d
2
d
1
U
n
*
s
G_BIDIN
(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: ......