Command Control
396
FQ2-S/CH User’s Manual
for Communications Settings
● Batch Set Terminal Statuses: 280F 00308020
Batch sets the ON/OFF status for the all parallel I/O output terminals other than the D terminals (D0 to D15).
• Before executing this command, change the FQ2 execution mode to stop mode with the Set Execution Mode com-
mand.
• If the FQ2 is not in stop mode, some parallel terminals cannot be turned ON or OFF with this command.
Set Execution Mode: p.398
Command Format
Response Format
End Codes
Parameter Descriptions
*1 These terminals status can only be set when the FQ2 execution mode is stop mode.
MRC
(1 byte)
SRC
(1 byte)
Vision Sensor command code
(4 bytes)
Terminal status (4 bytes)
28 0F 00308020 5 digits max.
MRC
(1 byte)
SRC
(1 byte)
MRES
(1 byte)
SRES
(1 byte)
Vision Sensor command code
(4 bytes)
28 0F End code 00308020
End code (hex) Description
0000 Command execution ended normally.
FFFF Command execution ended in an error.
Terminal status Specifies the ON/OFF status for the terminals as a decimal value. (ON: 1, OFF: 0) (0 to 16,383)
• Sensor's standard parallel communications
BIT1: ERROR
BIT2: BUSY
BIT3: OR
• Parallel Interface Sensor Data Unit
BIT0: RUN
BIT1: ERROR
BIT2: BUSY
BIT3: OR*1
BIT5: GATE*1
BIT9: STGOUT*1
BIT11: SHTOUT*1
BIT13: ACK*1
• RS-232C Interface Sensor Data Unit
BIT0: RUN
BIT1: ERROR
BIT2: BUSY
BIT3: OR*1
BIT9: STGOUT*1
BIT11: SHTOUT*1
BIT13: ACK*1
For example, to turn ON OR
Specify 8.
FQ2-S_CH_comm.book 396 ページ 2014年6月26日 木曜日 午前11時47分