Omron FQ2-S/CH Series User Manual page 244

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

Advertisement

Acquire Terminal Status
Acquires the ON/OFF status of the input signal for the specified parallel I/O terminal.
Command (PLC to Sensor)
First word of com-
mand area
+2
+3
+4
+5
+6
+7
Response (Sensor to PLC)
First word of
response area
+2
+3
+4
+5
+6
+7
242
Command Control
Bits
12 to 15
8 to 11
4 to 7
1000
0000
0001
0000
0000
0010
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
Bits
12 to 15
8 to 11
4 to 7
1000
0000
0001
0000
0000
0010
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
Description
0 to 3
0000
Command code
0000
0000
Terminal type
• Sensor's standard parallel communications
0: TRIG
2: IN0 to IN5
• Parallel Interface Sensor Data Unit
0: TRIG
1: DSA
2: IN0 to IN7
0000
13: RESET
• RS-232C Interface Sensor Data Unit
0: TRIG
2: IN0 to IN5
13: RESET
0000
Terminal number
Specifies the terminal number to get the status
of the pin.
Terminal-type case of IN0 to IN5
0: IN0 to 5: IN5
0000
Terminal-type case of IN0 to IN7
0: IN0 to 7: IN7
In the cases other than the above, Specify 0.
Description
0 to 3
0000
Command code
The command code for which the response
0000
applies is stored.
0000
Response code
Command execution result
0000
0: OK, FFFFFFFF: NG
0000
Acquired terminal status
0: OFF
0000
1: ON
FQ2-S/CH User's Manual
for Communications Settings

Advertisement

Table of Contents
loading

Table of Contents