Command Response Processing - Omron FH series User Manual

Hide thumbs Also See for FH series:
Table of Contents

Advertisement

Command Response Processing

The ON/OFF timing of related signals from command input in control command response processing is indicated
in the timing chart below.
Timing Chart for Command Execution
The commands for measurement execution or other processing that are stored in advance in the memory of
the PLC are input and executed when you turn ON the Command Request (EXE) signal.
The Command Completion (FLG) signal turns ON when execution of the control command is completed. Use
this as the trigger to turn OFF the Command Request (EXE) signal.
Command Area
Command Request
Response Area
1
The command code and command parameters are set from the PLC.
2
Next, confirm that the BUSY signal and the Command Completion (FLG) signal have turned OFF and
then turn ON the Command Request (EXE) signal again. A request is sent to the Sensor Controller.
3
The Sensor Controller executes the command and turns ON the BUSY signal when the
request is received.
4
When the Sensor Controller finishes execution of the command, the command code,
response code, and response data are set.
5
The Command Completion (FLG) signal is then turned ON.
6
The PLC (user) turns OFF the Command Request (EXE) signal when the Command
Completion (FLG) signal turns ON.
7
When the Sensor Controller detects that the Command Request (EXE) signal is OFF, it
automatically turns OFF the Command Completion (FLG) signal and the BUSY signal.
*1: A timeout error occurs and the Command Completion (FLG) signal and BUSY signal are forced OFF if the Command
Request (EXE) signal is not turned OFF from the PLC (user) within the time set in the PLC Link settings ([Retry interval]: 0 to
999999 ms for Ethernet PLC Link, or [Timeout]: 1 to 120 s for RS-232C/422-PLC Link).
202
Communicating with PLC Link
ON
Command
code
OFF
ON
Command
parameters
OFF
ON
(EXE) signal
OFF
ON
Command
code
OFF
ON
BUSY signal
OFF
ON
Response code
OFF
ON
Response data
OFF
Command
ON
Completion
OFF
(FLG) signal
(1) (2)
*
(3)
Control command
(7)
execution
(7)
(4)
(5)
The FLG signal turns ON when execution of
the control command is completed.
Vision System FH/FZ5 Series User's Manual
The user (PLC) turns OFF the EXE signal
(6)
when the FLG signal turns ON.
* The FLG signal and BUSY signal are
forced OFF if the EXE signal is not turned
OFF within the retry interval after the FLG
signal turns ON.
Retry interval
The BUSY signal automatically turns
OFF when the EXE signal turns OFF.
The FLG signal automatically turns
OFF when the EXE signal turns OFF.
for Communications Settings (Z342)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fz5 series

Table of Contents