How To Configure EtherNet/IP Coupler Unit
This article provides a general overview of the EtherNet/IP Coupler Unit configuration procedure when used with a CJ Series EtherNet/IP Unit or built-in EtherNet/IP port. More detail can be found in the attached manual NX Series EtherNet/IP Coupler Unit User's Manual (Cat No. W536-E1-01). Example project files are also attached.
In this article the following terms will be used.
The EtherNet/IP Coupler Unit is a device that communicates with an EtherNet/IP master unit such as an CJ1W-EIP21 Unit or a built-in EtherNet/IP port on a CPU (CJ2M-CPU3, CJ2H-CPU6) as well as mounted NX-units. The EtherNet/IP Coupler Unit simply acts as a protocol converter to translate messages to and from an EtherNet/IP master and the NX Series I/O bus.
During normal EtherNet/IP communications, the EtherNet/IP Coupler Unit exchanges a fixed amount of data for every EtherNet/IP communications cycle. The size of data that is exchanged is based on the NX Units that are connected. The image below provides an example of two different configurations and the amount of data each will exchange for a default configuration.
It is important to establish the Slave Terminal's NX Unit arrangement before the configuration procedure is started. Adjustment of the NX Unit types and/or arrangement typically affects Tag Data Links and Network Variables, so ensure the NX Unit type and mounting position is determined before beginning the configuration procedure.
It is also important to understand that the EtherNet/IP Coupler Unit stores the I/O allocation and settings for all connected NX Units to allow quick replacement of NX Units without the need for configuration software. When an EtherNet/IP Coupler Unit is powered on, it detects connected NX Units upon initialization. When a new NX Unit is detected, it automatically sets default I/O allocations and settings for that Unit based on type and slot position. If non-default I/O allocations or settings are required, use Sysmac Studio to make the necessary adjustments (which are also stored in the EtherNet/IP Coupler Unit). Adding, removing or rearranging NX Units on a previously configured Slave Terminal will likely change the I/O allocation, which will require adjustments to Tag Data Links and Network Variables.
There are two methods to configure the EtherNet/IP Coupler Unit.
Each of the above methods also require configuration of the EtherNet/IP Master Unit. This includes settings within CX-Programmer and Network Configurator for EtherNet/IP.
The basic configuration steps are as follows (other steps may be required for additional functionality).
*NOTE: This step is only necessary when a non-default configuration is used.
The following procedure will allow the EtherNet/IP Coupler Unit to exchange I/O data with an EtherNet/IP master in a non-default configuration. If a default configuration is used, skip step 2 below.
After determining the selection and arrangement of the NX Units, install and wire the Slave Terminal according to the details provided in the NX Series EtherNet/IP Coupler Unit User's Manual (Cat No. W536-E1-01). There are dip switches and rotary switches that need to be set before applying power.
The rotary switches set the last octet of the IP address for the unit. The following rotary switch settings will affect the IP address of the Slave Terminal as shown below.
Dip switch 4 sets the IP address base setting. Switches 1 and 2 are reserved by the system (the factory setting is OFF and they should remain in this position).
Configuration of the Slave Terminal's I/O allocations and settings are necessary when non-default adjustments are required (Why? See below). Use Sysmac Studio to make these settings and then download them to the EtherNet/IP Coupler Unit. Make the following adjustments with Sysmac Studio.
After these settings are established, transfer to the EtherNet/IP Coupler Unit via the USB connection.
The Slave Terminal's input bytes and output bytes are used to set the Tag Data Links in step 4. This is based on the configuration established in step 2 can be discovered in one of two ways:
The Tag Data Links need to be set to match the actual Slave Terminal's hardware and parameter configuration. Use the following procedure to create the appropriate Tag Data Links using Network Configurator for EtherNet/IP.
The IP address of the EtherNet/IP Coupler Unit can also be set using Network Configurator for EtherNet/IP if the rotary switch is set to 00. Use the default IP address to establish an initial connection to the EtherNet/IP Coupler Unit, then Select Tools - Setup TCP/IP Configuration to display the Setup TCP/IP Configuration Dialog Box and set the TCP/IP Configuration for the target device.
Network Variables need to be established in the CJ PLC in order to exchange I/O data between the EtherNet/IP Master and the EtherNet/IP Coupler Unit. These variables can be created in two ways:
Additionally, Network Variables can be imported into Network Configurator for EtherNet/IP after exporting from CX-Programmer.
The EtherNet/IP Coupler Unit supports additional functions that can be used for advanced applications.
NTP Server Settings
The EtherNEt/IP Coupler Unit supports automatic internal clock adjustment via an NTP (Network Time Protocol) server. This internal clock is used to apply accurate time stamp information to any event that occurs which can be helpful for diagnostics.
If the clock information cannot be retrieved from an NTP server, Sysmac Studio displays a default time stamp of 1970/1/1 0:00:00 for all events.
Set the internal clock NTP setting with Network Configurator. The Device Parameters area can be accessed by double-clicking the EtherNet/IP Coupler Unit in the network or right-clicking the EtherNet/IP Coupler Unit and selecting Parameter - Edit.
TCP/IP and UDP/IP Message Service Interface
The EtherNet/IP Coupler Unit supports a message service interface alternative to the standard EtherNet/IP Tag Data Link interface only when a Safety Control Unit is included in the Slave Terminal. Message services can be used to send/receive data between general-purpose applications and Slave Terminals. You can use these communications services to send and receive any data to and from remote nodes, i.e., between host computers and Slave Terminals.
A device that supports explicit messaging with TCP/IP or UDP/IP protocol can access CIP objects in the EtherNet/IP Coupler Unit to issue request commands. Refer to the attached EtherNet/IP Coupler Unit User's Manual for more information about the TCP/IP and UDP/IP message service interface.
Certain NX Units allow extra information to be exchanged over the EtherNet/IP network. For example, the incremental encoder input unit can also exchange channel pulse rate, internal latch data, pulse period measured values and time stamp information, but not by default. Also, Slave Terminal status information is not exchanged by default and if this is required, a custom configuration is necessary. Check the appropriate NX Unit User's manual for more information about default functions and information that can be exchanged.
*These details and references were made in December 2014. Newer versions may operate and function differently. Contact your local Omron representative for more information about newer versions.