Omron E2E series, NX series, E3Z series, NJ series Network Connection Manual

0 (0)
Machine Automation Controller NJ-series
IO-Link Connection Guide
(EtherCAT(R) Host Communications)
OMRON Corporation
Proximity Sensor
(E2E-series IO-Link)
[IO-Link Master Unit]
OMRON Corporation
NX-series EtherCAT Coupler unit (NX-ECC20[])
P663-E1-01
About Intellec t ua l Property Right s 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. EtherCAT(R) is registered trademark and patented techn ology, licensed by Beckhof f Automation GmbH, Germany. Sysmac is a trademark or r egist ered trademark of OMRON Cor por at ion in Japan and other countries for OMRON fact or y automation products. Company names and product names in this document are the tr ademarks or registered trademarks of their respe ctive companies.
T a ble of Co ntent s
1. Related Manuals .......................................................................................... 1
2. T erms 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. Communications Settings .......................................................................... 8
6.1. EtherCAT Connection Parameter ........................................................... 8
6.2. IO-Link Connection Parameter ............................................................... 8
6.3. Slave Terminal Configuration and Device Names .................................. 8
6.4. Device Variables ...................................................................................... 9
7. IO-Link Connectio n Procedure ................................................................. 11
7.1. Work Flow .............................................................................................. 11
7.2. Slave Terminal Setup ............................................................................ 13
7.3. Network Configuration for Host Communi catio ns ................................. 16
7.4. IO-Link Master Unit Setup ..................................................................... 20
7.5. Controller Setup .................................................................................... 23
7.6. IO-Link Communication Status Check .................................................. 30
8. Initialization method ................................................................................. 38
8.1. Initializing Controller .............................................................................. 38
8.2. Initializin g Salve Terminal ...................................................................... 38
9. Revision History ........................................................................................ 41
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 Precaut ions for Safe Use in the manuals for each device which is used in the system.
Cat. No. Model Manual name
W500 NJ501-[][][][]
NJ301-[][][][] NJ101-[][][][]
W501 NJ501-[][][][]
NJ301-[][][][] NJ101-[][][][]
W505 NJ501-[][][][]
NJ301-[][][][] NJ101-[][][][]
W504 SYSMAC-SE2[][][] Sysmac Studio Version 1
W519 NX-ECC20[] NX-series EtherCAT(R) Coupler Unit
W567 NX-ILM[][][] NX-series IO-Link Master Unit
W570 NX-ILM[][][]
GX-ILM[][][]
9540393-4 E2E(Q)-[]-IL[] PROXIMITY SENSOR
9540292-0 E2E(Q)-[]-IL[] PROXIMITY SENSOR
NJ-series CPU Unit Hardware User's Manua l NJ/NX-series CPU Unit Software User's Manual NJ/NX-series CPU Unit Built-in EtherCAT(R) Port User's Manual
Operation Manual
User’s Manual
User’s Manual IO-Link System User’s Manual
INSTRUCTION SHEET
INDEX LIST
2.Terms and Definitions
2
IO-Link device
IO-Link master
IO-Link Mode
Cyclic
I/O data
Process data
IODD file

2. Terms and Definitions

Term Explanation and Definition
A dev ice w ith a sensor or an actuator that can perform IO-Link communications with an IO-Link master. A dev ice t hat performs IO-Link communications with IO-Link devices in an IO-Link System and th at simultaneously functions as a slave f or host communications. “IO-Link Master Unit” is used to ref er to a spec ific Un it in this docu ment. A co m mu nication mode of an IO-Link master t o perform IO-Link communications with IO-Link devices.
communications
Slave unit A generic name for a device that performs EtherCAT communications
Node address A node address is an address to identify a unit con nected to EtherCAT. ESI file An ESI file contains infor mation unique to EtherCAT slave units in XML
Communications that ex change data in a fixed period with no ne ed f or programming. All target data in cyclic com m uni c at i ons with a host. IO-Link Systems contain the foll ow ing two types of I/O data.
Target data in cyclic communi cations w ith a host in an IO -Link master Target data in IO-Link devices for cyclic communications with an
IO-Link master I/O data in IO-Link devices. You can allocate a maximum of 32 bytes of process data in a master. A de fin iti on file for an IO-Link device. The parameter settings for an IO-Link device ca n be made by installing this file in CX-ConfiguratorFDT.
with an EtherCAT master in an EtherCAT system. There are various types of slaves such as ser vo drives that handle position data and I/O terminals that handle bit signals.
format. Installing an ESI fi le enables Sysmac Studio to allocat e EtherCAT slave process data and make other settings.
3.Precautions
3
Indicates a potentially hazardous situation which, if not av oided,
damage.
Additional Information
This information is provid ed to increase understanding or make operation easier.
Symbol

3. Precautions

(1) Understand the speci fications of devices which are used in the system. A ll ow s ome
margin for ratings and performance. Provide safety 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 in format ion provided in
all Safety Precautions and Pr ecautions for Safe Use in the manuals for each device which is used in the system.
(3) The user is encouraged t o conf irm the standards and regulat ions that the system must
conform to.
(4) It is prohibited to copy, to reproduce, and to distribute a part or t he whole of this
document without the perm ission of OMRON Corporation.
(5) The information contai ned 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 document.
may result in minor or moderate injury, or may result in serious injury or death. Additionally there may be significant property
Indicates a potentially hazardous situation which, if not av oided, may result in minor or moderate injury or property dam age.
Precautions for Correct Use
Precautions on what to do and w hat not to do to ensure proper operati on and performance.
Additional information to read as required.
The filled circle symbol indicates operations that you must do. The specific operation is shown in the circle and ex plained in the text. This example shows a general precau tion f or so meth ing th at you must do.
4.Overview
4
ECC20[])
Slave Terminal
EtherCAT communications with Controller
IO Proximity Sensor

4. Overview

This document describes the procedures for connecting E2E-series IO-Link Proximity Sensor (hereinafter referred to as Proximity Sensor) that is connec t ed via IO-Link to IO-Link Master Unit (NX-ILM[][][]) to NJ-series Machine Automation Controller (hereinafter r ef er r ed t o as Controller) via EtherC AT through EtherCAT Coupler Unit (NX-ECC20[]) to which IO-Link Master Unit is connected and also for checking their connection status - all of which are produced by OMRON Corpor at ion. Refer to Section 6. Communicat ions Sett ings and Section 7. IO-Link Connection Procedure to understand setting metho ds and key points to perform cyclic communications in the IO-Link system. In this document, a generic Et herCAT slave for EtherCAT communications is call ed " slave unit", and a specific Ether CAT slave configured of E t her C AT Coupler Unit and IO-Link Master Unit is called "Slave Terminal".
<Slave Terminal Configuration>
EtherCAT Coupler Unit (NX­IO-Link Master Unit (NX-ILM[][][])
-Link communications with
5.Applicable Devices and Device Configuration
5
Precautions for Correct Use
Additional Information

5. Applicable Devices and Device Configuration

5.1. Applicable Devices

The applicable devices are as follows:
Manufacturer Name Model OMRON NJ-series CPU Un it NJ501-[][][][]
NJ301-[][][][] NJ101-[][][][]
OMRON NX-series
EtherCAT Coupler Unit
OMRON NX-series
IO-Link Master Unit
OMRON E2E-series
IO-Link Proximity Sensor
NX-ECC20[]
NX-ILM[][][]
E2E(Q)-[]-IL[]
In this document, the d evices with models and vers ions liste d in 5.2. Dev ice Configuratio n are used as examples of applicabl e devices to describe the procedur es for connecting the devices and checking their connections. You cannot use devices with versions lower than the versions listed in 5.2. To use the above devices with models not listed in 5.2. or versions higher than those listed in
5.2., check the differ ences in the specifications by referr ing to the manuals before operating the devices.
This document describes the procedures for establishing the network connections. It does not provide inform at ion on operation, installation, wirin g method, device functionality, or device operation, which is not r elat ed to the connection procedures. Refer to the manuals or contact the device manufacturer.
5.Applicable Devices and Device Configuration
6
Manufacturer
Name
Model
Version
OMRON
NJ-series CPU Un it (Built-in EtherCAT port)
NJ501-1500
Ver.1.12 OMRON
Power Supply Unit
NJ-PA3001
OMRON
Sysmac Studio
SYSMAC-SE2[][][]
Ver.1.16
OMRON
CX-ConfiguratorFDT
(Included in Sysmac Studi o)
Ver.2.2
-
Personal computer (OS: Windows 7)
- -
USB cable (USB 2.0 type B connector )
- OMRON
Ethernet cable (with industrial Ethernet connector)
XS5W-T421-[]M[]-K
OMRON
NX-series EtherCAT Coupler Unit
NX-ECC202
Ver.1.2
OMRON
NX-series IO-Link Master Unit
NX-ILM400
Ver.1.0
-
Unit power supply (24 VDC)
- -
I/O power supply (24 VDC )
-
OMRON
IO-Link Proximity Sensor
E2E-X3B4-IL3 2M
Ver.1.00
Precautions for Correct Use
Connect the cable shield to the connector hood at both ends of t he cable.
Precautions for Correct Use
Help.
NJ501-1500
NX-ECC202+ NX-ILM400
Personal computer
Unit power supply
I/O power supply
E2E-X3B4-IL3 2M

5.2. Device Configuration

The hardware components to reproduce the connection procedures in this document are as follows:
(Sysmac Studio and CX-ConfiguratorFDT installed, OS: Windows 7)
USB cable
(Built-in EtherCAT port)
Ethernet cable
The connection line of Ether CAT communications ca nnot be s hared with other Ethernet networks. Do not use devices for Ethernet such as a switching hub. Use an Ethernet cable (doubl e shielding with aluminum tape and br aiding) of Category 5 or higher, and use a shielded connector of Cat egory 5 or higher.
Update Sysmac Studio an d CX -ConfiguratorFDT to the version specified in this Clause 5.2. or to a higher version. If you use a version higher than the one spec ifie d, the procedures and related screenshots described in Section 7. and subsequent sections may not be applicable. In that case, use the equivalent pr oc edures described in this document by referring to the Sysmac Studio Version 1 Operation Manual (Cat. No. W504) and ConfiguratorFDT Online
5.Applicable Devices and Device Configuration
7
Additional Information
Additional Information
For specifications of Ether net cables and network wiring, refer t o Sect ion 4. EtherCAT Network Wir in g of the NJ/NX-series CPU Unit Built-in EtherCAT(R) Port User's Manual (Cat.
No. W505).
Additional Information
For specifications of Unit and I/O power supplies for Slave Terminal, refer to the NX-series EtherCAT(R) Coupler Unit User's Manual (Cat. No. W519).
The system configuration in this document uses USB for the connection between Personal computer and Controller. For information on how to install the USB driv er, refer to A-1 Driver
Installation for Direct USB Cable Connection in Appendices of the Sysmac Studio Versio n 1 Operation Manual (Cat. No. W504).
6.Communications Settings
8
Item
Set value
Remarks
Set the address using the hardw ar e sw it ches on Slave Terminal.
Item name
Value
Port1 IO-Link Device Configuration Data / Master Control
IO-Link Mode (Default)
NX Unit number
Name
Model
Device name
0
EtherCAT Coupler Unit
NX-ECC202
E001
1
IO-Link Master Unit
NX-ILM400
N1
0
1

6. Communications Settings

This section describes the contents of parameter and device v ar iable settings that are all defined in this document.

6.1. EtherCAT Connection Parameter

The parameter required fo r connecting Controller and Slave Terminal via EtherCAT is shown below.
<Slave Terminal Setting>
Node address 1

6.2. IO-Link Connection Parameter

The parameter required fo r connecting IO-Link Master Unit and Proximity Sensor via IO-Link is shown below. In this document, Proxim ity Sensor is connected to Port 1 on IO-Link Master Unit.
<IO-Link Master Unit Setting>

6.3. Slave Terminal Configuration and Device Names

The Slave Terminal configuration a nd device names are shown below. The default values are used for the device names. For slave units , t he default device names are "E" followed by a serial number that starts from 001. For NX Units, the default device names are N followed by a ser ial n umber that starts from 1.
<Slave Terminal configuration and device names>
6.Communications Settings
9
Status whether the NX Unit is registered to Unit configuration information or not.
Status whether the NX Unit I/O data is controlled or not.

6.4. Device Variables

The I/O data (process dat a) for Proximity Sensor are allocated to the Cont r ol l er 's device variables as PDO communicat ions data. The device variables are named automatically from a combination of the device names and the port names. The device variables and the data types are shown below.
Additional Information
With Sysmac Studio, two methods can be used to specify an arr ay for a data type. After specifying, (1) is converted to (2), and the data type is always displayed as (2).
(1)BOOL[16] / (2) ARRAY[0..15] OF BOOL In this document, the data type is simplified by displaying BOO L[ 16]. (The example above mea ns a BOOL data type w it h sixt een array elements.)
Output area (Controller to Slave Terminal)
Device name Variable Data Type Description
N1_Port1_Output_Data01 BYTE[2] Port1 Output Data01
N1 N1_Port2_Output_Data01 BYTE[2] Port2 Output Data01
N1_Port3_Output_Data01 BYTE[2] Port3 Output Data01 N1_Port4_Output_Data01 BYTE[2] Port4 Output Data01
Input area (Slave Terminal to Controller)
Device name Variable Data Type Description
E001_Sysmac_Error_Status BYTE Sysmac error status on Slave T erminal E001_Observation BOOL Observation E001_Minor_Fault BOOL Minor Fault
E001 E001_Partial_Fault BOOL Partial Fault
E001_Major_Fault BOOL Major Fault E001_NX_Unit_Registration_Status_125 BOOL[126]
E001_NX_Unit_I_O_Data_Active_Status_125 BOOL[126] N1_I_O_Port_Status WORD I/O Port Status
N1_Port1_IN_Data_Enable BOOL Port1 IN Data Enable N1_Port2_IN_Data_Enable BOOL Port2 IN Data Enable N1_Port3_IN_Data_Enable BOOL Port3 IN Data Enable N1_Port4_IN_Data_Enable BOOL Port4 IN Data Enable N1_Communication_Module_Error BOOL Communication Module Error N1_IO_Pwr_On BOOL IO Power On N1_Port1_2_I_O_Port_Error_Status WORD Port1_2 I/O Port Error Status N1_Port1_Communication_Error BOOL Port1 Communication Error N1_Port1_Short_Error BOOL Port1 Short Error N1_Port1_Compare_Error BOOL Port1 Compare Error
N1 N1_Port1_Device_IO_Size_Error BOOL Port1 Device IO Size Error
N1_Port1_Device_Error BOOL Port1 Device Error N1_Port1_Device_Information BOOL Port1 Device Warning N1_Port1_PDO_Error BOOL Port1 PDO Error N1_Port2_Communication_Error BOOL Port2 Communication Error : (Same status as for Port 1) : : N1_Port3_4_I_O_Port_Error_Status WORD Port3_4 I/O Port Error Status
10
N1_Port3_Communication_Error BOOL Port3 Communication Error
Port1 Input Data01
<Stores the I/O data for Proximity Sensor.>
: (Same status as for Port 1) : : N1_Port4_Communication_Error BOOL Port4 Communication Error : (Same status as for Port 1) : :
N1_Port1_Input_Data01 BYTE[2] [0] BYTE
N1 [1] BYTE
N1_Port2_Input_Data01 BYTE[2] Port2 Input Data01 N1_Port3_Input_Data01 BYTE[2] Port3 Input Data01 N1_Port4_Input_Data01 BYTE[2] Port4 Input Data01
I/O data (process data) f or Pr oximity Sensor (Data to be stored in the device variable N1_Port1_Input_Data01 listed in the table above)
6.Communications Settings
<Stores Byte0 (PD0).> <Stores Byte1 (PD1).>
7.IO-Link Connection Procedure
11
7.2. Slave Terminal Setup
Communications
7.4. IO-Link Master Unit Setup
7.5. Controller Setup

7. IO-Link Connection Procedure

This section describes the pr ocedures for connecting Prox i mity Sensor to IO-Link Master Unit via IO-Link and for connecting Controller to Slave Terminal configured of IO-Lin k Master U nit on the EtherCAT network. The explanations of procedures for setting up Controller and Slave Terminal given in this document are based o n the factory default settings. For the initialization, refer t o Sect i on 8. Initialization Method.

7.1. Work Flow

Take the following steps to connect Proximity Sensor to I O-Link Master Unit via IO-Link and to connect Controller to Slave Terminal configured of IO-Link Master Unit on t he EtherCAT network.
Set up Slav e Terminal.
7.2.1. Hardware Sett ings Configure Slave Terminal, set hardwar e sw it ches,
7.3. Network Configuration for Host
7.3.1. Start ing Sy smac Studio Start Sysmac Studio and connect onlin e w it h
7.3.2. Setting up the EtherCAT Network Configuration
7.4.1. Parameter Set tings Set the para m et er s for IO-Link Master Unit.
and connect Proximity Sensor.
Set up the netw ork configuration for host
communications.
Controller.
Set up the EtherCAT network configurat ion.
Set up IO-Link Master Unit.
7.4.2. I/O Allocation Settings Set the I/O allocations for IO-Link Master Unit.
7.5.1. Setting t he Device Variables Set the device variables to use f or Sl ave Terminal.
7.5.2. Transferring the Project Data Connect online with Sysmac Studio and t r ansfer
Set up Controller.
the project data to Controller.
Loading...
+ 32 hidden pages