Omron FQ2-S4 User Manual page 375

Smart camera
Hide thumbs Also See for FQ2-S4:
Table of Contents

Advertisement

You must specify in advance the data to output after measurements. You must also specify in advance the
Output Area in I/O memory to store the data in the PLC. After a single measurement or continuous
measurements, the data is automatically stored in the Output Area of the PLC via Ethernet.
For PLC Link communications, the following three communications areas are set in the PLC to perform
communications.
Command/response
communications
Data output after mea-
surements
You can set the area and address settings in the communications specifications of the Vision Sensor to assign
the above three communications areas in the I/O memory of the PLC.
PLC (master)
The following control commands are
written to the Vision Sensor.
Control signals
Command code
Command parameters
Command/
response
communi-
cations
The execution results from the
Vision Sensor are written here.
Data output
Output data from the Vision Sensor
after
is written here.
measure-
ments
Note
A PLC Link uses three link areas to perform communications: the Command Area, Response Area, and
Output Area. A PLC Link is not the same as the Serial PLC Link protocol used to connect PLCs together with
serial communications.
Important
• An FQ2 Sensor operates as a TCP server. Therefore, the TCP connection must be made from the PLC. Refer to the
manual for the PLC for TCP connection methods.
• The port number on the FQ2 Vision Sensor is always 9877.
FQ2-S4 User's Manual
1. Command area
This is the area to which you write control commands for the
Vision Sensor to execute.
2. Response area
This is the area to which the Vision Sensor writes the results of
control commands executed from the Command Area.
3. Output area
This is the area to which the Vision Sensor writes output data for
measurements after an inspection is performed.
Command area
Response area
Output area
Vision Sensor (slave)
Command
The control commands written to the
Command Area are executed.
Measurement results are written to
Response
the Response Area of the PLC.
Vision Status Flags
Command code
Response code
Response data
After measurements
Measurement results are written to the
Output Area.
Output data 0 to 31
Character string to output
PLC Link Connections
Execution
373

Advertisement

Table of Contents
loading

Table of Contents