CompactLogix 5380 Controllers
CompactLogix 5380 Controllers
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
Summary of Changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Additional Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Chapter 1
CompactLogix 5380 System Before You Begin. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
and Controllers Controller Firmware and Logix Designer Application
Compatibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Software Application Requirements. . . . . . . . . . . . . . . . . . . . . . . . . 12
Product Compatibility and Download Center . . . . . . . . . . . . . . . 12
CompactLogix 5380 System. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Controller Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Design a CompactLogix 5380 System . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
System Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Power a CompactLogix 5380 System . . . . . . . . . . . . . . . . . . . . . . . . 16
Secure Digital (SD) Card. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Chapter 2
Use EtherNet/IP Modes EtherNet/IP Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Dual-IP Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Linear/DLR Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Configure the EtherNet/IP Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Configure Dual-IP Mode in the Logix Designer
Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Configure Dual-IP Mode in RSLinx Classic Software. . . . . . . . . 35
Configure Linear/DLR Mode in the Logix
Designer Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Configure Linear/DLR Mode in RSLinx Classic
Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Change the EtherNet/IP Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Change the EtherNet/IP Mode in the Logix
Designer Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Change the EtherNet/IP Mode in RSLinx Classic
Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Port Functionality in Dual-IP Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Port IP Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
DNS Requests. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
DNS Request Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
SMTP Server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Use Socket Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Send Message Instructions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Software Display Differences for EtherNet/IP Modes . . . . . . . . . . . . 51
Controller IP Address and Firmware Updates . . . . . . . . . . . . . . . . . . . 53
Chapter 3
Use the Communication Drivers Configure the EtherNet/IP Driver in RSLinx Classic
in RSLinx Classic Software Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Configure the Ethernet Devices Drivers in RSLinx
Classic Software. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Use the USB Communication Driver in RSLinx
Classic Software. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Chapter 4
Start to Use the Controller Out-Of-Box State . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Connect to the Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Connect an Ethernet Cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Connect a USB Cable. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Set the Controller IP Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Use the BOOTP-DHCP Tool to Set the Controller
IP Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Disable BOOTP/DHCP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Use the DHCP Server to Set the Controller IP
Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Use RSLinx Classic Software to Set the Controller
IP Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Use the Logix Designer Application to Set the
Controller IP Address. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Use a Secure Digital Card to Set the Controller
IP Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Update Controller Firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Determine Required Controller Firmware . . . . . . . . . . . . . . . . . . . 81
Obtain Controller Firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Use ControlFLASH Software to Update Firmware. . . . . . . . . . . 82
Use AutoFlash to Update Firmware. . . . . . . . . . . . . . . . . . . . . . . . . 87
Create a Logix Designer Application Project. . . . . . . . . . . . . . . . . . . . . 89
Change Controller Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
Go Online with the Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
Download a Project to the Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
Use the Who Active Dialog Box to Download . . . . . . . . . . . . . . . 94
Use the Controller Status Menu to Download . . . . . . . . . . . . . . . 95
Upload from the Controller. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
Use the Who Active Dialog Box to Upload . . . . . . . . . . . . . . . . . . 96
Use the Controller Status Menu to Upload . . . . . . . . . . . . . . . . . . 97
Choose the Controller Operation Mode . . . . . . . . . . . . . . . . . . . . . . . . 98
Use the Mode Switch to Change the Operating Mode . . . . . . . . 99
Use the Logix Designer to Change the Operating Mode . . . . . 100
Chapter 5
Tasks After Controller Use the Secure Digital Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Operation Begins Store to the Secure Digital Card . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Load from the Secure Digital Card . . . . . . . . . . . . . . . . . . . . . . . . . 104
Other Secure Digital Card Tasks. . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Reset Button. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
Stage 1 Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Stage 2 Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Disable the Ethernet Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Chapter 6
EtherNet/IP Network Network Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
EtherNet/IP Network Functionality. . . . . . . . . . . . . . . . . . . . . . . . . . . 116
Software for EtherNet/IP Networks . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Nodes on an EtherNet/IP Network. . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Devices Included in the Node Count. . . . . . . . . . . . . . . . . . . . . . . 118
Devices Excluded from the Node Count. . . . . . . . . . . . . . . . . . . . 118
EtherNet/IP Network Communication Rates . . . . . . . . . . . . . . . . . . 120
Set the Network Communication Rate . . . . . . . . . . . . . . . . . . . . . 120
EtherNet/IP Network Topologies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
Device Level Ring Network Topology . . . . . . . . . . . . . . . . . . . . . . 122
Linear Network Topology. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Star Network Topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Integrated Architecture Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
Socket Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Chapter 7
Use I/O Modules Local I/O Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Add Local I/O Modules to a Project . . . . . . . . . . . . . . . . . . . . . . . 131
Electronic Keying. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
Remote I/O Modules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
Add Remote I/O Modules to a Project . . . . . . . . . . . . . . . . . . . . . 138
Add to the I/O Configuration While Online . . . . . . . . . . . . . . . . . . . 147
Modules and Devices that Can be Added While Online . . . . . 147
Determine When Data is Updated. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
Input Data Update Flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
Output Data Update Flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
Chapter 8
Manage Controller Connection Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
Communication Controller Communication Interaction with Control Data. . . . . . 152
Produce and Consume (Interlock) Data. . . . . . . . . . . . . . . . . . . . . . . . 153
Requested Packet Interval (RPI) of Multicast Tags . . . . . . . . . . 154
Send and Receive Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
Determine Whether to Cache Message Connections . . . . . . . . 156
Chapter 9
Develop Control Applications Elements of a Control Application. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Tasks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
Event Task with 5069 Compact I/O Modules . . . . . . . . . . . . . . 161
Task Priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
Routines. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
Parameters and Local Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
Programming Languages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
Add-On Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
Extended Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Access the Module Object from an Add-On Instruction . . . . . . . . . 170
Create the Add-On Instruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
Monitor Controller Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
Monitor I/O Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
Determine If I/O Communication Has Timed Out . . . . . . . . . 173
Determine if I/O Communication to a Specific
I/O Module has Timed Out . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
Automatic Handling of I/O Module Connection
Faults. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
Sample Controller Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
Chapter 10
Develop Motion Applications Motion Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
Motion Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
Program Motion Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
Obtain Axis Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
Chapter 11
Troubleshoot the Controller Controller Diagnostics with Logix Designer . . . . . . . . . . . . . . . . . . . . 183
Warning Symbol in the I/O Configuration Tree . . . . . . . . . . . . 184
Controller Status Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
Categories on I/O Module Properties Dialog Box . . . . . . . . . . . 186
Notification in the Tag Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
Fault Information in Controller Properties Dialog
Box. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
Port Diagnostics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
Advanced Time Sync . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
Controller Diagnostics with RSLinx Software . . . . . . . . . . . . . . . . . . 197
General Tab. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
Port Diagnostics Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
Connection Manager Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
USB Tab. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
Controller Web Pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
Home Web Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
Tasks Web Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
Diagnostics Web Pages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
Ethernet Port Web Pages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
Advanced Diagnostics Web Pages . . . . . . . . . . . . . . . . . . . . . . . . . . 207
Browse Chassis Web Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
Other Potential Issues to Troubleshoot . . . . . . . . . . . . . . . . . . . . . . . . 210
Continuous Task Sends Output Data at High
Rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
Immediate Output Instructions Issued at High
Rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
Integrated Motion On an EtherNet/IP Network
Traffic Priority Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
Appendix A
Status Indicators 4-Character Status Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
General Status Messages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
Fault Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
Major Fault Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216
I/O Fault Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
Controller Status Indicators. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
RUN Indicator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
FORCE Indicator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
OK Indicator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
SD Indicator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
EtherNet/IP Status Indicators. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
NET A1 and NET A2 Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . 223
LINK A1 and LINK A2 Indicators . . . . . . . . . . . . . . . . . . . . . . . . 223
Power Status Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
MOD Power Indicator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
SA Power Indicator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
Thermal Monitoring and Thermal Fault Behavior . . . . . . . . . . . . . . 225
Appendix B
Security Options Disable an Ethernet Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
Disable the 4-character Status Display. . . . . . . . . . . . . . . . . . . . . . . . . . 230
Disable the 4-character Display Entirely . . . . . . . . . . . . . . . . . . . . 231
Disable a Subset of 4-character Display Information . . . . . . . . . 233
Disable the Controller Web Pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
Index
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
Summary of Changes This manual was changed to include information about the following
CompactLogix 5380 controllers:
5069-L350ERM
5069-L380ERM
5069-L3100ERM
Additional Resources These documents contain additional information concerning related products
from Rockwell Automation.
Table 1 - Additional Resources
Resource Description
CompactLogix 5380 Controller Provides specifications for CompactLogix 5380 controllers.
Specifications Technical Data,
publication 5069-TD002
CompactLogix 5380 Controllers Describes how to install a CompactLogix 5380 controller.
Installation Instructions, publication
5069-IN013
CompactLogix System Selection Provides information about how to design and select components for a
Guide, publication 1769-SG001 CompactLogix system.
5069 Compact I/O Modules Provides specifications, wiring diagrams, and functional block diagrams for
Specifications Technical Data, 5069 Compact I/O modules.
publication 5069-TD001
Replacement Guidelines: Logix5000 Provides guidelines on how to replace the following:
Controllers Reference Manual, ControlLogix 5560/5570 controller with a ControlLogix 5580 controller
publication 1756-RM100 CompactLogix 5370 L3 controllers with a CompactLogix 5380 controller
5000 Series Digital I/O Module User Provides information on how to install, configure, and operate 5000 Series
Manual, publication 5000-UM004 digital I/O modules.
5000 Series Analog I/O Module User Provides information on how to install, configure, and operate 5000 Series
Manual, publication 5000-UM005 analog I/O modules.
Topic Page
Before You Begin 11
CompactLogix 5380 System 13
Design a CompactLogix 5380 System 15
Before You Begin Before you use your CompactLogix 5380 controller, verify that you have the
required firmware revision and software versions to configure, program, and
monitor the controller.
IMPORTANT You are expected to have the knowledge necessary to use the software
applications mentioned above.
For example, the Logix Designer application with major revision 29 is only
compatible with a controller firmware with major revision 29.
Software requirements are not based on major revision levels. For example, to
use the Logix Designer application, version 29.00.00, you must RSLinx Classic
software version 3.81.00 or later.
You can access firmware for your CompactLogix 5380 controller in the
Download section of the PCDC. You can see software compatibility for the
software applications used in a CompactLogix 5380 control system in the
Compare section of the PCDC.
CompactLogix 5380 System The CompactLogix 5380 system is a DIN rail-mounted system that is part of
the Logix5000 family of controllers.
Controller Features
IMPORTANT When you use a CompactLogix 5380 controller, remember the following:
You do not need to configure a System Overhead Time Slice value.
You do not need to reserve controller memory for future memory
usage increases.
For example, when you use CompactLogix 5370 controllers, we
recommend that you reserve 2030% of the controller memory to
accommodate future project increases. This is not necessary with the
CompactLogix 5380 controllers.
Design a CompactLogix 5380 When you design a CompactLogix 5380 system, some components are
required, for example, a DIN rail that is required to mount the system. Other
System components are optional.
System Components
System-side power that powers the CompactLogix 5380 system and lets
modules transfer data and execute logic. System-side power is also
known as Module (MOD) power.
Field-side power that powers some 5069 Compact I/O modules and
field-side devices that are connected to them. Field-side power is also
known as Sensor/Actuator (SA) power.
SA Power Connection
Power begins at the CompactLogix 5380 controller and passes across the 5069
Compact I/O module internal circuitry via power buses. The MOD power bus
and SA power bus are isolated from each other.
For more information on how to connect MOD power and SA power, see the
CompactLogix 5380 Controllers Installation Instructions, publication
5069-IN013.
MOD Power
Every module in the system draws current from the MOD power bus
and passes the remaining current to the next module.
MOD power lets 5069 Compact I/O modules transfer data and the
CompactLogix 5380 controller execute logic.
You must limit the MOD power source to 10 A, max, at 18...32V DC.
For example, if the total MOD power current draw is 5 A, you can use a
MOD power supply that is limited to 5 A.
You must consider current inrush requirements when you calculate the
total MOD power bus current draw in the system.
When the MOD power source is turned on, the following occurs.
For more information on the current that the 5069 Compact I/O modules
draw from the MOD power bus, see the 5069 Compact I/O Modules
Specifications Technical Data, publication 5069-TD001.
SA Power
SA power provides power to devices that are connected to some of the 5069
Compact I/O modules in the CompactLogix 5380 system.
Some 5069 Compact I/O modules draw current from the SA power bus
and pass the remaining current to the next module.
Some 5069 Compact I/O modules only pass current along the SA
power bus to the next module.
A CompactLogix 5380 system can have more than one SA power bus.
You use a 5069-FPD field potential distributor to establish a new SA
power bus. The new SA power bus is isolated from the SA power bus to
its left in the system.
For example, if the total SA power current draw is 4 A, you can use an
SA power supply that is limited to 4 A.
You must consider current inrush requirements when you calculate the
total SA power bus current draw in the system.
IMPORTANT Each SA power bus has a shared common unique to that bus
because SA power buses are completely isolated from each other.
That is, the SA power bus that the controller establishes has a
shared common. If you use a 5069-FPD field potential distributor to
establish a new SA power bus in the system, that second bus has its
own shared common for module that draw current from it.
IMPORTANT The level of current that the controller draws from the SA power bus
is negligible. It draws 10 mA when DC power is used and 25 mA
when AC power is used.
For more information on the current that the 5069 Compact I/O modules
draw from the SA power bus, see the 5069 Compact I/O Modules
Specifications Technical Data, publication 5069-TD001.
We recommend that you track the SA power bus current draw, max, per
module, and collectively for the CompactLogix 5380 system. You must make
sure that the 5069 Compact I/O modules installed on an SA power bus do not
consume more than 10 A. If so, you must establish another SA power bus.
The values in this example represent a worst-case calculation. That is, all
modules that draw SA power bus current, draw the maximum available
on the module.
Not all modules that are shown in Figure 3 use SA power bus current.
For example, the 5069-ARM and 5069-OW4I modules only pass SA
power bus current to the next module. Other modules that do not use
SA power bus current, but are not shown in the graphic, include the
5069-OB16, 5069-OB16F, and 5069-OX4I modules.
SA Power Bus Current, Max, 10 mA 128 mA 128 mA 128 mA 128 mA 0 mA 0 mA 100 mA 100 mA 250 mA 250 mA
Per Module
The 5069-FPD field potential distributor lets you change the field-side power
distribution source for 5069 Compact I/O modules to the right of the field
potential distributor. The field potential distributor passes MOD power bus
signals through to the next module in the system.
You can use a 5069-FPD field potential distributor to add an SA power bus to a
CompactLogix 5380 system. The field potential distributor blocks the current
that passes across the SA power bus to the left of the field potential distributor.
At that point, the field potential distributor establishes a new SA power bus for
modules to the right.
The SA power bus that the field potential distributor establishes functions in
the same way as the SA power bus that a CompactLogix 5380 controller
establishes, as described on page 20.
For example, you can separate modules that are connected to field-side
devices that use DC voltage from modules that are connected to field-
side devices that require AC voltage.
SA Power Connection
5069 Compact I/O Digital I/O Modules 5069 Compact I/O Analog I/O Modules
The actual current in a 5069 Compact I/O system changes based on the
operating conditions at a given time.
Some 5069 Compact I/O modules use field-side power but do not draw
it from a SA power bus. The modules receive field-side power from an
external power supply that is connected directly to the I/O module.
In this case, you can use the same external power supply that is
connected to the SA power RTB on the controller to the LA+ and LA
terminals.
IMPORTANT You must consider the current limit of an external power supply if
you use it to provide power to the SA power RTB on the controller
and the LA+ and LA terminals on a 5069-OB16 or 5069-OB16F
module.
A 1784-SD2 card ships with the controller. If you need additional SD cards, we
recommend that you use one that is available from Rockwell Automation. The
1784-SD1 (1 GB) and 1784-SD2 (2 GB) cards are available.
You can use third-party SD cards with the controller. You can use SD cards
with as much as 32 GB of memory. Keep in mind, Rockwell Automation does
not test the use of third-party SD cards with the controller. If you use an SD
card other than those cards that are available from Rockwell Automation,
unexpected results can occur. For example, you can experience data corruption
or data loss.
SD cards that are not provided by Rockwell Automation can have different
industrial, environmental, and certification ratings as those cards that are
available from Rockwell Automation. These cards can have difficulty with
survival in the same industrial environments as the industrially rated versions
available from Rockwell Automation.
SD Card Slot
The SD card can store all configuration data that is stored in nonvolatile
memory, for example, the controller IP address.
Topic Page
EtherNet/IP Modes 28
Configure the EtherNet/IP Modes 33
Change the EtherNet/IP Mode 41
Port Functionality in Dual-IP Mode 46
Controller IP Address and Firmware Updates 53
This chapter describes the EtherNet/IP modes that are available with the
CompactLogix 5380 controllers.
IMPORTANT Dual-IP mode is first available with CompactLogix 5380 controller firmware
revision 29.011 or later.
Other chapters in this publication describe how to perform more general tasks
in the Logix Designer application and RSLinx Classic software. If necessary,
read those chapters to understand better the tasks described in this chapter.
EtherNet/IP Modes With the Logix Designer application, version 29 or later, CompactLogix 5380
controllers support the following EtherNet/IP modes:
Dual-IP Mode
Linear/DLR Mode
Dual-IP Mode
Dual-IP mode lets you configure the controller embedded Ethernet ports to
connect to separate networks, that is, an enterprise-level Ethernet network and
a device-level network.
Each controller port requires its own network configurations in the controller.
F1 F9
F2 F10
F3 F11
F4 F12
F5 F13
F6 F14
F7 F15
F8 F16
Device-level Network
527
You must complete the following actions when you use Dual-IP mode:
You must assign an IP address and Subnet mask for each controller
Ethernet port. Subnet mask is also known as Network mask.
You must avoid overlapping IP address ranges when you configure the
controller Ethernet ports in Dual-IP mode.
You can use the methods that are described in Set the Controller IP
Address on page 66 to assign an IP address and Subnet/Network mask
to each Ethernet port.
Remember the following controller functions when you use Dual-IP mode:
IMPORTANT Overlapping IP address ranges only applies when the controller operates in
Dual-IP mode.
If you use the controller in Linear/DLR mode, you can skip this section and
proceed to Linear/DLR Mode on page 32.
The IP address and Subnet mask values that you assign to an Ethernet port
establish an IP address range for the port. The Subnet mask value is used to
establish the Network part of the IP address.
Overlapping IP address ranges occurs when any IP address from one range is
also present in the other IP address range. When a CompactLogix 5380
controller uses Dual-IP mode, the Network parts cannot overlap between the
Ethernet ports.
The difference between the port configurations in the examples is the Subnet
Mask/Network Mask value for port A1.
In the first example, the value is 255.255.255.0. In the second example, the
value 255.255.252.0.
Linear/DLR Mode
For more information on how to change the controller EtherNet/IP mode, see
Change the EtherNet/IP Mode on page 41.
F1 F9
F2 F10
F3 F11
F4 F12
F5 F13
F6 F14
F7 F15
F8 F16
Device-level Network
527
Configure the EtherNet/IP You can configure the EtherNet/IP modes with the following
software applications:
Modes
Logix Designer application, version 29.00.00 or later
RSLinx Classic software, version 3.81.00 or later
You set the IP address and Subnet Mask on the Internet Protocol tab.
TIP When you set the IP address and Subnet Mask, we recommend that you use
a USB connection from the workstation to the controller.
In step 4, make sure that you choose A2 from the Port pull-down menu.
In RSLinx Classic software, the IP Mode for which the controller is configured
is displayed on the General tab in the Configuration dialog box.
You set the IP Address and Network Mask on the Port Configuration tab.
TIP When you set the IP address and Subnet Mask, we recommend that you use
a USB connection from the workstation to the controller.
In step 1, make sure that you choose A2 from the Port pull-down menu.
IMPORTANT For more information on how to change the controller EtherNet/IP mode,
see Change the EtherNet/IP Mode on page 41.
After you change the EtherNet/IP mode to Linear/DLR mode, the new mode
choice is displayed on the General tab in the Controller Properties dialog box.
You set the IP Address and Subnet Mask on the Internet Protocol tab.
IMPORTANT For more information on how to change the controller EtherNet/IP mode,
see Change the EtherNet/IP Mode on page 41.
The new mode choice is displayed on the General tab in the Controller
Properties dialog box.
You set the IP Address and Subnet Mask on the Internet Protocol tab.
5. Click Apply.
Change the EtherNet/IP You can change the EtherNet/IP mode in the Logix Designer application or
RSLinx Classic software.
Mode
IMPORTANT Exercise caution when you change the EtherNet/IP mode on your controller,
and consider the possible effects of the change.
The effects of changing the EtherNet/IP mode are different based on mode
change. Make sure that you are aware of them before changing the EtherNet/IP
mode.
Table 4 - Effect of Changing the EtherNet/IP Mode
EtherNet/IP Mode Change Effects
Dual-IP Mode to Linear/DLR Mode The port A2 IP address, network mask, default
gateway settings are applied to the A1/A2 port.
The MAC address of port A1 is applied to port A1/A2.
This scenario exists if the controller firmware is
upgraded to revision 29.011 or greater before an IP
address is set.
Attempts to change from Dual-IP mode to Linear/
DLR mode are only successful if the I/O configuration
section in at least one port does not contain
modules.
If the I/O configuration section for both ports include
modules, you cannot change the EtherNet/IP mode
from Dual-IP mode to Linear/DLR mode.
Linear/DLR Mode to Dual-IP Mode The port A1/A2 IP address, network mask, default
gateway settings are applied to port A2.
Other port A1/A2 settings, for example, DNS servers
and Domain Name, are lost.
The port A1/A2 MAC address is applied to port A1. A
separate MAC address is applied to Port A2.
Port A1 is DHCP-enabled.
The I/O Configuration section in the Logix Designer
application project is automatically assigned to
port A1.
You can change the I/O configuration in the Logix
Designer application project to assign it to port A2.
IMPORTANT This example shows the EtherNet/IP mode change from Dual-IP mode to
Linear/DLR mode. The same tasks apply to change from Linear/DLR mode to
Dual-IP mode.
3. From the New mode pull-down menu, choose the new mode and
click OK.
IMPORTANT Before you change the EtherNet/IP mode, make sure that you
understand the impact on your controller when you change
the mode.
For more information on the impact of changing the EtherNet/IP
mode, see Table 4 on page 41.
5. From the New mode pull-down menu, choose the new mode and
click OK.
A warning appears.
IMPORTANT Before you change the EtherNet/IP mode, make sure that you
understand the impact on your controller when you change
the mode.
For more information on the impact of changing the EtherNet/IP
mode, see Table 4 on page 41.
Port Functionality in This section describes ways that the Ethernet ports on CompactLogix 5380
controllers, when used in Dual-IP mode, differ from Ethernet ports that are
Dual-IP Mode used in Linear/DLR mode.
Port A1 - Designated the enterprise port and used to interact with the
enterprise-level network.
Throughout this section, the term enterprise port refers to port A1.
Port A2 - Designated the device-level port and used to interact with the
device-level network
Throughout this section, the term device-level port refers to port A2.
Port IP Configuration
Parameters to Configure
Port Type IP Address Subnet Mask Gateway Address Host Name Domain Name Primary DNS Secondary DNS
Server Address Server Address
Enterprise port X X X X X X X
(A1)
Device-level X X X X
port (A2)
Device-level port
Device-level port
DNS Requests
Although you cannot configure the DNS servers or the domain name on a
device-level port, it can use DNS requests. The device-level port uses the DNS
servers and domain name from the enterprise port.
If the DNS server address is in the local subnet of port A1, DNS
requests leave through A1 port.
If the DNS server address is outside of all local subnets, DNS requests
leave through A1 port towards port A1 default gateway.
If the DNS server address is in local subnet of port A2, DNS requests
leave through A2 port.
If port A1 is enabled and the DNS server address is outside of all local
subnets, DNS requests leave through A1 port towards port A1 default
gateway.
If port A1 is disabled and the DNS server address is outside of all local
subnets, DNS requests leave through A2 port towards port A2 default
gateway.
SMTP Server
The SMTP server is only available via the enterprise port. Therefore, emails
can only be sent on the enterprise port.
For more information on how to send emails via an Ethernet port, see the
EtherNet/IP Network Configuration User Manual, publication
ENET-UM001.
When the controller operates in Dual-IP mode and uses a Socket Object, you
can use an IP address with a Socket_Create service type. By default this IP
address is INADDR_ANY.
You can send Message (MSG) instructions out the enterprise port or the
device-level port. The only difference between the MSG instruction
configurations is the path.
Software Display Differences Table 5 shows differences in the Logix Designer application when the
controller uses Dual-IP mode or Linear/DLR mode.
for EtherNet/IP Modes
General Tab on
Controller
Properties Dialog
Box
Internet Protocol on
Controller
Properties Dialog
Box
The Controller Properties dialog box also provides a Network tab in the Logix
Designer application when the controller uses Linear/DLR mode. The
Network tab is not available when the controller uses Dual-IP mode.
Table 6 shows differences in RSLinx Classic software when the controller uses
Dual-IP mode or Linear/DLR mode.
Table 6 - EtherNet/IP Mode Display Differences in the RSLinx Classic Software
EtherNet/IP Mode
Section in Dual-IP Mode Linear/DLR Mode
Software
General Tab
Port Configuration
Tab
The Configuration dialog box also provides a Network tab in RSLinx Classic
software when the controller uses Linear/DLR mode. The Network tab is not
available when the controller uses Dual-IP mode.
Controller IP Address and CompactLogix 5380 controllers require an IP address and updated firmware
revision to operate properly. You must be aware of the following before you set
Firmware Updates the IP address and update the controller firmware:
Order in which you set the IP address and update the firmware revision
Controller State Description Firmware Revision Task Completion Order Result of Completing Tasks in Order Indicated
Before Making of Update/Change
Changes
Out-of-box No IP address set Revision 29.011 or 1. Change the EtherNet/IP mode The controller EtherNet/IP mode is automatically set to Dual-IP
Unique MAC later from Dual-IP mode to Linear/ mode.
addresses are used DLR mode. The port A1/A2 IP address, network mask, default gateway
for port A1 and For more information, see settings are applied to port A2.
port A2, Change the EtherNet/IP Mode Other port A1/A2 settings, for example, DNS servers and
respectively on page 41. Domain Name, are lost.
2. Set IP address on port A1/A2.
Each port on the 3. Install controller firmware. The port A1/A2 MAC address is applied to port A1, and a
controller is separate MAC address is applied to Port A2.
DHCP-enabled
You must set the IP address configuration
Firmware revision
1.xxx 1. Install controller firmware. The controller EtherNet/IP mode remains set to Dual-IP mode
2. Set IP addresses on port A1 and after the firmware is installed.
port A2. The controller EtherNet/IP mode is set to Dual-IP mode when it
is in the out-of-box state.
A unique MAC address is assigned to each controller port.
You must set the IP address and related parameters for port A1
(enterprise port) and port A2 (device-level port).
No IP address is set Revision 28.xxx 1. Set IP address on port A1/A2. The controller EtherNet/IP mode is automatically set to Linear/
One MAC address is IMPORTANT: Only the 2. Install controller firmware. DLR mode.
used for port A1/A2 5069-L320ER and The IP address settings on port A1/A2 remain the same.
5069-L340ERM 1. Install controller firmware.
Port A1/A2 is controllers support 2. Set IP address on port A1/A2.
DHCP-enabled revision 28.xxx.
Firmware revision
1.xxx
Controller State Description Firmware Revision Task Completion Order Result of Completing Tasks in Order Indicated
Before Making of Update/Change
Changes
Operating IP address set on Revision 29.011 or Update controller firmware EtherNet/IP mode changes to Dual-IP mode.
port A1/A2 later The port A1/A2 IP address, network mask, default gateway
Firmware revision settings are applied to port A2.
28.xxx is installed
Other port A1/A2 settings, for example, DNS servers and
Domain Name, are lost.
The port A1/A2 MAC address is applied to port A1. A separate
MAC address is applied to Port A2.
The I/O Configuration section in the Logix Designer application
project is automatically assigned to port A1.
You can change the I/O configuration in the Logix Designer
application project to assign it to port A2.
If necessary, you can change to DLR/Linear mode after the
firmware revision update. For more information, see Change
the EtherNet/IP Mode on page 41.
Controller operates Downgrade to revision Downgrade controller firmware EtherNet/IP mode remains in Linear/DLR mode
in Linear/DLR mode 28.xxx IP address settings remain the same
IP address set on IMPORTANT: You can
port A1/A2 perform this download
Firmware revision only on the 5069-
29.011 or later is L320ER and 5069-
installed L340ERM controllers.
Controller operates Downgrade controller firmware EtherNet/IP mode automatically changes from Dual-IP mode to
in Dual-IP mode Linear/DLR mode
IP addresses are set After the change is made, the port A2 Internet Protocol
on port A1 and configuration is applied to the A1/A2 port.
port A2
Firmware revision
29.011 or later is
installed
Topic Page
Configure the EtherNet/IP Driver in RSLinx Classic Software 57
Configure the Ethernet Devices Drivers in RSLinx Classic Software 59
Use the USB Communication Driver in RSLinx Classic Software 61
For example, before you can connect to the controller via an Ethernet cable,
you must create an EtherNet/IP driver in RSLinx Classic software.
Remember the following when you use the RSLinx Classic software
communication drivers:
EtherNet/IP driver:
Supports runtime communications
Requires that the workstation and the controller are configured
Supports communications over longer distances when compared to
the USB driver
USB driver:
Convenient method to connect to an unconfigured controller and
configure the Ethernet port
Convenient method to connect to a controller when the Ethernet
port configuration is unknown
Convenient method to update the controller firmware
Not intended for runtime connections; it is a temporary-use only
connection with a limited cabling distance
Configure the EtherNet/IP Before you add an Ethernet driver, confirm that these conditions exist:
Driver in RSLinx Classic The workstation is properly connected to the EtherNet/IP network.
Software
The workstation IP address and other network parameters are
configured correctly.
TIP To view devices on another subnet or VLAN from the workstation running
RSLinx Classic software, click Browse Remote Subnet.
Configure the Ethernet The following conditions must exist to configure an Ethernet devices driver:
Devices Drivers in RSLinx The workstation is connected to a different Ethernet network than the
Classic Software target controller.
6. Click Add New to add stations and give each a host name.
7. When you are finished adding stations, click OK.
8. On the Configure Drivers dialog box, click Close.
Use the USB In RSLinx Classic software, version 3.80.00 or later, a USB driver
automatically appears in the software when you connect the USB cable from
Communication Driver in your workstation to the controller.
RSLinx Classic Software
The USB driver can take a moment to appear in RSLinx Classic software.
IMPORTANT EtherNet/IP drivers remain visible in RSLinx Classic software after they are
configured regardless of whether they are in use or not.
A USB driver appears in RSLinx Classic software only when a USB cable is
connected between the workstation and the controller.
Once the cable is disconnected, the driver disappears from RSLinx
Classic software.
If you use the RSLinx Classic software, version 3.80.00 or later, and a USB
driver does not appear automatically, you can complete the following steps.
Topic Page
Out-Of-Box State 63
Connect to the Controller 64
Set the Controller IP Address 66
Update Controller Firmware 80
Create a Logix Designer Application Project 89
Change Controller Configuration 91
Go Online with the Controller 92
Download a Project to the Controller 94
Upload from the Controller 96
Choose the Controller Operation Mode 98
This chapter describes how to begin using the CompactLogix 5380 controller
during its initial installation.
Out-Of-Box State The following conditions apply when the CompactLogix 5380 controller is in
the out-of-box state:
Uses firmware revision 1.x. You must update the firmware revision
before you can use it in a Logix Designer application project.
Connect to the Controller Before you can use the CompactLogix 5380 controller, you must connect the
desired cable to the controller. The following controllers connections
are available:
For information on how to select the proper cable, see Guidance for Selecting
Cables for EtherNet/IP Networks, publication ENET-WP007-EN-P.
Set the Controller IP Address You must set the IP address on a CompactLogix 5380 controller for the
controller to operate on an EtherNet/IP network. The controllers ship without
an IP address.
The controller is configured so that you must set the IP address each
time that power is cycled.
You can configure your controller so that you are not required to set an
IP address each time that power is cycled.
Each tool has connection requirements to set the IP address via that tool. For
example, your computer must be connected to the controller via a USB cable to
set the initial IP address of the controller with RSLinx Classic software or the
application.
If you use Domain Name System (DNS) addressing, or reference the controller
via host name in MSG instructions, define these parameters.
Table 7 - 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 An address that identifies any DNS servers that are used in the network. You must have a DNS server if you specified a domain name
or a host name in the module configuration. The DNS server converts the domain name or host name to an IP address that is used by
Secondary DNS server address the network.
For more information on DNS addressing, see page 74.
The BOOTP-DHCP tool is a standalone tool that you can use to set an IP
address. When used, the BOOTP-DHCP tool sets an IP address and other
Transport Control Protocol (TCP) parameters.
IMPORTANT Before you start the BOOTP-DHCP tool, make sure that you have the
module hardware (MAC) address.
The MAC address scrolls across the controller status on the front of
the controller. The address uses a format similar to the following:
00-00-BC-14-55-35
5. Click OK.
IMPORTANT If your controller is operating in Dual-IP mode, you must set an IP address for
each controller Ethernet port. In this case, set the IP address for the second
port, beginning at step 3.
Disable BOOTP/DHCP
The module now uses the assigned configuration and does not issue a BOOTP
or DHCP request.
You can access the controller via the USB or an EtherNet/IP driver.
4. Right-click on the controller and choose Module Configuration.
7. Click OK.
The controller verifies that its IP address does not match any other network
device IP address when you perform either of these tasks:
If the controller IP address matches that of another device on the network, the
controller EtherNet/IP port transitions to Conflict mode. In Conflict mode,
these conditions exist:
When two devices on a network have IP addresses that conflict, the resolution
depends on the conditions in which the duplication is detected. This table
describes how duplicate IP addresses are resolved.
DNS Addressing
You can also use DNS addressing to specify a host name for a controller, 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 controller 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
controller.
4. In the Logix Designer application, add the controller to the I/O
configuration tree in the Logix Designer application project for
another controller.
IMPORTANT If a child module resides in the same domain as its parent module,
type the host name. If the domain of the child module differs from
the domain of its parent module, type the host name and the
domain name (hostname.domainname)
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 the domain name of the source module, use a fully qualified DNS name
(hostname.domainname).
IMPORTANT You must install firmware on your controller before you can use the Logix
Designer application to set the controller IP address.
If you install controller firmware revision 29.011 or later, the controller is
configured to use Dual-IP mode by default.
Complete these steps to set the controller IP address with the Logix Designer
application.
10. On the Internet Protocol tab, choose the port from the Port pull-down
menu.
11. Click Manually configure IP settings, enter the necessary values, and
click Apply.
IMPORTANT If your controller uses firmware revision 29.011 or later, as shown in this
example, the EtherNet/IP mode is Dual-IP by default after the firmware
update.
In this case, you must set an IP address for each controller port. To do so,
choose the port that does not have an IP address and repeat step 11.
You can use an SD card to set the controller IP address. The SD card can set the
IP address when it loads a project onto the controller.
For more information on how to use an SD card, see Use the Secure
Digital Card on page 101.
Update Controller Firmware You can use the following tools to update the controller firmware:
ControlFLASH software
The firmware major revision level must match the software major version level.
For example, if the controller firmware revision is 28.xxx, you must use the
Logix Designer application, version 28.
IMPORTANT The firmware that is packaged with the software installation is the
initial release of the controller firmware. Subsequent firmware
revisions can be released.
We recommend that you check the Product Compatibility and
Download Center (PCDC) to determine if later revisions of the
controller firmware are available. For more information, see the
next bullet.
http://www.rockwellautomation.com/rockwellautomation/support/
pcdc.page
IMPORTANT You must use ControlFLASH software, version 13.00.00 or later, with
CompactLogix 5380 controllers.
The software is available as follows:
Part of Studio 5000 Logix Designer application installation process
Standalone download from the Product Compatibility and
Download Center at: http://www.rockwellautomation.com/
rockwellautomation/support/pcdc.page
ATTENTION: If the Secure Digital (SD) card is locked and set to load on
power-up, this update can be overwritten by firmware on the SD card.
For more information on how to use SD cards, see Use the Secure Digital Card on
page 101.
4. Enter the catalog number of the controller, select it, and click Next.
TIP If you experience a Script File Error after you select the firmware revision
number, as shown, there can be a problem with your firmware files.
Before the firmware update begins, the following dialog box appears.
Take the required action for your application. In this example, the
upgrade continues when OK is clicked.
WARNING: Let the firmware update complete before you cycle power or
otherwise interrupt the update.
When the update is complete, the Update Status dialog box indicates
that the update is complete.
10. Click OK.
To update the controller firmware with the AutoFlash feature, complete the
following steps.
ATTENTION: If the Secure Digital Card is locked and set to load on power-up,
this update can be overwritten by firmware on the SD card.
4. On the Who Active dialog box, select the controller under the
communication driver you want to use, and click Update Firmware.
.
Create a Logix Designer To create a Logix Designer application project, complete the following steps.
Application Project 1. Start the application.
Change Controller After the project is created, you can change some configuration parameters on
the Controller Properties dialog box while the controller is offline.
Configuration
Examples of configurable parameter that you can change offline include the
following:
EtherNet/IP Mode on the General tab
Enable Time Synchronization on the Date/Time tab
Execution Control on the SFC Execution tab
Go Online with the Controller To go online with the controller, you must first specify a communication path
in the Logix Designer application.
TIP In this section, an Ethernet port is the communication path. You can also use
the USB port.
If you store the project path in the project, you do not have to choose the
path each time you go online.
TIP You can also select a recent communications path and go online or apply it
to your project.
When the list of recent paths appears, choose the desired path and click
Go Online.
IMPORTANT If you are going online with the controller for the first time, you
must download the project. In this case, click Download at the On
the Connected To Go Online and Download dialog boxes
successively.
Download a Project to When you download a project to the controller, it copies the project from the
Logix Designer application onto the controller. You can download a project in
the Controller two ways:
Use the Who Active Dialog Box to Download on page 94
Use the Controller Status Menu to Download on page 95
You can use the features of the Who Active dialog box to download to the
controller after you have set the communication path. Complete these steps to
download to the controller.
1. In the Who Active dialog box, choose the communication path and
click Download.
TIP After the download completes, the project name appears on the scrolling
status display of the controller.
Upload from the Controller When you upload a project from the controller, it copies the project from the
controller to the Logix Designer application. To upload a project, use one of
these methods:
Use the Who Active Dialog Box to Upload, page 96
Use the Controller Status Menu to Upload, page 97
To use the Who Active dialog box to upload from the controller, complete the
following steps.
Choose the Controller Use Table 8 as a reference when determining the controller operation mode.
Operation Mode Table 8 - Controller Operation Modes and Meanings
Mode Switch Setting(1) Run Remote Program
Mode set with the Logix Designer application Run Test Program
while online, and the Mode Switch set to
Remote
If you want to: Select one of these modes:
Turn outputs to the state commanded by the logic X X
of the project
Turn outputs to their configured state for Program X X X
mode
Execute (scan) tasks X X X
Change the mode of the controller via Logix X X X
Designer application
Download a project X X
While online, edit the project X X X X
Send messages X X X
Send and receive data in response to a message X X X X X
from another controller
Produce and consume tags X X X X X
(1) Moving the mode switch from Run to Remote leaves the controller in the Remote Run mode. Moving the switch from Program
to Remote leaves the controller in the Remote Program mode. You cannot choose Remote Test mode by the mode switch alone.
Remote Test mode is only available via the Logix Designer application.
To change the operating mode, use the mode switch. The controller mode
switch provides a mechanical means to enhance controller and control system
security. You must physically move the mode switch on the controller to
change its operating mode from RUN, to REM, or to PROG.
When the mode switch on the controller is set to RUN mode, features like
online editing, program downloads, and firmware updates are prohibited. See
Table 8 for a complete list of prohibited features.
IMPORTANT During runtime, we recommend that you place the controller mode switch in
RUN mode. This practice can discourage unauthorized access to the
controller or potential tampering with the controller program,
configuration, or device firmware.
Place the mode switch in REM or PROG mode during controller
commissioning and maintenance and whenever temporary access is
necessary to change the program, configuration, or firmware of the product.
The mode switch on the front of the controller can be used to change the
controller to one of these modes:
Run (RUN)
Remote (REM)
Program (PROG)
Mode Switch
RUN Run modeThe controller is actively controlling the process/machine. Projects cannot Run mode is used only when all conditions are safe.
be edited in the Logix Designer application while the project is online and the controller is
in Run mode.
REM Remote Run modeThis mode is identical to Run mode except you can edit the project You are able to modify a project file online in Remote
online, and change the controller mode through the Logix Designer application. Run mode.
Be sure to control outputs with care to avoid injury to
personnel and damage to equipment.
Remote Program modeThis mode functions like Program mode, except you can Outputs are commanded to their Program mode state,
change the controller mode through the Logix Designer application. which can cause a dangerous situation.
Remote Test modeThis controller mode executes code, but I/O is not controlled. You
can edit the project online, and change the controller mode through the Logix Designer
application.
Output modules are commanded to their Program mode state (on, off, or hold).
PROG Program modeThis controller mode does not execute code or control I/O, but editing Do not use Program mode as an emergency stop (E-
operations are available. stop). Program mode is not a safety device.
Output modules are commanded to their Program mode state (On, Off, or Hold). Outputs are commanded to their Program mode state,
In this position, controller modes cannot be changed through the Logix Designer which can cause a dangerous situation.
application.
To change the operating mode with the Logix Designer application, the
controller is online and the mode switch is in the REM position. The following
modes are available:
Remote Program
Remote Run
Remote Test
TIP For this example, the controller mode switch is set to Remote mode. If the
controller mode switch is set to Run or Program modes, the menu options
change.
Topic Page
Use the Secure Digital Card 101
Reset Button 108
Disable the Ethernet Ports 112
Use the Secure Digital Card You use an SD card with your CompactLogix 5380 controller to complete
the following:
Store the controller project to the SD card
Load a project from the SD card to the controller
If a major nonrecoverable fault occurs that removes the program from the
controller memory, the backup copy on the SD card can be automatically
restored to the controller to quickly resume normal controller operation.
1. Make sure that the controller is online and in Program mode or Remote
Program mode.
2. Right-click the controller name and choose Properties.
If you want the image (project) to load when Choose Menu Items
Power to the controller is applied or cycled On Power Up
The controller has lost the project and power has been cycled or applied On Uninitialized Memory
Initiated via the Logix Designer application User Initiated
This table describes the Load Mode options that you can choose for the
project.
If you want the controller to go to this mode after loading Choose Menu Items
Program Program (remote only)
Run Run (remote only)
This table describes the Automatic Firmware Update options that you
can choose for the project.
Enable and Store Files to Image Enables automatic firmware updates for I/O devices in the configuration tree of
the controller. Saves I/O device firmware and controller firmware to the image.
I/O devices must be configured to use Exact Match Keying.(1)
Disable and Delete Files to Disables automatic firmware updates for I/O devices in the configuration tree of
Image the controller. Removes I/O device firmware from the image, but does not
remove controller firmware from image.This item only appears in the menu on
subsequent saves of the image.
(1) The devices that are used with this option must support the firmware revision to which the device is being updated.
7. Click Store.
8. Click Yes in the confirmation dialog box that appears.
IMPORTANT Let the store complete without interruption. If you interrupt the store, data
corruption or loss can occur.
You can load from an SD card to a controller in one of the following ways:
Controller Power-up
User-initiated Action
IMPORTANT The actions that are described in this section apply whether the SD card is
unlocked or locked.
Controller Power-up
Load Image Setting Controller is in out-of-box condition Firmware > 1.x and internal nonvolatile Firmware > 1.x and internal nonvolatile
(v1.x firmware) memory is not valid(2) memory is valid(2)
User Initiated Loads Firmware Only(1) Does Nothing Does Nothing
On Power Up Loads both Firmware and Application Loads Firmware if there is a revision mismatch Loads Firmware if there is a revision
Loads Application mismatch
Loads Application
On Uninitialized Memory Loads both Firmware and Application(1) Loads Firmware if there is a revision mismatch Does Nothing
Loads Application
(1) Indicates change in behavior from CompactLogix 5370 and older controllers.
(2) Valid includes the No Project condition.
User-initiated Action
IMPORTANT You cannot use the method of loading a project that is described in this
section on a controller that uses firmware revision 1.xx. That is, the firmware
revision on an out-of-box controller.
You must complete the following before you can upload a project to the
controller from the SD card when the controller is already powered-up:
Establish the communication path.
Go online with the controller.
Make sure that the controller is in Program mode.
2. On the Nonvolatile Memory tab, verify that the project that is listed is
the correct one.
3. Click Load/Store.
4. Click Load.
After you click Yes, the project is loaded to the controller as indicated by
the controller status indicators.
One of the following is shown on the status display, based on when the
load occurs:
LOAD
Loading . . . Do Not Remove SD Card
A dialog box in the Logix Designer application indicates that the store is
in progress.
IMPORTANT Let the load to complete without interruption. If you interrupt the load, data
corruption or loss can occur.
You can use the SD cards to complete the following other tasks:
Change the image that is loaded from the card
Check for a load that was completed
Clear an image from the SD card
Store an empty image
Change load parameters
Read/write application data to the card
For more information to complete any of these tasks, see the Logix5000
Controllers Memory Card Programming Manual, publication 1756-PM017.
Reset Button You can reset the controller with the reset button. The controller has two
stages of reset:
Stage 1 Reset
Stage 2 Reset
WARNING: When you press the reset button while power is on, an Electric
Arc can occur. This could cause an explosion in hazardous location
installations. Be sure that power is removed or the area is nonhazardous
before proceeding.
Reset Button
IMPORTANT The processes to perform both reset types requires that you press the reset
button and hold it in place during the controller power-up sequence.
If you press the reset button outside a power-up sequence, there is no effect
on the controller.
Stage 1 Reset
IMPORTANT A stage 1 reset occurs only if the controller contains a user application.
Prevents the controller from loading firmware from the SD card on the
initial start-up after the reset.
To perform a Stage 1 reset, complete the following steps. This process assumes
that an SD card is installed in the controller.
IMPORTANT If you release the reset button before Project Cleared scrolls across
the display, the controller continues with powerup and does not
reset.
Download the project from the Logix Designer application - For more
information, see Download a Project to the Controller on page 94
Stage 2 Reset
IMPORTANT A stage 2 reset occurs only if the controller does not contain a user
application, and the current controller firmware is not a 1.x revision.
Returns the module to revision 1.x firmware, that is, the out-of-box
firmware revision.
There are no entries in the controller log after a Stage 2 reset, but saved
logs on the SD card remain.
To perform a Stage 2 reset, complete the following steps. This process assumes
that an SD card is installed in the controller.
After a Stage 2 reset is performed, you must complete the following tasks to use
the controller again:
For more information, see Set the Controller IP Address on page 66.
Disable the Ethernet Ports You can disable either of the embedded Ethernet ports on the controller.
2. On the Port Configuration tab, clear the Enable checkbox for the port
that you want to disable and click Apply.
3. If you are online when you make this change, click Yes on the Alert
dialog box.
Notes:
EtherNet/IP Network
Topic Page
Network Overview 115
EtherNet/IP Network Functionality 116
Software for EtherNet/IP Networks 117
Nodes on an EtherNet/IP Network 117
EtherNet/IP Network Communication Rates 120
EtherNet/IP Network Topologies 122
Socket Interface 128
Network Overview The EtherNet/IP network offers a full suite of control, configuration, and data
collection services by layering the Common Industrial Protocol (CIP) over the
standard Internet protocols, such as TCP/IP and UDP. This combination of
well-accepted standards provides the capability that is required to support
information data exchange and control applications.
EtherNet/IP Network The CompactLogix 5380 controllers support the following EtherNet/IP
network functionality:
Functionality
Dual built-in EtherNet/IP network ports
For more information about network design, see the Ethernet Design
Considerations Reference Manual, publication ENET-RM002.
Software for EtherNet/IP Table 10 lists software that is used with the EtherNet/IP networks and
modules.
Networks .
Nodes on an EtherNet/IP When you configure your CompactLogix 5380 control system, you must
account for the number of EtherNet/IP nodes that you include in the I/O
Network configuration section of your project.
Any EtherNet/IP devices that you add to the I/O configuration section are
counted toward the controller node limit. The following are examples of
devices that must be counted:
The following devices are not added to the I/O configuration section and are
not counted among the number of nodes:
Computer
Devices that are the target of MSG Instructions but were not added to
the I/O configuration section
Node
Node
Node
Node
The Capacity tab in the Controller Properties dialog box keeps track of the
number of Ethernet nodes used in a project. The following graphic is
representative of the project shown in Figure 9.
EtherNet/IP Network The CompactLogix 5380 controllers support the following EtherNet/IP
network communication rates:
Communication Rates
10 Mbps
100 Mbps
1 Gbps
When you design a CompactLogix 5380 system and consider using the 1 Gbps
rate on the controller, remember the following:
You can use the 1 Gbps network communication rate on the controller
ports when all network devices support the 1 Gbps, for example,
5069-AEN2TR adapters with 5069 Compact I/O modules.
When you use the 1 Gbps network communication rate, configure the
controller ports to use Auto-Negotiate.
5069-AEN2TR Adapter
5069 Compact I/O Modules
You can use the 1 Gbps network communication rate on the controller
ports when some network devices support a maximum network
communication rate of 100 Mbps. However, in this case, the controller
must be connected to those devices through a managed switch.
Workstation
F3
F4
F10
F11
F12
Terminal F5
F6
F7
F13
F14
F15
F8 F16
100 Mbps
527
5069-AEN2TR Adapter
5069 Compact I/O Modules
PowerFlex 527 Drive Kinetix 5500 Drive
We recommend that you do not use the 1 Gbps network communication rate
on the controller ports if it operates on a linear or DLR network topology and
at least one device on the network supports the maximum network
communication rate of 100 Mbps.
That is, do not use different network communication rates on device ports in
the same EtherNet/IP network without a managed switch.
F1 F9
F2 F10
F3 F11
F4 F12
F5 F13
F6 F14
F7 F15
F8 F16
POINT I O
Module
Status
Network
Activity
Network
Status
Point Bus
Link 1 Status
Activity/
Status System
Power
Field
Power
IP ADDRESS
Link 2
Activity/
Status
EtherNet/IP Network CompactLogix 5380 controllers support these EtherNet/IP network types:
Topologies Device Level Ring Network Topology
Linear Network Topology
Star Network Topology
IMPORTANT Remember, if you use a CompactLogix 5380 controller in a DLR network with
devices that have a maximum network communication rate of 100 Mbps, set
the controller ports to 100 Mbps.
Workstation
PowerFlex 527
All network communication on this network uses the 100 Mbps rate.
Drive
527
5069-AEN2TR Adapter
5069 Compact I/O Modules
002 1734-AENTR
POINT I O
Module
Status
Network
Activity F1 F9
Network
Status
Link 1
Point Bus
Status
F2 F10
Activity/
Status System
Power
Field
F3 F11
Power
IP ADDRESS
F4 F12
F5 F13
F6 F14
F7 F15
Link 2
Activity/ F8 F16
Status
IMPORTANT If a CompactLogix 5380 controller is using Dual-IP mode, the controller can
only connect to a DLR network topology through a 1783 EtherNet/IP tap.
Port A1 connected to an
Enterprise-level network
Port A2 connected
to the DLR network 5069-AEN2TR Adapter
via a 1783-ETAP tap 5069 Compact I/O Modules
PowerFlex 527
All network communication on this network uses the 100 Mbps rate.
Drive
527
5069-AEN2TR Adapter
5069 Compact I/O Modules
002 1734-AENTR
POINT I O
Module
Status
Network
Activity F1 F9
Network
Status
Link 1
Point Bus
Status
F2 F10
Activity/
Status System
Power
Field
F3 F11
Power
IP ADDRESS
F4 F12
F5 F13
F6 F14
F7 F15
Link 2
Activity/ F8 F16
Status
For more information on how to design a DLR network, see the EtherNet/IP
Embedded Switch Technology Application Guide, publication ENET-AP005
POINT I O
Module
Status
Network
Activity
Network
Status
Point Bus
Link 1 Status
Activity/
Status System
Power
Field
Power
IP ADDRESS
Link 2
Activity/
Status
527
F1 F9
F2 F10
F3 F11
F4 F12
F5 F13
F6 F14
F7 F15
F8 F16
All network communication on this network uses the 100 Mbps rate.
IMPORTANT If a CompactLogix 5380 controller is using Dual-IP mode, the controller can
only connect to a linear network topology in one of the following ways:
As an end device
Through a 1783 EtherNet/IP tap
Both ways are shown below.
POINT I O
Module
Status
Network
Activity
Network
Status
Point Bus
Link 1 Status
Activity/
Status System
Power
Field
Power
IP ADDRESS
Link 2
Activity/
Status
527
F2 F10
F3 F11
F4 F12
F5 F13
F6 F14
F7 F15
F8 F16
Link 1
1734-AENTR
POINT I O
Module
Status
Network
Activity
Network
Status
Point Bus
Status
network via a
Activity/
Status System
Power
Field
Power
IP ADDRESS
527
F1 F9
F2 F10
F3 F11
F4 F12
F5 F13
F6 F14
F7 F15
F8 F16
PanelView Plus 7
Terminal
You can use the star network topology with Linear/DLR and Dual-IP modes.
1 Gbps
Stratix 5700 Switch
F1 F9
100 Mbps 1 Gbps
The communication rates on this network vary F2
F3
F4
F10
F11
F12
F6
F7
F13
F14
F15
PanelView Plus 7
Terminal 100 Mbps
002 1734-AENTR
POINT I O
Module
Status
Network
Activity
Network
Status
Point Bus
Link 1 Status
Activity/
Status System
Power
Field
Power
527
IP ADDRESS
Link 2
Activity/
Status
Kinetix 5500 Drive
PowerFlex 527 Drive 1734-AENTR Adapter
1734 POINT I/O Modules
F1 F9
F2 F10
F3 F11
F4 F12
F5 F13
F6 F14
F7 F15
F8 F16
Device-level Network
Stratix 2000 Switch
527
For more information when you design your CompactLogix 5380 system, see
the Integrated Architecture Tools and Resources web page. For example, you
can access the Popular Configuration Drawings with different EtherNet/IP
network topologies.
Socket Interface The controller can use socket interfaces to communicate with Ethernet devices
that do not support the EtherNet/IP application protocol. The socket
interface is implemented via the Socket Object. The controller communicates
with the Socket Object via MSG instructions.
You must use MSG instructions that configure and operate the socket interface
as Unconnected, and use the Message to Self path. To communicate with
another device, you must understand the application protocol of the other
device. The following are example screens of an MSG instruction used with a
socket interface.
IMPORTANT Keep the following in mind when you use sockets with
CompactLogix 5380 controllers:
A significant difference between CompactLogix 5380 controllers and
other Logix5000 controllers is the communication path.
CompactLogix 5380 controllers do not require a separate EtherNet/IP
network communication module, for example, a 1756-EN2TR
communication module. In the case of the CompactLogix 5380
controllers, the MSG instruction is sent to the controller itself by using
the path THIS.
All CompactLogix 5380 controllers must use unconnected MSG
instructions for socket servers. When you configure a message for a
CompactLogix 5380 controller, make sure that the Connected checkbox
on the Message Configuration dialog box is cleared.
When the controller operates in Dual-IP mode and uses a Socket Object,
you can use an IP address with a Socket_Create service type. For more
information, see page 50.
Topic Page
Local I/O Modules 129
Remote I/O Modules 136
Add to the I/O Configuration While Online 147
Determine When Data is Updated 148
Local I/O Modules The CompactLogix 5380 system use 5069 Compact I/O modules as local
I/O modules. The modules are installed to the right of the controller.
The number of local 5069 Compact I/O modules that you can install in a
CompactLogix 5380 system varies based on the controller that is used, up to a
maximum of 31 modules.
Table 12 lists the number of local I/O modules that CompactLogix 5380
controllers support.
Table 12 - Local I/O Modules in CompactLogix 5380 System
Cat. No. Local I/O Modules Supported, Max.
5069-L306ER, 5069-L306ERM, 5069-L310ER, 5069-L310ERM, 8
5069-L310ER-NSE
5069-L320ER, 5069-L320ERM 16
(1), 5069-L330ERM(1), 5069-L340ER, 5069-L340ERM,
5069-L330ER 31
5069-L350ERM, 5069-L380ERM, 5069-L3100ERM
(1) When you use this controller with the Logix Designer application, version 29.00.00, the application limits the number of local
I/O modules in the project to 16. For more information, see the Rockwell Automation Knowledgebase article #942580, 5380
CompactLogix controllers limited to 16 local 5069 modules in V29 of Studio 5000. The document is available at http://
www.rockwellautomation.com/knowledgebase.
With the Logix Designer application, version 30.00.00 or later, the controller supports as many as 31 local I/O modules.
The following are example factors that you must consider when you decide
how to use local I/O modules in a CompactLogix 5380 system:
Before you can add local I/O modules to a Logix Designer application project,
you must open an existing project or create a project. For information on how
to create a project, see Create a Logix Designer Application Project on page 89.
There are two methods to add local I/O modules to the project:
Discover Modules
New Module
Discover Modules
To use Discover Modules to add a local I/O module, complete these steps.
TIP If you inhibit the module connection, you must remember to uninhibit the
connection later.
If you cleared the Close on Create checkbox when you created the first
I/O module, repeat steps 36.
If you did not clear the Close on Create checkbos when you created the
first I/O module, repeat steps 26.
New Module
TIP Remember, if the Series and Revision parameter values do not match those
of the module for which this configuration is intended, your project can
experience module faults.
If you cleared the Close on Create checkbox when you created the first
I/O module, repeat steps 23.
If you did not clear the Close on Create checkbos when you created the
first I/O module, repeat steps 13.
Electronic Keying
Electronic Keying reduces the possibility that you use the wrong device in a
control system. It compares the device that is 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 When you change Electronic Keying parameters online, it 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
Remote I/O Modules Remote I/O modules do not reside in the CompactLogix 5380 system. The
controller connects to the I/O modules via an EtherNet/IP network.
CompactLogix 5380 controllers support the use of a wide range of remote I/O
modules. For maximum performance, we recommend that you use 5069
Compact I/O modules when you use remote I/O modules.
IMPORTANT The following network examples are solely intended to show remote I/O
modules in various network topologies. The examples do not address
network communication rates between the CompactLogix 5380 controller
and the I/O modules.
We recommend, however, that you consider network communication rates
when you determine the best way to incorporate remote I/O modules in your
CompactLogix 5380 system.
For more information, see EtherNet/IP Network Communication Rates on
page 120
Workstation
PowerFlex 527
Drive Remote I/O Modules
527
5069-AEN2TR Adapter
5069 Compact I/O Modules
002 1734-AENTR
POINT I O
Module
Status
Network
Activity F1 F9
Network
Status
Link 1
Point Bus
Status
F2 F10
Kinetix 5500
Activity/
Status System
Power
Field
F3 F11
Power
IP ADDRESS
F4 F12
F5 F13
Drives Link 2
Activity/
Status
F6
F7
F8
F14
F15
F16
00 2 1734-AENTR
POINT I O
Module
Status
Network
Activity
Network
Status
Point Bus
Link 1 Status
Activity/
Status System
Power
Field
Power
IP ADDRESS
Link 2
Activity/
Status
527
F2 F10
F3 F11
F4 F12
F5 F13
F6 F14
F7 F15
F8 F16
PanelView Plus 7
Terminal
Workstation
F2 F10
F3 F11
PanelView Plus 7 F4
F5
F6
F12
F13
F14
Terminal F7
F8
F15
F16
Remote I/O Modules
POINT I O
Module
Status
Network
Activity
Network
Status
Point Bus
Link 1 Status
Activity/
Status System
Power
Field
Power
527
IP ADDRESS
Link 2
Activity/
Status
Kinetix 5500 Drive
1734-AENTR Adapter
1734 POINT I/O Modules
Before you can add remote I/O modules to a project, you must add the
EtherNet/IP communication module that facilitates communication between
the CompactLogix 5380 controller and the remote I/O modules.
There are two methods to add remote I/O modules to the project:
Discover Modules
New Module
Discover Modules
When you use Discover Modules to find Ethernet devices, the Logix Designer
application browses based on how Ethernet browsing is configured in RSLinx
Classic software.
If the Ethernet bus is browsed via a CIP router, you must configure the
IP address for each Ethernet device that you want to display in the Select
Module Type dialog box shown on page 139.
The tasks described in this section apply when you use the EtherNet/IP driver
in RSWho to browse the network.
To use Discover Modules to add a remote I/O module, complete these steps.
TIP If you inhibit the module connection, you must remember to uninhibit the
connection later.
TIP If you inhibit the module connection, you must remember to uninhibit the
connection later.
After you add the remote I/O module, consider the following:
To add remote I/O modules in the same remote location, complete one
of the following:
If you cleared the Close on Create checkbox when you created the
first I/O module, repeat steps 811.
If you did not clear the Close on Create checkbos when you created
the first I/O module, repeat steps 711.
New Module
To use New Module to add a remote I/O module, complete these steps.
2. Select
3. the EtherNet/IP adapter and click Create.
For some modules, the Select Major Revision dialog box can appear.
If the dialog box appears, choose the major revision of the module
and click OK.
TIP
Remember, if the Series and Revision parameter values do not
match those of the module for which this configuration is intended,
your project can experience module faults.
TIP If you inhibit the module connection, you must remember to uninhibit the
connection later.
8. Select the I/O module that you want to add and click Create.
TIP If you must add multiple I/O modules to the same remote location, we
recommend that you clear the Close on Create checkbox before you
click Create.
If the Close on Create checkbox is cleared, when you complete configuration
for an I/O module, the Select Module Type dialog box appears automatically
and you can skip step 7.
TIP If you inhibit the module connection, you must remember to uninhibit the
connection later.
After you add the remote I/O module, consider the following:
To add remote I/O modules in the same remote location, complete one
of the following:
If you cleared the Close on Create checkbox when you created the
first I/O module, repeat steps 89.
If you did not clear the Close on Create checkbox when you created
the first I/O module, repeat steps 79.
Add to the I/O Configuration You can add local and remote I/O modules and other devices to the controller
configuration while the project is online.
While Online
IMPORTANT To add I/O modules when the controller is online, the controller mode switch
must be in the REM or PROG position.
The I/O modules must already be installed in the system. You cannot install
the I/O modules when the system is powered.
The modules and devices you can add while online depends on the software
version that you use. Later versions have more modules and devices that can be
added while online.
Add-on Profiles (AOP) for modules are made available between releases of
different Logix Designer application versions. There are cases in which, after
you download and install the AOP file for a module, you can add the module
to a project while online.
https://download.rockwellautomation.com/esd/
download.aspx?downloadid=addonprofiles
For more information about adding to the I/O Configuration while online, see
the Logix5000 Controllers Design Considerations Reference Manual,
publication 1756-RM094
You can add these modules and devices to the CompactLogix 5380 controller
I/O configuration while online with Logix Designer, version 28 or later.
Determine When Data CompactLogix 5380 controllers update data asynchronously with the
execution of logic. See the following flowcharts to determine when a controller,
is Updated input module, or bridge sends data:
Method of Input Data Production Produced tag with data state change events
RTSRPI? No
Yes
The module sends data at the RTS. The module sends data at
the RTS and RPI.
New data can appear in Input tags at any point in the program scan. If the
control logic reads input tag values in multiple locations, do not assume
that the data remains unchanged throughout the scan of the logic.
Automatic output
processing of each task.
Method of Output Data Production Output Module Profile Configuration
Data is sent by the Data is sent by the Data is sent by the controller
controller triggered controller triggered No data is sent by automatic triggered by the end of task.
by the RPI. by the user program. output processing
Notes:
Topic Page
Connection Overview 151
Controller Communication Interaction with Control Data 152
Produce and Consume (Interlock) Data 153
Send and Receive Messages 155
Connections are used when the system contains the following conditions:
Controller Communication The CompactLogix 5380 controller runs the communications task separately
from the application code. The controller runs communications
Interaction with asynchronously to the application. Therefore, it is important to make sure
Control Data communications that are delivered to the controller are complete before the
application executes on the newly delivered data. This applies to data that is
coming into the controller and data that is going out from the controller.
For example, if an HMI device writes a large block of recipe data to the
controller, the application code can start to execute on that data before the data
is written. This action results in half of the current recipe and half of the last
recipe in the application space.
These options rely on controlling when the main core can switch tasks. As a
result, the communication task cannot change data when the control task is
using it. Because the controller processes communications on an independent
CPU core, these methods are no longer effective in all cases.
Because the controllers have 32-bit data integrity, this only applies to data
structures larger than 32 bits. If word-level integrity is your primary concern,
the 32-bit data integrity does not impact your data use.
Good programming practice dictates the use of two unique words at the
beginning and the end of data. The controller validates the words to assure the
entire structure has data integrity. We recommend that the handshake data is
changed and the application code validates it every transaction before the
controller application code or higher-level system reading controller data acts
on it.
Table 14 shows two data elements that are added to a structure for data
integrity checking. That is, Start Data and End Data are added. We
recommend that the controller validates the Start Data value and the End Data
value match before the controller acts on My_Recipe1.
If the Start Data and End Data values do not match, it is likely communications
is in the process of filling the structure. The same applies to higher-level
systems that are receiving data from the controller.
Table 14 - Data Elements
Structure My_Recipe1 My_Recipe2 My_Recipe3
Start Data 101 102 103
Sugar 3 4 8
Flour 4 3 9
Chocolate 2 2 4
Oil 6 7 2
End Data 101 102 103
TIP We recommend that you perform this test on a buffered copy of the data
and not the actual data element being written to by the communications
core. If you use buffered data, you prevent the risk of the communication
core changing data after you have passed the data valid test.
Produce and Consume CompactLogix 5380 controllers let you produce (transmit) and consume
(receive) controller-scoped tags.
(Interlock) Data
Figure 20 - Example Produced and Consumed Tags
Controller_1 Controller_2
Produced Tag Consumed Tag
Controller_3
Consumed Tag
Controller_4
Consumed Tag
Tag Description
Produced tag A tag that a controller makes available for use by other controllers. Multiple controllers can
simultaneously consume (receive) the data.
A produced tag sends its data to one or more consumed tags (consumers) without using logic.
Consumed tag A tag that receives the data of a produced tag. The data type of the consumed tag must match
the data type (including any array dimensions) of the produced tag. The RPI of the consumed
tag determines the period at which the data updates.
For two controllers to share produced or consumed tags, the controllers must
be attached to the same network. You cannot bridge produced and consumed
tags over two networks.
Produced and consumed tags use connections of the controller and the
communication modules being used.
Send and Receive Messages Messages transfer data to other devices, such as other controllers or operator
interfaces. The MSG instruction is a ladder logic output instruction that
asynchronously reads or writes a block of data to or from another module over
the backplane or a network. The size of the instruction depends on the data
types and message command that you program.
Messages use connection resources to send or receive data. Messages can leave
the connection open (cached) or can close the connection when the message is
done transmitting.
Each message uses one connection out of the controller, regardless of how
many devices are in the message path.
Table 16 - Message Types
Message Type Communication Connected Message Message Can Be
Method Cached
CIP data table read or write N/A Configurable Yes(2)
PLC-2, PLC-3, PLC-5, or SLC CIP No No
(all types)
CIP with Source ID No No
DH+ Yes Yes(2)
CIP generic N/A Optional (1) Yes(2)
Block-transfer read or write N/A Yes Yes(2)
(1) You can connect CIP generic messages. However, for most applications we recommend that you leave CIP generic messages
unconnected.
(2) We recommend that you cache connected messages that occur more frequently than once every 60 seconds, if possible.
For more information about how to use messages, see the Logix5000
Controllers Messages Programming Manual, publication 1756-PM012
When you configure a message instruction, you can cache the connection. Use
Table 17 to decide to cache a connection.
.
TIP Cached connections transfer data faster than uncached connections. The
CompactLogix 5380 controller can cache as many as 256 connections.
Topic Page
Elements of a Control Application 157
Tasks 159
Programs 163
Routines 165
Parameters and Local Tags 166
Programming Languages 167
Add-On Instructions 168
Extended Properties 169
Access the Module Object from an Add-On Instruction 170
Monitor Controller Status 171
Monitor I/O Connections 172
Elements of a A control application consists of several elements that require planning for
efficient application execution. Application elements include the following:
Control Application
Tasks
Programs
Routines
Parameters and Local Tags
Add-On Instructions
Task 32
Task 1
Configuration
Status
Fault Routine
Other Routines
Add-On Instruction
Controller (global) Tags I/O Data System-shared Data
Definition
Tasks A Logix5000 controller lets you use multiple tasks to schedule and prioritize
the execution of your programs based on criteria. This multitasking allocates
the processing time of the controller among the operations in your application:
One task can interrupt the execution of another and take control based
on its priority.
In any given task, you can use multiple programs. One program executes
at a time.
Task 32
Task 1
Configuration
Status
Watchdog
Program 1000
Program 1
Program Tags
Main Routine and Program
Parameters
Fault Routine
Other
Routines
Figure 23 - Tasks
Main Task
(continuous)
Main Task
(continuous)
Task 2
(periodic)
Task 2
(periodic)
A task provides scheduling and priority information for a set of one or more
programs. Use the Task Properties dialog box to configure tasks as continuous,
periodic, or event.
A task can have up to 1000 programs, each with its own executable routines
and program-scoped tags. Once a task is triggered (activated), the programs
that are assigned to the task execute in the order in which they are grouped.
Programs can appear only once in the Controller Organizer and multiple tasks
cannot share them.
Some 5069 Compact I/O modules can trigger an Event task. For example,
complete these steps to configure an Event task with a 5069-IB16F module
input state change triggering the event.
1. Configure the 5069-IB16F input module to trigger the Event task. The
following tasks are required.
a. Use the Data with Events connection type in the 5069-IB16F
module definition.
b. Enable the Event.
c. Select at least one point on the module to participate in the event.
d. Define what constitutes an event, for example, a state change from
Off to On.
e. Choose which edge of the event triggers the event. That is, the rising
edge, falling edge, or both can trigger an event.
You can also latch an event and enable independent point triggers.
For more information on how to use event tasks with 5069 Compact I/O
modules, see the 5000 Series Digital I/O Module User Manual, publication
5000-UM004
For more information on how to use event tasks in general, see the Logix5000
Controllers Tasks, Programs, and Routines Programming Manual, publication
1756-PM005.
Task Priority
Each task in the controller has a priority level. The operating system uses the
priority level to determine which task to execute when multiple tasks are
triggered. A higher priority task interrupts any lower priority task. The
continuous task has the lowest priority and a periodic or event task
interrupts it.
You can configure periodic and event tasks to execute from the lowest priority
of 15 up to the highest priority of 1. Use the Task Properties dialog box to
configure the task priority.
Task 32
Task 1
Configuration
Status
Watchdog
Program 1000
Program 1
Program Tags
Main Routine and Program
Parameters
Fault Routine
Other Routines
Add-On Instruction
Controller (global) Tags I/O Data System-shared Data
Definition
The scheduled programs within a task execute to completion from first to last.
Programs that are not attached to any task show up as unscheduled programs.
Unscheduled programs within a task are downloaded to the controller with the
entire project. The controller verifies unscheduled programs but does not
execute them.
You must schedule a program within a task before the controller can scan the
program. To schedule an unscheduled program, use the Program/
Phase Schedule tab of the Task Properties dialog box.
Each program has a main routine. The main is the first routine to execute when
the controller triggers the associated task and calls the associated program. Use
logic, such as the Jump to Subroutine ( JSR) instruction, to call other routines.
You can also specify an optional program fault routine. The controller executes
this routine if it encounters an instruction-execution fault within any of the
routines in the associated program.
Task 32
Task 1
Configuration
Status
Watchdog
Program 1000
Program 1
Program Tags
and Program
Main Routine
Parameters
Fault Routine
Other Routines
Figure 30 - Routines
Controller Designer Logical Designer
Routine
Routine
Routine Routine
Parameters and Local Tags With a Logix5000 controller, you use a tag (alphanumeric name) to address
data (variables). In Logix5000 controllers, there is no fixed, numeric format.
The tag name identifies the data and lets you do the following:
Organize your data to mirror your machinery.
Document your application as you develop it.
This example shows data tags that are created within the scope of the Main
Program of the controller.
Integer Value
Storage Bit
Counter
Timer
Digital I/O Device
There are several guidelines for how to create and configure parameters and
local tags for optimal task and program execution. For more information, see
the Logix5000 Controllers and I/O Tag Data Programming Manual,
publication 1756-PM004.
Programming Languages The Logix Designer application supports these programming languages.
Add-On Instructions With the Logix Designer application, you can design and configure sets of
commonly used instructions to increase project consistency. Similar to the
built-in instructions that are contained in Logix5000 controllers, these
instructions you create are called Add-On Instructions. Add-On Instructions
reuse common control algorithms. With them, you can do the following:
Ease maintenance by creating logic for one instance.
Apply source protection to help protect intellectual property.
Reduce documentation development time.
You can use Add-On Instructions across multiple projects. You can define your
instructions, obtain them from somebody else, or copy them from another
project.
Instruction Toolbar
Extended Properties The Extended Properties feature lets you define more information, such as
limits, engineering units, or state identifiers for various components within the
controller project.
Use the .@Min and .@Max syntax to define tags that have limits. There is no
indication in the tag browser that limits extended properties are defined for a
tag. If you try to use extended properties that have not been defined for a tag,
the editors show a visual indication and the routine does not verify. Visual
indicators include:
A rung error in Ladder Logic.
A verification error X in Function Block Diagrams.
The error underlined in Structured Text.
You can access limit extended properties that the .@Min and .@Max syntax
defines. However, you cannot write to extended properties values in logic.
Access the Module Object The MODULE object provides status information about a module. To select a
particular module object, set the Object Name operand of the GSV/SSV
from an Add-On Instruction instruction to the module name. The specified module must be present in the
I/O Configuration section of the controller organizer and must have a device
name.
You must create a Module Reference parameter when you define the Add-On
Instruction to access the MODULE object data. A Module Reference
parameter is an InOut parameter of the MODULE data type that points to the
MODULE Object of a hardware module. You can use module reference
parameters in both Add-On Instruction logic and program logic.
For more information on the Module Reference parameter, see the Logix
Designer application online help and the Logix5000 Controllers Add-On
Instructions Programming Manual, publication 1756-PM010.
Monitor Controller Status The CompactLogix 5380 controller uses Get System Value (GSV) and Set
System Value (SSV) instructions to get and set (change) controller data. The
controller stores system data in objects. There is no status file, as in the PLC-5
processor.
The GSV instruction retrieves the specified information and places it in the
destination. The SSV instruction sets the specified attribute with data from the
source. Both instructions are available from the Input/Output tab of the
Instruction toolbar.
Figure 33 - GSV and SSV Instructions for Monitoring and Setting Attributes
When you add a GSV/SSV instruction to the program, the object classes,
object names, and attribute names for the instruction are shown. For the GSV
instruction, you can get values for the available attributes. For the SSV
instruction, only the attributes that you can set are shown.
Some object types appear repeatedly, so you have to specify the object name.
For example, there can be several tasks in your application. Each task has its
own Task object that you access by the task name.
The GSV and SSV instructions monitor and set many objects and attributes.
See the online help for the GSV and SSV instructions.
Monitor I/O Connections If communication with a device in the I/O configuration of the controller does
not occur in an application-specific period, the communication times out and
the controller produces warnings.
For more information on how to determine the time for your application,
search the Rockwell Automation Knowledgebase for answer ID 38535. The
document is available at http://www.rockwellautomation.com/
knowledgebase.
I/O Fault status information scrolls across the 4-character status display
of the controller.
A ! shows over the I/O configuration folder and over the devices that
have timed out.
A module fault code is produced. You can access the fault code via the
following:
The Module Properties dialog box
A GSV instruction
For more information about I/O faults, see the Logix5000 Controllers Major,
Minor, and I/O Faults Programming Manual, publication 1756-PM014.
The GSV instruction gets the status of the I/O status indicator (via the
LEDStatus attribute of the Module object) and stores it in the
IO_LED tag.
IO_LED is a DINT tag that stores the status of the I/O status indicator
or status display on the front of the controller.
If IO_LED equals 2, at least one I/O connection has been lost and the
Fault_Alert is set.
You can use an I/O connection error to cause the Controller Fault Handler to
execute. To do so, set the module property that causes a major fault to result
from an I/O connection error. The major fault causes the execution of the
Controller Fault Handler.
You can configure the application so that a response to a failed I/O module
connection can wait until the next program scan. In this case, put the logic in a
normal routine and use the GSV technique that is described on page 173 to
call the logic.
First, develop a routine in the Controller Fault Handler that can respond to
I/O connection faults. Then, in the Module Properties dialog box of the I/O
module or parent communication module, check Major Fault On Controller If
Connection Fails While in Run Mode.
It takes at least 100 milliseconds to detect an I/O connection loss, even if the
TIP
Controller Fault Handler is used.
For more information about programming the Controller Fault Handler, see
the Logix5000 Major, Minor, and I/O Faults Programming Manual,
publication 1756-PM014.
Logix Designer includes sample projects that you can copy and modify to fit
your application. To access the sample projects, click Sample Project in the
Studio 5000 environment interface as shown and navigate to
Samples > ENU > v29 > Rockwell Automation.
Notes:
Topic Page
Motion Overview 178
Motion Applications 179
Obtain Axis Information 182
Program Motion Control 180
Motion Overview The CompactLogix 5380 controllers support the following Integrated Motion
axes types:
CIP - As many as 32 Position Loop axes are supported
Virtual
Consumed
You can use any combination of CIP, Virtual, and Consumed axes. You can add
all axes to one Motion Group, and you can assign any combination of axes to
different axis update schedules.
Motion Applications The following are general steps to configure a motion application. The
configuration process varies, based on your application and drive selection.
Program Motion Control The controller provides a set of motion control instructions for your axes:
The controller uses these instructions just like the rest of the Logix5000
instructions.
Each motion instruction needs a motion control tag. The tag uses a
MOTION_INSTRUCTION data type and stores the information
status of the instruction.
ATTENTION: Use each motion control tag in only one motion instruction.
Unintended operation can result if you reuse the same motion control tag in
other motion instructions, or if you write to any of the motion control tag
elements.
Example
In this example, a simple ladder diagram that homes, jogs, and moves an axis.
If Initialize_Pushbutton = on and the axis = off (My_Axis_X.ServoActionStatus = off), the MSO instruction turns on the axis.
If Home_Pushbutton = on and the axis hasnt been homed (My_Axis_X.AxisHomedStatus = off), the MAH instruction homes the axis.
If Jog_Pushbutton = on and the axis = on (My_Axis_X.ServoActionStatus = on), the MAJ instruction jogs the axis forward at 8 units/second.
If Jog_Pushbutton = off, the MAS instruction stops the axis at 100 units/.second2. Make sure that Change Decel is Yes. Otherwise, the axis decelerates at
its maximum speed.
If Move_Command = on and the axis = on (My_Axis_X.ServoActionStatus = on), the MAM instruction moves the axis. The axis moves to the position of
10 units at 1 unit/second.
Obtain Axis Information You can obtain axis information via the following methods:
Use a Get System Value (GSV) or Set System Value (SSV) instruction to
read or change the configuration at runtime.
View the QuickView pane to see the state and faults of an axis.
Topic Page
Controller Diagnostics with Logix Designer 183
Controller Diagnostics with RSLinx Software 197
Controller Web Pages 202
Other Potential Issues to Troubleshoot 210
This chapter describes how to troubleshoot the controller if issues occur during
normal operation. In addition to the ways described in this chapter, you can use
messages on the 4-character display to troubleshoot the controller.
Controller Diagnostics with You can use the Controller Properties in Logix Designer to view fault
conditions in the following ways:
Logix Designer
Warning Symbol in the I/O Configuration Tree
Port Diagnostics
IMPORTANT The descriptions in the Logix Designer application can change based
on the controller mode and status.
When the I/O module is not configured to cause a major fault on the
controller and an I/O module fault occurs, the following result:
Controller state displays the current state, for example, Rem Run.
Controller status displays Controller OK and is steady green.
I/O module status displays I/O Not Responding and blinks green.
The Module Properties dialog box for I/O modules includes a series of
categories. You can use some of the categories to troubleshoot the controller.
IMPORTANT The number and type of categories varies by I/O module type.
The following are examples of ways to use categories on the Module Properties
dialog box when you troubleshoot a controller:
The categories described in this section display the module status. When a
fault exists, the text is Status: Faulted in the module status line as shown in
Figure 41.
The Connection category displays the module fault description that includes
an error code that is associated with the specific fault type.
When you click the Module Info category, a dialog box displays the module
fault description and the corresponding fault code. Click OK to access the
Module Info category.
TIP The Module Info tab requires successful communications to help you
troubleshoot the fault effectively. Consider the following:
If communication to the I/O module is OK, but the module is faulted, we
recommend that you use the Module Info category to troubleshoot the
fault.
If communication to the I/O module is faulted, we recommend that you
use the Connection category to troubleshoot the fault.
On the Module Info category, the Status section displays the following about
the I/O module:
Major and Minor Faults
Internal State
You can access the diagnostics for a module from the Module Info category.
Click Diagnostics, to access the Module Diagnostics dialog box.
General and diagnostic module faults are reported in the Tag Editor of your
Logix Designer application project.
You can use the following tabs on the Controller Properties dialog box to
troubleshooting the controller:
Major Faults
Minor Faults
Network
Major Faults
You can monitor information about recent major faults and also clear major
faults on the Major Faults tab.
Minor Faults
You can monitor information about recent minor faults and also clear minor
faults on the Minor Faults tab.
Network
Typically, the Network tab is used to monitor for faults that occur when the
controller is used in a DLR network.
IMPORTANT The Network tab is not available when the controller operates in
Dual-IP mode.
Port Diagnostics
When your project is online, you can view the status of the embedded Ethernet
ports on the controller.
The Port Diagnostics page, displays information for the port. See
Table 20 on page 193 for parameter descriptions.
The Advanced Time Sync dialog displays information that is related to CIP
Sync time synchronization.
IMPORTANT The information appears only if the project is online and Time
Synchronization is enabled on the Date/Time tab. Also, when the controller
operates in Dual-IP mode, the Advanced Time Sync tab shown below
provides data for each port.
The Advanced Time Sync dialog box opens. See Table 21 on page 195
for parameter descriptions.
Controller Diagnostics with You can also view diagnostic information in RSLinx Classic software.
RSLinx Software 1. Use the RSWho button to browse.
2. Navigate to the Ethernet network.
3. Right-click the controller and choose Module Statistics.
General Tab
The General tab shows device information, and any faults on the controller.
The Port Diagnostics tab shows information for the port. See Table 22 on
page 198 for parameter descriptions.
USB Tab
The USB tab provides the following information about the controller
USB port.
Table 26 - Media Counters provide diagnostic information in the USB driver layer.
Counter Name Description
Rx Byte Counter Total number of bytes received.
Rx Dropped Counter Total number of received bytes dropped.
Tx Byte Counter Total number of bytes sent.
Tx Dropped Bytes Total number of transmit bytes dropped.
FIFO Overflow Total number of FIFO (First in First Out) overflows.
Controller Web Pages The controller provides diagnostic web pages that track controller
performance, network performance, and backplane performance.
IMPORTANT The controller web pages are slightly different based on the EtherNet/IP
mode that is used. The web pages look different and provide different
information.
For example, consider the following:
When the controller operates in Linear/DLR mode, the left-side
navigation bar displays a Ethernet Port A1/A2 folder with three tabs.
There is one Ethernet Port web page for both ports, and the controller
web pages provide one set of Ethernet data.
When the controller operates in Dual-IP mode, the left-side navigation
bar displays an Ethernet Port A1 folder and an Ethernet Port A2 folder.
Each folder has three tabs.
There is an Ethernet Port web page for each port, and the controller web
pages provide one set of Ethernet data for port A1 and another set of
Ethernet data for port A2.
The Home web page provides general project and controller information.
Linear/DLR Mode
Dual-IP Mode
On the Tasks web page, the pie chart shows the percentage of the control core's
CPU consumed by the tasks that are on that core. The gauges show the CPU
utilization of the control and communications cores.
The table shows the tasks that are running on the Control core (all system tasks
are summarized as one task).
The Diagnostics web pages use a series of tabs to provide information about
the following:
Module Diagnostics
Application Connections
Bridge Connections
Ring Statistics
The Ethernet Port web pages use a series of tabs to provide information about
the following:
Diagnostic Overview
Network Settings
Ethernet Statistics
Linear/DLR Mode
Dual-IP Mode
IMPORTANT This information is listed separately for, and is unique to, each port
when the controller operates in Dual-IP mode.
Linear/DLR Mode
Dual-IP Mode
The Browse Chassis provides information about the devices in the system. You
can click the link for each catalog number to access more information about
that device.
Other Potential Issues to Your CompactLogix 5380 controller can experience other issues that you can
experience, and need to troubleshoot, in your CompactLogix 5380 system.
Troubleshoot
For more information on when to use a Stratix managed switch to change the
network communication rate from 1 Gbps to 100 Mbps, see page 121.
Status Indicators
Topic Page
4-Character Status Display 212
Controller Status Indicators 221
EtherNet/IP Status Indicators 223
Power Status Indicators 224
Thermal Monitoring and Thermal Fault Behavior 225
4-Character Status Display The CompactLogix 5380 controller 4-character status display scrolls messages
that provide information about the following:
Firmware revision
Energy storage status
Project status
Ethernet port status
Major faults of the controller
Local I/O faults information
Fault Messages
If the controller displays a fault, these messages can be indicated on the status
display.
Table 28 - Fault Messages
Message Interpretation
Major Fault TXX:CXX message A major fault of Type XX and Code XX has been detected.
For example, if the status display indicates Major Fault T04:C42 Invalid
JMP Target, a JMP instruction is programmed to jump to an invalid LBL
instruction.
For details about major recoverable faults, see the Logix5000 Major,
Minor, and I/O Fault Codes Programming Manual, publication
1756-PM014.
I/O Fault Local:X #XXXX message An I/O fault has occurred on a module in the local chassis. The slot
number and fault code are indicated along with a brief description.
For example, I/O Fault Local:3 #0107 Connection Not Found indicates
that a connection to the local I/O module in slot three is not open.
Take corrective action specific to the type of fault indicated.
For details about each I/O fault code, see the Logix5000 Major, Minor,
and I/O Fault Codes Programming Manual, publication 1756-PM014.
I/O Fault ModuleName #XXXX message An I/O fault has occurred on a module in a remote chassis. The name of
the faulted module is indicated with the fault code and brief description
of the fault.
For example, I/O Fault My_Module #0107 Connection Not Found
indicates that a connection to the module named My_Module is not
open.
Take corrective action specific to the type of fault indicated.
For details about each I/O fault code, see the Logix5000 Major, Minor,
and I/O Fault Codes Programming Manual, publication 1756-PM014.
I/O Fault ModuleParent:X #XXXX message An I/O fault has occurred on a module in a remote chassis. The parent
name of the module is indicated because no module name is configured
in the I/O Configuration tree of Logix Designer application. In addition,
the fault code is indicated with a brief description of the fault.
Take corrective action specific to the type of fault indicated.
For details about each I/O fault code, see the Logix5000 Major, Minor,
and I/O Fault Codes Programming Manual, publication 1756-PM014.
X I/O Faults I/O faults are present and X = the number of I/O faults present.
If there are multiple I/O faults, the controller indicates that the first fault
reported. As each I/O fault is resolved, the number of indicated faults
decreases and the I/O Fault message indicates the next reported fault.
Take corrective action specific to the type of fault indicated.
For details about each I/O fault code, see the Logix5000 Major, Minor,
and I/O Fault Codes Programming Manual, publication 1756-PM014.
The Major Fault TXX:CXX message on the controller status display indicates
major faults. Table 29 lists fault types, codes, and the associated messages as
they are shown on the status display.
For detailed descriptions and suggested recovery methods for major faults, see
the Logix5000 Major, Minor, and I/O Fault Codes Programming Manual,
publication 1756-PM014.
Table 29 - Major Fault Status Messages
Type Code Message
1 1 Run Mode Powerup
1 60 Nonrecoverable
1 61 Nonrecoverable Diagnostics Saved on SD Card
3 16 I/O Connection Failure
3 20 Chassis Failure
3 21
3 23 Connection Failure
4 16 Unknown Instruction
4 20 Invalid Array Subscript
4 21 Control Structure LEN or POS < 0
4 31 Invalid JSR Parameter
4 34 Timer Failure
4 42 Invalid JMP Target
4 82 SFC Jump Back Failure
4 83 Value Out of Range
4 84 Stack Overflow
4 89 Invalid Target Step
4 90 Invalid Instruction
4 91 Invalid Context
4 92 Invalid Action
4 990 User-defined
4 991
4 992
4 993
4 994
4 995
4 996
4 997
4 998
4 999
The controller indicates I/O faults on the status display in one of these
formats:
I/O Fault Local:X #XXXX message
I/O Fault ModuleName #XXXX message
I/O Fault ModuleParent:X #XXXX message
The first part of the format is used to indicate the location of the module with
a fault. How the location is indicated depends on your I/O configuration and
the properties of the module that are specified in Logix Designer application.
The latter part of the format, #XXXX message, can be used to diagnose the
type of I/O fault and potential corrective actions. For details about each I/O
fault code, see the Logix5000 Major, Minor, and I/O Fault Codes
Programming Manual, publication 1756-PM014.
Table 30 - I/O Fault Messages
Code Message
#0001 Connection Failure
#0002 Insufficient Resource
#0003 Invalid Value
#0004 IOI Syntax
#0005 Destination Unknown
#0006 Partial Data Transferred
#0007 Connection Lost
#0008 Service Unsupported
#0009 Invalid Attribute Value
#000A Attribute List Error
#000B State Already Exists
#000C Object Mode Conflict
#000D Object Already Exists
#000E Attribute Not Settable
#000F Permission Denied
#0010 Device State Conflict
#0011 Reply Too Large
#0012 Fragment Primitive
#0013 Insufficient Command Data
#0014 Attribute Not Supported
#0015 Data Too Large
#0100 Connection In Use
#0103 Transport Not Supported
#0106 Ownership Conflict
#0107 Connection Not Found
#0108 Invalid Connection Type
Controller Status Indicators The controller status indicators display the state of the controller.
RUN Indicator
To change the controller mode, you can use the mode switch on the front of the
controller or the Controller Status menu in the Logix Designer application.
FORCE Indicator
The Force indicator shows if I/O forces are enabled on the controller.
OK Indicator
SD Indicator
EtherNet/IP Status Indicators The EtherNet/IP indicators show the state of the controller Ethernet ports and
network communication activity.
The LINK A1 and LINK A2 indicators show the state of the EtherNet/IP
links.
Table 36 - LINK A1 and LINK A2 Indicators
State Description
Off The link is down. One or more of these conditions exists:
Ethernet cables are not properly connected at both ends. That is, the cables are not properly
connected the controller Ethernet port and to the connected device.
No link exists on the port. For example, the connected device is not powered.
The port is administratively disabled.
LINK A2 only:
The controller is the active ring supervisor in a DLR network, and the ring is not broken.
This is normal operation.
The controller is the active ring supervisor in a DLR network and has detected a rapid
ring fault.
Flashing green All of these conditions exist:
The port is enabled.
A link exists. That is, the cable is properly connected to an enabled controller Ethernet port
on to another device.
There is activity on the port.
Steady green All of these conditions exist:
The port is enabled.
A link exists. That is, the cable is properly connected to an enabled controller Ethernet port
on to another device.
There is no activity on the port.
Power Status Indicators The power status indicators show the status of module power and sensor/
actuator power, known as MOD Power and SA Power, respectively.
SA Power Indicator
Thermal Monitoring and The CompactLogix 5380 controllers monitor internal module temperatures.
As shown in Figure 49, the controller takes actions as the
Thermal Fault Behavior temperature increases.
IMPORTANT If you follow the recommended limits for ambient (inlet) temperature and apply the required clearances around the system, the
controller is unlikely to reach the initial warning (minor fault) temperature.
For more information on CompactLogix 5380 controller specifications, see CompactLogix 5380 Controller Specifications
Technical Data, publication 5069-TD002.
IMPORTANT The presence of any temperature warning indicates that measures need to be taken to reduce the ambient temperature of
the module.
Instructions for how to use relay ladder logic to check for a minor fault can be found in the Logix5000 Controllers Major, Minor,
and I/O Faults Programming Manual, publication 1756-PM014.
You can use a GSV instruction to read the MinorFaultBits attribute of the FaultLog class name. If the Diagnostics minor fault bit
(Bit 17) is set, a temperature minor fault can be present. Check the Minor Faults tab of the Controller Properties dialog box in
Logix Designer to see if the minor fault is a temperature warning.
Notes:
Security Options
Topic Page
Disable an Ethernet Port 227
Disable the 4-character Status Display 230
Disable the Controller Web Pages 235
Disable an Ethernet Port You can disable the controller Ethernet ports with Logix Designer application,
version 28.00.00 or later.
Ethernet ports return to the default setting after the following occur on
the controller:
Stage 1 reset
Stage 2 reset
New project is downloaded - In this case, the settings in the new project
take effect.
You must reconfigure the settings to disable an Ethernet port after the port
returns to its default settings.
IMPORTANT You cannot add a MSG instruction to your program if the controller
is in Run mode or if the FactoryTalk Security settings deny this
editing option.
IMPORTANT The values listed below are stored to NVS memory in such a way
that the MSG instruction is not required to be executed each time
the controller powers up.
Source Length - 1
4. Before you enable the MSG instruction, make sure that the Source
Element tag value is 2.
Disable the 4-character With the Logix Designer application, version 29.00.00 or later, you can disable
the 4-character status display in the following ways:
Status Display
Disable the 4-character Display Entirely
Ethernet ports return to the default setting after the following occur on
the controller:
Stage 1 reset
Stage 2 reset
New project is downloaded - In this case, the settings in the new project
take effect.
You must reconfigure the settings to disable an Ethernet port after the port
returns to its default settings.
When you disable the 4-character display entirely, the following information is
no longer shown:
Project name
Link status
Port status
IP address
IMPORTANT You cannot add a MSG instruction to your program if the controller
is in Run mode or if the FactoryTalk Security settings deny this
editing option.
Source Length - 1
4. Before you enable the MSG instruction, make sure that the Source
Element tag value is 1.
You can disable a subset of the information that scrolls across the
CompactLogix 5380 controller. You can disable the following subsets:
IMPORTANT You cannot add a MSG instruction to your program if the controller
is in Run mode or if the FactoryTalk Security settings deny this
editing option.
4. Before you enable the MSG instruction, set the bits in the Source
Element tag to the following values, based on what information that you
want to disable:
Project name and link status - Bit 0 of the Source Element = 1
Port status and IP address - Bit 1 of the Source Element = 1
Disable the Controller You can disable the CompactLogix 5380 controller web pages with
Studio 5000 Logix Designer environment, version 28.00.00 or later.
Web Pages
Controller web pages return to the default setting after the following occur on
the controller:
Stage 1 reset
Stage 2 reset
New project is downloaded - In this case, the settings in the new project
take effect.
You must reconfigure the settings to disable the controller web page after it
returns to its default settings.
IMPORTANT You cannot add a MSG instruction to your program if the controller
is in Run mode or if the FactoryTalk Security settings deny this
editing option.
IMPORTANT The Source Element tag in your Logix Designer application project
must match the values shown in the graphic.
If you use values that are different than the ones shown, the
controller web pages are not disabled.
Source Length - 5
To enable the controller web page, the last element in the SINT array
for the Source Element must be 1.
Notes:
L M
memory card 101 - 107
Ladder Logic
load project from card 104 - 107
using 167 other tasks 107
linear network topology 124, 137 store project to card 101 - 104
Linear/DLR mode 32 message
LINK A1 and LINK A2 status indicators 223 about 155
load MOD power indicator 224
from memory card 104 - 107 mode switch 98
local I/O modules change controller operation mode 99
about 129 position 100
add to a Logix Designer application project monitor I/O connections 172
131 - 134 motion
example 130 about 178
instructions 180
obtain axis information 182
program 180
N project
download 94
NET A1 and NET A2 status indicators 223 elements 157
network address go online 92
DNS addressing 74 programs 163
network communication rates routines 165
on an EtherNet/IP network 120 tasks 159
network parameters upload 96
DNS addressing 67 projects
domain name 67 Add-On Instructions 168
gateway 67 parameters 166
host name 67 programming languages 167
IP addresses 67 tags 166
subnet mask 67
nodes on an EtherNet/IP network 117
R
receive messages 155
O remote I/O modules
obtain 1732 ArmorBlock Guard I/O 136
axis information 182 1732D ArmorBlock I/O 136
obtain firmware 81 1734 POINT I/O 136
OK status indicator 222 1746 SLC I/O 136
1756 ControlLogix I/O 136
online 1769 Compact I/O 136
go 92 1794 FLEX I/O 136
optimize EtherNet/IP network performance 5069 Compact I/O 136
120 about 136
overlapping IP address ranges 30 add to a Logix Designer application project
138 - 146
example 136
P reset button 108
stage 1 reset 109
parameters stage 2 reset 111
in project 166 routines 165
path in project 165
set 92 RSLinx Classic software 117
periodic tasks 161 change EtherNet/IP mode 44
Power status indicators 224 configure Dual-IP mode 35
MOD power indicator 224 configure Linear/DLR mode 39
SA power indicator 224 diagnotics 197 - 202
produce data 153 Ethernet devices driver 59 - 60
produce/consume data 153 EtherNet/IP driver 57 - 58
programming languages 167 troubleshoot with Connection Manager tab
200
FBD 167 troubleshoot with General tab 197
Ladder Logic 167 troubleshoot with Port Diagnostics tab 198
SFC 167 troubleshoot with USB tab 201
Structured Text 167 USB driver 61
programs RSWho
in project 163 set communication path 92
scheduled 164 RUN status indicator 221
unscheduled 164
T U
tags unscheduled programs 164
consume 153 update
in project 166 determine frequency 148
produce 153 update controller firmware 80 - 88
tasks update firmware
continuous 161 AutoFlash 87
event 161 upload
in Logix Designer application project 159
periodic 161 project 96
priority 162 USB
Tasks web page communication driver in RSLinx Classic
use to troubleshoot 204 software 61
temperature use GSV instruction to get fault codes 173
limit 225
temperature warning 225
thermal monitoring 225
topologies
available on an EtherNet/IP network 122 -
126
DLR 122
linear 124
star 126
troubleshoot
controller status indicators 184
with Advanced Diagnostics web page 207
with Advanced Time Sync dialog box in Logix
Designer application 194
with Browse Chassis web page 209
with Connection category in Logix Designer
application 187
with Connection Manager tab in RSLinx
Classic software 200
with controller web pages 202 - 209
with Diagnostics web page 205
with Ethernet Port A1/A2 web page 206
with Ethernet Port Diagnostics dialog box in
Logix Designer application 192
with General category in Logix Designer
application 186
with General tab in RSLinx Classic software
197
with Home web page 203
with I/O module properties dialog box in
Logix Designer application 186 -
189
with Module Info category in Logix Designer
application 187
with Port Diagnostics tab in RSLinx Classic
software 198
with Tasks web page 204
with USB tab in RSLinx Classic software 201
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, ArmorBlock, Compact I/O, CompactLogix, ControlFLASH, ControlLogix, FactoryTalk, FLEX I/O, Guard I/O, Integrated Architecture, Kinetix, Logix5000, On-Machine, PanelView, POINT I/O, PowerFlex, Rockwell Automation,
Rockwell Software, RSLinx, RSNetWorx, SLC, Stratix, Stratix 2000, Stratix 5400, Stratix 5410, Stratix 5700, 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 erenky, stanbul, Tel: +90 (216) 5698400