Command Control
FQ2-S/CH User’s Manual
for Communications Settings
387
5
Appendices
● Acquire Terminal Status: 280F 00208010
Acquires the input signal ON/OFF status for the specified parallel I/O terminal.
Command Format
Response Format
End Codes
Parameter Descriptions
MRC
(1 byte)
SRC
(1 byte)
Vision Sensor command code
(4 bytes)
Terminal type (4 bytes) Te r m i n a l n um ber
(4 bytes)
28 0F 00208010 2 digits max. 1 digit max.
MRC
(1 byte)
SRC
(1 byte)
MRES
(1 byte)
SRES
(1 byte)
Vision Sensor command code (4
bytes)
Terminal status (4
bytes)
28 0F End code 00208010 Terminal status
End code (hex) Description
0000 Command execution ended normally.
FFFF Command execution ended in an error.
Terminal type Specifies the type of terminal for the terminal status to be acquired.
• Sensor's standard parallel communications
0: TRIG
2: IN0 to IN5
• Parallel Interface Sensor Data Unit
0: TRIG
1: DSA
2: IN0 to IN7
13: RESET
• RS-232C Interface Sensor Data Unit
0: TRIG
2: IN0 to IN5
13: RESET
Terminal number Specifies the terminal number for the terminal status to be acquired.
• If the terminal type is IN0 to IN5
0: IN0 to 5: IN5
• If the terminal type is IN0 to IN7
0: IN0 to 7: IN7
• Cases other than the above cases
Specify 0
Terminal status Returns the ON/OFF status of the terminal.
0: OFF
1: ON
FQ2-S_CH_comm.book 387 ページ 2014年6月26日 木曜日 午前11時47分