Omron FQ2-S/CH Series User Manual page 410

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

Advertisement

Batch Acquire IN Terminal Statuses
Batch acquires the ON/OFF status for the IN terminals.
Command Format
MRC
SRC
(1 byte)
(1 byte)
28
0F
Response Format
MRC
SRC
(1 byte)
(1 byte)
28
0F
End Codes
End code (hex)
0000
FFFF
Parameter Descriptions
Terminal type
408
Command Control
Sensor command code (4
bytes)
00208030
MRES
SRES
(1 byte)
(1 byte)
End code
Command execution ended normally.
Command execution ended in an error.
Returns the acquired terminal status as a decimal 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.
Sensor command code (4 bytes) Terminal status
00208030
Description
(4 bytes)
Terminal status
FQ2-S/CH User's Manual
for Communications Settings

Advertisement

Table of Contents
loading

Table of Contents