Command Control
228
FQ2-S/CH User’s Manual
for Communications Settings
Response (Vision Sensor to PLC)
Acquire Communication Input Status
This command acquires the input status (allowed/prohibited) for the communications protocol set with the Set
Communication Input Status command.
Command (PLC to Vision Sensor)
Response (Vision Sensor to PLC)
First word of
response area
Bits Contents
12 to 15 8 to 11 4 to 7 0 to 3
+2 0101 0000 0000 0000 Command code
The command code for which the response
applies is stored.
+3 0000 0000 0010 0000
+4 0000 0000 0000 0000 Response code
Command execution result
0: OK, FFFFFFFF: NG
+5 0000 0000 0000 0000
+6 0000 0000 0000 0000 Response data
Latest error code
Section 9 Appendices
in Vision Sensor FQ2-S/CH Series
User's Manual (Cat. No. Z337)
+7 0000 0000 0000 0000
First word of com-
mand area
Bits Description
12 to 15 8 to 11 4 to 7 0 to 3
+2 0111 0000 0001 0000 Command code
+3 0000 0000 0010 0000
+4 0000 0000 0000 0000 Communications protocol type to be acquired
*
0: No protocol (TCP, UDP, FINS)
1: No protocol (RS-232C)
2: Parallel I/O
3: Fieldbus
5: PLC link
+5 0000 0000 0000 0000
First word of
response area
Bits Description
12 to 15 8 to 11 4 to 7 0 to 3
+2
0111 0000 0001 0000
Command code
The command code for which the response
applies is stored.
+3
0000 0000 0010 0000
+4
0000 0000 0000 0000
Response code
Command execution result
0: OK, FFFFFFFF: NG
+5
0000 0000 0000 0000
+6
0000 0000 0000 0000
Acquired communications protocol status
0: Input prohibited status
1: Input allowed status
+7
0000 0000 0000 0000
FQ2-S_CH_comm.book 228 ページ 2014年6月26日 木曜日 午前11時47分