+ All Categories
Home > Documents > EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers...

EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers...

Date post: 11-May-2020
Category:
Upload: others
View: 9 times
Download: 1 times
Share this document with a friend
40
EtherNet/IP TM Connection Guide CJ-Series Programmable Controllers CPUs with Built-in EtherNet/IP Communications NX-Series I/O EtherNet/IP Coupler Unit (NX-EIC202) CX-One Software P92I-E-01
Transcript
Page 1: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

EtherNet/IPTM Connection GuideCJ-Series Programmable Controllers CPUs with Built-in EtherNet/IP Communications

NX-Series I/O EtherNet/IP Coupler Unit (NX-EIC202)

CX-One Software

P92I-E-01

Page 2: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

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.

EtherCAT(R) is registered trademark and patented technology, licensed by Beckhoff

Automation GmbH, Germany.

Sysmac is a trademark or registered trademark of OMRON Corporation in Japan and other

countries for OMRON factory automation products.

Company names and product names in this document are the trademarks or registered

trademarks of their respective companies.

Page 3: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

Contents 1. Related Manuals .......................................................................................... 3

2. Terms and Definitions ................................................................................ 4

3. Precautions .................................................................................................. 6

4. Overview ...................................................................................................... 7

5. Applicable Devices and Device Configuration ........................................ 8

5.1. Applicable Devices .................................................................................. 8

5.2. Device Configuration ............................................................................... 9

6. EtherNet/IP Settings .................................................................................. 10

6.1. Parameters ............................................................................................ 10

6.2. Connection Settings .............................................................................. 10

7. EtherNet/IP Connection Procedure ......................................................... 11

7.1. Selecting NX-I/O and Designing the Power Supply System ................ 11

7.2. Setting up the Coupler .......................................................................... 12

7.2.1. Setting IP Address with Switch Settings ..................................... 12

7.3. Setting up the PLC ................................................................................ 13

7.3.1. Hardware Settings ....................................................................... 13

7.3.2. Creating the I/O Table and Setting the IP Address ..................... 15

7.3.3. Creating Tags on the PLC ........................................................... 19

7.4. Setting up the Network with Network Configurator ............................... 22

7.4.1. Connecting to a Network ............................................................. 22

7.4.2. Uploading Network Configuration ............................................... 24

7.4.3. Setting the Tags .......................................................................... 26

7.4.4. Setting the Connections .............................................................. 28

7.4.5. Transferring the Tag Data Link Parameters ................................ 31

Checking the EtherNet/IP Communications ................................................... 33

7.4.6. Checking the Connection Status ................................................. 33

7.4.7. Checking the Sent and Received Data ....................................... 34

8. Appendix .................................................................................................... 37

8.1. Assigning Network Variables ................................................................ 37

8.1.1. Basic I/O Mapping ....................................................................... 37

9. Revision History ........................................................................................ 38

Page 4: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

3

1. Related Manuals

To ensure system safety, make sure to always read and heed the information provided in all

Safety Precautions and Precautions for Safe Use of manuals for each device which is used in

the system. The table below lists the manuals of OMRON Corporation (hereinafter referred to

as OMRON) related to this document.

Manufacturer Cat. No. Model Manual name

OMRON W472 CJ2M-CPU��

CJ2H-CPU6�

CJ2H-CPU6�-EIP

CJ-series CJ2 CPU Unit Hardware User's

Manual

OMRON W473 CJ2M-CPU��

CJ2H-CPU6�

CJ2H-CPU6�-EIP

CJ-series CJ2 CPU Unit Software User's

Manual

OMRON W465 CS1W-EIP21

CJ1W-EIP21

CJ2H-CPU6�-EIP

CJ2M-CPU3�

EtherNet/IPTM

Units Operation Manual

OMRON W446 - CX-Programmer Operation Manual

OMRON 0969584-7 W4S1-05�

W4S1-03B

Switching Hub W4S1-series User’s

Manual

OMRON W536 NX-EIC��� NX-series Ether-Net/IPTM Coupler Unit

User’s Manual

OMRON W525 NX-������ NX-series Data Reference Manual

OMRON W521 NX-ID����

NX-IA����

NX-OC����

NX-OD����

NX-series Digital I/O Units User’s Manual

OMRON W522 NX-AD����

NX-DA����

NX-TS����

NX-series Analog I/O Units User’s

Manual

OMRON W523 NX-PD1���

NX-PF0���

NX-PC0���

NX-TBX01

NX-series System Units User’s Manual

OMRON W524 NX-EC0���

NX-ECS���

NX-PG0���

NX-series Position Interface Units User’s

Manual

OMRON Z930 NX-SL����

NX-SI����

NX-SO����

NX-series Safety Control Unit User’s

Manual

OMRON Z931 NX-SL���� NX-series Safety Control Unit Instructions

Reference Manual

Page 5: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

4

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 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

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.

Specifying the tag set name (tag name) and specifying the instance

number of Assembly Object are given as methods to specify the

connection. In Sysmac Studio, the connection is set by specifying the

instance number.

Connection type There are two kinds of connection types for the tag data link 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 multiple nodes. 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

multiple nodes.

Page 6: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

5

Term Explanation and Definition

Originator and

Target

To perform tag data links, one node requests the opening of a

communications line called a "connection".

The node that requests to open the connection is called an "originator",

and the node that receives the request is called a "target".

Each data for communications is called an ''originator variable'' and a

''target variable''.

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.

Page 7: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

6

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, make sure to always read and heed the information provided in

all Safety Precautions and Precautions for Safe Use of 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 Corporation.

(5) The information contained in this document is current as of January 2016. It is subject to

change without notice for improvement.

The following notation is used in this document.

Indicates a potentially hazardous situation which, if not avoided, will result in minor or moderate injury, or may result in serious injury or death. Additionally there may be significant property damage.

Indicates a potentially hazardous situation which, if not avoided, may result in minor or moderate injury or property damage.

Precautions for Safe Use

Precautions on what to do and what not to do to ensure safe usage of the product.

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 filled circle symbol indicates operations that you must do. The specific operation is shown in the circle and explained in text. This example shows a general precaution for something that must do.

Page 8: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

7

4. Overview

This document describes the procedure for connecting the NX Series I/O of OMRON

corporation with CJ-series Programmable Controller + EtherNet/IP Unit (hereinafter referred to as the PLC) via EtherNet/IP without using Sysmac Studio, and the procedure to check

their connection. Setup uses software tools in CX-One.

Page 9: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

8

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 EtherNet/IP Coupler Unit NX-EIC202

OMRON Transistor Output Unit NX-OD5256

OMRON DC Input Unit NX-ID3343

OMRON Temperature Input Unit NX-TS2201

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 models 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. It does not

provide information on operation, installation or wiring method which is not related to the

connection procedure. It also does not describe the functionality or operation of the devices.

Page 10: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

9

5.2. Device Configuration

The hardware components to reproduce the connection procedure of this document are as

follows:

Manufacturer Name Model

OMRON CJ-Series Unit (Built-in EtherNet/IP port)

CJ2H-CPU64-EIP

OMRON Switching hub W4S1-05C

- 24 VDC Power Supply (Switching hub) -

CX-Programmer (Included in CX-One)

Network Configurator (Included in CX-One)

OMRON Transistor Output Units NX-OD5256

OMRON Digital I/O Unit NX-ID3343

OMRON Temperature Input Unit NX-TS2201

Additional Information

For specifications of the power supplies available for the 24 VDC Power Supply (Switching

hub), refer to Switching Hub W4S1-series User’s Manual (Cat. No. 0969584-7).

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).

NX-Series EtherNet/IP Coupler Unit and Cards

USB cable

CJ2M-CPU32 (Built-in EtherNet/IP port)

W4S1-05C

Personal Computer (CX-One, installed OS: Windows 7)

LAN cable

Page 11: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

10

6. EtherNet/IP Settings

This section describes specifications of parameters and the tag data link allocation that are set

in this document.

6.1. Parameters

The parameters required for connecting the PLC and the Target Device via EtherNet/IP are

given below.

Items PLC EtherNet/IP Coupler

IP Address 192.168.250.1 192.168.250.2

Subnet Mask 255.255.255.0 255.255.255.0

6.2. Connection Settings

The connection settings of the CJ are shown below. On the PLC, set the connection type to

Point to Point for both input and output.

Connection allocation Set value

Connection I/O Type Consume Data From / Produce Data To

Originator Device Input Tag Set CJ_from_NXIO [8 Bytes]

Connection Type Point to Point connection

Output Tag Set CJ_to_NXIO [2 Bytes]

Connection Type Point to Point connection

Target Device Output Tag Set Output_148 [8 Bytes]

Input Tag Set Input_100 [2 Bytes]

Packet Interval (RPI) 10.0 ms

Timeout Value Packet interval (RPI) x 4

Page 12: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

11

7. EtherNet/IP Connection Procedure

This section describes the procedure for connecting NX-I/O Series to the PLC via EtherNet/IP.

7.1. Selecting NX-I/O and Designing the Power Supply System

Selecting NX-I/O:

As a general guideline modules NOT supported are as follows:

Timestamp digital IO modules

Serial Communications Modules

Pulse Output Modules

Note: For information on a specific card compatibility with the Coupler, please see NX Data

Reference Manual W525-E1-06 Appendix A-3 Compatibility of Couplers.

Designing the Power Supply System:

The total power consumption from the NX Unit Power Supply must not exceed the NX Unit

Power Supply capacity of the Unit that supplies the NX Unit power.

Use the following procedure to design the NX Unit Power Supply.

1 Calculate the total power consumption from the NX Unit Power Supply that is required

by the NX Units that are connected to the EtherNet/IP Coupler Unit.

2 If the total power consumption from the NX Unit Power Supply exceeds the NX Unit

Power Supply capacity of the EtherNet/IP Coupler Unit, add an additional NX Unit Power

Supply Unit to the right of an NX Unit before the capacity is exceeded.

3 Calculate the total power consumption from the NX Unit Power Supply that is required

by the NX Units that are connected after the additional NX Unit Power Supply Unit.

If the total power consumption of those NX Units exceeds the NX Unit Power Supply

capacity of the Additional NX Unit Power Supply Unit, add another Additional NX Unit

Power Supply Unit to the right of an NX Unit before the capacity is exceeded.

4 Repeat Step 3 until the design conditions for the NX Unit Power Supply are met.

Additional Information

NX-EIC202_EtherNetIP_Coupler_UserMan_en_201504_W536-E1-02

5.Designing the NX Unit Power Supply System

Page 13: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

12

7.2. Setting up the Coupler

Make sure that the Coupler has no previous file configured onto it. If it has a previous

configuration, Sysmac Studio is needed to clear all the memory in the coupler. During power

up and initialization, the EtherNet/IP coupler automatically detects connected NX Units and

applies a default configuration. If the order or type of any of the slices is changed, then the

Coupler will need to be cleared.

Previous Configuration File

NX Unit operation settings are stored in the EtherNet/IP Coupler Unit. If an EtherNet/IP Coupler Unit has been previously configured, the memory needs to be cleared using the Clear All Memory option in Sysmac Studio before attempting this configuration procedure. Otherwise, stored settings for NX Units that were previously mounted may be automatically transferred to mounted NX Units.

7.2.1. Setting IP Address with Switch Settings

The following switches are used to set the node address. The setting range is from 001 to 254.

If these switches are used, the node address that is set on the switches will be valid. (The

factory setting is 000).

Switch Node Address Range Node Address Setting

DIP switch pin 4 ON

DIP switch pin 4 OFF

192.168.1.� or

192.168.250.�

Preset

Top rotary switch

Bottom rotary switch

0-F

0-F

1 to 254 (setting 01 to FE)

Note: For more information on setting the IP address with switch setting, see the NX-EIC202

EtherNet Coupler User Manual W536-E1-02

Precautions for Correct Use

• The IP address corresponding to the switches is read only once when the Unit Power

Supply is turned ON or the EtherNet/IP Coupler Unit is restarted. If the node address is

changed after the Unit Power Supply is turned ON or after the EtherNet/IP Coupler Unit is

restarted, the new node address will not be used until the next time that power is turned ON

or the EtherNet/ IP Coupler Unit is restarted.

• An error will occur if the same node address is set for more than one Unit.

• An error will occur if the same IP address is set for more than one Unit.

• An error will occur if the node address is not within the setting range.

Page 14: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

13

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. 1 Make sure that the Power

Supply to the PLC and the

Switching hub is OFF.

*If the Power Supply is turned

ON, settings may not be

applicable as described in the

following procedure.

2. 2 Check the positions of the

hardware switches on the front

of the EtherNet/IP Unit by

referring to the right figure.

3. 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.

Page 15: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

14

4. 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.01.xxx

*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 are

set with the Node address

setting switches.

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.

5. 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. 6 Turn ON the Power Supply to

the PLC and Switching hub.

Page 16: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

15

7.3.2. Creating the I/O Table and Setting the IP Address

1. If the operating mode of the

PLC is Run Mode or Monitor

Mode, change to Program

Mode by following the steps

below.

(1) Select Operating Mode -

Program from the PLC Menu

of the CX-Programmer.

(2) The dialog box on the right

is displayed. Confirm that there

is no problem and click the

Yes Button.

(3) Confirm that Stop/Program

Mode is displayed on the right

of the PLC model in the

project workspace of the

CX-Programmer.

2. 2 Select Edit -> I/O Table -> Unit

Setup from the PLC Menu of

the CX-Programmer.

The PLC IO Table Window is

displayed.

Page 17: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

16

3. 3 Select Options ->Create from

the Menu of the PLC IO Table

Window.

4. 4 The dialog box on the right is displayed. Confirm that there is no problem and click the Yes button.

5. 6 The Transfer from PLC Dialog Box is displayed. Select the I/O Table Check Box and the SIO Unit Parameters Check Box, and click the Transfer Button.

Page 18: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

17

6. 9 When the transfer is completed, the Transfer Results dialog box is displayed. Confirm that the transfer was normally executed by referring to the message in the dialog box. When the I/O table is created normally, the dialog box displays as follows: Transfer Success: 1 Unit Transfer Unsuccessful: 0 Unit Click the OK Button.

7. On the PLC IO Table Window, click + to expand Built-in Port/Inner Board to display CJ2M-EIP21. Select Unit Setup. *The right figure displays the CPU Unit (Built-in EtherNet/IP port) specified in 5.2. Device Configuration.

8. The Edit Parameters dialog box is displayed. Select the TCP/IP Tab. Make the following settings in the IP Address Field.

・Use the following address:

Select

・IP Address: 192.168.250.1

・Sub-net Mask: 255.255.255.0

Click the Transfer[PC to Unit] Button.

Page 19: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

18

9. The dialog box on the right is displayed. Confirm that there is no problem and click the Yes Button. Confirm that a message stating "Transfer successful" is displayed, and click the Close Button.

10 A confirmation dialog box is displayed. Check the contents and click the Yes Button.

When the Unit is restarted, the dialog box on the right is displayed. Check the contents and click the OK Button.

Page 20: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

19

7.3.3. Creating Tags on the PLC

1 Double click on Symbols.

*Tags must be created as global

variables.

2 Right click anywhere on the

table and select Insert Symbol.

3 Create Name, Data type, and

select an Address.

Check Net. Variable and click

the Output button.

Name: CJ_to_NXIO

Data type: WORD

Address: W0

Net. Variable: Output

Page 21: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

20

4 Create Name, Data type, and

select an Address.

Check Net. Variable and click

the Input button.

Name: CJ_from_NXIO

Data type: WORD

Address: W100

Net. Variable: Input

5 To change the size of the

symbol click Advanced

Settings.

6 Connect with USB and press the

“go online” button to go online

with the controller.

7 Click the transfer to PLC icon.

Page 22: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

21

8 Transfer to controller. Make sure

to select Settings, IO table, and

Symbols.

Page 23: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

22

7.4. Setting up the Network with Network Configurator

Set the tag data links for the EtherNet/IP using Network Configurator.

7.4.1. Connecting to a Network

1 From CX-Programmer, PLC IO

Table right click Ethernet

Unit->start special

application->start with

settings inherited.

2 Select Network Configurator,

OK

3 (In Network Configurator)

Go to Options->Select

Interface-> Ethernet I/F.

4 Select Network -> Connect.

Page 24: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

23

5 Select the network of the PLC

connection. OK.

6 The Select Connect Network

Port Dialog box is displayed.

Select TCP:2.

Click OK Button.

7 The Select Connected

Network Dialog box is

displayed. Check the contents

and click the OK Button.

8 When an online connection is

established, the color of the icon

on the figure changes to blue.

Page 25: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

24

Additional Information

If an online connection cannot be made to the PLC, check the cable connection. Check the

settings and repeat each .For details, refer to 6-2-9 Connecting the Network Configurator to

the Network in Section 6 Tag Data Link Functions of the EtherNet/IPTM Units Operation

Manual (Cat. No. W465).

7.4.2. Uploading Network Configuration

1 Select Network->Upload to

upload the device information on

the network.

2 The following is displayed.

Confirm that there is no problem

and click the Yes button.

3 The Target Device Dialog box

is displayed. Select the

192.168.250.1 check box and

the 192.168.250.2 check box.

Click the OK Button.

*If 192.168.250.1 and

192.168.250.2 are not displayed

on the dialog box, click the Add

button to add the addresses.

*The displayed addresses

depend on the status of

Network Configurator.

Page 26: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

25

4 The device parameters are

uploaded. When uploading is

completed, the dialog box on the

right is displayed. Check the

contents and click the OK

Button.

5 After uploading, confirm that the

IP addresses of uploaded nodes

are updated on the Network

Configuration Pane as follows.

IP address of node 1:

192.168.250.1

IP address of node 2:

192.168.250.2

6 Right-click the node 2 device

and select Parameter -> Edit.

Page 27: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

26

7 The Edit Device Parameters

Dialog box is displayed. Check

that the following values are set,

and click the OK Button.

Input Size : 8

Output Size : 2

7.4.3. Setting the Tags

1 On the Network Configuration

Pane of the Network

Configurator, right-click the

node 1 device and select

Parameter ->Edit.

Page 28: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

27

2 The Edit Device Parameters

Dialog box is displayed. Select

the Tag Sets Tab.

Click Import to import tags

already created in

CX-Programmer

3 The tags created will appear

under the tabs In-Consume and

Out-Produce

Page 29: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

28

7.4.4. Setting the Connections

Associate the tags of the target device (that receives the open request) with the tags of the originator

device (that requests opening).

4 Select NX-EIC202 in the

Unregister Device List Field.

Click the Down Arrow Button

that is shown in the dialog box.

5 NX-EIC202 is registered in the

Register Device List field.

Select 192.168.250.2 and click

the New Button.

Page 30: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

29

6 The Edit Connection Dialog

box is displayed. Select

Consume Data From/Produce

Data To from the Connection

I/O Type pull-down list.

Set the values listed in the

following table to the Originator

Device Field and the Target

Device Field.

Connection allocation Set value

Connection I/O Type Consume Data From / Produce Data To

Originator Device Input Tag Set CJ_from_NXIO [8 Bytes]

Connection Type Point to Point connection

Output Tag Set CJ_to_NXIO [2 Bytes]

Connection Type Point to Point connection

Target Device Output Tag Set Output_148 [8 Bytes]

Input Tag Set Input_100 [2 Bytes]

Packet Interval (RPI) 10.0ms

Timeout Value Packet interval (RPI) x 4

Page 31: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

30

7 Confirm that the settings are

correct, and click the Show

Detail Button.

8 The Detail Parameter field is

displayed. Set the following

values.

・Packet Interval (RPI): 10.0 ms

・Timeout Value: Packet Interval

(RPI) x 4.

9 Click the Regist Button. Then

Close.

Page 32: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

31

10 The Edit Device Parameters

Dialog box is displayed again.

Click the OK Button.

11 When the connection setting is

completed, the registered node

address is displayed under the

NX-EIC icon of node 2 on the

Network Configuration Pane.

7.4.5. Transferring the Tag Data Link Parameters

Transfer the set tag data link parameters to the PLC.

1 Go to Network –> Download to

begin transferring configuration

to the device.

Page 33: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

32

2 List of Device that are

executing will appear. Select

Download after changed to

Program mode.

3 The tag data link parameters are

downloaded from Network

Configurator to the PLC.

4 The dialog box on the right is

displayed. Check the contents

and click the Yes Button.

Page 34: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

33

Checking the EtherNet/IP Communications

Confirm that the EtherNet/IP tag data links are operated normally.

7.4.6. Checking the Connection Status

Check the connection status of EtherNet/IP.

1 Confirm that the EtherNet/IP tag

data links are operated normally

by checking the LED indicators

of the PLC (EtherNet/IP Unit).

The LED indicators in normal

status are as follows:

MS: Green lit

NS: Green lit

COMM: Yellow lit

100M or 10M: Yellow lit

2 Confirm that the tag data links

are normally in operation by

checking the status information

on the Monitor Device Window

of the Network Configurator.

Right-click the device icon of

node 1 on the Network

Configuration Pane and select

Monitor.

Page 35: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

34

3 The dialog box on the right

displays the Status 1 Tab Page

of the Monitor Device Dialog

box.

When the same check boxes

are selected as shown on the

right, the tag data links are in

normal operation.

Click the Close Button.

7.4.7. Checking the Sent and Received Data

Confirm that the correct data are sent and received.

Addresses are assigned within that tag according to the order on the rack. For more detailed

information see Assigning Network Variables in 8.1

1 Go to Memory in

CX-Programmer

Page 36: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

35

2 Go the memory location where

the Tags are assigned. Click the

‘W’ memory location.

3 Select the Monitor button.

4 Check that there are values

being transmitted in the W0

register and W100. These are

where the produced and

consumed tags are assigned.

Additional Information

For trouble shooting information please see

CJ_CS_EtherNetIP_OperManual_en_201312_W465-E1-08, SECTION 14 Troubleshooting

and Error Processing.

Page 37: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

36

If you change the values of variables on a Watch Tab Page in the online state,

the connected devices to the output unit may operate regardless of the

operating mode of the CPU Unit.

Sufficiently confirm safety before you change the values of variables on a

Watch Tab Page when CX-Programmer is online with the CPU Unit.

In the procedure of this section, the Fieldbus Coupler is output, which may

perform unexpected operation. Take sufficient safety precautions and proceed

to this section. If you cannot confirm safety, do not proceed to this section after

completing until Section 7.4.1. If you proceed to this section, make sure to

complete all the steps and place the Target Device in the safe state.

If you wire the I/O in the state that the Power Supply to the devices is turned ON,

doing so may cause damage to the devices. Always read and heed the

information provided in all safety precautions of manuals for each device to be

wired.

Page 38: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

37

8. Appendix

8.1. Assigning Network Variables

8.1.1. Basic I/O Mapping

The numbers used to identify NX Units in a Slave Terminal are called Unit Numbers. These

numbers are allocated automatically from left to right starting with 1 when the power is turned

ON. It is not necessary for the user to set these numbers. The EtherNet/IP Coupler Unit will

have a unit number of 0.

The type and order in which NX Units are mounted will determine the I/O allocation and will

also affect the Network Variable address assignments in the PLC. Refer to

NX-EIC202_EtherNetIP_Coupler_UserMan_en_201504_W536-E1-02,9-5-5 Creating Tags

and Tag Sets on page 9-41 for more information about importing/exporting Network variables.

The figure below shows this mapping.

Page 39: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

38

I/O Mapping Example

I/O data is mapped to the EtherNet/IP Coupler Unit’s I/O data blocks in the same order the NX

Units are connected to the EtherNet/IP Coupler Unit, regardless of the NX Units’ models. The

example below shows the I/O data mapping to the Input / Output blocks.

Note: For more information see NX-series EtherNet/IP Coupler Unit User’s Manual W536

9. Revision History

Revision

code

Date of revision Revision reason and revision page

01 February 26, 2016 First edition

Page 40: EtherNet/IPTM Connection Guide · The EtherNet/IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between

OMRON CANADA, INC. • HEAD OFFICEToronto, ON, Canada • 416.286.6465 • 866.986.6766 • www.omron247.com

OMRON ELECTRONICS DE MEXICO • HEAD OFFICEMéxico DF • 52.55.59.01.43.00 • 01-800-226-6766 • [email protected]

OMRON ELECTRONICS DE MEXICO • SALES OFFICEApodaca, N.L. • 52.81.11.56.99.20 • 01-800-226-6766 • [email protected]

OMRON ELETRÔNICA DO BRASIL LTDA • HEAD OFFICESão Paulo, SP, Brasil • 55.11.2101.6300 • www.omron.com.br

OMRON ARGENTINA • SALES OFFICECono Sur • 54.11.4783.5300

OMRON CHILE • SALES OFFICESantiago • 56.9.9917.3920

OTHER OMRON LATIN AMERICA SALES54.11.4783.5300

Authorized Distributor:

P92I-E-01 03/16 Note: Specifications are subject to change. © 2016 Omron Electronics LLC Printed in U.S.A.

Printed on recycled paper.

Automation Control Systems• Machine Automation Controllers (MAC) • Programmable Controllers (PLC) • Operator interfaces (HMI) • Distributed I/O • Software

Drives & Motion Controls • Servo & AC Drives • Motion Controllers & Encoders

Temperature & Process Controllers • Single and Multi-loop Controllers

Sensors & Vision• Proximity Sensors • Photoelectric Sensors • Fiber-Optic Sensors• Amplified Photomicrosensors • Measurement Sensors• Ultrasonic Sensors • Vision Sensors

Industrial Components • RFID/Code Readers • Relays • Pushbuttons & Indicators• Limit and Basic Switches • Timers • Counters • Metering Devices • Power Supplies

Safety • Laser Scanners • Safety Mats • Edges and Bumpers • Programmable Safety

Controllers • Light Curtains • Safety Relays • Safety Interlock Switches

OMRON AUTOMATION AND SAFETY • THE AMERICAS HEADQUARTERS • Chicago, IL USA • 847.843.7900 • 800.556.6766 • www.omron247.com

OMRON EUROPE B.V. • Wegalaan 67-69, NL-2132 JD, Hoofddorp, The Netherlands. • +31 (0) 23 568 13 00 • www.industrial.omron.eu


Recommended