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/IP
TM
are trademarks of ODVA.
Company names and product names in this document are t he trademarks or registered
trademarks of their respective companies.
Table of Contents
1. Related Manuals ........................................................................................ 1
2. Terms and Definitions ............................................................................... 2
9. Revision History ...................................................................................... 57
1.Related Manuals
1
1. Related Manuals
To ensure system safety, make sure to always read and follow the information provided in all
Safety Precautions and Precautions for Saf e Use in the manuals for each device which is
used in the system.
Cat. No. Model Manual name
W472 CJ2M-CPU[][]
CJ2H-CPU6[]
CJ2H-CPU6[]-EIP
W473 CJ2M-CPU[][]
CJ2H-CPU6[]
CJ2H-CPU6[]-EIP
W465 CJ1W-EIP21
CJ2M-CPU3[]
CJ2H-CPU6[]-EIP
W446 CXONE-AL[][]C-V4
/ AL[][]D-V4
0969584-7 W4S1-05[]
W4S1-03B
Z362 ZW-7000[] Displacement Sensor ZW-7000 series
Z363 ZW-7000[] Displacement Sensor ZW-7000 series
CJ-series
CJ2 CPU Unit
Hardware USER'S MANUAL
CJ-series
CJ2 CPU Unit
Software USER'S MANUAL
CJ Series
EtherNet/IP
OPERATION MANUAL
CX-Programmer
OPERATION MANUAL
Switching Hub
W4S1-series
Users Manual
Confocal Fiber Type
Displacement Sensor User’s Manual
Confocal Fiber Type Displacement
Sensor User’s Manual for
Communications Settings
TM
Units
2.Terms and Definitions
2
network.
address, and it is assigned to the memory area of each device.
Corporation.
This standard feature on EtherNet/IP is called a tag data link .
between the specified nodes concurrently.
than one node.
and the node that receives the request is called a "target " .
parameter
It includes the data to set tags, tag sets, and connect ions.
and the parameters that can be set via EtherNet/IP.
2. Terms and Definitions
Term Explanation and Definition
Node A programmable controller and a device are connected to an EtherNet/IP
network via EtherNet/IP ports. 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, EtherNet/IP recognizes this device as two nodes.
EtherNet/IP achieves the communications between programmable
controllers or the communications between a pro grammable controller
and a device by exchanging data between these nodes connected to the
Tag A minimum 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
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 f or the
data exchange is called a tag set. Up to eight tags can be confi gured per
tag set for the programmable controllers produced by OMRON
Tag data link In EtherNet/IP, the tag and tag set can be exchanged cyclically between
nodes without using a user program.
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 excha nged
Connection type There are two kinds of connection types for the tag data li nk connection.
One is a multi-cast connection, and the other is a unicast (point-to-point)
connection. The multi-cast connection sends an output tag set in one
packet to more than one node. The unicast connection separately sends
one output tag set to each node. Therefore, multi-cast connections can
decrease the communications load if one output tag set is sent to more
Originator and
Target
To operate tag data links, one node requests the opening of a
communications line called a "connection".
The node that requests to open the connection is cal led an "originator",
Tag data link
EDS file A file that describes the number of I/O points for the EtherNet/IP device
A tag data link parameter is the setting data to operate tag data links.
3.Precautions
3
Precautions for Correct Use
Additional Information
Symbol
3. Precautions
(1) Understand the specifications of devices which are used in the system. Allow some
margin for ratings and performance. Provide saf ety measures, such as installing a safety
circuit, in order to ensure safety and minimize the risk of abnormal occurrence.
(2) To ensure system safety, make sure to always read and follow the information provided in
all Safety Precautions and Precautions for Safe Use in the manuals for each device
which is 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 Corporat ion.
(5) The information contained in this document is current as of July 2016. It is subject to
change for improvement without notice.
The following notations are used in this docum ent.
Indicates a potentially hazardous situation whi ch, if not avoided,
may result in minor or moderate injury or property damage.
Precautions on what to do and what not to do to ensure proper operation and performance.
Additional information to read as required.
This information is provided to increase unders tanding or make operation easier.
The triangle symbol indicates precautions (including warnings).
The specific operation is shown in the triangle and explained in the text.
This example indicates a general precaution.
4.Overview
4
4. Overview
This document describes the procedures f or connecting Displacement Sensor (hereinafter
referred to as Sensor Controller) to CJ-seri es Programmable Controller + EtherNet/IP Unit
(hereinafter referred to as PLC) via EtherNet/ IP, both produced by OMRON Corporation
(hereinafter referred to as OMRON), and for check ing their connections.
Refer to Section 6. EtherNet/IP Settings and Section 7. EtherNet/IP Connection Procedure to
understand setting methods and key points to operate EtherNet/IP tag data links.
In this document, CJ-series EtherNet/IP Unit and the built-in EtherNet/IP port of CJ-series CJ2
CPU Unit are collectively called as "EtherNet/IP Unit''.
5.Applicable Devices and Device Configuration
5
Additional Information
5. Applicable Devices and Device Configuration
5.1. Applicable Devices
The applicable devices are as follows:
Manufacturer Name Model
OMRON CJ2 CPU Unit CJ2[]-CPU[][]
OMRON EtherNet/IP Unit CJ1W-EIP21
CJ2H-CPU6[]-EIP
CJ2M-CPU3[]
OMRON Confocal Fiber Type
Displacement Sensor
Sensor Controller
Sensor Head
ZW-7000[]
ZW-S70[][]
Precautions for Correct Use
In this document, the devices with models and versions listed in 5.2. Device Configuration are
used as examples of applicable devices to des cribe the procedures for connecting the
devices and checking their connections.
You cannot use devices with versions lower than the versions list ed in 5.2.
To use the above devices with models not listed in 5.2. or versions higher than thos e listed in
5.2., check the differences in the specifications by referring to t he manuals before operating
the devices.
This document describes the procedures f or establishing the network connections.
It does not provide information on operation, installation, wiring method, device functional it y,
or device operation, which is not related to the connection procedures.
Refer to the manuals or contact the device manufac turer.
5.Applicable Devices and Device Configuration
6
Manufacturer
Name
Model
Version
OMRON
CJ2 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
-
24 VDC power supply
-
OMRON
CX-One
CXONE-AL[][]C-V4
/AL[][]D-V4
Ver.4.[][]
OMRON
CX-Programmer
(Included in CX-One)
Ver.9.61
OMRON
Network Configurator
(Included in CX-One)
Ver.3.59c
-
Personal computer
(OS: Windows 7)
-
-
USB cable
(USB 2.0 type B connector)
-
-
LAN cable (STP (shielded,
category 5 or higher)
-
OMRON
S8VS-06024
Precautions for Correct Use
ZW-7000
24 VDC power supply
Calibration ROM
CJ2M-CPU32
Personal computer
24 VDC power supply
LAN cable
W4S1-05C
5.2. Device Configuration
The hardware components to reproduce the connect i on procedures in this document are as
follows:
(CX-One installed,
OS: Windows 7)
USB cable
(Built-in EtherNet/IP port)
(for Sensor Controller)
(for Switching hub)
twisted-pair) cable of Ethernet
OMRON Sensor Controller ZW-7000 Ver.2.020
OMRON Sensor Head ZW-S7030
OMRON Calibration ROM (Supplied with Sensor Head)
Update CX-Programmer and Network Configurator to the version specified in this Clause 5.2.
or to a higher version. If you use a version higher than the one specified, the procedures and
related screenshots described in Section 7. and subsequent sections may not be applicable.
In that case, use the equivalent procedures described i n this document by referring the
For specifications of 24 VDC power supply available for Switching hub, refer to the Switching
Hub W4S1-series Users Manual (Cat. No. 0969584-7).
For specifications of 24 VDC power supply available for Sensor Controller, refer to the
Displacement Sensor ZW-7000 series Confocal Fiber Type Displacement Sensor User ’s
Manual (Cat. No. Z362).
Additional Information
The system configuration in this document uses USB for the connection between 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 Us er's Manual (Cat. No. W472).
5.Applicable Devices and Device Configuration
6.EtherNet/IP Settings
8
6. EtherNet/IP Settings
This section describes the contents of parameter and tag data link settings that are all defined
in this document.
6.1. Parameters
The parameters required for connecting PLC to Sensor Controller via EtherNet/IP are shown
below.
The following shows the content of tag data link settings for Sensor Controller.
Output area Input area
D10000
(PLC to Sensor Controller)
24 bytes
D10011
■Output area
D10000
D10001
D10100
(Sensor Controller to PLC)
56 bytes
D10127
D10002
D10003
10
■Input area
Address
Bit
Function name
0 Control command completion
1 Reserved
2 Ready
3 Reserved
4 Run screen
5 to 10
Reserved
11 Current bank number bit0
12 Current bank number bit1
13 Current bank number bit2
14 Current bank number bit3
15 Current bank number bit4
0 Error
1 to 15
Reserved
Sensor head status signal 2 (lower 16 bits)
0 Hold execution status
1 Reset execution state
2 Logical beam lighting state
3 Measurement position
4 Measurement state
5 Data output completed
6 Overall judgment result
7 Reserved
8 TASK1 TASK status
9 TASK2 TASK status
10 TASK3 TASK status
11 TASK4 TASK status
12 to 15
Reserved
Sensor head status signal 2 (upper 16 bits)
0 TASK1 Zero reset state
1 TASK2 Zero reset state
2 TASK3 Zero reset state
3 TASK4 Zero reset state
4 TASK1 HIGH output
5 TASK1 PASS output
6 TASK1 LOW output
7 TASK2 HIGH output
8 TASK2 PASS output
9 TASK2 LOW output
10 TASK3 HIGH output
11 TASK3 PASS output
12 TASK3 LOW output
13 TASK4 HIGH output
14 TASK4 PASS output
15 TASK4 LOW output
D10100
D10101
6.EtherNet/IP Settings
Sensor head status signal 1 (lower 16 bits)
Sensor head status signal 1 (upper 16 bits)
D10102
D10103
6.EtherNet/IP Settings
11
Address
Bit
Function name
D10104
0 to 15
Extended area (lower 16 bits)
D10105
0 to 15
Extended area (upper 16 bits)
D10106
0 to 15
Command code echo (lower 16 bits)
D10107
0 to 15
Command code echo (upper 16 bits)
D10108
0 to 15
Response code (lower 16 bits)
D10109
0 to 15
Response code (upper 16 bits)
D10110
0 to 15
Response data (lower 16 bits)
D10111
0 to 15
Response data (upper 16 bits)
D10112
0 to 15
Output data 0 (lower 16 bits)
D10113
0 to 15
Output data 0 (upper 16 bits)
D10114
0 to 15
Output data 1 (lower 16 bits)
D10115
0 to 15
Output data 1 (upper 16 bits)
D10116
0 to 15
Output data 2 (lower 16 bits)
D10117
0 to 15
Output data 2 (upper 16 bits)
D10118
0 to 15
Output data 3 (lower 16 bits)
D10119
0 to 15
Output data 3 (upper 16 bits)
D10120
0 to 15
D10121
0 to 15
D10122
0 to 15
D10123
0 to 15
D10124
0 to 15
D10125
0 to 15
D10126
0 to 15
D10127
0 to 15
Reserved
7.EtherNet/IP Connection Procedure
12
7.2. Sensor Controller Setup
Set up Sensor Controller.
7.2.1. Hardware Settings
Connect cables and others to Sensor Controller.
Set the parameters for Sensor Controller.
7.3. PLC Setup
Set up PLC.
Set the hardware switches on EtherNet/IP Unit and
wire the network.
Start CX-Programmer and connect online with
Create the I/O table and set the IP address of PLC.
7.4. Network Settings
Set the EtherNet/IP tag data links.
Start Network Configurator and connect onli ne wi th
Upload the network configuration.
Register tags for input (consume) and output
(produce).
7. EtherNet/IP Connection Procedure
This section describes the procedures for connecting PLC and Sensor Controller on the
EtherNet/IP network.
The explanations of procedures for setting up PLC and Sensor Controller given in this
document are based on the factory default settings.
For the initialization, refer to Section 8. Initialization Method.
7.1. Work Flow
Take the following steps to operate tag data links by connecting PLC and Sensor Contr oller
via EtherNet/IP.
↓
↓
7.2.2. Parameter Settings
↓
↓
7.3.1. Hardware Settings
↓
7.3.2. Starting CX-Programmer and
Connecting Online with PLC
↓
7.3.3. Creating the I/O Table and
Setting the IP Address
↓
↓
PLC.
7.4.1. Starting Network Configurator
and Connecting Online with
PLC
↓
7.4.2. Uploading the Network
Configuration
↓
7.4.3. Setting the Tags
↓
PLC.
13
Associate the tags of the target device with the
tags of the originator device.
Transfer the set tag data link parameters to PLC.
Check
Confirm that the EtherNet/IP tag data links operate
Check the connection status of the EtherNet/IP
network.
Check that the correct data are sent and received.
7.4.4. Setting the Connections
7.EtherNet/IP Connection Procedure
↓
7.4.5. Transferring the Tag Data Link
Parameters
↓
7.5. EtherNet/IP Communication Status
↓
7.5.1. Checking the Connection Status
↓
7.5.2. Checking the Sent and
Received Data
normally.
14
7.2. Sensor Controller Setup
1
may not be applicable.
3
connector
block
Set up Sensor Controller.
7.2.1. Hardware Settings
Connect cables and others to Sensor Controller.
Precautions for Correct Use
Make sure that the power supply is OFF when you set up.
Make sure that Sensor
Controller is powered OFF.
*If it is ON, the settings
described in the following steps
and subsequent procedures
7.EtherNet/IP Connection Procedure
Check the position of
2
connectors on Sensor Controller
by referring to the figure on the
right.
Connect the calibration ROM to
ROM connector.
Ethernet
ROM connector
Fiber adapter
24V input terminal
4
Connect Fiber connector on
Sensor Head to Fiber adapter.
7.EtherNet/IP Connection Procedure
15
24 VDC power supply
6
Manual (Cat. No. Z362).
Connect Switching hub and
5
Ethernet connector on Sensor
Controller with a LAN cable.
Connect 24 VDC power supply
(for Switching hub) to Switching
hub.
Connect 24 VDC power supply
to 24 V input terminal block.
*For details on specifications of
24 VDC power supply available
for Sensor Controller, refer to
the Displacement
SensorZW-7000 series
Confocal Fiber Type
Displacement Sensor User’s
LAN cable
24 VDC power supply
16
7.2.2. Parameter Settings
1
2
3
4
0kzcan
RUN Indicator (Green)
ZERORST/ESC Key
ZERO/SET Key
(DOWN) Key
↑(UP) Key
(RIGHT) Key
(LEFT) Key
Mode Switching
Set the parameters for Sensor Controller.
Check the positions of each key
and displays to use for
parameter settings.
7.EtherNet/IP Connection Procedure
Main Display (White)
Sub-display (Green)
Turn ON Sensor Controller.
The system enters the RUN
mode after displaying “INIT” for
a few seconds.
*The RUN Indicator is lit in the
RUN mode.
Press and hold the Mode Switching Key for two seconds.
OK/CAN is displayed.
Press the ZERO/SET Key.
Key
←
*5000
THRESHOLD H L RUN
→
↓
Loading...
+ 43 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.