Omron FQ2-S/CH Series User Manual page 417

Smart camera
Hide thumbs Also See for FQ2-S/CH Series:
Table of Contents

Advertisement

Batch Set Terminal Statuses
Batch sets the ON/OFF status for the all parallel I/O output terminals other than the D terminals (D0 to D15).
Important
• 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.417
Command Format
MRC
SRC
Sensor command code (4
(1 byte)
(1 byte)
bytes)
28
0F
00308020
Response Format
MRC
SRC
MRES
(1 byte)
(1 byte)
(1 byte)
28
0F
End code
End Codes
End code (hex)
0000
Command execution ended normally.
FFFF
Command execution ended in an error.
Parameter Descriptions
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.
*1
These terminals status can only be set when the FQ2 execution mode is stop mode.
FQ2-S/CH User's Manual
for Communications Settings
Terminal status (4 bytes)
5 digits max.
SRES
Sensor command code (4 bytes)
(1 byte)
00308020
Description
415
Command Control

Advertisement

Table of Contents
loading

Table of Contents