Command Control
FQ2-S/CH User’s Manual
for Communications Settings
281
5
Appendices
DIPORTCOND or DPC
Batch Acquire IN Terminal Statuses
Batch acquires the ON/OFF status for the IN terminals.
<Command Format>
<Response Format>
When the Command Is Processed Normally
When the Command Is Not Processed Normally
<Parameter Descriptions>
Acquired value Returns the acquired terminal statuses as a hexadecimal value. (ON:1, OFF:0) (0 to 255)
BIT0: IN0
BIT1: IN1
BIT2: IN2
BIT3: IN3
BIT4: IN4
BIT5: IN5
BIT6: IN6
BIT7: IN7
For example, when IN0 and IN4 are ON
17 is returned.
DI RTCON D
CR
P
C
O
Command
Delimiter
Delimiter
Command
or
PD
CR
CR
Acquired
value
Delimiter
CR
OK
CR
ER
Delimiter
FQ2-S_CH_comm.book 281 ページ 2014年6月26日 木曜日 午前11時47分