Omron FH series User Manual page 211

Hide thumbs Also See for FH series:
Table of Contents

Advertisement

Example 2: Outputting Data with More Than One Output Unit without Handshaking
Command code
Command Area
Command Request
Response Area
Result Completion
Data Output
Area
1
The measurement 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 measurement processing and turns ON the BUSY
signal when the request is received.
4
When the first Data Output Unit in the measurement flow is executed, the output data
for the first Data Output Unit is output to the position at the specified offset in the Data
Output Area.
5
When the second Data Output Unit in the measurement flow is executed, the output
data for the second Data Output Unit is output to the position at the specified offset in
the Data Output Area.
*1:
If no offset has been set, the data will overwrite the data from the first Data Output Unit in the same Data Output
Area.
6
The Command Completion (FLG) signal is turned ON.
7
The PLC (user) turns OFF the Command Request (EXE) signal when the Command
Completion (FLG) signal turns ON.
8
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] for Ethernet PLC Link, or [Timeout] for RS-232C/422-PLC Link).
Vision System FH/FZ5 Series User's Manual
for Communications Settings (Z342)
ON
OFF
ON
Command
parameters
OFF
ON
(EXE) signal
OFF
ON
BUSY signal
OFF
Command
ON
Completion
OFF
(FLG) signal
ON
(GATE) signal
OFF
ON
Output data
OFF
(1)
Measurement command
Measurement command
execution
(3)
First data output
(2)
(4) Data Output Unit,
(5) Data Output Unit,
first execution
(7)
*
(8)
(8)
Second data output
The data is
(6)
overwritten by the
second data output.
second execution
Communicating with PLC Link
2
209

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fz5 series

Table of Contents