X-Gateway EtherNet/IP Adapter with RSLogix 5000
HMSI-27-272
Rev: 2.10
Configure an X-Gateway EtherNet/IP
Adapter with RSLogix 5000
HMS Industrial Networks AB
Page 1 (17)
X-Gateway EtherNet/IP Adapter with RSLogix 5000
HMSI-27-272
Rev: 2.10
More info about the network and products
For the latest manuals, EDS-files, etc., see www.anybus.com
For more information concerning the EtherNet/IP network, see the Open EtherNet/IP Vendor Organization’s
web at www.odva.org
For information on the PLC, see the Rockwell Automation web at www.automation.rockwell.com
Document history
Revision
0.10
Date
2003-04-16
Description
Document created
Author
Joakim Wiberg
0.20
2.00
2003-07-30
2007-07-20
Updated layout
Created
Joakim Wiberg
Thorbjörn Palm
2.01
2007-10-08
Minor revision
Thorbjörn Palm
2.02
2007-12-03
Updated layout
Thorbjörn Palm
2.03
2.10
2008-03-05
May 2014
Updated layout
New doc for X-Gateway only
Thorbjörn Palm
SDa
HMS Industrial Networks AB
Page 2 (17)
X-Gateway EtherNet/IP Adapter with RSLogix 5000
HMSI-27-272
Rev: 2.10
Contents
Document history ............................................................................................................................................. 2
Applicable Anybus products ........................................................................................................................... 4
1.
Requirements ............................................................................................................................................ 4
2.
Solution overview ..................................................................................................................................... 5
3.
Anybus configuration ............................................................................................................................... 6
3.1. IP settings ........................................................................................................................................... 6
4.
EtherNet/IP configuration ....................................................................................................................... 7
4.1. PLC configuration .............................................................................................................................. 7
4.2. Select Install Method ........................................................................................................................ 10
4.3. Add X-gateway using an EDS file ................................................................................................... 10
4.3.1.
EtherNet/IP Network configuration .........................................................................................10
4.4. Add X-gateway to the Network – Generic Module.......................................................................... 13
4.4.1.
EtherNet/IP Network configuration .........................................................................................13
4.5. Downloading the configuration to the PLC...................................................................................... 16
HMS Industrial Networks AB
Page 3 (17)
X-Gateway EtherNet/IP Adapter with RSLogix 5000
HMSI-27-272
Rev: 2.10
Applicable Anybus products
Description
Name / Type
Anybus X-gateway
EtherNet/IP Adapter
1.
Requirements
Description
Name / Type
Version
Rockwell PLC
ControlLogix5000
n.a.
PLC software
RSLogix 5000
21.0.0
IPconfig tool
IPconfig
3.0.1.5
X-gateway Network Interface Addendum
Anybus X-gateway Ethernet Slave
Interface, Network Interface
Addendum
2.00
X-gateway User Manual
Generic User Manual
2.00
Power supply 24VDC
n.a.
n.a
Configuration cables
n.a.
n.a.
USB cable (Supplied with Anybus X-gateway)
n.a.
n.a.
HMS Industrial Networks AB
Page 4 (17)
X-Gateway EtherNet/IP Adapter with RSLogix 5000
HMSI-27-272
Rev: 2.10
2.
Solution overview
This application note describes how to configure an Anybus X-gateway EtherNet/IP adapter module with a
Rockwell PLC using RSLogix 5000. An overview of the system described in this document is provided
below. There may be other nodes attached to the network.
The configuration is described in two steps.
1. The PLC and network configurations – see section 4.1.
2. Configuration of the IP settings and the I/O data of the X-gateway – see section 4.4.1.
The configuration is described step-by-step. The reader is assumed to be familiar with industrial
communication, EtherNet/IP networks and the X-gateway.
PLC Master (192.168.0.110)
EtherNet/IP
EtherNet/IP
Adapter
Anybus X-gateway (192.168.0.111)
Network 2
Figure 1 Hardware connection overview.
HMS Industrial Networks AB
Page 5 (17)
X-Gateway EtherNet/IP Adapter with RSLogix 5000
HMSI-27-272
Rev: 2.10
3.
Anybus configuration
The X-gateway must be configured with the same I/O size and IP settings as for the PLC configuration. The
configuration of the IP settings is described below.
Note that if using the default I/O sizes (20/20) for the PLC and EtherNet/IP adapter (as in this example),
then nothing more is required for this part of the configuration. Only the IP address needs to be set (see
3.1). For all other configuration of the X-gateway, see the X-gateway Generic User Manual, available
from www.anybus.com/support
3.1.
IP settings
The IP settings for the X-gateway can be configured by various methods, for example by using the IPconfig
tool as described below, or via the DIP switches on the Ethernet interface.
Figure 2 The IPconfig tool.
Start the program and the main window will appear. The program scans the network for the X-gateway
Ethernet module. The settings can be configured manually, or the DHCP function can be used, which is the
default for the X-gateway Ethernet module. To change the settings manually, double-click on the module and
enter the IP settings, as in the example below.
Figure 3 Configuring the IP settings.
HMS Industrial Networks AB
Page 6 (17)
X-Gateway EtherNet/IP Adapter with RSLogix 5000
HMSI-27-272
Rev: 2.10
4.
EtherNet/IP configuration
The RSLogix 5000 tool is used to configure the PLC and the EtherNet/IP network. The PLC must be
configured first, followed by the EtherNet/IP network. Start the RSLogix 5000 program and follow the steps
below.
4.1.
PLC configuration
Use an existing project or create a new one. To create a new configuration, open the File menu and select
New. In the dialog that appears, select the type of PLC, in this case 1756-L71 (see e.g. the product label).
Enter a name for the controller and then click Next.
Figure 4 Adding the PLC to the configuration.
In the next dialog, select the chassis type and slot number (see e.g. the product label). To accept the settings,
click Finish.
Figure 5 Selecting the chassis type and slot.
HMS Industrial Networks AB
Page 7 (17)
X-Gateway EtherNet/IP Adapter with RSLogix 5000
HMSI-27-272
Rev: 2.10
Now add the Ethernet I/O module, by right-clicking on the I/O configuration directory in the navigation list
to the left, as shown below.
Figure 6 Adding the Ethernet module.
Click on New module and select the required Ethernet module, which in this case is the Ethernet Bridge
1756-EN2T. Click Create. This is the scanner module in the PLC.
Figure 7 Selecting the type of module.
HMS Industrial Networks AB
Page 8 (17)
X-Gateway EtherNet/IP Adapter with RSLogix 5000
HMSI-27-272
Rev: 2.10
Enter the required settings and click OK.
Figure 8 Configuring the settings for the Ethernet module.
HMS Industrial Networks AB
Page 9 (17)
X-Gateway EtherNet/IP Adapter with RSLogix 5000
HMSI-27-272
Rev: 2.10
4.2.
Select Install Method
The X-gateway can be added to the network in 2 different ways, depending on the version of the
RSLogix 5000 software being used:
•
By using an EDS file - requires version 20.00 or later of RSLogix 5000. See section 4.3.
•
By configuring a generic module - for earlier versions of RSLogix5000. See section 4.4.
4.3.
Add X-gateway using an EDS file
The EDS-file is available at www.anybus.com/support, where the file can be located by entering the AB
code for your product.
4.3.1.
EtherNet/IP Network configuration
Add the X-gateway module to the configuration in the PLC. Start by setting the program in “Offline”
mode. Then right-click on the EtherNet/IP bridge in the I/O configuration, and select “New Module”.
1
2
Figure 9 Adding the Anybus module.
HMS Industrial Networks AB
Page 10 (17)
X-Gateway EtherNet/IP Adapter with RSLogix 5000
HMSI-27-272
Rev: 2.10
A dialog window will appear. In this dialog, select “Anybus X-gateway Ethernet/IP Adapter” and click
Create.
Figure 10 Setting the module type.
Give the module a name and click Change in the module definition field to alter the input/output data sizes.
See the image below.
Figure 11 Change input/output sizes.
HMS Industrial Networks AB
Page 11 (17)
X-Gateway EtherNet/IP Adapter with RSLogix 5000
HMSI-27-272
Rev: 2.10
The “module definition” window will now appear, in which the size and data type for the input/output data
of the X-gateway should be set. This example uses Data-INT, which will represent the data in the X-gateway
module as a field of 16-bit values. It is also possible to select Data-SINT, which will represent the data as
8-bit values, or Data-DINT, which will represent it as 32-bit values.
The size of the input and output connections must correspond to the size configured for the X-gateway
module, the default being 20 bytes in each direction. This corresponds to ten 16-bit values of input and
output data, so this is the size to enter. The ten in this case stands for ten instances of 16 bits. Using DataSINT or Data-DINT would mean re-calculating the size to match the data type, so Data-SINT would be
twenty 8-bit values, and Data-DINT would be five 32-bit values.
Click OK.
Figure 12 Module definition.
Finally, the IP address configured for the module should be entered, 192.168.0.111 in this example. The IP
address should be in the same range as the IP address for the PLC system.
Click OK once more to proceed.
In the controller tags for the PLC (to the left), the configured I/O data values for the implemented X-gateway
can be seen. Now proceed to section 4.5.
Figure 13 Configured values.
HMS Industrial Networks AB
Page 12 (17)
X-Gateway EtherNet/IP Adapter with RSLogix 5000
HMSI-27-272
Rev: 2.10
4.4.
Add X-gateway to the Network – Generic Module
4.4.1.
EtherNet/IP Network configuration
Add the X-gateway module to the configuration in the PLC. Start by setting the program in “Offline”
mode. Right-click on the EtherNet/IP bridge in the I/O configuration, and select “New Module”.
1
2
Figure 14 Adding the generic module.
A dialog window will now appear. Select “Generic Ethernet module” and click Create.
Figure 15 Selecting the Generic Ethernet Module.
HMS Industrial Networks AB
Page 13 (17)
X-Gateway EtherNet/IP Adapter with RSLogix 5000
HMSI-27-272
Rev: 2.10
In the following dialog, RSLogix 5000 will request information regarding the communication to the
X-gateway. Firstly, enter a name for the X-gateway . In the example below this is “Anybus”. This name
will create a tag in RSLogix 5000, which can be used to access the memory location in the PLC where the
data for the X-gateway will be stored. An optional description can also be added.
1
3
2
4
5
Figure 16 Configuring the module properties.
Now select the “Comm Format”, which tells RSLogix5000 the format of the data. In this example, DataSINT is selected, which will represent the data in the X-gateway 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, or Data-DINT, which will
represent it as 32-bit values.
The size of the input  connection and output  connection shall correspond to the size configured for the
X-gateway module, in this case 20 bytes in each direction (the default), where 20 means 20 x 8-bits. Using
Data-INT or Data-DINT would mean re-calculating the size to match the data type, so Data-INT would be
10 x 16-bit values, and Data-DINT would be 5 x 32-bit values.
Finally, the IP address  configured for the module should be entered, in this example is 192.168.0.111.
Click OK to proceed.
HMS Industrial Networks AB
Page 14 (17)
X-Gateway EtherNet/IP Adapter with RSLogix 5000
HMSI-27-272
Rev: 2.10
In the next dialog, enter a value for the time between each scan of the module. In this example, the interval is
set to 50ms, to reduce the network load. Make sure that “Inhibit Module” is not checked. Click OK.
Figure 17 Configuring the scan interval.
The X-gateway has now been added to the I/O configuration in RSLogix 5000. The main screen will look
something like this:
Figure 18 The main screen showing the completed configuration.
HMS Industrial Networks AB
Page 15 (17)
X-Gateway EtherNet/IP Adapter with RSLogix 5000
HMSI-27-272
Rev: 2.10
4.5.
Downloading the configuration to the PLC
First select the communication path, which can be done by opening the Communications menu and
selecting the Who Active command. Select the desired communication path as seen below.
Figure 19 Configuring the communication path.
Select Go Online from the Communications menu.
Figure 20 Opening the online window.
HMS Industrial Networks AB
Page 16 (17)
X-Gateway EtherNet/IP Adapter with RSLogix 5000
HMSI-27-272
Rev: 2.10
In the new window that appears, select Download.
Figure 21 The download window.
A new window will then ask for confirmation to download the configuration. Select Download and the
configuration will be downloaded to the PLC.
Figure 22 Downloading the configuration to the PLC.
If there are any errors, a warning triangle will be shown on the X-gateway in the I/O configuration listing.
Double-click the module to view the reported error(s).
HMS Industrial Networks AB
Page 17 (17)
Download PDF

advertising