Omron CJ Series Instruction Manual

OMRON Corporation
Vision System
FZ5 Series
CJ Series
EtherNet/IPTM Connection Guide
No.FST-ZTH130088A
P588-E1-01
Industrialautomation
Elincom Group
EuropeanUnion: www.elinco.eu
Russia: www.elinc.ru

About Intellectual Property Rights and Trademarks
Microsoft product screen shots reprinted with permission from Microsoft Corporation.
Windows is a registered trademark of Microsoft Corporation in the USA and other countries.
ODVA and EtherNet/IPTM are trademarks of ODVA.
Company names and product names in this document are the trademarks or registered
trademarks of their respective companies.

Table of Contents
1. Related Manuals.......................................................................................... 1
2. Terms and Definitions................................................................................. 2
3. Precautions.................................................................................................. 3
4. Overview ...................................................................................................... 4
5. Applicable Devices and Device Configuration........................................ 5
5.1. Applicable Devices.............................................................................. 5
5.2. Device Configuration........................................................................... 6
6. EtherNet/IP Settings.................................................................................... 7
6.1. EtherNet/IP Communications Parameters.......................................... 7
6.2. Allocating the Tag Data Links.............................................................. 7
7. EtherNet/IP Connection Procedure......................................................... 10
7.1. Work Flow.......................................................................................... 10
7.2. Setting Up the FZ5 Sensor Controller................................................11
7.3. Setting Up the PLC............................................................................ 16
7.4. Setting Up the Network...................................................................... 26
7.5. Checking the EtherNet/IP Communications...................................... 38
8. Initialization Method.................................................................................. 43
8.1. Initializing the PLC............................................................................. 43
8.2. Initializing the FZ5 Sensor Controller................................................ 44
9. Revision History........................................................................................ 45

1
.
Related Manuals
1
1. Related Manuals
The table below lists the manuals related to this document.
To ensure system safety, make sure to always read and heed the information provided in all
Safety Precautions, Precautions for Safe Use, and Precaution for Correct Use of manuals for
each device which is used in the system.
Cat. No. Model Manual name
W472 CJ2H-CPU6[]-EIP
CJ2H-CPU6[]
CJ2M-CPU[][]
CJ-series CJ2 CPU Unit Hardware User's Manual
W473 CJ2H-CPU6[]-EIP
CJ2H-CPU6[]
CJ2M-CPU[][]
CJ-series CJ2 CPU Unit Software User's Manual
W465 CJ1W-EIP21
CJ2H-CPU6[]-EIP
CJ2M-CPU3[]
EtherNet/IPTM Unit Operation Manual
W446
-
CX-Programmer Operation Manual
9524422-4
FZ5-60[]/60[]-10
FZ5-110[]/110[]-10
Image Processing System Instruction Sheet
9910002-2
FZ5-L35[]/L35[]-10
Image Processing System Instruction Sheet
Z340 FZ5-L35[]
FZ5-6[][]/11[][] Vision Sensor FH/FZ5 Series Vision System
User's Manual
Z341 FZ5-L35[]
FZ5-6[][]/11[][] Vision Sensor FH/FZ5 Series Vision System
Processing Item Function Reference Manual
Z342 FZ5-L35[]
FZ5-6[][]/11[][] Vision Sensor FH/FZ5 Series Vision System
User's Manual (Communications Settings)

2
.
Terms and Definitions
2
2. Terms and Definitions
Term Explanation and Definition
Node
Controllers and devices are connected to the EtherNet/IP network via the
EtherNet/IP ports. The EtherNet/IP recognizes each EtherNet/IP port
connected to the network as one node.
When a device with two EtherNet/IP ports is connected to the
EtherNet/IP network, the EtherNet/IP recognizes this device as two
nodes.
The EtherNet/IP achieves the communications between controllers or the
communications between controllers and devices by exchanging data
between these nodes connected to the network.
Tag Aminimum unit of the data that is exchanged on the EtherNet/IP network
is called a tag. The tag is defined as a network variable or as a physical
address, and it is allocated to the memory area of each device.
Tag set In the EtherNet/IP network, a data unit that consists of two or more tags
can be exchanged. The data unit consisting of two or more tags for the
data exchange is called a tag set. Up to eight tags can be configured per
tag set for OMRON controllers.
Tag data link In the EtherNet/IP, the tag and tag set can be exchanged cyclically
between nodes without using the user program. This standard feature on
the EtherNet/IP is called a tag data link.
Connection A connection is used to exchange data as a unit within which data
concurrency is maintained. The connection consists of tags or tag sets.
Creating the concurrent tag data link between the specified nodes is
called a "connection establishment ". When the connection is
established, the tags or tag sets that configure the connection are
exchanged between the specified nodes concurrently.
Originator and
Target To perform tag data links, one node requests the opening of a
communications line called a "connection".
The node that requests opening the connection is called an "originator",
and the node that receives the request is called a "target".
Tag data link
parameter The tag data link parameter is the setting data to perform the tag data
link. It includes the data to set tags, tag sets, and connections.
EDS file A file that describes the number of I/O points for the EtherNet/IP device
and the parameters that can be set via EtherNet/IP.

3.Precautions
3
3. Precautions
(1) Understand the specifications of devices which are used in the system.Allow some
margin for ratings and performance. Provide safety measures, such as installing safety
circuit in order to ensure safety and minimize risks of abnormal occurrence.
(2) To ensure system safety, always read and heed the information provided in all Safety
Precautions, Precautions for Safe Use, and Precaution for Correct Use of manuals for
each device used in the system.
(3) The user is encouraged to confirm the standards and regulations that the system must
conform to.
(4) It is prohibited to copy, to reproduce, and to distribute a part or the whole of this
document without the permission of OMRON Corporation.
(5) The information contained in this document is current as of December 2013. It is subject
to change without notice for improvement.
The following notations are used in this document.
Indicates a potentially hazardous situation which, if not avoided,
may result in minor or moderate injury or property damage.
Precautions for Correct Use
Precautions on what to do and what not to do to ensure proper operation and performance.
Additional Information
Additional information to read as required.
This information is provided to increase understanding or make operation easier.
Symbol
The triangle symbol indicates precautions (including warnings).
The specific operation is shown in the triangle and explained in text.
This example indicates a general precaution.

4
.
Overview
4
4. Overview
This document describes the procedure for connecting the Vision System (FZ5 Sensor
Controller + Camera) (FZ5 series) of OMRON Corporation (hereinafter referred to as
OMRON) with CJ-series Programmable Controller + Ethernet/IP Unit (hereinafter referred to
as the PLC), and the procedure to check their connection.
Refer to Section 6 EtherNet/IP Settings and Section 7 EtherNet/IP Connection Procedure to
understand the setting method and key points to operate the tag data link for EtherNet/IP.
In this document, CJ-series EtherNet/IPUnit and the built-in EtherNet/IP port of CJ-series CJ2
CPU Unit are collectively called as the "EtherNet/IP Unit".

5
.
Applicable Devices and Device Configuration
5
5. Applicable Devices and Device Configuration
5.1. Applicable Devices
The applicable devices are as follows:
Manufac
turer Name Model
OMRON
CJ2 CPU Unit
CJ2[]-CPU[][]
OMRON
EtherNet/IP Unit
CJ1W-EIP21
CJ2H-CPU6[]-EIP
CJ2M-CPU3[]
OMRON FZ5 Sensor Controller LCD-integrated Controller
Box-type Controller
FZ5-60[]/60[]-10
FZ5-110[]/110[]-10
FZ5-L35[]/L35[]-10
OMRON
0.3 Megapixel Digital Camera
0.3 Megapixel Small Digital Camera
0.3 Megapixel Small Digital Pen-Shaped Camera
0.3 Megapixel High-Speed Camera
2 Megapixel Digital Camera
5 Megapixel Digital Camera
Intelligent Camera
Intelligent Compact Camera
FZ-SC/S
FZ-SFC/SF
FZ-SPC/SP
FZ-SHC/SH
FZ-SC2M/S2M
FZ-SC5M2/S5M2
FZ-SLC100
FZ-SQ010F/SQ050F
FZ-SQ100F/SQ100N
Precautions for Correct Use
As applicable devices above, the devices with the models and versions listed in Section 5.2.
are actually used in this document to describe the procedure for connecting devices and
checking the connection.
You cannot use devices with versions lower than the versions listed in Section 5.2.
To use the above devices with versions not listed in Section 5.2 or versions higher than those
listed in Section 5.2, check the differences in the specifications by referring to the manuals
before operating the devices.
Additional Information
This document describes the procedure to establish the network connection. Except for the
connection procedure, it does not provide information on operation, installation or wiring
method. It also does not describe the functionality or operation of the devices. Refer to the
manuals or contact your OMRON representative.

5.Applicable Devices and Device Configuration
6
5.2. Device Configuration
The hardware components to reproduce the connection procedure of this document are as
follows:
Manufacturer Name Model Version
OMRON CPU Unit
(Built-in EtherNet/IP port) CJ2M-CPU32 Ver.2.0
(Ver.2.12)
OMRON Power Supply Unit CJ1W-PA202
OMRON Switching hub W4S1-05C Ver.1.00
OMRON CX-One CXONE-AL[][]C-V4
/AL[][]D-V4 Ver.4.[][]
OMRON CX-Programmer (Included in CX-One) Ver.9.50
OMRON Network-Configurator (Included in CX-One) Ver.3.56
- Personal computer
(OS: Windows 7) -
- USB cable
(USB 2.0 type B connector) -
- LAN cable (STP (shielded,
twisted-pair) cable of Ethernet
category 5 or higher)
-
OMRON FZ5 Sensor Controller FZ5-L350 Ver.5.12
OMRON Camera FZ-SC2M
OMRON Camera cable FZ-VS
OMRON Monitor (analog RGB monitor) FZ-M08
- USB connected mouse -
Precautions for Correct Use
Update the CX-Programmer and Network Configurator to the versions specified in this
section or higher versions using the auto update function.
If a version not specified in this section is used, the procedures described in Section 7 and
subsequent sections may not be applicable. In that case, use the equivalent procedures
described in the CX-Programmer Operation Manual (Cat. No. W446) and Network
Configurator Online Help.
Additional Information
The system configuration in this document uses USB for the connection between the
personal computer and PLC. For information on how to install the USB driver, refer to A-5
Installing the USB Driver of the CJ-series CJ2 CPU Unit Hardware User's Manual (Cat. No.
W472).
CJ2M-CPU32
(Built-in EtherNet/IP port)
USB cable LAN
cable
Switching hub
W4S1-05C
FZ5-L350
Personal computer
(CX-One, installed,
OS: Windows 7 )
FZ-SC2M
USB connected mouse
FZ-M08
FZ-VS

6
.
EtherNet/IP Settings
7
6. EtherNet/IP Settings
This section describes the specifications such as communication parameters and tag data link
that are set in this document.
6.1. EtherNet/IP Communications Parameters
The communications parameter required connecting the PLC and the FZ5 Sensor Controller
via EtherNet/IP is given below.
PLC (EtherNet/IP Unit)
(node 1) FZ5 Sensor Controller
(node 2)
Unit number 0 -
Node address 1 2
IP address 192.168.250.1 192.168.250.2
Subnet mask 255.255.255.0 255.255.255.0
6.2. Allocating the Tag Data Links
The tag data links are allocated for the FZ5 Sensor Controller as shown below.
Output area Input area
D10000
D10009
(PLC to
FZ5 Sensor Controller)
20 bytes
D10100
D10123
(FZ5 Sensor Controller to
PLC)
48 bytes
Additional Information
For details on the control output, command codes, and response codes, refer to Memory
Allocation in Section 2 Methods for Connecting and Communicating with External Devices -
Communicating with EtherNet/IP of the Vision Sensor FH/FZ5 Series Vision System User's
Manual (Communications Settings) (Cat. No. Z342).

6
.
EtherNet/IP Settings
8
■Details on output area
Bit
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Meaning
D10100 ERCLR
XEXE
STEP
EXE
Control output
(2 words)
D10101 DSA
D10102 CMD-CODE Command code
(2 words)
D10103
D10104
CMD-PARAM Command
parameter
(6 words max)
D10105
D10106
D10107
D10108
D10109
EXE: Command Request Bit: Turned ON to execute a command.
STEP: Measure Bit: Turned ON to execute a measurement.
XEXE: Flow Command Request Bit: Turned ON to request execution of a command during
execution of fieldbus flow control.
ERCLR: Error Clear Bit: Turned ON to clear the Error Status bit.
DSA: Data Output Request Bit: Turned ON to request data output.

6
.
EtherNet/IP Settings
9
■Details on input area
Bit
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Meaning
D10100
ERR
XWAIT
XBUSY
XFLG
RUN
OR BUSY
FLG Control output
(2 words)
D10101
GATE
D10102
CMD-CODE Command code
(2 words)
D10103
D10104
RES-CODE Response code
(2 words)
D10105
D10106
RES-DATA Response data
(2 words)
D10107
D10108
DATA0 Output data 0
D10109
D10110
DATA1 Output data 1
D10111
D10112
DATA2 Output data 2
D10113
D10114
DATA3 Output data 3
D10115
D10116
DATA4 Output data 4
D10117
D10118
DATA5 Output data 5
D10119
D10120
DATA6 Output data 6
D10121
D10122
DATA7 Output data 7
D10123
FLG: Command Completion Bit: Turned ON when command execution is completed.
BUSY: Command Busy Bit: Turned ON when command execution is in progress.
OR: Overall Judgement Bit: Turned ON when the overall judgement is NG.
RUN: Run Mode Bit: Turned ON while the Sensor Controller is in Run Mode.
XFLG: Flow Command Completion Bit: Turned ON when execution of a command that was
input during the execution of fieldbus flow control has been completed (i.e., when
XBUSY turns OFF).
XBUSY: Flow Command Busy Bit: Turned ON when execution of a command that was
input during execution of fieldbus flow control is in progress.
XWAIT: Flow Command Wait Bit: Turned ON when a command can be input during the
execution of fieldbus flow control.
ERR: Error Signal: Turned ON when the Sensor Controller detects an error signal.
GATE: Data Output Completion Bit: Turned ON when data output is completed.

7
.
EtherNet/IP Connection Procedure
10
7. EtherNet/IP Connection Procedure
This section describes the procedure for connecting the FZ5 Sensor Controller to the PLC via
EtherNet/IP.
This document explains the procedures for setting up the PLC and the FZ5 Sensor Controller
from the factory default setting. For the initialization, refer to Section 8 Initialization Method.
7.1. Work Flow
Take the following steps to operate the tag data link for EtherNet/IP.
7.2. Setting Up the FZ5 Sensor Controller
Set up the FZ5 Sensor Controller.
↓
7.2.1. Parameter Settings
Set the parameters for the FZ5 Sensor Controller.
↓
7.3. Setting Up the PLC
Set up the PLC.
↓
7.3.1. Hardware Settings Set the hardware switches on the EtherNet/IP Unit
and wire the network.
↓
7.3.2. Starting the CX-Programmer and
Connecting Online with the PLC
Start the CX-Programmer and connect online with
the PLC.
↓
7.3.3. Creating the I/O Table and setting
IPAddresses
Create the I/O table and set the IP address of the
PLC.
↓
7.4. Setting Up the Network
Set the tag data links for the EtherNet/IP.
↓
7.4.1. Start the Network Configurator and
Uploading Configuration
Start the Network Configurator and upload the
network configuration.
↓
7.4.2. Setting Tags
Register the tags of the send area and receive area.
↓
7.4.3. Setting the Connection
Associate the target device with the tags of the
originator.
↓
7.4.4. Transferring the Tag Data Link
Parameters
Transfer the set tag data link parameters to the PLC.
↓
7.5. Checking the EtherNet/IP
Communications
Confirm that the EtherNet/IP tag data links are
operated normally.
↓
7.5.1 Checking the Connection Status
Check the connection status of EtherNet/IP.
↓
7.5.2 Checking the Data that are Sent
and Received
Confirm that the correct data are sent and received.

7.EtherNet/IP Connection Procedure
11
7.2. Setting Up the FZ5 Sensor Controller
Set up the FZ5 Sensor Controller.
7.2.1. Parameter Settings
Set the parameters for the FZ5 Sensor Controller.
1 Connect the Camera, Monitor,
USB connected mouse, and the
LAN cable to the FZ5 Sensor
Controller.
Connect the power supply cable
to the Power terminal.
2 Turn ON the power supply to the
FZ5 Sensor Controller.
3 The Language setting Dialog
Box is displayed on the Monitor
connected to the FZ5 Sensor
Controller only at the initial start.
Select English and click the OK
Button.
Confirm that your desired
Language is selected and click
the Yes Button.
4 Select System Settings from
the Tool Menu on the FZ-PanDA
Dialog Box that are shown on
the Monitor connected to the
FZ5 Sensor Controller.

7.EtherNet/IP Connection Procedure
12
5 Select System
Settings-Startup-Startup
setting from the tree.
The Language setting Dialog
Box is displayed. Select the
Communication Tab.
6 The Communication module
select Dialog Box is displayed.
Select EtherNet/IP from the
Fieldbus pull-down list.
Then, click the Apply Button.
Click the Close Button to close
the System Settings Dialog Box.
* The data set in the System
Settings Dialog Box as shown
on the right becomes enabled
after the settings are saved, and
then the FZ5 Sensor Controller
is restarted.
7 Select Data save from the
Function Menu.
8 The Data save Dialog Box is
displayed. Click the OK Button.

7
.
EtherNet/IP Connection Procedure
13
9
Select System restart from the
Function Menu.
10
The System restart Dialog Box
is displayed. Check the contents
and click the OK Button.
11
After restarting, select System
Settings from the Tool Menu.
12
Select System Settings -
Communication -
Ethernet(Normal(UDP)) from
the tree.

7.EtherNet/IP Connection Procedure
14
13 The dialog box on the right is
displayed. Select the Use the
following IP address Option for
Address setting and set the
following values.
IP address: 192.168.250.2
Subnet mask: 255.255.255.0
* To change a value, click the
Button in the item in which a
value is to be set. The numeric
keyboard is displayed. Enter
values using the mouse.After
entering the values, click the
OK Button on the numeric
keyboard.
* How to change values.

7
.
EtherNet/IP Connection Procedure
15
14
When a value is changed, the
Apply Button is displayed. Click
the Apply Button.
While the setting is being
processed, the dialog box on
the right is displayed.
After the dialog box disappears,
click the Close Button to close
the System Settings Dialog Box.
15
In the same way as steps 7 and
8, select Data save from the
Function Menu.
16
In the same way as steps 9 and
10, select System restart from
the Function Menu.

7.EtherNet/IP Connection Procedure
16
7.3. Setting Up the PLC
Set up the PLC.
7.3.1. Hardware Settings
Set the hardware switches on the EtherNet/IP Unit and wire the network.
Precautions for Correct Use
Make sure that the power supply is OFF when you perform the setting up.
1 Make sure that the power supply
to the PLC is OFF.
* If the power supply is turned
ON, settings may not be
applicable as described in the
following procedure.
2 Check the position of the
hardware switches on the front
of the EtherNet/IP Unit by
referring to the right figure.
3 Set the Unit number setting
switch to 0.
The unit number is used to identify individual CPU Bus Units when more than
one CPU Bus Unit is mounted to the same PLC. Use a small screwdriver to
make the setting, taking care not to damage the rotary switch. The unit
number is factory-set to 0.

7.EtherNet/IP Connection Procedure
17
4 Set the Node address setting
switches to the following default
settings.
[NODE No.x161]: 0
[NODE No.x160]: 1
* Set the IP address to
192.168.250.1.
* By default, the first to third
octets of the local IP address
are fixed to 192.168.250. The
fourth octet is the values that
were set with the Node
address setting switches.
With the FINS communications service, when there are multiple EtherNet/IP
Units connected to the Ethernet network, the EtherNet/IP Units are identified
by node addresses. Use the node address switches to set the node address
between 01 and FE hexadecimal (1 to 254 decimal).Do not set a number that
has already been set for another node on the same network.
The left switch sets the sixteens digit (most significant digit) and the right
switch sets the ones digit (least significant digit).The node address is
factory-set to 01.
Default IP address = 192.168.250.node address
With the factory-default node address setting of 01, the default IP address is
192.168.250.1.
5 Connect the LAN cable to the
EtherNet/IP port of the PLC, and
connect the USB cable to the
USB port. Connect the Personal
computer, Switching hub and
PLC as shown in 5.2. Device
Configuration.
6 Turn ON the power supply to the
PLC.
The set IP address is displayed
on the seven-segment LED
indicators from right to left.
Afterwards, the rightmost 8 bits
of the IP address are displayed
in hexadecimal during normal
operation.
USB cable LAN cable
Switching hub
PLC CPU Unit
Power Supply Unit
Other manuals for CJ Series
11
This manual suits for next models
6
Table of contents
Other Omron Computer Hardware manuals

Omron
Omron E5ZN-DRT Configuration guide

Omron
Omron G7Z User manual

Omron
Omron CJ1W- ECT21 User manual

Omron
Omron New H7E Series User manual

Omron
Omron CP1L User manual

Omron
Omron G3B User manual

Omron
Omron K3TC User manual

Omron
Omron CJ2H-CPU64 - User manual

Omron
Omron CP1L - 12-2007 User manual

Omron
Omron JUSP-NS600 Quick guide

Omron
Omron 3G8F5-DRM21-E - V2 User manual

Omron
Omron PYF S User manual

Omron
Omron P2RF S User manual

Omron
Omron K3TS User manual

Omron
Omron CJ2M-CPU Series Instruction Manual

Omron
Omron G3PB User manual

Omron
Omron G3RV User manual

Omron
Omron G3PA User manual

Omron
Omron G3H User manual

Omron
Omron XTRADRIVE - User manual