Omron FQ2-S/CH Series User Manual page 408

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

Advertisement

Acquire Terminal Status
Acquires the input signal ON/OFF status for the specified parallel I/O terminal.
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
Terminal number
Terminal status
406
Command Control
Sensor command code (4
bytes)
00208010
MRES
SRES
(1 byte)
(1 byte)
End code
Command execution ended normally.
Command execution ended in an error.
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
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
Returns the ON/OFF status of the terminal.
0: OFF
1: ON
Terminal type (4 bytes)
2 digits max.
Sensor command code (4 bytes) Terminal status (4
00208010
Description
Terminal number
(4 bytes)
1 digit max.
bytes)
Terminal status
FQ2-S/CH User's Manual
for Communications Settings

Advertisement

Table of Contents
loading

Table of Contents