EtherNet-IP Network Devices
EtherNet-IP Network Devices
Activities including installation, adjustments, putting into service, use, assembly, disassembly, and maintenance are required to
be carried out by suitably trained personnel in accordance with applicable code of practice.
If this equipment is used in a manner not specified by the manufacturer, the protection provided by the equipment may be
impaired.
In no event will Rockwell Automation, Inc. be responsible or liable for indirect or consequential damages resulting from the use
or application of this equipment.
The examples and diagrams in this manual are included solely for illustrative purposes. Because of the many variables and
requirements associated with any particular installation, Rockwell Automation, Inc. cannot assume responsibility or liability for
actual use based on the examples and diagrams.
No patent liability is assumed by Rockwell Automation, Inc. with respect to use of information, circuits, equipment, or software
described in this manual.
Reproduction of the contents of this manual, in whole or in part, without written permission of Rockwell Automation, Inc., is
prohibited.
Throughout this manual, when necessary, we use notes to make you aware of safety considerations.
WARNING: Identifies information about practices or circumstances that can cause an explosion in a hazardous environment, which
may lead to personal injury or death, property damage, or economic loss.
ATTENTION: Identifies information about practices or circumstances that can lead to personal injury or death, property
damage, or economic loss. Attentions help you identify a hazard, avoid a hazard, and recognize the consequence.
IMPORTANT Identifies information that is critical for successful application and understanding of the product.
SHOCK HAZARD: Labels may be on or inside the equipment, for example, a drive or motor, to alert people that dangerous
voltage may be present.
BURN HAZARD: Labels may be on or inside the equipment, for example, a drive or motor, to alert people that surfaces may
reach dangerous temperatures.
ARC FLASH HAZARD: Labels may be on or inside the equipment, for example, a motor control center, to alert people to potential
Arc Flash. Arc Flash will cause severe injury or death. Wear proper Personal Protective Equipment (PPE). Follow ALL Regulatory
requirements for safe work practices and for Personal Protective Equipment (PPE).
Table of Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
About This Publication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Inclusive Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Summary of Changes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Additional Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Chapter 1
EtherNet/IP Protocol Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
TCP Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
CIP Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
CIP Connection Message Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
CIP Transport Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Implicit Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Explicit Messages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Chapter 2
Ethernet Features in Network EtherNet/IP Device-Specific Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Devices Duplicate IP Address Detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Duplicate IP Address Resolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
DNS Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Socket Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Linear Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Device Level Ring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
EtherNet/IP Network Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Time Synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Simple Network Management Protocol (SNMP) . . . . . . . . . . . . . . . . . . . 23
Chapter 3
Configure a Workstation to Configure the Ethernet Communication Driver in
Operate on an EtherNet/IP FactoryTalk Linx Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Specify a Single IP Address or a Range of IP Addresses . . . . . . . . . . 28
Network
Add a New Driver. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Configure the Ethernet Communication Driver in
RSLinx Classic Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Chapter 5
Configure the Device Add the Device to the Controller Organizer . . . . . . . . . . . . . . . . . . . . . . . . 49
Configure EtherNet/IP Communication . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Produced and Consumed Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Message Instructions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Chapter 6
Send Email EtherNet/IP Communication Module as an Email Client. . . . . . . . . . . . 53
Send Email Via a Controller-initiated Message Instruction. . . . . . . . . . 54
Create String Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Enter the Ladder Logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Configure the MSG Instruction That Identifies the
Mail Relay Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Configure the MSG Instruction That Contains the Email Text . . . 58
Configure the Email Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Possible Email Status Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
About This Publication This manual describes how to use EtherNet/IP™ network devices in control
systems.
Inclusive Terminology
Rockwell Automation recognizes that some of the terms that are currently
used in our industry and in this publication are not in alignment with the
movement toward inclusive language in technology.
Summary of Changes This publication contains the following new or updated information. This list
includes substantive updates only and is not intended to reflect all changes.
Topic Page
EtherNet/IP Protocol 7
EtherNet/IP Network Specifications 22
Configuration Software Descriptions 25
Configure the Ethernet Communication Driver in FactoryTalk Linx Software 26
Set the IP Address with the EtherNet/IP Address Commissioning Tool 33
Set the IP Address with FactoryTalk Linx Software 39
Send Email Via a Controller-initiated Message Instruction 54
Diagnostic Webpages 65
Resource Description
Describes how to use the required media components and how to plan for, install, verify,
EtherNet/IP Media Planning and Installation Manual troubleshoot, and certify your EtherNet/IP network.
This manual is available from ODVA at: http://www.odva.org.
Describes EtherNet/IP QuickConnect technology and how to quickly power up and join an
Ethernet/IP QuickConnect Application Technique, publication ENET-AT001 EtherNet/IP network.
Describes the socket interface that you can use to program MSG instructions to communicate
between a Logix 5000™ controller and Ethernet devices. In this case, the interface is used
EtherNet/IP Socket Interface Application Technique, publication ENET-AT002 because the Ethernet devices that do not support the EtherNet/IP application protocol. Such
devices include barcode scanners, RFID readers, or other standard Ethernet devices.
Describes troubleshooting techniques for Integrated Architecture® products on EtherNet/IP
Troubleshoot EtherNet/IP Networks, publication ENET-ATOO3 networks.
EtherNet/IP Parallel Redundancy Protocol Application Technique, Describes how you can configure a Parallel Redundancy Protocol (PRP) network with the 1756-
publication ENET-AT006 EN2TP EtherNet/IP communication module and a Stratix® 5400 or 5410 switch.
Describes DLR network operation, topologies, configuration considerations, and diagnostic
EtherNet/IP Device Level Ring, publication ENET-AT007 methods
Provides guidance on how to conduct security assessments, implement Rockwell Automation
System Security Design Guidelines Reference Manual, SECURE-RM001 products in a secure system, harden the control system, manage user access, and dispose of
equipment.
Ethernet Reference Manual, ENET-RM002 Describes basic Ethernet concepts, infrastructure components, and infrastructure features.
Industrial Components Preventive Maintenance, Enclosures, and Contact Ratings Provides a quick reference tool for Allen-Bradley® industrial automation controls and
Specifications, publication IC-TD002 assemblies.
Safety Guidelines for the Application, Installation, and Maintenance of Solid-state Designed to harmonize with NEMA Standards Publication No. ICS 1.1-1987 and provides general
guidelines for the application, installation, and maintenance of solid-state control in the form of
Control, publication SGI-1.1 individual devices or packaged assemblies incorporating solid-state components.
Industrial Automation Wiring and Grounding Guidelines, publication 1770-4.1 Provides general guidelines for installing a Rockwell Automation industrial system.
Product Certifications website, rok.auto/certifications. Provides declarations of conformity, certificates, and other certification details.
EtherNet/IP Protocol
Application
EN50170
CIP Control International
Presentation Control and Information and
Protocol IF C 61158 Standard
Session
OPEN
Request for Comments
IETF
IP-Multicast UDP/TCP/IP
Network IP
Ethernet
Link
MAC
IEEE 802.3
Ethernet
Physical Physical
Common Industrial Protocol CIP™ is a messaging protocol for devices in industrial automation control
systems. CIP is the application layer for the EtherNet/IP network. This
(CIP) protocol implements a relative path to send a message from the producing
modules in a system to the consuming modules.
In traditional I/O systems, controllers poll input modules to obtain their input
status. In the CIP system, digital input modules are not polled by a controller.
Instead, they produce their data either upon a change of state (COS) or at a
requested packet interval (RPI). The frequency of update depends upon the
options that are chosen during configuration and where on the network the
input module resides. The input module, therefore, is a producer of input data
and the controller is a consumer of the data.
The controller can also produce data for other controllers to consume. The
produced and consumed data is accessible by multiple controllers over the
Logix backplane and over the EtherNet/IP network. This data exchange
conforms to the Producer/Consumer model.
The following graphic shows how connections are layered on each other when
data is transferred over the EtherNet/IP network.
Explicit Implicit
CIP Connection
You do not execute any tasks to
establish these connections.
TCP Connection
Terminology
TCP Connections
TCP connections are used for all EtherNet/IP communication and are
established before one device on the network transmits data to one or more
devices on the network. EtherNet/IP communication modules use one TCP
connection for each IP address to which the module is connected.
IMPORTANT EtherNet/IP communication modules also have web servers that use
TCP connections for non-CIP traffic, such as HTTP. However, TCP
connections that are used for non-CIP traffic do not count against the
limits that are mentioned in the preceding text.
CIP Connections
CIP connections use one of the following CIP connection message types:
• Implicit
• Explicit
Implicit connections are time critical in nature. These connections include I/O
and produced/consumed tags. Implicit refers to the data type and the meaning
of the data.
CIP transport types determine how CIP connections transfer data on the
network. The CIP transport types determine whether a connection is
established between devices.
Table 3 describes how CIP connections are used with implicit and explicit
messages.
Table 3 - CIP Transport Types with Implicit and Explicit Messages
CIP Transport Type As Used with Implicit Messages As Used with Explicit Messages
The following events occur:
1. A connection is established between devices.
2. Data is transferred between devices.
The following events occur: 3. The connection between the devices can be closed.
1. A connection is established between devices. If data must be transferred again between these same two devices, the
2. Data is transferred between devices. connection must be reopened.
3. The connection remains open for future data transmission. The following are examples of connected explicit messaging:
The following are examples of connected implicit messaging: • MSG instruction
• I/O data transfer • RSLinx® Classic software setting the IP address for an EtherNet/IP
Connected • Produced/consumed tags between Logix 5000 controllers communication module
Keep in mind the following points for connected implicit messaging: Keep in mind the following points for connected explicit messaging:
• Execution time is more efficient because the CIP connection between • Execution time is less efficient because the CIP connection between
devices does not need to be reopened for each data transfer. devices must be reopened for each data transfer.
• EtherNet/IP communication modules support limited numbers of CIP • EtherNet/IP communication modules support limited numbers of CIP
connections. Because this connection is always open, there is one less connections. Because this CIP connection is closed immediately after
CIP connection available for other data transfer through the module. use, the CIP connection is immediately available for other data transfer
through the module.
NOTE: If you select a cached connection, the connection is not closed at the
end of the transaction.
In unconnected explicit messaging, no connection is established between
devices.
Unconnected — Data is sent in a packet that includes destination identifier information in
the data structure but does not have a dedicated CIP connection.
Packet Rate Capacity The packet size impacts the implicit packet rate capacity of the ControlLogix
EtherNet/IP communication modules.
Modules with firmware revision 3 or later always have greater packet rate
capacity than modules with firmware revision 2 or earlier in the same
application. Larger connections impact only how much greater the packet rate
capacity is with firmware revision 3 or later.
Messaging The EtherNet/IP network supports both time-critical (implicit) and non time-
critical (explicit) message transfer services of CIP. Exchange of time-critical
messages is based on the Producer/Consumer model where a transmitting
device produces data on the network and many receiving devices can consume
this data simultaneously.
Implicit Messages
Implicit messages are time critical in nature. These messages include I/O and
produced/consumed tags. Implicit refers to information (source address, data
type, and destination address) that is implied in the message, but not
contained in the message. Examples of implicit applications include the
following:
• Real-time I/O data
• Functional safety data
• Motion control data
Implicit messages use the User Datagram Protocol (UDP) and can be unicast
or multicast.
• The data source/destination is an application object (Assembly Object).
• There is no protocol in the message data—it is all I/O data.
• Data transfer is more efficient because the meaning of the data is known
ahead of time.
• Transfer is initiated on a time basis (cyclic trigger) or requested packet
interval (RPI).
• There is a connection timing mechanism to alert the application if the
other side has stopped communicating.
(1) Excludes the 1756-EN4TR.
Explicit Messages
Explicit messages use TCP. Explicit messages are used for point-to-point,
client-server transactions.
• The server side is bound to the Message Router object and has access to
all internal resources.
• The client side is bound to a client application object and must generate
requests to the server.
• Explicit messages use an explicit messaging protocol in the data portion
of the message packet.
• Explicit messages can be connected or unconnected.
Device #1 Device #2
Request Request
Explicit Explicit
Application Messaging Messaging Application
Response Response
Object Connection Connection Object
EtherNet/IP supports CIP Safety™, CIP Motion™, and CIP Security™ at the
application layer.
EtherNet/IP Device-Specific EtherNet/IP network devices can provide the following functionality. See the
Features user manual for your device for details.
• Supports various communication rates depending on your device
• Linear network
• Device Level Ring protocol
• Parallel Redundancy Protocol
• Duplicate IP address detection
• Socket interface
• Email client
Device Level Ring (DLR) Device Level Ring (DLR) is an EtherNet/IP protocol defined by the Open
DeviceNet® Vendors’ Association (ODVA). DLR provides a means to detect, manage,
and recover from single faults in a ring-based network.
Node Description
Ring supervisor A ring supervisor provides these functions:
• Manages traffic on the DLR network
• Collects diagnostic information for the network
A DLR network requires at least one node to be configured as ring supervisor.
By default, the supervisor function is disabled on supervisor-capable devices.
Ring participants Ring participants provide these functions:
• Process data that is transmitted over the network.
• Pass on the data to the next node on the network.
• Report fault locations to the active ring supervisor.
When a fault occurs on the DLR network, ring participants reconfigure themselves and
relearn the network topology.
Redundant gateways Redundant gateways are multiple switches that connect to a single DLR network and
(optional) also connect together through the rest of the network.
Redundant gateways provide DLR network resiliency to the rest of the network.
Depending on their firmware capabilities, both devices and switches can operate as
supervisors or ring nodes on a DLR network. Only switches can operate as redundant
gateways.
For more information about DLR, see the EtherNet/IP Device Level Ring
Application Technique, publication ENET-AT007.
Component Description
LAN A and LAN B Redundant, active Ethernet networks that operate in parallel.
Double attached node (DAN) An end device with PRP technology that connects to both LAN A and LAN B.
Single attached node (SAN) An end device without PRP technology that connects to either LAN A or LAN B.
A SAN does not have PRP redundancy.
Redundancy box (RedBox) A switch with PRP technology that connects devices without PRP technology to
both LAN A and LAN B.
Virtual double attached node An end device without PRP technology that connects to both LAN A and LAN B
(VDAN) through a RedBox.
A VDAN has PRP redundancy and appears to other nodes in the network as a DAN.
Infrastructure switch A switch that connects to either LAN A or LAN B and is not configured as a RedBox.
For more information about PRP, see the EtherNet/IP Parallel Redundancy Protocol
Application Technique, publication ENET-AT006.
Duplicate IP Address Duplicate IP address detection verifies that an IP address does not match any
Detection other device IP address on the network when you perform either of these tasks:
• Connect the device to a EtherNet/IP network.
• Change the IP address on the device.
<IP_address_of_this_device> Duplicate IP -
<MAC_address_of_duplicate_node_detected>
• Both devices support duplicate IP address detection Both EtherNet/IP devices enter Conflict mode.
To resolve this conflict, follow these steps:
• Both devices were powered up at approximately the same a. Assign a new IP address to one of the devices.
time b. Cycle power to the other device or disconnect and reconnect all Ethernet cables from the other device.
1. Regardless of which device obtained the IP address first, the device that does not support IP address detection
One device supports duplicate IP address detection and a uses the IP address and continues to operate without interruption.
second device does not
2. The device that supports duplicate IP address detection detects the duplication and enters Conflict mode.
DNS Addressing To qualify the device address further, use DNS addressing to specify a host
name for a device. When you specify a host name for the device, you also
specify a domain name and DNS servers. DNS addressing makes it possible to
create similar network structures and IP address sequences under different
domains.
DNS addressing is necessary only if you refer to the device by host name, such
as in path descriptions in MSG instructions.
In the DNS server, the host name must match the IP address of
the device.
IMPORTANT If a child device resides in the same domain as its parent device,
type the host name. If the domain name of the child device differs
from its parent device, type the host name and the domain name
(host.domain)
IMPORTANT You can also use DNS addressing in a device profile in the I/O
configuration tree or in a message path. If the domain name of
the destination device differs from the source device, use a fully
qualified DNS name (hostname.domainname). For example, to
send a message from AEN2TR1.location1.companyA to
AEN2TR1.location2.company, the host names match, but the
domains differ. Without the entry of a fully qualified DNS name,
the device adds the default domain name to the specified host
name.
Socket Interface Some EtherNet/IP devices support the use of a CIP Generic MSG instruction to
request socket services. For more information, see EtherNet/IP Socket
Interface Application Technique, ENET-AT002.
Linear Network A linear network is a collection of devices that are daisy chained together. The
EtherNet/IP embedded switch technology lets you implement this topology at
the device level. No additional switches are required.
00:00:BC:2E:69:F6
1 (Front)
2 (Rear)
U
V
W
2
1
The primary disadvantage of a linear network is that any break of the cable
disconnects all devices downstream from the break from the rest of the
network.
Device Level Ring Device Level Ring (DLR) is an EtherNet/IP protocol that is defined by ODVA.
DLR provides a means to detect, manage, and recover from single faults in a
ring-based network.
Node Description
A ring supervisor provides these functions:
• Manages traffic on the DLR network
• Collects diagnostic information for the network
A DLR network requires at least one node to be configured as ring supervisor.
Ring supervisor IMPORTANT: By default, the supervisor function is disabled on supervisor-capable devices,
so they are ready to participate on a linear or star network or as a ring node on a DLR network.
In a DLR network, you must configure at least one of the supervisor-capable devices as the
ring supervisor before physically connecting the ring. If you do not, the DLR network does
not work.
Ring participants provide these functions:
• Process data that is transmitted over the network.
Ring participants • Pass on the data to the next node on the network.
• Report fault locations to the active ring supervisor.
When a fault occurs on the DLR network, ring participants reconfigure themselves and relearn
the network topology.
Redundant gateways are multiple switches that are connected to one DLR network and also
Redundant gateways connected together through the rest of the network.
(optional) Redundant gateways provide DLR network resiliency to the rest of the network.
For more information about DLR, see the EtherNet/IP Device Level Ring
Application Technique, publication ENET-AT007.
EtherNet/IP Network
Specifications
Table 4 - EtherNet/IP Network Specifications
Cat. No. Connections CIP Unconnected Ethernet Node Packet Rate Capacity (packets/second)(1) SNMP Support
TCP CIP Messages Count, Max I/O HMI and MSG (password
(Backplane + required)
Ethernet)
1734-AENT, 1734-AENTR 32 20 32 — 5000 900 No
1738-AENT, 1738-AENTR 32 20 32 — 5000 900 No
1756-EN2F, 1756-EN2T, IMPORTANT: Packet rates for
1756-EN2TXT, 1756-EN2TR, 128 256(2) 128 + 128 — ControlLogix EtherNet/IP 2000 Yes
1756-EN2TRXT communication modules
depend on series and
1756-EN3TR 128 256(2) 128 + 128 — firmware revision. 2000 Yes
For other devices with EtherNet/IP connectivity, see the specifications in the
technical data for the device.
Time Synchronization In certain situations, the I/O modules can synchronize with the adapter before
the adapter synchronizes with the system Grandmaster clock. This
synchronization occurrence leads to a time difference between the I/O and the
Grandmaster clock until the adapter synchronizes with the Grandmaster
clock.
In your logic, verify that the adapter is synchronized with the Grandmaster
clock before you initiate time stamp requests or scheduled outputs from your
I/O modules. A system with intermediate devices, such as network bridges and
switches, can require that you insert a delay until the time stabilizes in the
system.
Simple Network SNMP enables an Ethernet switch to be remotely managed through other
Management Protocol network management software. SNMP defines the method of communication
among the devices and also denotes a manager for the monitoring and
(SNMP) supervision of the devices. Confidential information can be encrypted to help
prevent the contents from being exposed on the network. For more
information, see the SNMP Password and MIB Configuration Knowledgebase
article.
Notes:
Before you can connect to the device via an Ethernet cable, you must install an
EtherNet/IP™ driver on your workstation.
When you are configuring your software, consider the details in Table 5.
Table 5 - Configuration Software Descriptions
Configuration Software Description
FactoryTalk® Linx™ is a FactoryTalk Live Data server and communications service designed
to deliver control system information from Allen-Bradley® control products to the Rockwell
Automation FactoryTalk® software portfolio and Studio 5000® design software.
FactoryTalk Linx is specifically optimized to work with Logix 5000™ Programmable
FactoryTalk® Linx™ Automation Controllers (PAC) and the PlantPAx® process controller.
Prior to version 6.00 FactoryTalk Linx was called RSLinx® Enterprise. Because of this, some
portions of the software installation and documentation still contain references to the
previous RSLinx Enterprise name.
RSLinx Classic links Allen-Bradley networks and devices to Microsoft Windows applications.
RSLinx Classic® RSLinx Classic also incorporates advanced data optimization techniques and contains a set
of diagnostics. RSLinx Classic is an OPC DA (Data Access) Compliant Server and a DDE server.
Configure the Ethernet FactoryTalk Linx software supports the following communication drivers:
Communication Driver in Driver Description
FactoryTalk Linx Software Ethernet
Provides an option to broadcast device discover or option to specific device list / range
Supports runtime communications
Supports communications over longer distances when compared to the USB driver.
Three drivers are automatically created using configurations from earlier versions of Linx software.
The USB is populated when a USB cable is connected to a device capable of supporting CIP
Lets you:
USB Driver • Connect to an unconfigured device and configure an Ethernet port.
• Update the device firmware
Not intended for runtime connections; it is a temporary-use only connection with a limited cabling
distance.
Before you add an Ethernet driver, confirm that these conditions exist:
• The workstation is properly connected to the EtherNet/IP network.
• The workstation IP address and other network parameters are
configured correctly.
IMPORTANT IP Addresses in a range that do not exist on the network result in extra
network traffic.
The new driver follows the same list and broadcast options as the
AB_ETH1 driver.
Configure the Ethernet RSLinx Classic software supports the following communication drivers:
Communication Driver in Driver Description
RSLinx Classic Software EtherNet/IP Supports runtime communications
Supports communications over longer distances when compared to the USB driver
Ethernet Lets you manually configure the IP addresses for devices.
Lets you:
• Connect to an unconfigured device and configure an Ethernet port.
USB Driver • Update the device firmware
Not intended for runtime connections; it is a temporary-use only connection with a limited cabling
distance.
Before you add an Ethernet driver, confirm that these conditions exist:
• The workstation is properly connected to the EtherNet/IP network.
• The workstation IP address and other network parameters are
configured correctly.
If you need to use CIP™ Security, it is only available through FactoryTalk® Linx,
version 6.11 or later.
Notes:
Set an IP Address
There are multiple ways to set an IP address. Check the user documentation
for your device for the preferred method.
• EtherNet/IP™ Address Commissioning Tool
• FactoryTalk® Linx Network Browser software
• Studio 5000 Logix Designer® Application
• BOOTP/DHCP tool
• RSLinx® Classic software
• Hardware switches
Set the IP Address with the You can use the EtherNet/IP Address Commissioning Tool to:
EtherNet/IP Address • Assign the IP address, subnets, and other parameters to BOOTP and
Commissioning Tool DHCP enabled devices.
• For EtherNet/IP or CIP™ connected devices, change the device operation
between dynamic mode where the device initiates BOOTP/DHCP
request to static mode where BOOTP/DHCP requests are disabled and
communications settings within the device are used.
• Set and modify the IP addresses of EtherNet/IP devices with known MAC
addresses, but unknown IP addresses.
The Unassigned tab lists the devices that have not been assigned an IP address.
Use the Unassigned tab to configure the IP address or set up rules for
automatic IP assignment.
When a BOOTP/DHCP is requested and the MAC address is not found in the
configuration list, the device appears in the Unassigned list.
1. Select Add to Configuration to manually enter the information for a
device into the configuration list.
The IP address is offered the next time that the device makes a
BOOTP/DHCP request. This function is similar to how the
BOOTP/DHCP tool operates.
Now you can select an item that does not have an exisiting MAC address.
You can also remove any checks from a selected check box and replace an
existing item.
Once you click a list item, and select “Yes”, the details automatically
populate the previous dialog box.
Set the IP Address with To use FactoryTalk Linx software to set the IP address, follow these steps.
FactoryTalk Linx Software 1. Open the FactoryTalk Linx Network Browser and browse to the device.
Set the IP Address with To use the Logix Designer application to set the IP address of the device, follow
Studio 5000 Logix Designer these steps.
Application 1. In Logix Designer, Go Online.
2. In the Controller Organizer, right-click the device and choose Properties.
IMPORTANT The fields that appear vary from one device to another.
6. Click Set.
7. Click OK.
Set the IP Address with You can use RSLinx Classic software to configure the device, including to
RSLinx Classic Software change the IP address after it has been set.
If you want to use RSLinx Classic software to set the IP address for the first
time (after it powers up in the out-of-box state), follow these steps.
1. Set the IP address switches on the device to anything other than
000…255)
Do not use 888: that address is reserved for a factory reset in some
devices.
Check with your device to verify that other addresses are not reserved by
your device for other features.
2. Connect to the device via the USB port.
If the device does not have a USB port, you cannot use RSLinx Classic
software to set the IP address for the first time the device powers up in
the out-of-box state.
8. Click OK.
9. Open the USB branch on the menu tree.
You can use RSLinx Classic software to configure a subset of the parameters
available on the device.
IMPORTANT Consider the following when you configure the port settings:
• When the device uses the 1 Gbps network communication rate, it supports only full-duplex mode.
• When the device uses the 10 Mbps or 100 Mbps network communication rate, it supports full-duplex and half-duplex
mode.
• The speed and duplex settings for the devices on the same Ethernet network must be the same to avoid transmission
errors.
• Fixed speed and full-duplex settings offer better reliability than autonegotiate settings and are recommended for
some applications.
• If the device is connected to an unmanaged switch, leave Auto-negotiate checked or the device fails.
• If you force the port speed and duplex with a managed switch, the corresponding port of the managed switch must
be forced to the same settings or the device fails.
• If you connect a manually configured device to an autonegotiate device (duplex mismatch), a high rate of
transmission errors can occur.
• To disable a port, clear the Enable checkbox.
On some DLR devices you cannot disable both ports simultaneously in RSLinx Classic software. We recommend that
before you disable a port, you confirm that the port is not in use.
• If you disable a port in RSLinx Classic software and the port is being used for network communication, the
communication is interrupted.
In this case, if the other Ethernet port is enabled, we recommend that you moved the Ethernet cable from the
disabled port and connect it to the enabled port.
After you re-enable the port that was unintentionally disabled, you can change the cable connection back to the first
port
Task Action
Let the device automatically set the Leave the Auto-negotiate enabled.
port speed and duplex settings.
Follow these steps.
Manually configure the port speed 1. Clear the Auto-negotiate port speed and duplex checkbox.
and duplex settings. 2. From the Current Port Speed pull-down menu, choose a port speed.
3. From the Current Duplex pull-down menu, choose full-duplex.
Set the IP Address with the The BOOTP/DHCP tool is a standalone server that you can use to set an IP
BOOTP/DHCP Tool address. The BOOTP/DHCP tool sets an IP address and other TCP parameters.
You can use the BOOTP/DHCP tool to set the IP address when the device
powers up in the out-of-box state. The out-of-box state would assume the
rotary switches, if present on the device, are not set to a valid IP address, and
the device is DHCP enabled.
IMPORTANT Before you start the BOOTP/DHCP tool, remember the following:
• Make sure that you have the hardware (MAC) address of the device.
The hardware address is on a sticker on the side of the device and
has a format similar to the following:
00-00-BC-14-55-35
• Make sure that the workstation that you use to set the IP address has
only one connection to the EtherNet/IP™ network on which the device
resides.
The BOOTP/DHCP tool can fail to work if your workstation has multiple
connections to the EtherNet/IP network.
To set the IP address with BOOTP/DHCP tool, complete the following steps.
1. Confirm that the device is connected to the network.
2. Start the BOOTP-DHCP tool.
5. Click OK.
6. To assign this configuration on the device, wait for the device to appear
in the Relation List panel and select it.
The device now uses the assigned configuration and does not issue BOOTP or
DHCP requests after power is cycled on the controller.
You can access the device via the USB or an EtherNet/IP driver.
4. Right-click on the device and choose Module Configuration.
7. Click OK.
DHCP Considerations
If the device is DHCP-enabled in the out-of-box condition, you can use a DHCP
server to set the IP address.
Set the IP Address with The devices ship set to 999. To change the IP address, do the following.
Hardware Switches 1. To change the number, use the rotary or thumbwheel switches on your
device.
2. Use a Dynamic Host Configuration Protocol (DHCP) server, such as
BootP/DHCP.
3. Retrieve the IP address from nonvolatile memory.
The device reads the rotary or thumbwheel switches first to determine if the
switches are set to a valid number. Valid settings range from 001…254.
When you assign an address and set it to 001, the gateway address is set to
0.0.0.0. and the subnet mask is 255.255.255.0. When you assign an address
between 002...254, the gateway address is set to 192.168.1.1 and the subnet mask
is set to 255.255.255.0.
If DHCP is not enabled, the device uses the IP address, along with other TCP
configurable parameters, which are stored in nonvolatile memory.
Reset the IP Address to You can reset the IP address of the device to its factory default value with the
Factory Default Value following methods:
• If the device has rotary switches, set the switches to 888 and cycle power.
• Some devices without rotary switches support use of a MSG instruction
to the reset the IP address.
After installing a device and setting the IP address, add the device to the
Controller Organizer in a programming software project. This addition
establishes I/O control.
You must download that project to the host controller before operation can
begin. When the controller begins operation, it establishes a connection with
the device. The configuration of the device determines its behavior.
Add the Device to the To build the I/O configuration for a typical I/O network, follow these steps.
Controller Organizer 1. Add the device.
2. Add the remote device for distributed I/O.
3. Add the I/O modules.
This graphic shows the I/O configuration of the consumer controller after
distributed I/O modules are added.
Produced and Consumed Logix controllers can produce (broadcast) and consume (receive) system-
Data shared tags that are sent and received via the device. Produced and consumed
tags each require connections.
Each tag that passes through an EtherNet/IP device uses one connection. Due
to this feature, the number of available connections limits the total number of
tags that can be produced or consumed. If the device uses all of its connections
for I/O and other devices, no connections remain for produced and consumed
tags.
For more information, see Logix 5000 Controllers Produced and Consumed
Tags Programming Manual, publication 1756-PM011.
Message Instructions Messages transfer data to other devices, such as other controllers or operator
interfaces. Each message uses one connection, regardless of how many devices
are in the message path. To conserve connections, you can configure one
message to read from or write to multiple devices.
For more information on programming MSG instruction, see the Logix 5000™
Controller General Instructions Reference Manual, publication 1756-RM003.
Notes:
Send Email
EtherNet/IP Communication The EtherNet/IP communication module is an email client that uses a mail
Module as an Email Client relay server to send email.
RUN FORCE SD OK
PRI COM OK LNK1 LNK2 OK LNK NET OK LNK NET OK
REM PR
RUN OG
1 2
Ethernet Switch
Send Email Via a Controller- A Logix controller can send a generic CIP™ message instruction to the
initiated Message EtherNet/IP communication module that instructs the module to send an
email message to an SMTP mail relay server that uses the standard SMTP
Instruction protocol. This process automatically communicates controller data and
application conditions to appropriate personnel.
IMPORTANT Be careful to write the ladder logic to be sure the MSG instructions
are not continuously triggered to send email messages.
Some mail relay servers require a domain name be provided during the initial
handshake of the SMTP session. For these mail relay servers, specify a domain
name when configuring the network settings of the EtherNet/IP
communication module.
You need three controller-scoped string tags. Each tag performs one of
these functions:
• Identifies the mail server
• Contains the email text
• Contains the status of the email transmission
The default STRING data type supports up to 82 characters. In most cases, this
limit is sufficient to contain the address of the mail server. For example, to
create tag EmailConfigstring of type STRING, follow these steps.
1. Create a String Type “EmailString” and enter 478 as the maximum
number of characters.
3. Enter email addresses in the Value column of the Controller Tags dialog
box
Use the string browser to type the text of the email. To include To:,
From:, and Subject: fields in the email, use <CR><LF> symbols to
separate each of these fields. The To: and From fields are required; the
Subject: field is optional. For example:
The text of the email does not have to be static. You can program a
controller project to collect specific data to be sent in an email.
For more information on how to use ladder logic to manipulate string data, see
the Logix 5000™ Controllers Common Procedures Programming Manual,
publication 1756-PM001.
Ladder logic requires two MSG instructions. One MSG instruction configures
the mail server and must be executed only once. The second MSG instruction
triggers the email. Execute this email MSG instruction as often as needed.
The first rung configures the mail server. The second rung sends the email
text.
Configure the MSG Instruction That Identifies the Mail Relay Server
To configure the MSG instruction that identifies the mail relay server, follow
these steps.
1. On the communications tab, enter the communication path from the
controller to the email server.
2. On the configuration tab, enter the MSG parameters for the email server.
The Source Length is the number of characters in the STRING tag that
identifies the mail relay server plus 4 characters.
In this example, the tag contains 13 characters.
After the MSG instruction that configures the mail relay server
executes successfully, the controller stores the mail relay server
information in nonvolatile memory. The controller retains this
information, even through power cycles, until another MSG
instruction changes the information.
To configure the MSG instruction that contains the email text, perform this
procedure.
1. On the configuration tab, enter the MSG parameters for the email.
The Source Length is the number of characters in the STRING tag that
contain the email plus 4 characters.
In this example, the email contains 474 characters.
For more information on how to configure the path of an MSG instruction, see
the Logix 5000 Controllers General Instructions Reference Manual,
publication 1756-RM003.
Ladder logic requires two MSG instructions. One MSG instruction disables the
mail server and must be executed only once. The second MSG instruction
enables the email. Execute this email MSG instruction as often as needed.
You can disable the Email Object by setting the class attribute 0x08 to 0. After
that operation, all object-specific services and all instance attributes are
unavailable for writing and reading. Furthermore, the Object Enable attribute
is read-only. The Email Object is permanently disabled and a factory reset is
required to enable it again.
When this MSG instruction executes, the value is returned in the second
message. Since there is no destination element, you do not get a response.
However, you receive the DN bit set.
Possible Email Status Codes Examine the destination element of the email MSG to see whether the email
was successfully delivered to the mail relay server. A successful delivery
indicates that the mail relay server placed the email message in a queue for
delivery. This notification does not mean that the intended recipient received
the email message. Table 9 lists the possible codes that a destination element
could contain.
Table 9 - Email Status Code Descriptions
Error Code Extended-error Code Description
(Hex) (Hex)
0x00 None Delivery successful to the mail relay server.
0x02 None Resource unavailable. The email object was unable to obtain memory resources to initiate the SMTP session.
0x08 None Unsupported Service Request. Make sure that the Service Code is 0x4B and the Class is 0x32F.
Reply data too large. The Destination string must reserve space for the SMTP server reply message. The maximum reply can be 470
0x11 None bytes.
Configuration data size too short. The Source Length is less than the Source Element string size plus the 4-byte length. The Source Length
0x13 None must equal the Source Element string size + 4.
Configuration data size too large. The Source Length is greater than the Source Element string size plus the 4-byte length. The Source
0x15 None Length must equal the Source Element string size + 4.
0x19 None Data write failure. An error has occurred when attempting to write the SMTP server address (attribute 4) to nonvolatile memory.
0x0100 Error that an email server returns; check the Destination string for reason. The email message was not queued for delivery.
0x0101 SMTP mail server not configured. Attribute 5 was not set with an SMTP server address.
0xFF
0x0102 ‘To:’ address not specified. Attribute 1 was not set with a ‘To:’ address AND there is not a ‘To:’ field header in the email body.
0x0103 ‘From:’ address not specified. Attribute 2 was not set with a ‘From:’ address AND there is not a ‘From:’ field header in the email body.
Unable to connect to SMTP mail server set in Attribute 5. If the mail server address is a host name, make sure that the device supports
DNS, and that a Name Server is configured. If the host name is not fully qualified, for example, ‘mail host’ and not ‘mailhost.xx.yy.com’
0x0104 then the domain must be configured as ‘xx.yy.com’. Try ‘ping <mail server address>’ to make sure that the mail server is reachable from
your network. Also try ‘telnet <mail server address> 25’, which attempts to initiate an SMTP session with the mail server via telnet over
port 25. (If you connect then type ‘QUIT’).
0xFF Communication error with SMTP mail server. An error occurred after the initial connection with the SMTP mail server.
0x0105 See the ASCII text following the error code for more details as to the type of error.
SMTP mail server host name DNS query did not complete. A previous send service request with a host name as the SMTP mail server
0x0106 address did not yet complete. A timeout for a DNS lookup with an invalid host name can take up to 3 minutes. Long timeouts can also
occur if a domain name or name server is not configured correctly.
Notes:
B I
BOOTP/DHCP implicit
disable with RSLinx Classic software 46 connections 11
BOOTP/DHCP tool messages 13
set network IP address 44 - 45 IP address
duplicate address detection 18
set with RSLinx Classic software 41 - 42
C
capacity
packet rate 13
M
CIP messages
connections 11 explicit 14
types 12 implicit 13
client and server 10 types 11
configure MSG instruction
communication drivers 30 - ?? sending email 58
EtherNet/IP communication driver 30 - 31 sending via an email 54 - 59
MSG instructions 58
set network IP address ?? - 40, 44 - ??
with RSLinx Classic software 41 - 43 N
workstation 30 - ?? network parameters
connections 8 DNS addressing 19
CIP 11
direct 11
rack-optimized 11 O
TCP 10 overview
consumer 10
EtherNet/IP network 7
D P
DHCP server 48 packets
direct connections 11 rate capacity 13
DNS addressing 19
duplicate address detection 18
R
rack-optimized connections 11
E RSLinx Classic software
email configure network parameters 41 - 43
MSG instruction 58 disable BOOTP/DHCP 46
overview 53 Ethernet communication driver 30 - 31
send through an EtherNet/IP module 53 - 63 set IP address 41 - 42
sending via MSG instruction 54 - 59
status codes 63
Ethernet communication driver 30 - 31 S
EtherNet/IP communication driver 30 - 31 set IP address
EtherNet/IP network with RSLinx Classic software 41 - 43
module features 22 set network IP address
overview 7 BOOTP/DHCP tool 44 - 45
explicit software
connections 11 RSLinx Classic
messages 14 configure network parameters 41 - 43
status codes
email 63
string tags 55
U
UCMM 10
Technical Support Center Find help with how-to videos, FAQs, chat, user forums, and product notification updates. rok.auto/support
Knowledgebase Access Knowledgebase articles. rok.auto/knowledgebase
Local Technical Support Phone Numbers Locate the telephone number for your country. rok.auto/phonesupport
Literature Library Find installation instructions, manuals, brochures, and technical data publications. rok.auto/literature
Product Compatibility and Download Center Download firmware, associated files (such as AOP, EDS, and DTM), and access product release rok.auto/pcdc
(PCDC) notes.
Documentation Feedback
Your comments help us serve your documentation needs better. If you have any suggestions on how to improve our
content, complete the form at rok.auto/docfeedback.
At the end of life, this equipment should be collected separately from any unsorted municipal waste.
Rockwell Automation maintains current product environmental information on its website at rok.auto/pec.
Allen-Bradley, CompactLogix, ControlLogix, expanding human possibility, FactoryTalk, Flex 5000, Flex I/O, Kinetix, Logix 5000, PanelView, PowerFlex, Rockwell Automation, Rockwell Software, RSLinx,
Studio 5000, and Studio 5000 Logix Designer are trademarks of Rockwell Automation, Inc.
CIP, CIP Motion, CIP Safety, CIP Security, and EtherNet/IP are trademarks of ODVA, Inc.
Trademarks not belonging to Rockwell Automation are property of their respective companies.
Rockwell Otomasyon Ticaret A.Ş. Kar Plaza İş Merkezi E Blok Kat:6 34752, İçerenkÖy, İstanbul, Tel: +90 (216) 5698400 EEE YÖnetmeliğine Uygundur