Command Control
FQ2-S/CH User’s Manual
for Communications Settings
241
5
Appendices
Response (Vision Sensor to PLC)
Set Execution Mode
Sets the FQ2 execution status (execution mode).
Command (PLC to Vision Sensor)
Response (Vision Sensor to PLC)
* The execution mode is classified into the following modes depending on the FQ2 execution status.
• Run mode: The mode to run actual measurements. I/O is possible with external devices such as a PLC.
• Stop mode: This mode is for monitoring/controlling the output status of the parallel signals through communication commands only.
Therefore, I/O that is unrelated to parallel terminal control is not possible.
• Input: Parallel signal input is not possible. Command input is not possible. (However, the terminal status monitor, set-
ting commands can be used)
• Output: Parallel signal output is possible. Data output is not possible.
First word of
response area
Bits Description
12 to 15 8 to 11 4 to 7 0 to 3
+2 1000 0000 0011 0000 Command code
The command code for which the response
applies is stored.
+3 0000 0000 0011 0000
+4 0000 0000 0000 0000 Response code
Command execution result
0: OK, FFFFFFFF: NG
+5 0000 0000 0000 0000
When using commands (Set Terminal Status/Batch Set Terminal Status/Batch Set DO Status) to control the ON/
OFF status of the parallel I/O terminals with communication commands, change the FQ2 to stop mode with this
command.
First word of com-
mand area
Bits Description
12 to 15 8 to 11 4 to 7 0 to 3
+2 1111 0000 0000 0000 Command code
+3 0000 0000 0010 0000
First word of
response area
Bits Description
12 to 15 8 to 11 4 to 7 0 to 3
+2 1111 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 Execution mode
1: Run mode
2: Stop mode
+7 0000 0000 0000 0000
Note
FQ2-S_CH_comm.book 241 ページ 2014年6月26日 木曜日 午前11時47分