EtherNet - IP Network Configuration
EtherNet - IP Network Configuration
Original Instructions
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
Preface Purpose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Scope. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Additional Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Chapter 1
EtherNet/IP Overview EtherNet/IP Communication Modules in a Control System . . . . . . 11
Chapter 2
Configure a Workstation to Configure the Ethernet Communication Driver in RSLinx Software 14
Operate on an EtherNet/IP
Network Chapter 3
Configure an EtherNet/IP Determine Network Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Communication Module to Set the Network IP Address on a Module . . . . . . . . . . . . . . . . . . . . . . . 18
Set the Network IP Address with the Rotary Switches . . . . . . . . 19
Operate on the Network
Set the Network IP Address with the BOOTP/DHCP Server. 20
Set the Network IP Address with RSLinx Software or the
Programming Software. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Reset the Module IP Address to Factory Default Value . . . . . . . 27
Duplicate IP Address Detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Duplicate IP Address Resolution. . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
IP Address Swapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
DNS Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Use EtherNet/IP Communication Modules in a
Logix5000 Controller Application. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Change Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Explicit Protected Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Enter Explicit Protected Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Exit Explicit Protected Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Electronic Keying . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
More Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Device Level Ring Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Parallel Redundancy Protocol Network . . . . . . . . . . . . . . . . . . . . . . . . . 36
Chapter 4
Control I/O Set Up the Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Add Distributed I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Add an I/O Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Select a Communication Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Choosing a Direct or Rack-optimized Connection . . . . . . . . . . . 45
Ownership . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Select a Remote Adapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Set the Requested Packet Interval (RPI) . . . . . . . . . . . . . . . . . . . . . . . . . 51
Access Distributed I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Chapter 5
Interlocking and Data Transfer Set Up the Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
between Controllers Tag Guidelines for Produced or Consumed Data . . . . . . . . . . . . . . . . 57
Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Connections for Produced and Consumed Tags . . . . . . . . . . . . . . . . . 57
Produce a Tag. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Configure the Produced Tag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Consume Data Produced by Another Controller . . . . . . . . . . . . . . . . 61
Add the Producer Controller to the I/O Configuration of the
Consumer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Create the Consumed Tag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Guidelines for Message (MSG) Instructions . . . . . . . . . . . . . . . . . . . . . 66
Connections for Messages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Cache Message Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Communicate with the Socket Object Via a MSG Instruction . . . . 67
Enter Message Logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Add the EtherNet/IP Communication Module to the I/O
Configuration of the Local Controller. . . . . . . . . . . . . . . . . . . . . . . 68
Enter a Message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Configure a MSG Instruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Communicate with PLC-5 or SLC Controllers . . . . . . . . . . . . . . . . . . 75
Converting between INTs and DINTs . . . . . . . . . . . . . . . . . . . . . . 75
Mapping Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Receive MSGs from PLC-5 or SLC 500 Controllers . . . . . . . . . . 78
Chapter 6
Send Email EtherNet/IP Communication Module as an Email Client . . . . . . . . 79
Send Email Via a Controller-initiated Message Instruction. . . . . . . . 81
Create String Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Enter the Ladder Logic. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
Configure the MSG Instruction that Identifies the
Mail Relay Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
Configure the MSG Instruction that Contains the Email Text 86
Configure the Email Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Enter Email Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
Possible Email Status Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
Chapter 7
Communicate with PanelView Set Up the Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
Terminals Logix5000 Controller Combinations . . . . . . . . . . . . . . . . . . . . . . . 98
Connections to PanelView Terminals. . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Add a PanelView Terminal. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Organize Controller Data for a PanelView Terminal . . . . . . . . . . . . 103
Connections to FactoryTalk View Applications. . . . . . . . . . . . . . . . . 103
Chapter 8
Diagnostic Web Pages Access Web Browser Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
1756-EN2TR Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Diagnostic Overview Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Ethernet Statistics Web Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Connection Manager Cmd Object Info Web Page . . . . . . . . . . 110
Ring Statistics Web Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
1756-ENBT Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Diagnostic Overview Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Ethernet Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
1756-EN2TP Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
Diagnostic Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
Ethernet Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
PRP Statistics Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
PRP Nodes Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
1769-AENTR Adapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Diagnostic Overview Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Ethernet Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
Appendix A
1756 EtherNet/IP Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
Indicators
Notes:
Topic Page
Added content about how to change a module type but keep the definition. 30
Added Parallel Redundancy Protocol content. 36
Added the 1756-EN2TP PRP communication module to the Diagnostics chapter. 116
Notes:
Purpose This manual describes how you can use EtherNet/IP communication modules
with your Logix5000™ controller and communicate with various devices on the
Ethernet network.
Scope Use this manual if you program applications that use EtherNet/IP networks
with these Logix5000 controllers:
• CompactLogix™ controller
• ControlLogix® controller
• SoftLogix™ controller
Additional Resources These documents contain additional information concerning related products
from Rockwell Automation.
Resource Description
EtherNet/IP Modules Installation Instructions, Provides information about how to complete these tasks with EtherNet/IP communication modules in a
publication ENET-IN002 Logix5000 control system:
• Install the module
• Configure initial application setup
• Troubleshoot application anomalies related to EtherNet/IP communication module use
EtherNet/IP Media Planning and Installation Manual Provides details about how to install, configure, and maintain linear and Device Level Ring (DLR) networks by
This manual is available from the Open DeviceNet Vendor using Rockwell Automation® EtherNet/IP devices equipped with embedded switch technology.
Association (ODVA) at: http://www.odva.org.
EtherNet/IP Secure Communication User Manual, Provides information on how to configure authentication, encryption, and firewalls, typical architectures, and
publication ENET-UM003 diagnostics for modules equipped with secure communication function.
Ethernet Design Considerations Reference Manual, publication Provides details about how to use EtherNet/IP communication modules with Logix5000 controllers and
ENET-RM002 communicate with other devices on the EtherNet/IP network.
EtherNet/IP Socket Interface Application Technique, publication Describes the socket interface that you can use to program MSG instructions. These instructions communicate
ENET-AT002 between a Logix5000 controller via an EtherNet/IP module and Ethernet devices that do not support the
EtherNet/IP application protocol. These include bar code scanners, RFID readers, or other standard Ethernet
devices.
EtherNet/IP Embedded Switch Technology Application Guide, Provides details about how to install, configure, and maintain linear and Device Level Ring (DLR) networks by
publication ENET-AP005 using Rockwell Automation EtherNet/IP devices equipped with embedded switch technology.
Troubleshoot EtherNet/IP Networks Application Technique, Provides details about how to assign IP addresses to and how to troubleshoot EtherNet/IP networks and
publication ENET-AT003 devices.
EtherNet/IP Parallel Redundancy Protocol (PRP) Application Provides details about how to install, and configure a Parallel Redundancy Protocol (PRP) networks by using
Technique, publication ENET-AT006 Rockwell Automation EtherNet/IP devices equipped with embedded switch technology.
EtherNet/IP Overview
EtherNet/IP networks also support CIP Safety, which makes the simultaneous
transmission of safety and standard control data and diagnostics information
over a common network possible.
• Fiber connectors
SOURCE
HIGH SPEED
IN
24VDC
A0 B0 Z0
SINK\
INPUT
0 1 2 3 4 5 6 7
DC
COUNTER
SOURCE
8 9 10 11 12 13 14 15 A1 B1 Z1
IN
QBFC1B
24VDC
HIGH SPEED
SINK\
INPUT
DC
COUNTER
8 9 10 11 12 13 14 15 A1 B1 Z1
OUT
SOURCE
OUTPUT
24VDC
DC
0 1 2 3 4 5 6 7 0 2 FUSE
OUT
SOURCE
OUTPUT
24VDC
DC
0 1 2 3 4 5 6 7 0 2 FUSE
8 9 10 11 12 13 14 15 1 3 OK
8 9 10 11 12 13 14 15 1 3 OK
1768-L4x
DC IN HSC
00 08 A0+ A0-
01 09 B0+ B0-
02 10 Z0+ Z0-
03 11 A1+ A1-
04 12 B1+ B1-
05 13 Z1+ Z1-
06 14 +V +V
OUT OUT
07 15 0 2
1768-ENBT
COM COM OUT 0UT
0 1 1 3
NC NC COM COM
V V
+V +V in in
0+ 2+
1756-EN2T
I I
00 08 in in
0+ 2+
V/I V/I
01 09 in in
0- 2-
CJC inV
02 10 + 3+
CJC inI
03 11 - 3+
V V/I
04 12 in in
1+ 3-
00:00:BC:2E:69:F6 05 13
I V/I
in in
1+ 1-
V V
06 14 OUT OUT
0+ 1+
I I
07 15 OUT in
0+ 1+
COM COM COM COM
+24VDC
+24VDC COM
COM FG
FG
CompactLogix L3
Controller
Switch
1794-AENT
CompactLogix L1 1794 I/O Modules
Controller
PowerFlex 1734-AENT
® Drive 1734 I/O Modules
Workstation
1783-ETAP 1783-ETAP
Workstation
1783-ETAP
1783-ETAP PanelView™ Terminal
Device Level Ring Topology PowerFlex® Drive
For more information on using
EtherNet/IP communication
modules and taps in a DLR
network, see the EtherNet/IP
Embedded Switch Technology
Application Guide,
publication ENET-AP005.
Comm Adapter
MOD LINK 1
NET LINK 2
X 100
X 10
X1
LINK 1
LINK 2
1734-AENTR 1738-AENTR
1769-AENTR
1756-EN2TR 1734 I/O Modules 1738 I/O Modules
1769 I/O Modules
1756 I/O Modules
In this example, these actions can occur over the EtherNet/IP network:
Configure the Ethernet To configure the EtherNet/IP driver, follow these steps.
Communication Driver in 1. From the Communications menu, choose Configure Drivers.
RSLinx Software
TIP To view devices on another subnet or VLAN from the workstation running
RSLinx software, click Browse Remote Subnet.
Notes:
Topic Page
Determine Network Parameters 17
Set the Network IP Address on a Module 18
Duplicate IP Address Detection 27
IP Address Swapping 28
DNS Addressing 29
Use EtherNet/IP Communication Modules in a Logix5000 Controller Application 30
Change Type 30
Explicit Protected Mode 32
Electronic Keying 33
Device Level Ring Network 34
Parallel Redundancy Protocol Network 36
Determine Network To operate an EtherNet/IP network, you must define these parameters.
Parameters
EtherNet/IP Network Parameter Description
IP address The IP address uniquely identifies the module. The IP address is in the form xxx.xxx.xxx.xxx where each xxx is a number
from 000…254.
There are some reserved values that you cannot use as the first octet in the address. These numbers are examples
of values you cannot use:
• 001.xxx.xxx.xxx
• 127.xxx.xxx.xxx
• 223 to 255.xxx.xxx.xxx
The specific reserved values that cannot be used vary according to the conditions of each application. The previous
values are only examples of reserved values.
Subnet mask Subnet addressing is an extension of the IP address scheme that allows a site to use one network ID for multiple
physical networks. Routing outside of the site continues by dividing the IP address into a net ID and a host ID via the
class. Inside a site, the subnet mask is used to redivide the IP address into a custom network ID portion and host ID
portion. This field is set to 0.0.0.0 by default.
If you change the subnet mask of an already-configured module, you must cycle power to the module for the change
to take effect.
Gateway A gateway connects different subnets into a system of networks. When a node must communicate with a node on
another network, a gateway transfers the data between the two networks. This field is set to 0.0.0.0 by default.
If you use DNS addressing, or reference the module via host name in MSG
instructions, define these parameters.
Table 1 - EtherNet/IP Network Parameters for DNS Addressing
EtherNet/IP Network Parameter Description
Host name A host name is part of a text address that identifies the host for a module. The full text address of a module is
host_name.domain_name.
Domain name A domain name is part of a text address that identifies the domain in which the module resides. The full text address of a module is
host_name.domain_name. The domain name has a 48-character limit.
If you specify a DNS server, you must type a domain name. Also, if you send email from the module, some mail relay servers require a
domain name during the initial handshake of the SMTP session.
Primary DNS server address This address identifies any DNS servers used in the network. You must have a DNS server that is configured if you specified a domain
name or a host name in the configuration of the module. The DNS server converts the domain name or host name to an IP address that
Secondary DNS server address the network uses.
For more information on DNS addressing, see page 29.
Set the Network IP Address Depending on the EtherNet/IP communication module, you can use some or
all of these tools to set the network Internet Protocol (IP) address:
on a Module
• Rotary switches - Switches are physical parts on the module. Remember
the following as you read this chapter:
• Programming software
• BOOTP/DHCP enabled
If you must reset the settings of your module to its factory default settings
during normal module operation, see Reset the Module IP Address to Factory
Default Value on page 27.
The tools are used in this sequence to set the network IP address:
At powerup, the module reads the rotary switches to determine if they are set
to a valid number for the last portion of the IP address. Valid numbers range
from 001…254.
TIP Some modules now provide a gateway address of 192.168.1.1 when the
network address is set with rotary switches. See the product documentation
to determine the correct gateway address the module uses.
• The module does not have a host name that is assigned to it, nor does it
use any Domain Name System
We recommend that you set the rotary switches to a valid number before
installing the module.
For more information on how to use the BOOTP/DHCP server to set the IP
address, see page 20.
The BOOTP/DHCP server is a standalone server that you can use to set an IP
address. When used, the BOOTP/DHCP server sets an IP address and other
Transport Control Protocol (TCP) parameters.
You can use the BOOTP/DHCP server to set the IP address of the module if
one of these conditions exists at powerup:
• The rotary switches of the module are not set to a number and the
module is BOOTP/DHCP enabled.
• The module does not have rotary switches and the module is
BOOTP/DHCP enabled.
IMPORTANT Before you start the BOOTP/DHCP server, make sure that you have
the hardware (MAC) address of the module. The hardware address is
on a sticker on the side of the communication module and uses an
address in a format similar to the following:
00-00-BC-14-55-35
The Request History panel appears with the hardware addresses of all
modules that issue BOOTP requests.
5. Select the appropriate module.
8. Click OK.
9. To assign this configuration to the module, wait for the module to
appear in the Relation List panel and select it.
10. Click Disable BOOTP/DHCP.
When power is recycled, the module uses the assigned configuration and
does not issue a BOOTP request.
IMPORTANT If you do not click Disable BOOTP/DHCP, on a power cycle, the host
controller clears the current IP configuration and begins sending
BOOTP requests again.
Consider these factors when you determine how to set the network IP address:
• Company policies and procedures that deal with plant floor network
installation and maintenance
A module can get an address from the enterprise server before the Rockwell
Automation® utility even sees the module. This situation can occur when you
use the Rockwell Automation BOOTP or DHCP server in an uplinked subnet
where an enterprise DHCP server exists. You have to disconnect from the
uplink to set the address and configure the module to retain its static address
before reconnecting to the uplink. This possibility is not a problem if you have
node names that are configured in the module and leave DHCP enabled.
IMPORTANT If you click Dynamic, on a power cycle, the controller clears the current
IP configuration and resumes sending BOOTP requests.
To Then
Use the default port speed and Leave Auto-negotiate port speed and duplex checked.
duplex settings This setting determines the actual speed and duplex setting.
Manually configure the speed and Follow these steps.
duplex settings for your port
1. Clear the Auto-negotiate port speed and duplex checkbox.
2. From the Current Port Speed pull-down menu, choose a port
speed.
3. From the Current Duplex pull-down menu, choose the
appropriate Duplex value, that is, Half Duplex or Full Duplex.
IMPORTANT Consider the following when you configure the port settings for the
module:
• The speed and duplex settings for the devices on the same
Ethernet cable must be the same to avoid transmission errors.
• Fixed speed and full-duplex settings are more reliable than
autonegotiate settings and are recommended for some
applications.
• If the module is connected to an unmanaged switch, leave
Autonegotiate port speed and duplex checked or
communication can be impaired.
• 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 module fails.
• If you force the port speed and duplex, and the other device is
configured for autonegotiate, a high rate of transmission errors
can occur.
8. Click OK.
IMPORTANT The fields that appear vary from one EtherNet/IP module to
another.
5. Click Set.
6. Click OK.
You can reset the IP address of the module to its factory default value with the
following methods:
• If the module has rotary switches, set the switches to 888 and cycle
power.
• If the module does not have rotary switches, use a MSG instruction to
the reset the IP address.
If the IP address of the module matches that of another device on the network,
the EtherNet/IP port of the module transitions to Conflict mode. In Conflict
mode, these conditions exist:
DNS Addressing To qualify the address of a module, use DNS addressing to specify a host name
for a module, which also includes specifying a domain name and DNS servers.
DNS addressing makes it possible to configure similar network structures and
IP address sequences under different domains.
DNS addressing is necessary only if you refer to the module by host name, such
as in path descriptions in MSG instructions.
A network administrator can assign a host name. Valid host names must
be IEC-1131-3 compliant.
2. Configure the parameters of the module.
3. Configure the IP address, subnet mask, gateway address, a host name for
the module, domain name, and primary/secondary DNS server
addresses.
In the DNS server, the host name must match the IP address of the
module.
IMPORTANT You can also use DNS addressing in a module profile in the I/O
controller tree or in a message path. If the domain name of the
destination module differs from that of the source module, use a
fully qualified DNS name (hostname.domainname). For
example, to send a message from ENBT1.location1.companyA to
ENTB1.location2.companyA, the host names match, but the
domains differ. Without the entry of a fully qualified DNS name,
the module adds the default domain name to the specified host
name.
Use EtherNet/IP After installing an EtherNet/IP communication module and setting its IP
address, add the module to the Controller Organizer in a programming
Communication Modules in a software project. This addition establishes I/O control.
Logix5000 Controller
Application You must download that project to the host controller before operation can
begin. When the controller begins operation, it establishes a connection with
the EtherNet/IP communication module. The configuration of the module
determines its behavior.
For more information on controlling I/O, see Control I/O on page 41.
Change Type
Use the Change Type dialog box to change your bridge module type to another
bridge module type or revision. For example, you can change a 1756-EN2TR
Ethernet Bridge module to a 1756-EN2TP Ethernet Bridge module, keeping
the module definitions.
Use the Change Type function on the Module Properties dialog box to change
the module type without having to create a new module definition.
Follow these steps to change one module definition to another module type.
The previous module definition properties apply to the new module you
selected. Unless you have copied the module in the Controller
Organizer, the module you changed from is now gone.
Explicit Protected Mode When in this mode, the module does not allow any configuration changes.
Electronic Keying Electronic Keying reduces the possibility that you use the wrong device in a
control system. It compares the device defined in your project to the installed
device. If keying fails, a fault occurs. These attributes are compared.
Attribute Description
Vendor The device manufacturer.
Device Type The general type of the product, for example, digital I/O module.
Product Code The specific type of the product. The Product Code maps to a catalog number.
Major Revision A number that represents the functional capabilities of a device.
Minor Revision A number that represents behavior changes in the device.
Carefully consider the implications of each keying option when selecting one.
IMPORTANT Changing Electronic Keying parameters online interrupts connections to the device
and any devices that are connected through the device. Connections from other
controllers can also be broken.
If an I/O connection to a device is interrupted, the result can be a loss of data.
More Information
For more detailed information on Electronic Keying, see Electronic Keying in
Logix5000™ Control Systems Application Technique,
publication LOGIX-AT001.
Device Level Ring Network A Device Level Ring (DLR) network is a single-fault-tolerant ring network
intended for the interconnection of automation devices without the need for
additional switches. The ring topology offers these advantages:
• Media redundancy
• Fast network fault detection and reconfiguration
• Resiliency of a single-fault-tolerant network
• Easy implementation without additional hardware requirements
One DLR network can support as many as 50 nodes. A DLR network supports
copper connections (maximum of 100 m), fiber-optic connections (maximum
of 2 km), or a mix of copper and fiber.
1783-ETAP 1783-ETAP
Check your device specifications to determine whether the device supports the
DLR network and whether the device can act as a supervisor.
Node Description
Supervisor Node A DLR network requires at least one node to be configured as ring supervisor.
Important: Out-of-the-box, the supervisor function of the supervisor-capable devices is disabled so they are ready to
participate in a linear/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.
Parallel Redundancy A Parallel Redundancy Protocol (PRP) network offers a higher level of
redundancy than DLR. PRP is an international standard that is described in
Protocol Network IEC 62439-3. PRP technology builds network redundancy into the end
devices so that network infrastructure can be duplicated using standard
components, such as managed and unmanaged switches.
Figure 3 illustrates the simplest design of the PRP network topology. This
topology is the same as a star network configuration, but adds PRP
functionality by adding a separate, second LAN and replacing the end nodes
with PRP devices.
DC OUTPUT DC INPUT
DIAG
DIAG
1756-EN2TP Module
LAN A
LAN B
LAN A LAN B LAN B
DC INPUT
DIAG
DC OUTPUT
LAN A
DIAG
DC INPUT DC OUTPUT
DIAG
DIAG
DC INPUT DC OUTPUT
DIAG
DIAG
DAN
DAN
DAN
WARNING: Never connect LAN A and LAN B directly to each other. For
example, never connect an infrastructure switch in LAN A to an infrastructure
switch in LAN B.
VDANs do not have media redundancy between the device and the RedBox,
however, media redundancy exists on the LAN A/LAN B side of the RedBox.
In this example, the Stratix® 5400 switch is configured as a RedBox.
Figure 4 - Parallel Redundancy Protocol (PRP) Topology, with a Stratix 5400 as a RedBox
Network
Activity
Point Bus
Status
1734-AENT
System
Power
Field
Power
DC OUTPUT DC INPUT
DIAG
SD CARD
DIAG
LAN A
LAN B
HMI
VDAN
LAN A Drive
LAN B
VDAN
SAN
SAN
LAN A LAN B
LAN A
LAN B LAN B LAN A
DC INPUT DC OUTPUT DC INPUT DC OUTPUT DC INPUT DC OUTPUT
DIAG
DIAG DIAG
DIAG
DIAG DIAG
IMPORTANT Products with PRP technology have two ports. Each port connects to a
separate PRP LAN that then connects to two independent sets of network
infrastructures.
You cannot use these ports as two Network Interface Cards (NICs) connected
to two different subnets. Each 1756-EN2TP module has only 1 unique MAC
and has only one IP address.
The 1756-EN2TP Ethernet Communication module cannot be used as part of
a DLR ring, because the 1756-EN2TP supports PRP but not the DLR protocol.
For more information on PRP topologies and configuration scenarios, see the
EtherNet/IP Parallel Redundancy Protocol Application Technique,
publication ENET-AT006.
For more information on how to configure the Stratix switches for PRP see the
Stratix Managed Switches User Manual 1783-UM007.
Notes:
Control I/O
Topic Page
Set Up the Hardware 41
Add Distributed I/O 42
Select a Communication Format 45
Set the Requested Packet Interval (RPI) 51
Access Distributed I/O 52
Set Up the Hardware In this example, the Logix5000™ controller uses an EtherNet/IP
communication module to connect to the EtherNet/IP network. The
distributed (remote) I/O uses an EtherNet/IP adapter to connect to the
EtherNet/IP network.
RUN
REM PR
OG
OK
PRI COM OK LNK1 LNK2 OK LNK NET OK LNK NET OK
EtherNet/IP Switch
Workstation
You must complete these tasks before your controller can communicate with
distributed I/O modules over an EtherNet/IP network:
Add Distributed I/O To communicate with distributed I/O modules, add the following components
to the I/O Configuration folder of the controller:
• Local EtherNet/IP communication module
• Remote adapter
• I/O modules in the same chassis as the remote adapter
Within the folder, organize the modules into a hierarchy (tree/branch, parent/
child).
This graphic shows a system that uses a 1756-EN2TR module as the local
communication module, a remote 1794-AENT adapter and distributed
FLEX™ I/O modules.
Local Communication
Controller Module
Logix5575
EtherNet/IP
10/100 BASE T
ControlNet EtherNet/IP
10/100 BASE T
Remote Adapter and I/O Modules
RUN FORCE SD OK
LNK1 LNK2 OK LNK1 LNK2 OK
REM PR
RUN OG
1 2 1 2
Device
To build the I/O configuration for a typical distributed I/O network, follow
these steps.
This graphic shows the I/O configuration of the consumer controller after
distributed I/O modules are added.
IMPORTANT I/O is controlled on the same subnet and cannot be processed via a
router.
2. Choose the module that you wish to add and click OK.
Depending on the I/O module, the Select Major Revision dialog box
can appear. If the dialog box appears, choose the major revision of the
module and click OK.
Select a Communication When configuring an I/O module, you must select a communication format.
The type of communication format determines the data structure for the tags
Format of the module. Many I/O modules support different formats. Each format uses
another data structure.
See the programming software online help for specific communication formats
per I/O module.
Term Definition
Direct A direct connection is a real-time, data transfer link between the controller and an I/O module.
connection The controller maintains and monitors the connection with the I/O module. Any break in the
connection, such as a module fault or the removal of a module while under power, sets fault bits
in the data area associated with the module.
A direct connection
is any connection
that does not use
the Rack
Optimization
Comm Format.
Term Definition
Rack- For digital I/O modules, you can choose rack-optimized communication. A rack-optimized
optimized connection consolidates connection usage between the controller and all digital I/O modules in
connection the chassis (or DIN rail). Rather than having individual, direct connections for each I/O module,
there is one connection for the entire chassis (or DIN rail).
Rack-optimized
connection
In this example, assume that each distributed I/O module is configured for a
direct connection to the controller.
RUN FORCE SD OK
LNK1 LNK2 OK LNK1 LNK2 OK
REM PR
RUN OG
EtherNet/IP Network
1 2 1 2
Switch
Modules
1 2
Two Digital I/O Modules Three Analog I/O Modules Four Digital I/O
Modules
In this example, assume that each digital I/O module is configured for a rack-
optimized connection to the controller. Analog modules must be configured
for direct connections.
RUN FORCE SD OK
LNK1 LNK2 OK LNK1 LNK2 OK
REM PR
RUN OG
EtherNet/IP Network
1 2 1 2
Switch
1 2
Two Digital I/O Modules Three Analog I/O Modules Four Digital I/O
Modules
The rack-optimized connection conserves connections, but can limit the status
and diagnostic information that is available from the I/O modules.
Use a rack-optimized connection between any digital I/O that allows it and the
remote adapter that connects the distributed I/O to the controller via the
communication module. This configuration optimizes the number of available
connections.
Ownership
Listen-only connection An I/O connection where another controller owns/provides the configuration data for the I/O module. A controller that uses a listen-only
connection monitors only the module. It does not write configuration data and can only maintain a connection to the I/O module when the
owner controller is actively controlling the I/O module.
Listen-only connection
The type of distributed I/O modules that you must access determines which
adapter to use.
Set the Requested Packet When you configure an I/O module, you define the requested packet interval
(RPI) for the module. Only data-producing modules require an RPI. For
Interval (RPI) example, a local EtherNet/IP communication module requires no RPI because
it produces no data for the system. Instead it functions only as a bridge.
1. Make sure that the module is installed, started, and connected to the
controller via a serial, or other network, connection.
2. In the Controller Organizer, right-click the EtherNet/IP
communication module and choose Properties.
4. From the Requested Packet Interval (RPI) menu, enter the rate at which
you want data to be updated over a connection.
IMPORTANT The RPI determines the number of packets per second that the
module produces on a connection. Each module can produce only
a limited number of packets per second. If you exceed this limit it
prevents the module from opening more connections.
5. Click OK.
Access Distributed I/O I/O information is presented as a structure of multiple fields, which depends
on the specific features of the I/O module. The name of the structure is based
on the location of the I/O module in the system. Each I/O tag is automatically
created when you configure the I/O module through the programming
software.
Location:SlotNumber:Type.MemberName.SubMemberName.Bit
EXAMPLE
1
2
3
4
If you use rack optimization for an I/O module, it creates tags as aliases for the
tags of the adapter. This logic displays the tag of the device as an alias for the tag
of the adapter. In this example, the tag name of the adapter is in angle brackets.
Tag Name of the I/O Device Tag Name of the Adapter
Conveyor:2:I.0
<Conveyor:I.Data[2].0>
Notes:
Topic Page
Set Up the Hardware 56
Tag Guidelines for Produced or Consumed Data 57
Connections for Produced and Consumed Tags 57
Produce a Tag 59
Consume Data Produced by Another Controller 61
Guidelines for Message (MSG) Instructions 66
Connections for Messages 67
Enter Message Logic 68
Configure a MSG Instruction 71
Communicate with PLC-5 or SLC Controllers 75
Set Up the Hardware In this example, the controller in the local chassis produces a tag that the
Logix5000 controller in the remote chassis consumes. The local controller can
also send a MSG instruction to the remote controller.
EtherNet/IP Switch
Workstation
You must complete these tasks before Logix5000 controllers can share tags
over an EtherNet/IP network:
• Set the IP addresses and other network parameters for each EtherNet/IP
communication module.
IMPORTANT If you are not using the remote Ethernet communication module to
control I/O modules, set the communication format of these
modules to none.
• 1756-ENBT
• 1756-EN2F
• 1756-EN2T
• 1756-EN2TP
• 1756-EN2TPXT
• 1756-EN2TR
• 1756-EN2TXT
• 1756-EN3TR
• 1756-EN2TSC
• 1756-EN2TRXT
Tag Guidelines for Produced To organize tags for produced or consumed data (shared data), follow the
guidelines in Table 10.
or Consumed Data
Table 10 - Guidelines for the Organization of Tags
Guideline Details
Create the tags at the You can share only controller-scoped tags.
controller scope.
Use one of these data types: • To share other data types, create a user-defined data type that contains
• DINT the required data.
• REAL • Use the same data type for the produced tag and corresponding consumed
• Array of DINTs or REALs tag or tags.
• User-defined
Limit the size of the tag If you transfer more than 500 bytes, create logic to transfer the data in
to ≤ 500 bytes. packets.
A size of < 125 DINT words keeps total bytes within 500. This limit helps
Combine data that goes to the reduce the total number of packets for transactions.
same controller.
If you are producing several tags for the same controller:
• Group the data into one or more user-defined data types. This method
uses fewer connections than does producing each tag separately.
• Group the data according to similar update intervals. To conserve network
bandwidth, use a greater RPI for less critical data.
For example, you could create one tag for data that is critical and another tag
for data that is not as critical.
Terminology
Connections for Produced Logix controllers can produce (broadcast) and consume (receive) system-
shared tags that are sent and received via the EtherNet/IP communication
and Consumed Tags module. Produced and consumed tags each require connections.
This graphic shows a Logix5000 controller producing one tag for consumption
by another Logix5000 controller. In this example, the producing controller
uses two connections and every other Logix module/controller uses only one
connection.
Figure 7 - Logix5000 Controller in Local Chassis Producing a Single Tag for a Logix5000
Controller in a Remote Chassis
Local Controller (producer controller)- 1768 CompactLogix™ controller Remote Controller (consumer controller) - ControlLogix controller
Connections Used = 2 (1 + Number of consumers) Connections Used = 1
RUN FORCE SD OK
LNK1 LNK2 OK LNK1 LNK2 OK
REM PR
RUN OG
Connections Used = 1
At its limits, a Logix5000 controller that produced 125 tags, each with only 1
consumer, the controller would use all of its available 250 connections. In this
example, the Ethernet modules that are used to communicate the tags would
use only 125 connections. An example of the different.
Produce a Tag To produce a tag, configure the produced tag in the programming software
project for the local (producer) controller. You do not have to configure the
consumer controllers in the I/O Configuration folder of the producer
controller.
2. In the Controller Tags window, right-click the tag that you want to
produce and choose Edit Tag Properties.
Consume Data Produced by To consume a produced tag, specify both the producer controller and the
produced tag in the programming software project for the remote (consumer)
Another Controller Logix5000 controller.
Add the producer controller to the I/O Configuration folder of the remote
controller. In the folder, organize the controllers and communication modules
into a hierarchy of tree/branch and parent/child.
Figure 8 - Logix5000 Controller in Local Chassis Consuming a Single Tag for a Logix5000
Controller in a Remote Chassis
Local Controller (consumer controller) - ControlLogix controller Remote Controller (producer controller)- 1768 CompactLogix™ controller
Connections Used = 1 Connections Used = 2 (1 + Number of consumers)
RUN FORCE SD OK
LNK1 LNK2 OK LNK1 LNK2 OK
REM PR
RUN OG
This graphic shows the I/O configuration for the consumer controller after the
modules are added.
3. Click OK.
Depending on the controller type, the Select Major Revision dialog box
can appear. If the dialog box appears, choose the major revision of the
module and click OK.
5. Click OK.
2. In the Controller Tags window, right-click the tag that consumes the
data and choose Edit Tag Properties.
7. In the Remote Data field, type the tag name or instance number of the
produced data.
8. In the RPI field, type the requested packet interval (RPI) for the
connection.
IMPORTANT The RPI determines the number of packets per second that the
module produces on a connection. Each module can only produce
a limited number of packets per second. If you exceed this limit, it
prevents the module from opening more connections.
For information on RPI and how it affects the actual packet interval
(API), see the Ethernet Design Considerations Reference Manual,
publication ENET-RM002.
9. Click OK.
The individual system user manuals for Logix5000 controllers also provide
MSG examples unique to specific controller platforms.
Connections for Messages Messages transfer data to other modules, such as other controllers or operator
interfaces. Each message uses one connection, regardless of how many modules
are in the message path. To conserve connections, you can configure one
message to read from or write to multiple modules.
These connected messages can leave the connection open (cache) or close the
connection when the message has finished transmitting.
Important: Caching keeps the connection open and optimizes execution time.
If you open a connection each time the message executes, it increases execution
time.
Infrequent Do not cache the connection.
Communicate with the Some EtherNet/IP devices support the use of a CIP Generic MSG instruction
to request socket services. For more information, see EtherNet/IP Socket
Socket Object Via a MSG Interface Application Technique, ENET-AT002.
Instruction
Enter Message Logic To send or receive data from an EtherNet/IP communication module via a
message, you must program a MSG instruction in the logic of the local
controller. If the target module is configured in the I/O Configuration folder
of the controller, browse to select the module or manually type the message
path in the MSG instruction.
REM PR REM PR
RUN OG RUN OG
This graphic shows the I/O configuration of the local controller after a local
EtherNet/IP communication module is added.
Enter a Message
If the data is And you want to For this item Type or choose
Integer Read (receive) data Message Type SLC Typed Read
Source Element Data table address in the SLC 500 controller (for example, N7:10)
Number of Elements Number of integers to transfer
Destination Tag First element of int_buffer
Write (send) data Message Type SLC Typed Write
Source Tag First Element of int_buffer
Number of Elements Number of integers to transfer
Destination Element Data table address in the SLC 500 controller (for example, N7:10)
Floating point (REAL) Read (receive) data Message Type SLC Typed Read
Source Element Data table address in the SLC 500 controller (for example, F8:0)
Number of Elements Number of values to transfer
Destination Tag First element of the tag (controller-scoped) in this controller for the data
Write (send) data Message Type SLC Typed Write
Source Tag First element of the tag (controller-scoped) in this controller that contains the data
Number of Elements Number of values to transfer
Destination Element Data table address in the SLC 500 controller (for example, F8:0)
If the data is And you want to For this item Type or choose
Integer Read (receive) data Message Type PLC5 Typed Read
Source Element Data table address in the PLC-5 controller (for example, N7:10)
Number of Elements Number of integers to transfer
Destination Tag First element of int_buffer
Write (send) data Message Type PLC5 Typed Write
Source Tag First element of int_buffer
Number of Elements Number of integers to transfer
Destination Element Data Table address in the PLC-5 controller (for example, N7:10)
Floating point (REAL) Read (receive) data Message Type PLC5 Typed Read
Source Element Data table address in the PLC-5 controller (for example, F8:0)
Number of Elements Number of values to transfer
Destination Tag First element of the tag (controller-scoped) in this controller for the data
Write (send) data Message Type PLC5 Typed Write
Source Tag First element of the tag (controller-scoped) in this controller that contains the
data
Number of Elements Number of values to transfer
Destination Element Data table address in the PLC-5 controller (for example, F8:0)
55 E 55 E
75 N Message 75 N
2T 2T
washer, 2, 168.127.127.12, 1, 0
Where Indicates
Washer Name of the 1756-ENBT, 1756-EN2F, 1756-EN2T, 1756-EN2TR,
1756-EN2TXT, or 1756-EN3TR module
2 Ethernet port of the 1756-ENBT, 1756-EN2F, 1756-EN2T, 1756-
EN2TR, 1756-EN2TXT, or 1756-EN3TR module
168.127.127.12 IP address of the 1756-ENBT, 1756-EN2F, 1756-EN2T, 1756-EN2TR,
1756-EN2TXT, or 1756-EN3TR Module in the destination chassis
1 Backplane port of the 1756-ENBT, 1756-EN2F, 1756-EN2T, 1756-
EN2TR, 1756-EN2TXT, or 1756-EN3TR Module in the destination
chassis
0 Slot number of the destination controller
Communicate with PLC-5 or If the message is to a PLC-5 or SLC 500 processor and it reads or writes
integers (not REALs), use a buffer of INTs in the message. Remember these
SLC Controllers considerations:
If the message is to a device that uses 16-bit integers, such as a PLC-5 or SLC
500 controller, and it transfers integers (not REALs), use a buffer of INTs in
the message and DINTs throughout the project. This configuration increases
the efficiency of your project.
1 2
Read 16-Bit Integers Data From Buffer of INTs DINTs For Use In
the Device the Project
Word 1 INT_Buffer[0] DINT_Array[0]
Word 2 INT_Buffer[1] DINT_Array[1]
Word 3 INT_Buffer[2] DINT_Array[2]
1. The Message (MSG) instruction reads 16-bit integers (INTs) from the
device and stores them in a temporary array of INTs.
2. A File Arith/Logical (FAL) instruction converts the INTs to DINTs for
use by other instructions in your project.
1 2
Write 16-Bit DINTs From the Buffer of INTs Data For the
Integers Project Device
DINT_Array[0] INT_Buffer[0] Word 1
DINT_Array[1] INT_Buffer[1] Word 2
DINT_Array[2] INT_Buffer[2] Word 3
2. The MSG instruction writes the INTs from the temporary array to the
device.
Mapping Tags
A Logix5000 controller stores tag names on the controller so that other devices
can read or write data without having to know physical memory locations.
Many products only understand PLC/SLC data tables, so the Logix5000
controller offers a PLC/SLC mapping function that enables you to map Logix
tag names to memory locations.
• You have to map only the file numbers that are used in messages; the
other file numbers do not need to be mapped.
• The mapping table is loaded into the controller and is used whenever a
logical address accesses data.
• You can access only controller-scoped tags (global data).
42424
Where Is an
dint_array Array of DINTs that are used in the ControlLogix controller
int_buffer Array of INTs with the same number of elements as dint_array
To receive MSGs from PLC-5 or SLC 500 processors, follow these steps.
Send Email
Topic Page
EtherNet/IP Communication Module as an Email Client 79
Send Email Via a Controller-initiated Message Instruction 81
Enter Email Text 94
Possible Email Status Codes 94
EtherNet/IP Communication The EtherNet/IP communication module is an email client that uses a mail
relay server to send email.
Module as an Email Client
IMPORTANT The EtherNet/IP communication module can send an email to only one
recipient at a time. The module cannot mail to a distribution list.
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
EtherNet/IP communication module that instructs the module to send an
initiated Message email message to a 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
1. Click ... in the Value column of the Controller Tags dialog box.
The tags for the email text and transmission status can contain up to 474
characters. For these tags, you must create a user-defined STRING data type.
The default STRING data type in the programming software is not large
enough for most email text.
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.
7. Click OK.
For more information on how to use ladder logic to manipulate string data, see
the Logix5000™ 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.
SetServer
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.
2. In the Path field, type the path for the MSG instruction. The path starts
with the controller initiating the MSG instruction.
Type the number of the port from which the message exits and the
address of the next module in the path.
In this example, you would enter 13 for the number of characters plus
4 for a total of 17.
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.
The Source Length is the number of characters in the email tag plus 4
characters.
In this example, you would enter 65 for the number of characters plus
4 for a total of 69.
4. In the Path field, type the path from the controller to the EtherNet/IP
communication module.
The path starts with the controller initiating the MSG instruction. The
second number in the path represents the port from which the message
exits and the address of the next module in the path.
For more information on how to configure the path of an MSG instruction, see
the Logix5000 Controllers General Instructions Reference Manual,
publication 1756-RM003.
7. Configure the MSG parameters for disabling the Email Object.
• From the Service Type pull-down menu, choose Set Attribute Single
• In the Instance field, type 0.
• In the Class field, type 32f.
• In the Attribute field, type 8.
• From the Source Element pull-down menu, choose the tag that
contains your email text.
• This example uses DisableEmailObject.
• In the Source Length field, type 1.
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.
IMPORTANT If you disable the Email Object, it is permanently disabled and a factory reset
is required to enable it again.
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. By default, the Email Object is enabled. Table 20
lists the MSG block parameters to disable an Email Object.
Table 20 - Email Object Parameters
Service 0x10
Class 0x32F
Instance 0x00
Attribute 0x08
Data 0x00
6. In the Path field, type the path for the MSG instruction. The path starts
with the controller initiating the MSG instruction.
Type the number of the port from which the message exits and the
address of the next module in the path.
IMPORTANT Currently, the only module that supports this application is the 1756-EN2T
series D module with firmware revision 10.010.
6. In the Path field, type the path for the MSG instruction. The path starts
with the controller initiating the MSG instruction.
Type the number of the port from which the message exits and the
address of the next module in the path.
Enter Email Text 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:
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 21 lists the possible codes that a destination element
could contain.
Table 21 - Email Status Code Descriptions
Error Extended- Description
Code error Code
(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.
0x11 None Reply data too large. The Destination string must reserve space for the SMTP
server reply message. The maximum reply can be 470 bytes.
0x13 None Configuration data size too short. The Source Length is less than the Source
Element string size plus the 4-byte length. The Source Length must equal the
Source Element string size + 4.
0x15 None Configuration data size too large. The Source Length is greater than the Source
Element string size plus the 4-byte length. The Source 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.
0xFF 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 a SMTP server
address.
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.
Notes:
Topic Page
Set Up the Hardware 97
Connections to PanelView Terminals 98
Add a PanelView Terminal 99
Organize Controller Data for a PanelView Terminal 103
Connections to FactoryTalk View Applications 103
Set Up the Hardware In this example, the controller in the local chassis shares data with an HMI
application on the EtherNet/IP network. This application could be running
these components:
• PanelView terminal
RUN FORCE SD OK
Redundancy Module
PRI COM OK
EtherNet/IP
10/100 BASE T
LNK1 LNK2 OK
EtherNet/IP
LNK NET OK
ControlNet EtherNet/IP
LNK NET OK
ControlNet
EtherNet/IP Switch
You must complete these tasks before your controller can communicate with
PanelView terminals over an EtherNet/IP network:
• Set the IP addresses for the EtherNet/IP communication module for the
controller and the HMI terminal.
Organize Controller Data for Organize data for a PanelView terminal based on how the data is used.
a PanelView Terminal Table 24 - Controller Data Organization
For data that is Do this
Time critical (for example, data Use the I/O tags of the terminal.
that controls a machine) The tags for this data were created when you added the terminal to the I/O
configuration of the controller. They resemble the tags of the I/O modules.
Not time critical Create arrays to store the data.
1. For each screen, create a BOOL array with enough elements for the bit-
level objects on the screen.
For example, the BOOL[32] array gives you 32 bits for push buttons or
indicators.
2. For each screen, create a DINT array with enough elements for the word-
level objects on the screen.
For example, the DINT[28] array provides 28 values for numeric entry
controls or numeric displays.
To access the I/O tags of the PanelView or PanelView Plus terminal, use the
following address format.
RSLinx Enterprise software defaults to four read connections and one write
connection per configured controller. Modify the RSLinx software
configuration as needed.
Notes:
Topic Page
Access Web Browser Support 106
1756-EN2TR Module 107
1756-ENBT Module 112
1756-EN2TP Module 116
1769-AENTR Adapter 121
The number and type of diagnostic fields vary by module catalog number. This
chapter describes the diagnostic web pages on these modules:
IMPORTANT The diagnostic web pages have many fields that you can use to monitor the
operating state of your EtherNet/IP module. This section describes only the
fields that are most commonly used during monitoring.
To troubleshoot problems, you diagnose as a result of monitoring the
diagnostic web pages of the EtherNet/IP modules, refer to
publication ENET-AT003, Troubleshoot EtherNet/IP Networks.
Access Web Browser Support To troubleshoot most possible problems with your EtherNet/IP
communication module, you must access the diagnostic web pages for the
module.
TIP The number and type of diagnostic fields vary by module catalog number,
the programming software version, and module firmware revision.
For example, this chapter describes the diagnostic web pages for these
modules:
• 1756-EN2TR EtherNet/IP communication module
• 1756-ENBT EtherNet/IP communication module
• 1756-EN2TP EtherNet/IP Parallel Redundancy Protocol module
3. Open the Diagnostics folder in the left-most navigation bar and click
the link for each diagnostic web page you must monitor.
1756-EN2TR Module These pages are the most commonly used diagnostic web pages for the
1756-EN2TR module:
• Diagnostic Overview Page
• Ethernet Statistics Web Page
• Ring Statistics Web Page
TIP The 1756-EN2TR module also offers these diagnostic web pages for
monitoring the module:
• Network Settings
• Application Connections
• Bridge Connections
These web pages are not as commonly used as the three described
in this section and are not described here.
The most commonly monitored fields are circled in the graphic and described
in the table that follows.
Table 25 describes the fields that are most commonly used on the Diagnostics
Overview web page.
Table 25 - Diagnostic Overview Web Page
Field Specifies
Module Resource Utilization (All Ports)
CPU Current percent CPU utilization for the module
CIP Connection Statistics (All Ports)
Active Total Total number of active CIP connections used for both messaging and I/O
TCP Connections (EtherNet/IP Port)
Active Number of active TCP connections for CIP messaging
HMI/MSG (EtherNet/IP Port)
Sent packets per second Number of CIP messages sent in the last one-second snapshot
Received packets per Number of CIP packets received in the last one-second snapshot
second
I/O and Prod/Cons Packets Per Second (EtherNet/IP Port)
Total Total number CIP I/O packets that are sent and received
I/O and Prod/Cons Packets Count (EtherNet/IP Port)
Missed Number of CIP I/O packets missed
The most commonly monitored fields are circled in the graphic and described
in Table 26.
Table 26 describes the field that is most commonly used on the Ethernet
Statistics web page.
Table 26 - Ethernet Statistics Web Page
Field Specifies
Ethernet Port 1 (These definitions apply to the same fields in the Ethernet Port 2 section.)
Interface State Whether the port is turned off or on. Active or inactive indicates whether there is a cable connected.
Link Status Whether the port is blocked for DLR protocol frames.
Speed Whether the Ethernet port is operating at 10 MBps or 100 MBps.
Duplex Whether the Ethernet port is operating at half-duplex or full-duplex.
Autonegotiate Status Whether the port speed and Duplex mode were determined via autonegotiation or whether they were manually configured.
The most commonly used field on this web page is Connections Closed due
to a Timeout. This field shows the number of CIP connection timeouts that
have occurred on the module.
TIP The Ring Statistics web page, and the descriptions in this section, only apply
to modules you can use in a Device Level Ring (DLR) network:
• 1756-EN2TR communication module
• 1756-EN3TR communication module
The Ring Statistics web page provides a summary of the operating state of the
module in a DLR application.
The most commonly monitored fields are circled in the graphic and described
in Table 27.
Table 27 describes the field that is most commonly used on the Ring Statistics
web page.
Table 27 - Ring Statistics Web Page
Field Specifies
Ring Supervisor
Ring Supervisor Mode Whether a module is configured to function as supervisor node or a ring node.
Ring Supervisor Status Whether a module that is configured to function as a supervisor node is functioning as the active ring supervisor or a backup
supervisor node.
Ring Fault Location
Last Active Node on Port 1 The IP or MAC ID address of the last active node between port 1 on the module and the faulted part of the network.
Last Active Node on Port 2 The IP or MAC ID address of the last active node between port 2 on the module and the faulted part of the network.
Active Ring Supervisor
Address The IP or MAC ID address of the active ring supervisor.
Precedence The precedence value of the module. If the operation of the active supervisor node is interrupted, the backup supervisor with
the next highest precedence value becomes the active supervisor node.
1756-ENBT Module These pages are the most commonly used diagnostic web pages for the
1756-ENBT module:
• Diagnostic Overview Page
• Ethernet Statistics
TIP The 1756-ENBT module also offers these diagnostic web pages for
monitoring the module:
• Network Settings
• Message Connections
• I/O Connections
These web pages are not as commonly used as the three described
in this section and are not described here.
Ethernet Statistics
The Ethernet Statistics diagnostic web page presents a summary of the status of
communication activity on the Ethernet network.
The most commonly monitored fields are circled in the graphic and described
in Table 29.
1756-EN2TP Module These pages are the most commonly used diagnostic web pages for the
1756-EN2TP module:
• Diagnostic Overview Page
• Ethernet Statistics Web Page
• PRP Statistics
• PRP Nodes
TIP The 1756-EN2TP module also offers these diagnostic web pages for
monitoring the module:
• Network Settings
• Application Connections
• Bridge Connections
These web pages are not as commonly used as the three described
in this section and are not described here.
Diagnostic Overview
Table 30 describes the fields that are most commonly used on the Diagnostics
Overview web page.
Table 30 - 1756-EN2TP Communcation Module Diagnostic Overview
Field Specifies
Module Resource Utilization (All Ports)
CPU Current percent CPU utilization for the module
CIP Connection Statistics (All Ports)
Active Total Total number of active CIP connections used for both messaging and I/O
TCP Connections (EtherNet/IP Port)
Active Number of active TCP connections for CIP messaging
HMI/MSG (EtherNet/IP Port)
Sent packets per second Number of CIP messages sent in the last one-second snapshot
Received packets per second Number of CIP packets received in the last one-second snapshot
I/O and Prod/Cons Packets Per Second (EtherNet/IP Port)
Total Total number CIP I/O packets that are sent and received in the last one-second snapshot.
I/O and Prod/Cons Packets Count (EtherNet/IP Port)
Missed Number of CIP I/O packets missed
Ethernet Statistics
The Ethernet Statistics diagnostic web page presents a summary of the status of
communication activity on the Ethernet network.
Table 31 describes the fields that are most commonly used on the Ethernet
Statistics web page.
Table 31 - 1756-EN2TP Communcation Module Ethernet Statistics
Field Specifies
Ethernet Port A and B
Interface State Whether the interface for the port is enabled.
Link Status Whether the link is active or not.
Speed Whether the Ethernet port is operating at 10 MBps or 100 MBps.
Duplex Whether the Ethernet port is operating at half-duplex or full-duplex.
Autonegotiate Status Whether the port speed and Duplex mode were determined via autonegotiation or whether they were manually
configured.
Media Counters, Port A and B
Alignment Errors A frame containing bits that do not total an integral multiple of eight.
FCS Errors A frame that contains eight bits, at least one of which has been corrupted.
Single Collisions The number of outgoing packets that encountered only one collision during transmission.
Multiple Collisions The number of outgoing packets that encountered 2...15 collisions during transmission.
The most commonly monitored fields are circled in the graphic and described
in the table that follows.
Table 32 describes the fields that are most commonly used on the Ethernet
Statistics web page.
Table 32 - 1756-EN2TP Communication Module PRP Statistics
Field Specifies
Counters Port A and B
Transmit Count Number of PRP-tagged frames that are transmitted over each LAN since the last Reset Counters operation or powerup.
Receive Count Number of PRP-tagged frames that are received on each LAN since the last Reset Counters operation or powerup.
Warning Count A potential issue with the PRP ports exists.
Count increments every time Active transitions from False to True.
Warning Active Active is True when no PRP packets received on this LAN in the previous 3 seconds, or if an entry in the PRP nodes table has
False in the corresponding Receiving on Port A/B column.
The most commonly monitored fields are circled in the graphic and described
in the table that follows. Any node that the 1756-EN2TP module
communicates with displays on the PRP Nodes tab, including DANs, SANs,
RedBoxes, and VDANs.
The fields to monitor are Receiving on Port A and B. If either of those fields are
False, it is indicative of a loss of PRP redundancy. Some IP addresses can display
as 0.0.0.0. An IP address displayed as 0.0.0.0 is an indication that the device is
not communicating directly with that device.
1769-AENTR Adapter These pages are the most commonly used diagnostic web pages for the
1769-AENTR adapter:
• Diagnostic Overview Page
• Ethernet Statistics
TIP The 1769-AENTR adapter also offers these diagnostic web pages for
monitoring the adapter:
• Network Settings
• I/O Connections
These web pages are not as commonly used as the two described in
this section and are not described here.
Ethernet Statistics
Table 33 - Diagnostic Overview Web Page
Field Specifies
Ring Status
Network Topology Whether the Ethernet network is linear or DLR topology.
Network Status Whether the Ethernet network is operating normally or otherwise.
Ring Supervisor The IP and MAC ID of the ring supervisor.
Beacon Interval Beacon interval values. These values affect network recovery time. Use default values unless the ring includes more than 50
devices. For more information, see the EtherNet/IP Embedded Switch Technology Application Guide, publication ENET-AP005.
Beacon Timeout Beacon timeout values. These values affect network recovery time. Use default values unless the ring includes more than 50
devices. For more information, see the EtherNet/IP Embedded Switch Technology Application Guide, publication ENET-AP005.
System Resource Utilization Number of times a page has been requested for which you have insufficient privilege.
CPU Current percent CPU utilization for the module.
CIP Connection Statistics
Current CIP MSG Connections Current number of CIP connections for message.
Current CIP I/O Connections Current number of CIP connections for I/O.
Conn Timeouts Number of CIP connection timeouts.
TCP Connections (CIP)
Active Current number of active TCP connections for CIP messaging.
The Ethernet Statistics diagnostic web page presents a summary of the status of
communication activity on the Ethernet network.
This graphic shows the front of the module for these modules (extended-
temperature versions not shown).
LINK NET OK
Single-port Dual-port
Module Module
Single-port Dual-port
2
Module Module
32453
1
1
32452
1756-EN2TP
32730
Numerics D
1756 module data transfer
status indicators 127 configuring 71, 74
connections 67
guidelines 66
A logic 68
access distributed I/O modules 52, 53 mapping tags 76
overview 55, 78
add distributed I/O modules to PLC-5 or SLCcontrollers 75
overview 42, 44 DHCP server 22
selecting a remote adapter 50 diagnostics
with Studio 5000 Logix Designer application
53 Ethernet statistics 114, 122
monitor 105
overview 107, 109, 110, 111, 112, 116,
B 118, 121
direct connection 45
BOOTP/DHCP server DNS addressing 29 … 30
setting IP network address 20 … 22 domain name 18
download 30
C driver 14 … 15
communication driver 14 … 15 dually attached node 36
communication format 45, 50 duplicate address detection 27 … 28
direct connections 47
ownership 49, 50
rack-optimized connections 48 E
configure electronic keying 33
DHCP server 22 email
EtherNet/IP modules 17 … 30 MSG instruction 86
MSG instructions 86 overview 79
personal computer 13 … 15 send through an EtherNet/IP module 79 …
RSLinx software 24 … 25 95
Studio 5000 Logix Designer application 26 sending via MSG instruction 81 … 87
connections status codes 94
data transfer 67 text format 94
I/O 45 EtherNet/IP modules
interlocking 57 configuring 17 … 30
messaging 67 control application 30
produced and consumed tags 57 overview 11
to PanelView terminals 98 set IP network address 18
to RSView applications 103 using in control system 11
consume tags 57, 61, 65
control application 30
control I/O G
adding distributed I/O modules 42, 44 gateway 17
communication format 45, 50
connections 45
hardware 41 H
ownership 49
RPI 51 host name 18
control system 11 Hot Standby Router Protocol 36
controller ownership 49
convert between INTs and DINTs 75
I
I/O
controlling over EtherNet/IP 41
interlocking P
connections 57
PanelView terminals
consume tags 61, 65
organize tags 57 adding in Studio 5000 Logix Designer
overview 55, 78 application 99 … 102
produce tags 59, 60 communicating with Logix5000 controller
terminology 57 over an EtherNet/IP network 97
IP addresses … 103
definition 17 determining connections 98
organizing controller data 103
DHCP server 22
set up hardware 97
duplicate address detection 27 … 28
Parallel Redundancy Protocol 36
RSLinx software 24 … 25
set 18 personal computers
Studio 5000 Logix Designer application 26 placing on network 13 … 15
swapping in redundant systems 28 PLC-2 controller 67
PLC-3 controller 67
PLC-5 controller 75
K produce tags 57, 59, 60
keying, electonic 33 produced and consumed tags
connections 57
consume tags 61, 65
M organize tags 57
map tags 76 overview 55, 78
messaging produce tags 59, 60
configuring 71, 74 set up hardware 56
terminology 57
connections 67
programming software
guidelines 66
logic 68 set IP network address 18
data transfer 70
mapping tags 76
overview 55, 78 R
to PLC-5 or SLCcontroller 75 rack-optimized connection 45
MSG instruction RedBox 36, 38
configuring 71, 74 remote adapter 50
connections 67
requested packet interval 51, 52
guidelines 66
logic 68, 70 RPI 51
mapping tags 76 RSLinx software
sending email 86 communication driver 14 … 15
sending via an email 81 … 87 configuring network parameters 24 … 25
to PLC-5 or SLC controllers 75 setting IP network address 18
N S
network address select a remote adapter 50
DNS addressing 29 … 30 set IP network address 18
set IP network address 18 BOOTP/DHCP server 20 … 22
network overview RSLinx software or programming software
modules in an EtherNet/IP control system 11 18
network parameters thumbwheel switch 18
DNS addressing 18 set the requested packet interval
domain name 18 with Studio 5000 Logix Designer application
gateway 17 51, 52
host name 18 set up hardware
IP addresses 17 data transfer 56
subnet mask 17 I/O modules over EtherNet/IP 41
interlocking 56
messaging 56
O PanelView terminals and Logix5000
ownership 49 controllers 97
listen-only connection 49 produced and consumed tags 56
owner controller 49 set up I/O
controlling I/O 41
T
thumbwheel switch
set IP network address 18
troubleshoot
web browser support 106
V
virtual DAN 36
W
web browser support 106
Notes:
Technical Support Center Knowledgebase Articles, How-to Videos, FAQs, Chat, User https://rockwellautomation.custhelp.com/
Forums, and Product Notification Updates.
Local Technical Support Phone Numbers Locate the phone number for your country. http://www.rockwellautomation.com/global/support/get-support-now.page
Find the Direct Dial Code for your product. Use the code to
Direct Dial Codes route your call directly to a technical support engineer. http://www.rockwellautomation.com/global/support/direct-dial.page
Documentation Feedback
Your comments will help us serve your documentation needs better. If you have any suggestions on how to improve this document, complete the
How Are We Doing? form at http://literature.rockwellautomation.com/idc/groups/literature/documents/du/ra-du002_-en-e.pdf.
Rockwell Automation maintains current product environmental information on its website at http://www.rockwellautomation.com/rockwellautomation/about-us/sustainability-ethics/product-environmental-compliance.page.
Allen-Bradley, Compact I/O, CompactLogix, ControlLogix, DH+, DriveLogix, FactoryTalk, FLEX, Logix5000, PanelBuilder, PanelView, PLC-2, PLC-3, PLC-5, POINT I/O, PowerFlex, Rockwell Automation, Rockwell Software, RSLinx, RSLogix,
RSNetWorx, RSView, SLC, SoftLogix, Studio 5000, and Studio 5000 Logix Designer are trademarks of Rockwell Automation, 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