Catalyst Ethernet Addendum 1.1

How to configure a Catalyst EtherNet/IP with RSLogix 5000

 

Raco Manufacturing and Engineering continually makes improvements in the operation and functionality of its products. This addendum describes Catalyst Ethernet communication option that allows the Catalyst to connect directly on the PLC Ethernet networks. This addendum specifically addresses the ModbusTCP and EtherNet/IP protocols.

 

Important Note: It is important to note that a user cannot use the front keys of the Catalyst to program or change any Ethernet settings. For this reason, it is crucial to use this addendum to configure the IP address of the Catalyst to identify and configure the device for Network traffic.

 

This information helps the user setup the Ethernet communication between the Catalyst and the Ethernet network. It is assumed that the user has already connected the Catalyst to the Ethernet network and is ready to setup the remote channels (section 1.1.2 in the main Catalyst manual).

 

Please note that this addendum is in effect a new section to the Industrial Networks section of the manual (Section 1.9.1 in the main Catalyst user Manual). Therefore, the content of this addendum covers all the requirements of connecting to the Ethernet network, which also includes all testing and diagnostics.

 

The main purpose of connecting to the Ethernet network is to get the PLC data natively instead of connecting on other external network bridges.

 

Requirements

 

Description Name/Type Version
Rockwell PLC ControlLogix5000 n/a
PLC Software RSLogix 5000 13.04.00
RACO IPConfig Tool RACO IPConfig 2.1.1.1
Catalyst EtherNet/IP Network Interface Addendum Catalyst EtherNet/IP Ethernet Network Interface Addendum 2.0
Catalyst EtherNet/IP User Manual Catalyst User Manual 2.0
Alarmware New Alarmware Version for Ethernet 2.0

 

Determining Net Port Number & Protocol Identifier

 

The Catalyst Ethernet supports one communication port, named NET 1. In this version of the product, the Ethernet connectivity is found in the door of the module as shown in the image below.

 

This Ethernet version of the Catalyst supports equally the ModbusTCP or the EtherNet/IP networks over the Ethernet port.

 

Communication Registers

 

The Catalyst behaves in the same way in all of its programming as indicated in the main Catalyst user’s manual except if desired the Catalyst also monitors the loss of Ethernet communication functions. When addressing the communication behaviors in Ethernet you should observe these guidelines:

 

The communication health bit is configured with a special logic to monitor network health of connecting PLCs – If Ethernet master loses connection, a health byte in address 40125 will go from 0 to 256 or a bit in address 01992 will go from 0 to 1 indicating that the communication with the network is impaired and if the Catalyst is programmed to look for this change. A bit flipping from 0 to 1 can report the loss of communication via an alarm to the users.

 

To program the loss of communication alarm follow the instructions in the main Catalyst manual and ensure that the register name space is set accordingly.

 

Program 4532 * 2 * 2 * 01992 * (channel 32 reads address 01992) and 4532 2 (normally 0, alarm on 1).

 

Note that Normal means actually talking to the PLC. You would get an alarm if you are plugged into the Ethernet, but the PLC is not communicating, or if you are not plugged into the Ethernet.

 

Note also that this bit will use one of the available channels on the Gateway (in this case channel 125).

 

Additional Consideration

 

It is good to note these differences in looking for the changes in register values, coils, and bits:

 

Sometimes different types of registers are mapped to different internal memory locations

 

Catalyst autodialers don’t work this way. All the different areas are mapped on top of one another.

 

- This allows flexibility to look at data as input registers, holding registers, coils, etc., as many Modbus masters don’t have all functions implemented

 

- Since Catalyst channels are completely compatible with the logical and I/O addressing scheme for the file structure of the Allen Bradley controllers (SLC series and newer) processors, the table below should look familiar.

 

Table #1

Register Address Description Size/Limitations Catalyst SNA
0xxxx Coil number xxxx 1-bit 1*node*0xxxx
1xxxx Input number xxxx 1-bit 1*node*1xxxx
2xxxx Input register number xxxx 16-bit 1*node*3xxxx
3xxxx Output register number xxxx 16-bit 1*node*4xxxx
4xxxx Floating Point Register 32-bit 1*node*5xxxx
Note: The 5x and 4x references share the same data space. That is, an address of the form 5nnnn takes the 32 bits beginning at location 4nnnn and extending through 4nnnn + 1. These 32 bits are then interpreted as an IEEE floating point number.

 

Important:

Catalyst Ethernet SNA addresses have the form 1*2*(Register Address). 1 Table #1 illustrates the data file convention within the Catalyst and the link to PLC via SNA (Source Net Address).

 

Table #1 also shows the Allen-Bradley-supported address types available to link to Catalyst channels. Indirect, indexed and symbolic addressing schemes are not supported.

 

Table #2

Register Address Description Size/Limitation
0xxxx Coil Number xxxx 1-bit
1xxxx Input Number xxxx 1-bit
3xxxx Input register number xxxx 16-bit
4xxxx Output register number xxxx 16-bit
5xxxx Floating Point register 32-bit

 

Table #2 illustrates the Modbus data file convention within the Catalyst. These Modbus Register Addresses map to the Rockwell Automation controller’s registers as per the Modbus Table File numbers, on the Channel Configuration form within RSLogix, illustrated above.

 

Important:

It should be noted that Output Register (4xxxx) and Holding Register (5xxxx) data types use the same data area at the Catalyst end. The Holding Register (5xxxxx) uses two consecutive 16-bit addresses that are interpreted as a 32-bit floating point number (i.e. 5xxxx & 5xxxx+1). Not unlike the Holding Register, the Output Register (4xxxx) also reserves two consecutive 16 bit words; however the extended word is left blank.

 

Similarly, when addressing the input register (3xxxx), allow for two consecutive 16 bit words, keeping in mind the word is reserved but not used. Hence, consecutive addressing of both Input and Output Registers will appear as follows. For example, first Input Register address point 30001, second address point 30003, third address point 30005, etc.

 

Allen Bradley PLCs Solution Overview

 

This application note describes how to configure Catalyst EtherNet/IP with a Rockwell PLC using RSLogix 5000. Below you can find an overview of the system described in this document. Other nodes may be attached to the network, but are not necessary.

 

The configuration is described in two steps:

  1. At first the PLC and network configuration is explained.
  2. Secondly the configuration of the IP-settings and the I/O data of the Catalyst EtherNet/IP are described.

 

The contents describe step by step how a configuration is done. This document assumes the reader is familiar with industrial communication, EtherNet/IP networks.

 

 

Hardware Connection Overview

 

EtherNet/IP Configuration

 

Before you begin

 

Ensure that the EDS file (Found on the “Ethernet IP Configuration Tools” CD that was shipped with the Catalyst) is copied to the RSLogix 5000 EDS directory (as indicated by Rockwell Automation Manual). The EDS file insures that the RSLogix controller can identify the RACO Ethernet autodialers in the Ethernet modules and tags.

 

To configure the PLC and the EtherNet/IP network the tool RSLogix 5000 is used. Firstly the PLC needs to be configured and secondly the EtherNet/IP network. Start the RSLogix 5000 program and follow the steps below:

 

PLC Configuraton

 

Either create a new project or use an existing. To create a new configuration, open the file menu and select new. In the appearing dialogue select the desired type of PLC, in this case the type 1756-L55 is used. Also enter a name for the controller and select chassis type, slot number and project path. To accept the settings press OK.

 

Adding the PLC to the Configuration

 

 

Then add the Ethernet I/O module. Right click on the I/O configuration directory in the navigation list to the left as seen below:

 

Adding the Ethernet Module

 

Click on new module and select the desired Ethernet module, in this case the Ethernet Bridge. This module is the scanner module in the PLC.

 

Selecting the Type of Module

 

Then enter the desired settings and press finish.

 

Configuring the Settings for the Ethernet Module

 

EtherNet/IP Network Configuration

 

The second step is to configure the EtherNet/IP network and adding the RACO Catalyst EtherNet/IP module to the configuration in the PLC.

  1. Begin with setting the program in “Offline” mode.
  2. Then right click on the EtherNet/IP Bridge in the I/O configuration, and select “New Module”.

 

Adding the Catalyst Module

 

Now a dialogue window will appear. In this dialogue window, select “Generic Ethernet module” and press OK.

 

Selecting the Generic Ethernet Module

 

In the next dialogue window, RSLogix 5000 will ask for information regarding the communication to the Catalyst module. First enter a name for the Catalyst module. In the example below we call it “RACO Ethernet”. This name will create a tag in RSLogix 5000, which can be used to access the memory location in the PLCs memory where the data for the Catalyst module will be stored. A description can also be added, but that is optional.

 

Configuring the Module Properties

 

Next step is to select the “Com Format”, which tells RSLogix5000 the format of the data. In our example, we have selected Data-SINT, which will represent the data in the Catalyst module as a field of 8-bit values. It is also possible to select Data-INT, which will represent the data as 16-bit values, and Data-DINT, which will represent it as 32 bit values.

 

I/O data is accessed in input instance 100 and output instance 150, so these values have to be entered as the instance values for input and output. The size of the input connection and the output connection shall correspond to the size that we have configured the Catalyst module for. In our case we are using 32 8-bit values of input and output data, so that is the size that we enter. 32 in this case stands for 32 instances of 8 bits. If we had been using Data-INT or Data-DINT, we would have to recalculate the size to match the data type, so Data-INT would have been 16 16-bit values, and Data-DINT would have been 8 32-bit values.

 

The Catalyst module does not have a configuration assembly instance by default, but RSLogix5000 requires a value for this anyway. An instance value of 0 is not a valid instance number, but any non-zero value will work, here we have selected the value 1. The data size of the configuration instance has to be set to 0, otherwise the configuration instance will be accessed and the connection will be refused. As a final step we enter the IP address that we have configured for the module, here 10.10.14.225.

 

The next step is to press next.

 

Configuring the Scan Interval

 

In this dialogue we will enter a value for the time between each scan of the module. In this example, we have set the interval to 50 ms to reduce the network load. Make sure that “Inhibit Module” isn’t checked. After this, press finish.

 

Now the Catalyst has been added to the I/O configuration in RSLogix 5000. The main screen will look as follows:

 

The Main Screen when the Configuration is Completed

 

Downloading the Configuration to the PLC

 

First select the communication path. This can be done by opening the Communications menu and selecting the Who Active command. Select the desired communication path as seen below:

 

Configuring the Communication Path

 

Select “Go Online” from the “Communications” menu.

 

Opening the Online Window

 

A new window appears, select “Download”.

 

The Download Window

 

A new window will popup with the question if you actually want to download the configuration, select “Download”. The configuration will now be downloaded to the PLC.

 

Downloading the Configuration to the PLC

 

If there are any errors, a warning triangle will be present on the Catalyst in the I/O configuration listing. Double click the module to view any error that is reported.

 

Catalyst Configuration

 

The Catalyst module has to be configured for the same I/O size and IP-settings as in the PLC configuration. The configuration of the IP-settings and the I/O sizes is described in the two following chapters. In the subsequent two chapters the configuration of the Catalyst Communicator and Catalyst EtherNet/IP is explained in detail.

 

IP Settings


Make sure each node on the network has a unique IP address. The IP settings of the Catalyst EtherNet/IP modules can be configured in various ways. It is recommended to use the “Device Settings” menu that appear in the Alarmware software and follow the steps that are highlighted in the following image below:

  1. Open the Protocol menu
  2. Select Ethernet from the drop down menu
  3. Run the RACO IPConfig application by selecting the “Ethernet Configuration” Button

 

Alarmware Device Settings

 

The RACO IPConfig tool runs independently of Alarmware and search the network to find the RACO Autodialers that are present in the network.

 

The RACO IPConfig program can be downloaded at www.racoman.com website. Start the program and the main window will be opened (see image below):

 

RACO IPConfig Tool

 

The program scans the network for RACO Gateway Ethernet modules. The settings can be configured manually or the DHCP function can be used. For the RACO Gateway Ethernet modules DHCP is activated by default. To change the settings manually, double click on the desired module and enter the desired IP-settings as seen below.

 

Note: The RACO IPConfig tool is able to locate all the RACO Ethernet Autodialers in the network. There is no need to have the Autodialers in the same subnet to be discovered.

 

Configuring the IP Settings

 

Setting Catalyst Remote Channels

 

Setting up the remote channels in the Alarmware application is described clearly in the main Catalyst manual (Ref: 1.1.2 Net Addresses). Setting up the communication nodes and channels in Ethernet is seamless. The Catalyst Ethernet node once declared and identified in the ControlLogix controller will become an active node in the network.

 

Testing

 

When connected to ControlLogix controller, it is possible to access the data exchanged by the ControlLogix 5000 and the Catalyst module. By writing data to the tags the communication between the PLC and the Catalyst it is possible to ensure that the corresponding data bytes have changed on the Modbus RTU side of the network.

 

Monitoring the Tags

 

First go online and switch to “Remote Run” on the PLC. To monitor the tags, open the “Controller Tags” window and go to monitor tags. Three tags named “RACO_Ethernet:C”, “RACO_Ethernet:I” and ” RACO_Ethernet:O” should be visible, representing the three instances configuration, input and output. The configuration instance is created even if we selected its size as zero. The RACO_Ethernet:I tag is data going from the Catalyst and RACO_Ethernet:O tag holds data going to the Catalyst.

 

First enter 01 02 03 04 (for the sake of example)in the Output Tag, so there is some “data” to read. This can be done just by entering values for the Output tags. If the network is correctly configured the corresponding data bytes will obtain the respective value if polled by the Catalyst.

 

Note on the Catalyst side you should be hearing alarms being announced when the alarm conditions are triggered. Test all the conditions before you complete your deployment…

 

 

 

 

Quick Start

 

1) Set up Catalyst:

 

Note: although some Catalyst parameters can be configured with the front panel keys, Catalyst Ethernet will need to be configured with Alarmware

 

 

Go to the Cofiguration/Devices/Protocol menu, MBMaster should show:

 

 

2) Set up Ethernet Side of Catalyst

 

 

3) Set up PLC

 

Use the information to configure the addressing tags and communication in RSLogix (Follow starting section 7 of this addendum)

 

4) Set up Network Remote Channels

 

Channels are set up under Configuration/Channel Settings

 

For a remote digital (bit) channel use SNA 1*2*0XXXX where XXXX is the bit address.

 

For a remote analog (16-bit) channel use SNA 1*2*40XXX where XXX is the 16-bit register

 

Set up a “heartbeat” channel to monitor communications (recommended)