Omron FQ2-S Series User manual

User's Manual
for Communications Settings
Smart Camera
FQ2-S/CH Series
Cat. No. Z338-E1-02

Introduction
Thank you for purchasing the FQ2-S/CH.
This manual provides information regarding functions, performance and operating methods that
are required for using the FQ2-S/CH.
When using the FQ2-S/CH, be sure to observe the following:
• The FQ2-S/CH must be operated by personnel knowledgeable in electrical engineering.
• To ensure correct use, please read this manual thoroughly to deepen your understanding of the
product.
• Please keep this manual in a safe place so that it can be referred to whenever necessary.

5
3
4
1
2
User's Manual for
Communications Settings
Smart Camera
FQ2-S/CH
Overview of Communication Specifications
Controlling Operation and Outputting
Data with a Parallel Connection
Controlling Operation and Outputting
Data with an Ethernet Connection
Controlling Operation and Outputting
Data with an RS-232C Connection
Appendices
APPLICATION CONSIDERATIONS
(Please Read)
FQ2-S_CH_comm.book 1 ページ 2014年6月26日 木曜日 午前11時47分

2FQ2-S/CH User’s Manual
for Communications Settings
Product manuals
The information required to use the FQ2-S/CH Series is divided into two manuals by objective: “FQ2-S/CH
Series User’s Manual” and “FQ2-S/CH Series User's Manual for Communications Settings”. Read each
manual as appropriate for your objective.
Editor's Note
■Meaning of Symbols
Menu items that are displayed on the Touch Finder LCD screen, and windows, dialog boxes and other GUI
elements displayed on the PC are indicated enclosed by brackets "[ ]".
■Visual Aids
Manual Description Contents
FQ2-S/CH Series User's Manual
(Cat. No. Z337)
Describes the product specifications,
basic settings, and other information
required to use the FQ2-S/CH Series.
Product specifications
Connections, wiring
Camera, image adjustment
Inspection item settings
Test measurement, operation
Troubleshooting
(This manual) FQ2-S/CH Series
User's Manual for Communications
Settings (Cat. No. Z338)
Provides information required to oper-
ate the sensor by remote control.
System configuration
Sensor control method
Data input/output specifications
Connectable network types
Communication settings
Output data settings
Indicates points that are important to achieve the full product performance,
such as operational precautions.
Indicates application procedures.
Indicates pages where related information can be found.
Important
Note
2-2 Par
FQ2-CH1
FQ2-S1 FQ2-S2 FQ2-S3
Shows the models that support the function being described.
Shows that the FQ2-S1 supports the function.
Shows that the FQ2-S2 supports the function.
Shows that the FQ2-S3 supports the function.
Shows that the FQ2-S4 supports the function.
Shows that the FQ2-CH supports the function.
FQ2-CH
FQ2-S4
FQ2-S3
FQ2-S2
FQ2-S1
FQ2-S_CH_comm.book 2 ページ 2014年6月26日 木曜日 午前11時47分

FQ2-S/CH User’s Manual
for Communications Settings
3
Table of Contents
Table of Contents
1. Overview of Communication Specifications
1-1 Confirming the System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
FQ2-S/CH Series System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1-2 Communicating with an External Device . . . . . . . . . . . . . . . . . . . . . . . . . 10
Basic Control Operations of the Sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Control Methods for the Sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Communication Protocols for Communication with the Sensor . . . . . . . . . . . . 12
1-3 Control Methods Using an External Device . . . . . . . . . . . . . . . . . . . . . . . 18
Control with Control Signals and Status Signals . . . . . . . . . . . . . . . . . . . . . . . . 18
Command/Response Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Data Output after Measurements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2. Controlling Operation and Outputting Data
with a Parallel Connection
2-1 Controlling Operation and Outputting Data
with the Sensor's Standard Parallel Connection . . . . . . . . . . . . . . . . . . . 34
Basic Operation with a Parallel Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Setting the Measurement Trigger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Setting the Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Controlling the Sensor from an External Device . . . . . . . . . . . . . . . . . . . . . . . . 46
2-2 Controlling Operation and Outputting Data
with a Parallel Interface Sensor Data Unit . . . . . . . . . . . . . . . . . . . . . . . . 60
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Setting the Measurement Trigger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Setting Output Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Aligning the Data Output Timing with the External Device . . . . . . . . . . . . . . . . 66
Changing the Settings of the I/O Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
Controlling Operation from an External Device . . . . . . . . . . . . . . . . . . . . . . . . . 75
FQ2-S_CH_comm.book 3 ページ 2014年6月26日 木曜日 午前11時47分

4FQ2-S/CH User’s Manual
for Communications Settings
3. Controlling Operation and Outputting Data
with an Ethernet Connection
3-1 Controlling Operation and Outputting Data
with EtherNet/IP Communications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Introduction to EtherNet/IP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .88
FQ2 Communications for EtherNet/IP Connections . . . . . . . . . . . . . . . . . . . . . 90
Setting Up EtherNet/IP Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
Tag Data Link Setting Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .95
Setting the Data to Output Automatically after Measurements . . . . . . . . . . . . . 97
Memory Assignments and Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .102
Timing Chart for EtherNet/IP Communications . . . . . . . . . . . . . . . . . . . . . . . . 114
Sample Ladder Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
Communicating with the Sensor Controller
with EtherNet/IP Message Communications . . . . . . . . . . . . . . . . . . . . . . . . . . 120
Command Setting Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
3-2 Controlling Operation and Outputting Data
with PLC Link Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Communications Processing Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Setting Up PLC Link Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
Setting the Data to Output Automatically after Measurements . . . . . . . . . . . . 124
Memory Assignments for PLC Link Communications . . . . . . . . . . . . . . . . . . . 129
Timing Chart for PLC Link Communications . . . . . . . . . . . . . . . . . . . . . . . . . . 137
Sample Ladder Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
3-3 Outputting Data and Controlling Operation through PROFINET . . . . . 140
Overview of PROFINET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
FQ2 Communications for PROFINET Connections . . . . . . . . . . . . . . . . . . . . 144
Setting Up EtherNet/IP Communications (PROFINET) . . . . . . . . . . . . . . . . . . 145
Communication Settings Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Setting the Data to Output Automatically after Measurements . . . . . . . . . . . . 148
Memory Assignments and Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .152
Timing Chart for EtherNet/IP Communications . . . . . . . . . . . . . . . . . . . . . . . . 161
Sample Ladder Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
3-4 Control and Output in No-Protocol (TCP) / No-Protocol (UDP) . . . . . . 167
Communications Processing Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
Setting Up No-protocol Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
Setting the Data to Output Automatically after Measurements . . . . . . . . . . . . 169
Controlling the Sensor from an External Device
(Procedure for No-protocol Command/Response Communications) . . . . . . . 176
Binary Data File Load and Save Commands . . . . . . . . . . . . . . . . . . . . . . . . . 183
FQ2-S_CH_comm.book 4 ページ 2014年6月26日 木曜日 午前11時47分

FQ2-S/CH User’s Manual
for Communications Settings
5
3-5 Controlling Operation and Outputting Data
with FINS/TCP No-protocol Commands . . . . . . . . . . . . . . . . . . . . . . . . . 188
Introduction to FINS Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .188
Setting Up FINS/TCP No-protocol Communications . . . . . . . . . . . . . . . . . . . . 189
List of FINS Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
4. Controlling Operation and Outputting Data
with an RS-232C Connection
4-1 Introduction to RS-232C Connections . . . . . . . . . . . . . . . . . . . . . . . . . . 196
4-2 Controlling Operation and Outputting Data
with RS-232C No-protocol Communications . . . . . . . . . . . . . . . . . . . . . 197
Communications Processing Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
Setting Up No-protocol Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
Setting the Data to Output Automatically after Measurements . . . . . . . . . . . . 198
Controlling the Sensor from an External Device
(Procedure for No-protocol Command/Response Communications) . . . . . . . 198
5. Appendices
5-1 Command Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
Parameter Notation Examples for Command Control . . . . . . . . . . . . . . . . . . . 200
Command List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
Command Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
5-2 Detailed EtherNet/IP Communications Specifications . . . . . . . . . . . . . 433
Index. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438
Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 440
FQ2-S_CH_comm.book 5 ページ 2014年6月26日 木曜日 午前11時47分

6FQ2-S/CH User’s Manual
for Communications Settings
FQ2-S_CH_comm.book 6 ページ 2014年6月26日 木曜日 午前11時47分

1 Overview of Communication Specifications
Overview of Communication Specifications
1-1 Confirming the System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1-2 Communicating with an External Device . . . . . . . . . . . . . . . . . . . . . . .10
1-3 Control Methods Using an External Device . . . . . . . . . . . . . . . . . . . . .18
FQ2-S_CH_comm.book 7 ページ 2014年6月26日 木曜日 午前11時47分

Confirming the System Configuration
8FQ2-S/CH User’s Manual
for Communications Settings
1-1 Confirming the System Configuration
FQ2-S1
FQ2-S2
FQ2-S3 FQ2-S4
FQ2-CH
The FQ2-S/CH series is Vision System that perform measurement processing through measurement objects
that are imaged by a Camera.
In a system configuration that is connected to a PLC, computer, or other external device, measurement
commands can be received from and measurement results can be output to the external device.
FQ2-S/CH Series System Configuration
The following types of system configurations can be used with the FQ2.
Parallel Interface Connection
Sensor Data
Unit cable
Parallel Interface
Sensor Data Unit
I/O cable
Basic configuration External devices
Setup Tool
(Touch Finder or PC Tool)
Special Ethernet Cable
(RJ45/M12)
Connection with Standard Parallel Interface of the Vision Sensor
I/O control PLC
I/O cable
Basic configuration
FQ2-S/CH Series
FQ2-S/CH Series
External devices
Trigger sensor
I/O control PLC
Trigger sensor
Setup Tool
(Touch Finder or PC Tool)
Special Ethernet Cable
(RJ45/M12)
A Parallel Interface Sensor Data Unit can be installed to enable output of measured values,
parameters, calculation results, and other information.
Use an I/O cable for input of measurement triggers and communication commands,
and for output of OK/NG judgement results.
Connection through a Parallel Interface Sensor Data Unit
FQ2-S1 FQ2-S3 FQ2-S4 FQ2-CH
FQ2-S3 FQ2-S4 FQ2-CH
FQ2-S2
FQ2-S_CH_comm.book 8 ページ 2014年6月26日 木曜日 午前11時47分

Confirming the System Configuration
FQ2-S/CH User’s Manual
for Communications Settings
9
1 Overview of Communication Specifications
Ethernet (EtherNet/IP, PLC Link, No-protocol, or PROFINET) Connection
Basic configuration External devices
I/O control PLC
Trigger sensor
Setup Tool
(Touch Finder
or PC Tool)
General-purpose Ethernet cable
Switching hub for
EtherNet/IP
(industrial Ethernet)
FQ2-S/CH Series
FQ2-S/CH Series
RS-232C Serial Connection
RS-232C
cable
RS-232C Interface
Sensor Data Unit*2
Sensor Data
Unit cable
Basic configuration External devices
Sensor control PLC
I/O control PLC
Trigger sensor
Setup Tool
(Touch Finder or PC Tool)
An RS-232C Interface Sensor Data Unit can be connected to the Sensor by RS-232C cable to
enable input of measurement triggers and communication commands, and output of measurement
results (judgement results, measured values). Measurement triggers can also be input from a parallel
connection.
Ethernet cable can be used to connect to a variety of networks in order to input measurement
triggers and communication commands, and to output measurement results (judgement results,
measured values). Measurement triggers can also be input from a parallel connection. The data
link function for each network (excluding no-protocol networks) can be used to periodically
transfer data between the sensor and external devices.
Special Ethernet Cable
(RJ45/M12)*1
General-purpose Ethernet cable
*1: A special Ethernet cable is used to connect to the sensor.
*2: A parallel cable (FQ-SDU2 special-purpose cable) can be used to connect to external devices from the Sensor Data Unit.
In this case, an ACK signal can be used as an additional output signal.
Special Ethernet Cable
(RJ45/M12)
FQ2-S1 FQ2-S3 FQ2-S4 FQ2-CHFQ2-S2
FQ2-S3 FQ2-S4 FQ2-CH
FQ2-S_CH_comm.book 9 ページ 2014年6月26日 木曜日 午前11時47分

Communicating with an External Device
10 FQ2-S/CH User’s Manual
for Communications Settings
1-2 Communicating with an External Device
FQ2-S1
FQ2-S2
FQ2-S3 FQ2-S4
FQ2-CH
This section gives the communications specifications, describes the control methods that you can use for
communications, and describes the settings that are required before starting communications with an external
device.
Basic Control Operations of the Sensor
The following figure shows basic communications between an external device and the Sensor and the flow of
signals and data.
The following methods can be used to exchange data between an external device and the Sensor.
Commands That Can Be Input to the Sensor from an External Device
Data Output to an External Device from the Sensor
Ty p e Description
Control com-
mands
Control signals
(input signals)
A measurement is executed when a measurement trigger (i.e., an ON TRIG sig-
nal) is input.
For information on control signals, refer to Control with Control Signals and
Status Signals: p.18.
Communications
command input
Various commands can be executed, such as measuring commands and scene
change. The communications commands depend on the communications proto-
col that you use. Refer to the section for each communications protocol for details.
Ty p e Description
Status signals When the Sensor confirms a control signal or communications command input
and begins measurement processing, the status of the Sensor is reported to the
external device through status signals (e.g., a BUSY signal).
For information on status signals, refer to Control with Control Signals and
Status Signals: p.18.
Overall judgement NG is output whenever there is one or more NGs in the judgement results for mul-
tiple inspection items.*1
The overall judgement can be output through the OR signal or through the JG out-
put parameter.
*1: This behavior can be changed in the settings.
For information on the OR signal, refer to Control with Control Signals and Status Sig-
nals: p.18.
For information on the JG output parameter.
Measured values The measured values from inspection items can be output. The output items must
be inspection items for output and registered as output data (data 0 to data 31).
Refer to the following for details.
Settings Required for Data Output: p.61, 97, 124, 148, 169, 198.
You can also use commands to obtain results after a measurement is performed.
Trigger sensor
PLC
PLC
The measurement
results are output.
• Status signals
• Overall judgement
• Measured values
• Character strings
Measurement
triggers and other
control commands
are input. Sensor
FQ2-S_CH_comm.book 10 ページ 2014年6月26日 木曜日 午前11時47分

Communicating with an External Device
FQ2-S/CH User’s Manual
for Communications Settings
11
1 Overview of Communication Specifications
Control Methods for the Sensor
There are three methods that you can use to control the Sensor from a PLC or other external device. They are
described in this section.
For details on each control method, refer to their corresponding section.
Control Methods
1Control with Control Signals and Status Signals (Refer to Control with Control Signals and
Status Signals: p.18)
Control and status confirmation for the Sensor is performed with the ON/OFF status of the control and
status signals.
This method is best suited for basic operations such as measurement triggers or to check the operating
status of the Sensor.
Character output (FQ2-S4/CH
series only)
You can output character strings and numbers that are read by inspection items
such as OCR, Barcode, 2D-code, or 2D-code (DPM). Refer to Items That
Can Be Output as Output Data: p.22 for details.
You can also use commands to obtain results after a measurement is performed.
Method Overview Trigger type or area Signals or area used
Control signals and
status signals
Operation is controlled by the
ON/OFF status of the Mea-
surement Trigger Signal
(TRIG) and Command
Request Bit (EXE).
ON/OFF status of the control
signals and status signals
Control signals and status sig-
nals
Control with com-
mands and
responses
Control is performed by send-
ing control commands. The
execution results of the com-
mand can be confirmed in the
response from the Sensor.
The control command code is
stored in the I/O memory of
the PLC and then the Request
Bit is turned ON.
PLC I/O memory (Command
Area and Response Area)
Data output after
measurements
After a measurement is per-
formed, the previously speci-
fied measurement data is
output automatically.
Not required. (Output is per-
formed automatically after
measurement.)
PLC I/O memory (Data Out-
put Area)
Ty p e Description
Trigger sensor
External device
Status signal
Control signal
Sensor
FQ2-S_CH_comm.book 11 ページ 2014年6月26日 木曜日 午前11時47分

Communicating with an External Device
12 FQ2-S/CH User’s Manual
for Communications Settings
2Command/Response Method (Refer to Command/Response Method: p.20)
Control is performed by storing the control command and the response to that command in the I/O mem-
ory of a PLC.
This method is best suited to send multiple commands to the Sensor without using PLC communications
instructions.
3Data Output after Measurements (Refer to Data Output after Measurements: p.21)
After a measurement is executed, the measurement data specified for output is automatically output to
the specified words in the I/O memory of the PLC.
This is suited to reception of the measurement result data of each inspection item.
Communication Protocols for Communication with the Sensor
The Sensor can be controlled from a PLC, computer, or other external device using a variety of communication
protocols.
The communication protocols that can be used to control the Sensor from an external device are described
below.
External device
I/O memory
Sensor
Command Area
Response Area
(1) Command
(3) Response
Output Area
(2) Command
execution
External device
I/O memory
Sensor
Command Area
Response Area
(2) Measurement data
Output Area
(1) Measurement processing
PLC
Computer
Control can be performed through different communications protocols.
No-protocol (FINS/TCP)
No-protocol (UDP)
PROFINET
EtherNet/IP
No-protocol (TCP)
PLC Link
Parallel
Sensor
FQ2-S_CH_comm.book 12 ページ 2014年6月26日 木曜日 午前11時47分

Communicating with an External Device
FQ2-S/CH User’s Manual
for Communications Settings
13
1 Overview of Communication Specifications
Applicable Communications Protocols
The communication protocols of each communication method that can be used with the Sensor are as follows:
OK: Supported, ---: Not supported.
*1: When connected to a CJ-series PLC, specify the areas in the I/O memory.
*2: This connection is via the RS-232C Interface Sensor Data Unit. Only supported on the FQ2-S3/S4/CH series.
Communi-
cations
method
Communi-
cations
protocol
Overview Communications cable type
Parallel
I/O
Ethernet RS-232C
Contact
inputs
Parallel Data is exchanged between an external device and the
Sensor through combinations of ON/OFF signals from
multiple physical contacts.
OK --- OK*2
Data shar-
ing
PLC Link This is OMRON’s communications protocol for Vision
System.
The control signals, Command Area/Response Area,
and area to store measurement data are assigned in
the I/O memory of the PLC, and data is exchanged
cyclically to share data between the PLC and the Vision
System.
--- OK ---
EtherNet/IP This is an open communications protocol.
Tag data links are used for communication with the Sen-
sor.
On the PLC, structure variables are created that corre-
spond to the control signals, command/response data,
and measurement data. These variables are then used
as tags to input and output data through tag data links
to exchange data between the PLC and the Sensor.*1
--- OK ---
PROFINET This is an open communications protocol.
RT (Real-time) of soft real-time communication (SRT) is
used for communication with the Sensor.
The control signals, Command Area/Response Area,
and area to store measurement data are assigned in
the I/O memory of the PLC, and data is exchanged
cyclically to share data between the PLC and the Vision
System.
--- OK ---
Frame
transmis-
sion
No-proto-
col (TCP)
No-proto-
col (UDP)
Command frames are sent to the Sensor and response
frames are received from the Sensor without the use of
any specific protocol.
Data can be exchanged between the PLC, computer, or
other external device and the Sensor by sending and
receiving ASCII or binary format data.
--- OK ---
No-proto-
col (FINS/
TCP)
This is a command system (FINS) for message services
that can be used in common on OMRON networks.
Data can be exchanged between an OMRON PLC and
the Sensor by a command/response method.
--- OK ---
FQ2-S_CH_comm.book 13 ページ 2014年6月26日 木曜日 午前11時47分

Communicating with an External Device
14 FQ2-S/CH User’s Manual
for Communications Settings
Connection Compatibility
Yes: Supported, No: Not supported
*1: This applies when an RS-232C Interface Sensor Data Unit is connected.
*2: This applies when a Parallel Interface Sensor Data Unit is connected.
Type of connection to
FQ2-S/CH
Other connection
EtherNet/IP PLC Link
on Ethernet
PROFINET
TCP no-protocol
communications on
Ethernet,
UDP no-protocol
communications
on Ethernet
FINS/TCP
no-proto-
col commu-
nications
on Ethernet
RS-232C *1 Parallel communications
Sensor’s
standard
parallel com-
munications
Parallel
Interface*2
EtherNet/IP --- No No Yes Yes Yes Yes Yes
PLC Link on Ethernet No --- No Yes Yes Yes Yes Yes
PROFINET No No --- Yes Yes Yes Yes Yes
TCP no-protocol communi-
cations on Ethernet,
UDP no-protocol communi-
cations on Ethernet
Yes Yes Yes --- No No Yes Yes
FINS/TCP no-protocol com-
munications on Ethernet
YesYesYesNo --- No YesYes
RS-232C *1 YesYesYesNo No --- YesNo
Parallel
communi-
cations
Sensor’s stan-
dard parallel
communica-
tions
YesYesYesYesYesYes--- No
Parallel Inter-
face *2 YesYesYesYesYesNo No ---
Connections Across Network Routers
You can connect to a Sensor on a different network than the Touch Finder or PC Tool through a router.
• To connect to a Sensor, directly specify the IP address of the Sensor. Automatic connection to a Sensor is not
possible.
• Use a fixed IP address for the Sensor to connect to.
Note
FQ2-S_CH_comm.book 14 ページ 2014年6月26日 木曜日 午前11時47分

Communicating with an External Device
FQ2-S/CH User’s Manual
for Communications Settings
15
1 Overview of Communication Specifications
Models That Are Compatible with the Communications Protocols
This section lists the external devices that can communicate with the FQ2-S/CH series for each
communications protocol.
PLC Link
OMRON
❍: Can connect U: Only some models can connect ✕: Cannot connect
Mitsubishi Electric
❍: Can connect U:Only some models can connect ✕: Cannot connect
Series CPU Unit Interface
Direct connection with CPU
unit (built-in port)
Connection via Ethernet unit
SYSMAC_CJ2 CJ2H or CJ2M U(Built-in port only.) CJ1W-EIP21 (PLC Link
only) or CJ1W-ETN21
SYSMAC_CJ1 CJ1H or CJ1G ✕CJ1W-EIP21 (PLC Link
only) or CJ1W-ETN21
CJ1M U(Built-in port only.) CJ1W-EIP21 (PLC Link
only) or CJ1W-ETN21
SYSMAC_CS CS1H, CS1D, or CS1G ✕CS1W-EIP21 (PLC Link
only) or CS1W-ETN21
SYSMAC_CP1 CP1L U(Built-in port only.) ---
CP1H ✕CJ1W-EIP21 (PLC Link
only) or CJ1W-ETN21
SYSMAC_One NSJ ✕NSJW-ETN21
Series Model name CPU Unit CPU name Interface
Direct connection with CPU
unit (built-in port)
Connection via Ethernet unit
MELSEC-QnU Universal mod-
els
QnUDECPU
Q03UDECPU,
Q04UDEHCPU,
Q06UDEHCPU,
Q10UDEHCPU,
Q13UDEHCPU,
Q20UDEHCPU,
or
Q26UDEHCPU
❍QJ71E71-100, Q71E71-B2,
or QJ71E71-B5
QnUDCPU
Q03UDCPU,
Q04UDHCPU,
Q06UDHCPU,
Q10UDHCPU,
Q13UDHCPU,
Q20UDHCPU, or
Q26UDHCPU
✕
QnUCPU Q00UJCPU,
Q00UCPU,
Q01UCPU, or
Q02UCPU,
✕
Basic models QnCPU Q00JCPU,
Q00CPU, or
Q01CPU
✕
MELSEC-Q Series High-
performance
models
QCPU Q02CPU,
Q02HCPU,
Q06HCPU,
Q12HCPU, or
Q25HCPU
✕
FQ2-S_CH_comm.book 15 ページ 2014年6月26日 木曜日 午前11時47分

Communicating with an External Device
16 FQ2-S/CH User’s Manual
for Communications Settings
EtherNet/IP
❍: Can connect U:Only some models can connect ✕: Cannot connect
No-protocol (TCP), No-protocol (UDP)
OMRON
No-protocol (FINS/TCP)
OMRON
MELSEC-QnAS
Series
--- --- Q2ASCPU,
Q2ASCPU-S1,
Q2ASHCPU, or
Q2ASHCPU-S1
✕A1SJ71QE71N3-T
Series CPU Unit Interface
Direct connection with CPU
unit (built-in port)
Connection via EtherNet/IP
unit
SYSMAC NJ NJ501 or NJ301 ❍CJ1W-EIP21
SYSMAC_CJ2 CJ2M or CJ2H U(Built-in port only.) CJ1W-EIP21
SYSMAC_CJ1 CJ1H or CJ1G ✕CJ1W-EIP21
CJ1M U(Built-in port only.) CJ1W-EIP21
SYSMAC_CS CS1H, CS1D, or CS1G ✕CS1W-EIP21
Series CPU Unit Interface
Direct connection with CPU
unit (built-in port)
Connection via Ethernet unit
SYSMAC CJ2 CJ2H or CJ2M --- CJ1W-ETN21
SYSMAC CJ1 CJ1H or CJ1G --- CJ1W-ETN21
CJ1M --- CJ1W-ETN21
SYSMAC CS CS1H, CS1D, or CS1G --- CS1W-ETN21
SYSMAC CP1 CP1L U(Built-in port only.) ---
CP1H --- CJ1W-ETN21
SYSMAC One NSJ --- NSJW-ETN21
Series CPU Unit Interface
Direct connection with CPU
unit (built-in port)
Connection via Ethernet unit
SYSMAC CJ2 CJ2H or CJ2M U(Built-in port only.) CJ1W-EIP21 or CJ1W-
ETN21
SYSMAC CJ1 CJ1H or CJ1G --- CJ1W-EIP21 or CJ1W-
ETN21
CJ1M U(Built-in port only.) CJ1W-EIP21 or CJ1W-
ETN21
SYSMAC CS CS1H, CS1D, or CS1G --- CS1W-EIP21 or CS1W-
ETN21
Series Model name CPU Unit CPU name Interface
Direct connection with CPU
unit (built-in port)
Connection via Ethernet unit
FQ2-S_CH_comm.book 16 ページ 2014年6月26日 木曜日 午前11時47分

Communicating with an External Device
FQ2-S/CH User’s Manual
for Communications Settings
17
1 Overview of Communication Specifications
SYSMAC CP1 CP1L U(Built-in port only.) ---
CP1H --- CJ1W-ETN21
SYSMAC One NSJ --- NSJW-ETN21
Series CPU Unit Interface
Direct connection with CPU
unit (built-in port)
Connection via Ethernet unit
FQ2-S_CH_comm.book 17 ページ 2014年6月26日 木曜日 午前11時47分

Control Methods Using an External Device
18 FQ2-S/CH User’s Manual
for Communications Settings
1-3
Control Methods Using an External Device
FQ2-S1
FQ2-S2
FQ2-S3 FQ2-S4
FQ2-CH
This section describes the methods that you can use to control the Sensor from a PLC or other external device.
Control with Control Signals and Status Signals
Control and status confirmation for the Sensor is performed with the ON/OFF status of the control and status
signals.
Measurement triggers and other signals are input as control signals from the PLC.
The operating status of the Sensor, judgement results, and other status information can be confirmed through
status signals sent from the Sensor.
(1) The external device turns ON the TRIG signal to input a measurement trigger.
(2) When the Sensor confirms that the TRIG signal is ON, it outputs the BUSY signal to the external device
and begins a measurement.
(3) When the Sensor finishes the measurement, it outputs the judgement results on the OR signal.
Control Signals and Status Signals
The types of signals that are input to and output from the sensor as control signals and status signals are
shown below. “Use of signal in each protocol” in the table below lets you check whether or not a signal is used
in each protocol.
Note that this table does not show whether simultaneous use of signals in differing communication protocols is
possible. For restrictions on communication protocols that can be used simultaneously, refer to
Connection Compatibility on page 14.
Input Signals (PLC to Sensor)
Signal Signal name Function
Signals for each communications protocol
Parallel PLC Link
EtherNet/IP
PROFINET
EXE Control Com-
mand Execution
Signal
Turn ON this signal (from the
PLC) to send a command to the
FQ-S/CH series.
--- OK OK OK
TRIG Measure Bit Turn ON this signal to execute
measurement.
OK --- OK OK
DSA
(Used only for
handshaking out-
put control.)
Data Output
Request Signal
Use this signal (from the PLC) dur-
ing handshaking to request from
the FQ-S/CH series the external
output of the data output results.
OK OK OK OK
ERCLR Error Clear Bit
Turn ON this signal to clear the ERR
signal from the Sensor Controller.
--- --- OK OK
Trigger sensor Sensor
(1) Measurement trigger input
(TRIG signal: ON).
Control signal
(2) Command received.
(BUSY signal turned ON.)
(3) Judgement results are output.
(OR signal turned ON.)
Status signals
External device
FQ2-S_CH_comm.book 18 ページ 2014年6月26日 木曜日 午前11時47分
Other manuals for FQ2-S Series
1
This manual suits for next models
1
Table of contents