Professional Documents
Culture Documents
User's Manual
All information contained in this manual is current as of its creation/publication. We reserve the right to change the contents of this manual
without warning. The information contained herein is believed to be accurate as of the date of publication; however, Bernecker + Rainer
Industrie-Elektronik Ges.m.b.H. makes no warranty, expressed or implied, with regards to the products or the documentation contained
within this book. In addition, Bernecker + Rainer Industrie-Elektronik Ges.m.b.H. shall not be liable in the event of incidental or consequential
damages in connection with or resulting from the furnishing, performance, or use of these products. The software names, hardware names,
and trademarks used in this document are registered by the respective companies.
Copyright © B&R – Subject to change without notice 1
MAEPGETST-ENG_V102_12_2009.doc
EtherNet/IP - Getting Started on Rockwell Systems
User's Manual
I Table of Contents
3 User Configuration................................................................................................... 13
3.1.1 Step-by-Step Guide to Setting up Bus Controller .......................................................................................... 13
3.1.1.1 Overview.................................................................................................................................................. 13
3.1.1.2 Inserting Allen-Bradley® Hardware and Bus Controller........................................................................... 13
3.1.1.3 Configuration of Bus Controller................................................................................................................ 17
3.1.1.4 Inserting Modules into FieldbusDESIGNER ............................................................................................ 18
3.1.1.5 Configuration of Modules......................................................................................................................... 21
3.1.1.6 Building a Project..................................................................................................................................... 23
3.1.2 Going Online with RSLogixTM 5000 ............................................................................................................... 24
3.1.3 Transferring IO into Existing Projects ............................................................................................................ 25
1 General Overview
The EtherNet/IP bus controllers (X20BC0088 and X67BCD321.L12) allow connecting X20-, X67-, and XV-I/O
modules to any EtherNet/IP protocol scanner like an Allen-Bradley® master PLC. B&R IO can be automati-
cally configured with default module functionality directly with RSLogixTM 5000, or configured using Fieldbus-
DESIGNER. This tool features a comprehensive help system for first time users, and offers a very familiar in-
terface for experienced B&R users. With FieldbusDESIGNER, users can configure modules, get details on
I/O mapping, and even create complete project files giving easy access to user defined I/O data points in-
stead of byte arrays. FieldbusDESIGNER can be downloaded and registered for free (see included help sys-
tem and installation guidelines of setup program for more information: http://www.br-automation.com/designer
A web interface on the bus controllers provides easy access to diagnostic features and allows configuration
of several parameters like network settings and changing I/O assembly sizes. The web interface is available
for X20BC0088 Revision B4 and above as well as all X67BCD321.L12 from Rev.A1.
Existing revision B modules of X20BC0088 might be updated with firmware v1.07 to feature the web inter-
face; please contact B&R support for details.
The B&R EtherNet/IP bus controllers were created in compliance with the EtherNet/IP specification governed
by ODVA (Open DeviceNet Vendor Association). When using FieldbusDESIGNER, the default CPU for the
generated project is the 1769-L35E CompactLogix® Controller. However, the generated project can be used
for any Logix platform (see chapter 3.1.3).
This document will provide the programmer with a detailed description of the bus controller including how to
setup, configure and diagnose the module. Further information about this module can be obtained from the
document list in Section 8: Appendix.
1) ‘Mod Status’ and ‘Net Status’ LEDs are green/red dual LEDs
2) If this will not stop blinking, there is a configuration issue with your system
$01 to $7F The last position of the IP address saved in flash memory is temporarily re-
placed with the station number. The IP address stored in the flash memory is
not changed.
$80 to $EF The bus controller runs in DHCP mode. A host name is generated according to
the setting of the network address switch:
This means that the following host name is generated for switch value $D7
(dec. 215): "breip215"
The IP address stored in the flash memory is not changed.
$FE All bus controller parameters are initialized with default values during the boot
procedure. No values are read from the flash memory. The communication
parameters are equal to the values as with the switch setting $FF.
IP address: 192.168.100.1
Network mask: 255.255.255.0
Gateway: 192.169.100.254
The bus controller can be addressed via Windows® NetBIOS service (only if no other routers or gateways are in
the way):
Primary NetBIOS name is “br” + MAC address (e.g. MAC address printed on enclosure is IFX 00-60-65-07-C5-AE
Æ primary NetBIOS name is br00606507c5ae).
Secondary NetBIOS name is: “br” + “eip” + network address switch value (three decimal places)
For station number 0x00 the secondary NetBIOS name is identical to primary NetBIOS name.
FieldbusDESIGNER
Allen-Bradley®
I/O configuration
Allen-Bradley® CPU
I/O device
Configuration
Assembly
2 Automatic Configuration
Default (or “automatic”) configuration is done completely within RSLogixTM 5000 using each I/O module’s in-
ternally stored default setup. If necessary, this default setup can be altered later using explicit messages or
by directly connecting to the bus controller. This setup mode is recommended for systems which have a lim-
ited number of digital and analogue I/O points, or systems that allow for modules to operate in their default
configuration. Additional modules can be added to a system at any time, with no (or very limited) changes to
the system required.
On the Ethernet Port, under Communications, insert a generic Ethernet Module “ETHERNET-MODULE”
Configuration Assembly
* 400 Bytes is the maximum configuration size. When using default setup, the size for the configuration as-
sembly must be set to 0, since no configuration data is sent to the modules.
Output Assembly
Input Assembly
When online with the CPU in RSLogixTM 5000, the input and output channels can be accessed through the
I/O assembly tags.
Digital Outputs: BC0088:O.Data[120] is the default offset for digital outputs. The first digital output in the
system is addressed to BC0088:O.Data[120].0, the second to BC0088:O.Data[120].1 and so on.
Digital Inputs: BC0088:I.Data[120] is the default offset for digital inputs. The first digital input in the system is
addressed to BC0088:I.Data[120].0, the second to BC0088:I.Data[120].1 and so on.
Analog Outputs: BC0088:O.Data[0] is the default offset for analog outputs. Each analog output is repre-
sented by an Integer value, or two SINT values. The first analog output in the system is addressed to SINTs
BC0088:O.Data[0] and BC0088:O.Data[1], the second to BC0088:O.Data[2] and BC0088:O.Data[3], and so
on.
Analog Inputs: BC0088:I.Data[0] is the default offset for analog inputs. Each analog input is represented by
an Integer value, or two SINT values. The first analog input in the system is addressed to SINTs
BC0088:I.Data[0] and BC0088:I.Data[1], the second to BC0088:I.Data[2] and BC0088:I.Data[3], and so on.
3 User Configuration
FieldbusDESIGNER is used to configure B&R I/Os behind bus controllers and provides a programming envi-
ronment very similar to B&R Automation Studio. Modules can be setup beyond their default configuration,
and unique names can be assigned to each module’s I/O points. When configuration is complete, a build is
performed which generates an *.L5K file. This file can be imported into RSLogixTM 5000.
FieldbusDESIGNER is available on the B&R website under section ‘Service Æ Material Related Downloads
Æ Automation Software Æ Automation Studio FieldbusDESIGNER’:
http://www.br-automation.com/designer
3.1.1.1 Overview
The following sections will describe in detail, how to make a project, insert and configure modules, build an
*.L5K file, and go online with an Allen-Bradley® CPU. The last section will cover how to transfer the setup
from one project to another. Transferring between projects will allow the programmer to insert the bus control-
ler into an already existing project, or to transfer the files to a different CPU type.
2) Select a Name and Path for the project, and then press next.
3) Optionally select a Name for the configuration and CPU. Unless an existing hardware configuration from
an other FieldbusDESIGNER project should be used, leave the setting to define a new hardware configu-
ration:
4) Select a CPU module for the new project. The CPU defaults to a CompactLogix®. If the CPU needs to be
changed, this should be done in RSLogixTM 5000. “Multi E/IP Scanners” type should only be used for
ControlLogix® environments in case more than one EtherNet/IP scanner communication module
are used:
5) Open the EtherNet/IP Hardware Tree. Right click on the CPU and select “Open EtherNet/IP.”
6) Insert a bus controller module. Right click in the EtherNet/IP network and select “Insert.”
7) Select the respective bus controller module, and define a station number for it. The station number is
used by FieldbusDESIGNER to distinguish the different I/O devices.
8) The bus controller module can be configured by right clicking on it in the hardware tree and selecting
“Open Adapter Configuration.”
9) The IP address, X2X Cycle time, IO settings and other options can be set through the adapter configura-
tion.
More information about the X2X bus is inside the FieldbusDESIGNER help:
10) Open the X2X link to add I/O modules. Right click on the bus controller module inside the hardware tree
and select “Open X2X Link.”
11) The X2X Link is open and modules can be inserted. Pay attention that per default a power supply
module X20PS9400 is automatically inserted behind the X20BC0088 bus controller. In case a
X20PS9402 is used, make sure to delete the default power supply and to add the proper module.
See help for more information.
12) Right click on the X2X link and insert the modules.
13) One X20DI8371 Digital Input card and one X20DO8322 Digital Output card have been inserted for this
example.
14) IO variable names different to the default name (see Channel Name column) can be inserted optionally in
the “PV or Channel Name” for each data point. Each channel has a default name. For instance, the first
input channel has the name “DigitalInput01” as its default name. If no value is inserted in the “PV or
Channel Name” column, then “DigitalInput01” is the name associated with this channel. For this example
the variable name “Input1” has been defined.
15) Modules can be configured by right clicking on the module within the hardware tree and selecting “Open
IO Configuration”. Each I/O module features the parameter “Function model”. If an I/O module provides
more than the “default” model, the “Insert” dialogue will ask for the model being used. This can be
changed with this parameter, too. The first two parameters under “General” should be left with default
setting as they do not have any effect: “Module supervised = on” corresponds to the default behaviour of
the bus controller, which will treat problems with I/Os as events. These events can have actions as-
signed, see parameter “Module failed” under the bus controller’s “Adapter Configuration” dialogue (see
step 8 under section 3.1.1.3). If “Module information” is switched to “on”, additonal I/O data points will be
displayed under “I/O Mapping” (SerialNumber, ModuleID, HardwareVariant, FirmwareVersion). These
data points have to be accessed as attributes of the “I/O module object” (class 0x65) and will not be part
of the I/O assemblies.
17) Additional information will be provided in the output window following the build.
The 4th line of text for the build (see picture above), shows the path of the generated *.L5K file:
Created RSLogix 5000 project file:
C:\projects\MyFirstProject\Output\EthernetIP_CPU1.L5K
The IP address, number of I/O modules, Requested packet interval (RPI) time, Assembly sizes, and ZIP com-
pression rate are all shown. If any assembly size exceeds the maximum, a build error will be displayed. ZIP
compression rate refers to the compression rate of the configuration assembly. Compressed configuration
data allows for more configuration settings within the 400 Bytes allowed by RSLogix. This option can be dis-
abled from the Adapter Configuration menu shown in Section 3.1.1.3: Configuration of Bus Controller.
The ST1_inp is copied to the ST1:I input assembly each cycle in the “CopyInputData” program of the Main-
Task. The ST1:O output assembly is copied to the ST1_out tag in the “CopyOutputData” program of the
MainTask.
Pay attention not to work with the I/O data directly, as this is cyclically overwritten by the copy tasks!
1) Open a second instance of RSLogixTM 5000. One instance will have the project generated by Fieldbus-
DESIGNER, and the other instance will have a new or existing project.
2) Click the “ETHERNET-MODULE ST1 from FieldbusDESIGNER project, drag and drop it into the new
project
This will copy the bus controller module and its assemblies into the new project.
3) If the IO channel names want to be preserved, the User-defined data types must be transferred next. The
data types can be transferred the same as the module: by drag and drop between open instances. If ac-
cess directly to the IO assembly please reference Section 2.1.3 Online with RSLogixTM 5000.
4) Within the Controller tags, define tags for the Input and Output Assemblies. Controller tags can be de-
fined or they can be dragged and dropped between instances. Also, transfer the lifecycle counters (copy-
InpCounter, copyOutCounter, and mainCounter).
5) Transfer the programs between the projects. Programs can be dragged and dropped like the bus control-
ler and data types.
6) Ensure the order stays the same: Copy Inputs, Execute main program, and Copy Outputs.
7) Ensure the IO structures are tied correctly to the copy function blocks.
The amount of configuration data required for a module is dependent on the number of configuration registers
used per module. If a wide variety of modules are used, the number of modules will be severely limited. If
many of the same module type are used, compression of the configuration data allows for more modules.
If FieldbusDESIGNER is used to build a system, the size of the configuration, Output, and Input assemblies is
given upon successful project build.
If more modules are required, they can be split between multiple bus controllers. The bus controller network
can have up to a few hundred analog and a few hundred digital I/O modules (253 modules in total).
There are an additional 10 assembly IDs reserved for configurations (instances 130 to 139 or 0x82 to 0x8B of
the Assembly object, class 0x4). Once successfully downloaded to the bus controller, the active configuration
is set using service 0x37 of the Bus Controller object (class 0x64).
• Serial interfaces (X20CS10x0) can only be used behind a bus controller when operated in default
‘bus controller’ function model called “flat stream” mode
• Stepper modules (X20SMxxxx) have to be operated in “ramp” function model
• Status information for bus controller (network information, firmware version, etc…)
• I/O assembly information and I/O mapping
• Firmware update possibilities
• Upload of configuration data
• Class instance editor (to call any service of any object on the bus controller)
• Online Help System
Required login for module configuration ensures module security. Please note that due to the fact that the
bus controller behaves as an EtherNet/IP adapter device, attributes and services might get changed or called
anyway.
The X2X cycle time can be adjusted in FieldbusDESIGNER under ‘Adapter Configuration’ or through accessing
attribute ID 0x80 of the ‘bus controller’ object (class 0x64, instance 0x1). The default value is 1ms. After making
changes, the bus controller must be restarted for the changes to take effect.
To change the X2X cycle time within FieldbusDESIGNER, right click the bus controller and select “Open
Adapter Configuration”:
Source Length = 6 = length of address and data in bytes: address is 2 bytes, data is always 4 bytes
Source Element = array of 6 SINT: address is write_data[0…1], data is write_data[2..5]
Register addresses and configuration data can be taken from the “MAX20REGISTER-ENG” and
“MAX67ENG” document (see appendix).
Configuration registers can be read by calling service 0x32 of the same object:
Source Length = 2 = length of register address in bytes
Source Element = array of 2 SINT: address is write_data[0…1]