Manualcompaqlogix
Manualcompaqlogix
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.
These labels may also be on or inside the equipment to provide specific precautions.
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).
Identifies information that is useful and can help to make a process easier to do or easier to understand.
Preface
About This Publication. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Download Firmware, AOP, EDS, and Other Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Summary of Changes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Additional Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Chapter 1
CompactLogix 5380 and Minimum Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Compact GuardLogix 5380 CompactLogix 5380 System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
5069-L310ER-NSE No Stored Energy (NSE) Controller. . . . . . . . . . . . . . . . . . . . . . . 15
Systems and Controllers
CompactLogix 5380 Process Controllers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Compact GuardLogix 5380 System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Design the System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Controller Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Features Supported by Compact GuardLogix 5380 Controllers
via the Safety Task . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
CIP Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Secure Controller Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Power the System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Real-time Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Chapter 2
How to Power CompactLogix Two Types of Power. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
5380 Controllers MOD Power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
MOD Power Bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
SA Power. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Track SA Power Bus Current Draw. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Use a 5069-FPD Field Potential Distributorto Create a New SA Power Bus . . . . . 29
SA Power—Additional Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Chapter 3
How to Power Compact Two Types of Power. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
GuardLogix 5380 Controllers MOD Power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
MOD Power Bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
SA Power. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Track SA Power Bus Current Draw. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Use a 5069-FPD Field Potential Distributor to Create a New SA Power Bus . . . . 36
Restrictions When You Connect SA Power to a
Compact GuardLogix 5380 System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
SA Power—Additional Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Chapter 4
Safety Concept of Functional Safety Capability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Compact GuardLogix 5380 Safety Network Number. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Safety Signature. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Controllers
Distinguish Between Standard and Safety Components . . . . . . . . . . . . . . . . . . . . . . . 45
Controller Data-flow Capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Safety Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Chapter 5
Connect to the Controller Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Connection Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Connect an Ethernet Cable. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Connect a USB Cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Set the IP Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Other Methods to Set the IP Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Use a Secure Digital Card to Set the Controller IP Address . . . . . . . . . . . . . . . . . 52
Duplicate IP Address Detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Duplicate IP Address Resolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
DNS Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Update Controller Firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Firmware Upgrade Guidelines for Safety Controllers . . . . . . . . . . . . . . . . . . . . . . 54
Controller Firmware and Logix Designer Application Compatibility. . . . . . . . . . . 55
Determine Required Controller Firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Obtain Controller Firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Use ControlFLASH Plus Software to Update Firmware . . . . . . . . . . . . . . . . . . . . . 56
Use AutoFlash to Update Firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Controllers with Firmware Earlier than Revision 31 . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Chapter 6
Start to Use the Controller Create a Logix Designer Application Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Additional Configuration for a Compact GuardLogix Controller. . . . . . . . . . . . . . . . . . 67
Assign the Safety Network Number (SNN). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Copy and Paste a Safety Controller Safety Network Number. . . . . . . . . . . . . . . . 70
Go Online with the Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Use RSWho . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Use a Recent Communications Path . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Additional Considerations for Going Online with a Controller . . . . . . . . . . . . . . . . . . . 75
Match Project to Controller. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Firmware Revision Matching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Additional Considerations for Going Online with a Compact GuardLogix Controller. . 76
Safety Signature and Safety-locked and -unlocked Status . . . . . . . . . . . . . . . . . 76
Checks for Going Online with a GuardLogix Controller . . . . . . . . . . . . . . . . . . . . . . 77
Download to the Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Use Who Active . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Use the Controller Status Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Additional Considerations for Download to a Compact GuardLogix Controller. . . . . . 79
Upload from the Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Chapter 7
Use the Secure Digital Card Considerations for Storing and Loading a Safety Project . . . . . . . . . . . . . . . . . . . . . . 94
Store to the SD Card. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
Load from the SD Card. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
Controller Power-up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
User-initiated Action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Other Secure Digital Card Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
Chapter 8
EtherNet/IP Network Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
EtherNet/IP Network Functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Nodes on an EtherNet/IP Network. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
Devices Included in the Node Count . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
Devices Excluded from the Node Count . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
EtherNet/IP Network Topologies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
Device Level Ring Network Topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
Linear Network Topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Star Network Topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Integrated Architecture Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
EtherNet/IP Network Communication Rates. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Simple Network Management Protocol (SNMP). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Use a CIP Generic MSG to Enable SNMP on the Controller. . . . . . . . . . . . . . . . . . . . 111
Use a CIP Generic MSG to Disable SNMP on the Controller . . . . . . . . . . . . . . . . . . 113
Socket Interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
TLS Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
HTTP(S) REST API Client Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
Chapter 9
Use EtherNet/IP Modes Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Available Network Levels. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Enterprise-level Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Device-level Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
EtherNet/IP Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
Dual-IP Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
Linear/DLR Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Overlapping IP Address Ranges. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Configure EtherNet/IP Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Chapter 10
Manage Controller Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
Communication Controller Communication Interaction with Control Data . . . . . . . . . . . . . . . . . . . . . . 137
Produce and Consume (Interlock) Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
Requested Packet Interval (RPI) of Multicast Tags . . . . . . . . . . . . . . . . . . . . . . . . 139
Send and Receive Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
Determine Whether to Cache Message Connections . . . . . . . . . . . . . . . . . . . . . . 140
Chapter 11
Standard I/O Modules Local I/O Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Add Local I/O Modules to a Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
Electronic Keying . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Remote I/O Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
Add Remote I/O Modules to a Project. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
Add to the I/O Configuration While Online. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Modules and Devices That Can Be Added While Online. . . . . . . . . . . . . . . . . . . . . 157
Determine When Data Is Updated . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
Input Data Update Flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
Output Data Update Flowchart. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
Chapter 12
Safety I/O Devices Add Safety I/O Devices. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
Configure Safety I/O Devices. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
Using Network Address Translation (NAT) with CIP Safety Devices . . . . . . . . . . . . . . 163
Set the SNN of a Safety I/O Device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
Change a Safety I/O device SNN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
Copy and Paste a Safety I/O Device SNN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
Safety I/O Device Signature. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
Configuration via the Logix Designer Application. . . . . . . . . . . . . . . . . . . . . . . . . 168
Reset Safety I/O Device to Out-of-box Condition . . . . . . . . . . . . . . . . . . . . . . . . . 168
I/O Device Address Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Monitor Safety I/O Device Status. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Replace a Safety I/O Device. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Configuration Ownership . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Chapter 13
Develop Standard Applications Elements of a Control Application. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
Event Task with Compact 5000 I/O Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
Task Priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
Scheduled and Unscheduled Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
Routines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
Parameters and Local Tags. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
Program Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
Programming Languages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
Add-On Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
Extended Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
Access the Module Object from an Add-On Instruction . . . . . . . . . . . . . . . . . . . . . . . . 188
Monitor Controller Status. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
Monitor I/O Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
Determine If I/O Communication Has Timed Out . . . . . . . . . . . . . . . . . . . . . . . . . 190
Determine If I/O Communication to a Specific I/O Module Has Timed Out . . . . . 190
Automatic Handling of I/O Module Connection Faults. . . . . . . . . . . . . . . . . . . . . . 190
Sample Controller Projects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
Chapter 14
Develop Safety Applications Safety Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
Program Safety Applications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
Chapter 15
Develop Secure Applications Controller Security Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
Security Checklists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
Configure User-definable Major Faults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
Create a Fault Routine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
Configure the Program to Use the Fault Routine . . . . . . . . . . . . . . . . . . . . . . . . . 201
Jump to the Fault Routine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
License-based Source and Execution Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
Enable License-based Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
Configure Change Detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
Configure Component Tracking. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
Configure Controller Logging. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
Disable Controller Ethernet Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
Disable the Ethernet Port on the Port Configuration Tab . . . . . . . . . . . . . . . . . . 209
Disable the Ethernet Port with a MSG Instruction . . . . . . . . . . . . . . . . . . . . . . . . . 210
Disable the Controller CIP Security Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
Use the Disable CIP Security Checkbox in FactoryTalk Linx. . . . . . . . . . . . . . . . . 212
Use a CIP Generic MSG Instruction in the Studio 5000 Logix Designer Application . . 213
Disable the Controller USB Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
Chapter 16
Develop Motion Applications Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
Motion Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
Program Motion Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
Obtain Axis Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
Chapter 17
Troubleshoot the Controller Automatic Diagnostics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
Considerations for Communication Loss Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . 233
Controller Diagnostics with Logix Designer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
Warning Symbol in the I/O Configuration Tree . . . . . . . . . . . . . . . . . . . . . . . . . . 234
Categories on I/O Module Properties Dialog . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
Notification in the Tag Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
Fault Information in the Controller Properties Dialog Box . . . . . . . . . . . . . . . . . 238
Port Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
Advanced Time Sync . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
Controller Diagnostics with Linx-based Software . . . . . . . . . . . . . . . . . . . . . . . . . . . 244
Controller Web Pages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
Home Web Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
Tasks Web Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
Diagnostics Web Pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
Ethernet Port Web Pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
Advanced Diagnostics Web Pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250
Browse Chassis Web Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
Other Potential Issues to Troubleshoot. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
Continuous Task Sends Output Data at High Rate . . . . . . . . . . . . . . . . . . . . . . . 252
Immediate Output Instructions Issued at High Rate . . . . . . . . . . . . . . . . . . . . . . 252
Integrated Motion On an EtherNet/IP Network Traffic Priority Status . . . . . . . . 252
Appendix A
Status Indicators Status Display and Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253
General Status Messages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253
Compact GuardLogix Status Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
Fault Messages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
Major Fault Messages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
I/O Fault Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
Controller Status Indicators. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
Appendix B
Change Controller Type Change from a Standard to a Safety Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
Change from a Safety to a Standard Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
Change Safety Controller Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
Appendix C
History of Changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
Notes:
About This Publication This manual provides information on how to design a system, operate a CompactLogix™ or
Compact GuardLogix-based controllers system, and develop applications.
You must be trained and experienced in the creation, operation, and maintenance of safety
systems.
For information on Safety Integrity Level (SIL) and Performance Level (PL) requirements and
safety application requirements, see the GuardLogix 5580 and Compact GuardLogix 5380
Controller Systems Safety Reference Manual, publication 1756-RM012.
Download Firmware, AOP, Download firmware, associated files (such as AOP, EDS, and DTM), and access product release
notes from the Product Compatibility and Download Center at rok.auto/pcdc.
EDS, and Other Files
Summary of Changes This publication contains the following new or updated information. This list includes
substantive updates only and is not intended to reflect all changes.
Topic Page
CompactLogix 5380 controllers support IEC-62443-4-2 SL 1 security requirements throughout
Added the Secure Controller Systems section to Chapter 1 23
Revised the Safety Signature section in Chapter 4 45
Added 1784-SDHC8 and 1784-SDHC32 memory cards 91
Added Chapter 15, Develop Secure Applications 195
Updated Device Level Ring Network Topology section 106
Additional Resources These documents contain additional information concerning related products from Rockwell
Automation. You can view or download publications at rok.auto/literature.
Resource Description
CompactLogix 5380 Controllers Installation
Instructions, publication 5069-IN013 Provides installation instructions for CompactLogix™ 5380 controllers.
Compact GuardLogix 5380 SIL 2 Controllers Provides installation instructions for Compact GuardLogix® 5380 SIL 2 controllers.
Installation Instructions, publication 5069-IN014
Hardware installation
Compact GuardLogix 5380 SIL 3 Controllers Provides installation instructions for Compact GuardLogix 5380 SIL 3 controllers.
Installation Instructions, publication 5069-IN023
Industrial Automation Wiring and Grounding Provides general guidelines for installing a Rockwell Automation industrial system.
Guidelines, publication 1770-4.1
Compact 5000 I/O Modules Specifications Technical Provides specifications for Compact 5000™ I/O EtherNet/IP™ adapters and
Data, publication 5069-TD001 Compact 5000 I/O modules.
Technical Data CompactLogix 5380 and Compact GuardLogix 5380 Provides specifications for CompactLogix 5380 and Compact GuardLogix 5380
Controllers Specifications Technical Data, controllers.
publication 5069-TD002
EtherNet/IP Network Devices User Manual, Describes how to configure and use EtherNet/IP™ devices with a Logix 5000™
Networks publication ENET-UM006 controller and communicate with various devices on the Ethernet network.
Provides requirements for achieving and maintaining Safety Integrity Level (SIL) 2 and
GuardLogix 5580 and Compact GuardLogix 5380
Safety Application Performance Level (PL) d and Safety Integrity Level (SIL) 3 and Performance Level (PL)
Controller Systems Safety Reference Manual,
Requirements e requirements with the GuardLogix 5580 and Compact GuardLogix 5380 controller
publication 1756-RM012 system using the Studio 5000 Logix Designer® application.
Integrated Motion on the EtherNet/IP Network Provides descriptions of the AXIS_CIP_DRIVE attributes and the Logix Designer
Reference Manual, publication MOTION-RM003 application Control Modes and Methods.
Motion
Logix 5000 Controllers Motion Instructions Reference Provides information on how to use Motion instructions.
Manual, publication MOTION-RM002
Resource Description
Logix 5000 Controllers Design Considerations Provides information on how to design and plan Logix 5000 controller systems.
Reference Manual, publication 1756-RM094
Ethernet Design Considerations Reference Manual, Provides additional information on network design for your system.
Design Considerations publication ENET-RM002
Provides guidelines on how to replace the following:
Replacement Guidelines: Logix 5000 Controllers
Reference Manual, publication 1756-RM100 • ControlLogix® 5560/5570 controller with a ControlLogix 5580 controller
• CompactLogix 5370 L3 controllers with a CompactLogix 5380 controller
Logix 5000 Controllers Common Procedures Provides access to the Logix 5000 Controllers set of programming manuals. The
Programming Manual, publication 1756-PM001 manuals cover such topics as how to manage project files, organize tags, program
logic, test routines, handle faults, and more.
Programming Tasks and
Procedures Logix 5000 Controllers General Instructions Provides information on the programming instructions available to use in Logix
Reference Manual, publication 1756-RM003 Designer application projects.
GuardLogix Safety Application Instruction Set Provides information on the GuardLogix Safety application instruction set.
Reference Manual, publication 1756-RM095
Product Certifications website, rok.auto/
Product Certifications certifications. Provides declarations of conformity, certificates, and other certification details.
At the end of its life, this equipment should be collected separately from any
unsorted municipal waste.
CompactLogix 5380 System CompactLogix 5380 control systems are DIN rail-mounted systems that can operate in various
applications.
One of the simplest controller configurations is a standalone controller with I/O assembled in
one chassis, as shown in Figure 1.
Figure 1 - CompactLogix 5380 Controller in a Standalone System
CompactLogix 5380 Controller Compact 5000™ I/O Analog and Digital Modules
The controllers can also operate in more complex systems with devices that are connected to
the controller via an EtherNet/IP™ network, as shown in Figure 2.
WARNING: If your application requires the NSE controller to deplete its residual
stored energy to 400 µJ or less before you transport it into or out of the
application, complete these steps before you remove the controller.
• Turn off power to the chassis. After you turn off power, the controller’s OK
status indicator transitions from Green to Solid Red to OFF.
• Wait at least 40 seconds for the residual stored energy to decrease to
400 µJ or less before you remove the controller. There is no visual indication
of when the 40 seconds has expired. You must track that time period.
IMPORTANT The Real Time Clock (RTC) does not retain its time and date when the
power is off.
Some applications require that the installed controller to deplete its residual stored energy to
specific levels before transporting it into or out of your application. This requirement can
include other devices that also require a wait time before removing them. See the
documentation of those products for more information.
The process controllers come configured with a default process tasking model and dedicated
PlantPAx® process instructions that are optimized for process applications, and that improve
design and deployment efforts.
The process controllers are conformal coated to add a layer of protection when exposed to
harsh, corrosive environments.
Compact GuardLogix 5380 Compact GuardLogix 5380 SIL 2 and SIL 3 controllers are programmable automation
controllers with integrated safety.
System
For SIL 3/PLe safety applications, the Compact GuardLogix 5380 SIL 3 controller system
consists of a primary controller with an internal safety partner, that functions together in a
1oo2 architecture.
Compact GuardLogix 5380 SIL 2 Controller Compact GuardLogix 5380 SIL 3 Controller
For more information on safety ratings, see Safety Concept of Compact GuardLogix 5380
Controllers on page 51.
The Compact GuardLogix system can communicate with safety I/O devices via CIP Safety™
over an EtherNet/IP™ network (Guard I/O™ modules, integrated safety drives, integrated safety
components).
With a Compact GuardLogix controller, you can interface to standard I/O via standard tasks
while you interface with safety I/O via the safety task.
IMPORTANT For the safety task, Compact GuardLogix 5380 controllers support Ladder
Diagram only.
For standard tasks, Compact GuardLogix 5380 controllers support:
• Ladder Diagram (LD)
• Structured Text (ST)
• Function Block Diagram (FBD)
• Sequential Function Chart (SFC)
The controllers can operate in various applications that range from standalone systems that
contain local I/O modules, as shown in Figure 3.
Figure 3 - Compact GuardLogix 5380 Controller in a Standalone System
Compact GuardLogix 5380 Controller Compact 5000 I/O Safety Digital, Standard Analog,
and Standard Digital Modules
The controllers can also operate in more complex systems with devices that are connected to
the controller via an EtherNet/IP network, as shown in Figure 4.
Figure 4 - Compact GuardLogix 5380 Controller on an EtherNet/IP DLR Network
Compact GuardLogix 5380 controllers can communicate with safety devices on a DeviceNet®
network via a 1788-EN2DN linking device, as shown in Figure 5
Figure 5 - Compact GuardLogix 5380 Controller Connected to Devices on a DeviceNet Network
1788 EtherNet-to-DeviceNet
Linking Device
DeviceNet Network
Design the System When you design a system, you must decide what system components your application needs.
Table 1 describes components that are commonly used in CompactLogix 5380 and Compact
Applies to these controllers: GuardLogix 5380 control systems.
CompactLogix 5380
Compact GuardLogix 5380 SIL 2
Compact GuardLogix 5380 SIL 3
Controller Features CompactLogix 5380 and Compact GuardLogix 5380 Controller Features lists features available
on the controllers. The features are described in detail in the rest of this manual.
Table 2 - CompactLogix 5380 and Compact GuardLogix 5380 Controller Features
Feature CompactLogix 5380 Controllers Compact GuardLogix 5380 Controllers
5069-L306ER, 5069-L306ERM 0.6 MB 5069-L306ERS2, 5069-L306ERMS2, 5069-L306ERMS3 0.6 MB
5069-L310ER, 5069-L310ER-NSE, 5069-L310ERS2, 5069-L310ERS2K, 5069-L310ERMS2, 5069-L310ERMS2K,
1 MB 1 MB
5069-L310ERM, 5069-L310ERMK 5069-L310ERMS3, 5069-L310ERMS3K
5069-L320ER, 5069-L320ERM, 5069-L320ERS2, 5069-L320ERS2K, 5069-L320ERMS2, 5069-L320ERMS2K,
2 MB 2 MB
5069-L320ERP 5069-L320ERMS3, 5069-L320ERMS3K
5069-L330ERS2, 5069-L330ERS2K, 5069-L330ERMS2, 5069-L330ERMS2K,
5069-L330ER, 5069-L330ERM 3 MB 3 MB
User memory 5069-L330ERMS3, 5069-L330ERMS3K
5069-L340ER, 5069-L340ERM, 4 MB 5069-L340ERS2, 5069-L340ERMS2, 5069-L340ERMS3 4 MB
5069-L340ERP
5069-L350ERS2, 5069-L350ERS2K, 5069-L350ERMS2, 5069-L350ERMS2K,
5069-L350ERM 5 MB 5 MB
5069-L350ERMS3, 5069-L350ERMS3K
5069-L380ERM 8 MB 5069-L380ERS2, 5069-L380ERMS2, 5069-L380ERMS3 8 MB
5069-L3100ERM 10 MB 5069-L3100ERS2, 5069-L3100ERMS2, 5069-L3100ERMS3 10 MB
— 5069-L306ERS2, 5069-L306ERMS2, 5069-L306ERMS3 0.3 MB
— 5069-L310ER, 5069-L310ER-NSE, 5069-L310ERM, 5069-L310ERMK 0.5 MB
5069-L320ERS2, 5069-L320ERS2K, 5069-L320ERMS2, 5069-L320ERMS2K,
— 1 MB
5069-L320ERMS3, 5069-L320ERMS3K
5069-L330ERS2, 5069-L330ERS2K, 5069-L330ERMS2, 5069-L330ERMS2K,
— 1.5 MB
Safety memory 5069-L330ERMS3, 5069-L330ERMS3K
— 5069-L340ERS2, 5069-L340ERMS2, 5069-L340ERMS3 2 MB
5069-L350ERS2, 5069-L350ERS2K, 5069-L350ERMS2, 5069-L350ERMS2K,
— 2.5 MB
5069-L350ERMS3, 5069-L350ERMS3K
— 5069-L380ERS2, 5069-L380ERMS2, 5069-L380ERMS3 4 MB
— 5069-L3100ERS2, 5069-L3100ERMS2, 5069-L3100ERMS3 5 MB
32 tasks
32 tasks 31 standard tasks
Controller tasks 1000 programs/task 1 safety task
Event tasks; all event triggers 1000 programs/task
Event tasks; all event triggers
1 - USB port, 2.0 full-speed, Type B
Communication ports 2 - Embedded Ethernet ports, 10 Mbps, 100 Mbps, 1 Gbps
CIP Security™ See CIP Security on page 23.
Device Level Ring (DLR)
EtherNet/IP network Star
topologies supported Linear
Table 2 - CompactLogix 5380 and Compact GuardLogix 5380 Controller Features (Continued)
Feature CompactLogix 5380 Controllers Compact GuardLogix 5380 Controllers
Linear/DLR mode
EtherNet/IP modes Dual-IP mode - Available with the Logix Designer application, version 29 or later.
5069-L306ER, 5069-L306ERM 16 nodes 5069-L306ERS2, 5069-L306ERMS2, 5069-L306ERMS3 16 nodes
5069-L310ER, 5069-L310ER-NSE, 5069-L310ERS2, 5069-L310ERS2K, 5069-L310ERMS2,
24 nodes 5069-L310ERMS2K, 5069-L310ERMS3, 5069-L310ERMS3K 24 nodes
5069-L310ERM, 5069-L310ERMK
5069-L320ER, 5069-L320ERM, 40 nodes 5069-L320ERS2, 5069-L320ERS2K, 5069-L320ERMS2, 5069-L320ERMS2K 40 nodes
5069-L320ERP 5069-L320ERMS3, 5069-L320ERMS3K
5069-L330ERS2, 5069-L330ERS2K, 5069-L330ERMS2, 5069-L330ERMS2K,
EtherNet/IP nodes 5069-L330ER, 5069-L330ERM 60 nodes 5069-L330ERMS3, 60 nodes
(1)
5069-L330ERMS3K
supported, max
5069-L340ER, 5069-L340ERM, 90 nodes 5069-L340ERS2, 5069-L340ERMS2, 5069-L340ERMS3 90 nodes
5069-L340ERP
120 nodes 5069-L350ERS2, 5069-L350ERS2K, 5069-L350ERMS2, 5069-L350ERMS2K,
5069-L350ERM 120 nodes
5069-L350ERMS3, 5069-L350ERMS3K
5069-L380ERM 150 nodes 5069-L380ERS2, 5069-L380ERMS2, 5069-L380ERMS3 150 nodes
5069-L3100ERM 180 nodes 5069-L3100ERS2, 5069-L3100ERMS2, 5069-L3100ERMS3 180 nodes
5069-L306ERM 2 axes 5069-L306ERMS2, 5069-L306ERMS3 2 axes
5069-L310ERM, 5069-L310ERMK 4 axes 5069-L310ERMS2, 5069-L310ERMS2K, 5069-L310ERMS3, 5069-L310ERMS3K 4 axes
Integrated motion axes 5069-L320ERM, 5069-L320ERP 5069-L320ERMS2, 5069-L320ERMS2K, 5069-L320ERMS3, 5069-L320ERMS3K 8 axes
8 axes
supported
Only controllers with an 5069-L330ERM 16 axes 5069-L330ERMS2, 5069-L330ERMS2K, 5069-L330ERMS3, 5069-L330ERMS3K 16 axes
‘M’ or ‘P’ in the catalog
number support 5069-L340ERM, 5069-L340ERP 20 axes 5069-L340ERMS2, 5069-L340ERMS3 20 axes
motion. 5069-L350ERM 24 axes 5069-L350ERMS2, 5069-L350ERMS2K, 5069-L350ERMS3, 5069-L350ERMS3K 24 axes
5069-L380ERM 28 axes 5069-L380ERMS2, 5069-L380ERMS3 28 axes
5069-L3100ERM 32 axes 5069-L3100ERMS2, 5069-L3100ERMS3 32 axes
5069-L306ER, 5069-L306ERM, 5069-L306ERS2, 5069-L306ERMS2, 5069-L306ERMS3, 5069-L310ERS2,
5069-L310ER, 5069-L310ER-NSE, 8 modules 5069-L310ERS2K, 5069-L310ERMS2, 5069-L310ERMS2K, 5069-L310ERMS3, 8 modules
5069-L310ERM, 5069-L310ERMK 5069-L310ERMS3K
5069-L320ER, 5069-L320ERM, 16 modules 5069-L320ERS2, 5069-L320ERS2K, 5069-L320ERMS2, 5069-L320ERMS2K, 16 modules
5069-L320ERP 5069-L320ERMS3, 5069-L320ERMS3K
Local I/O modules, max 5069-L330ERS2, 5069-L330ERS2K, 5069-L330ERMS2, 5069-L330ERMS2K,
5069-L330ER(2), 5069-L330ERM(2), 5069-L330ERMS3, 5069-L330ERMS3K, 5069-L340ERS2, 5069-L340ERMS2,
31 modules 5069-L340ERMS3,
5069-L340ER, 5069-L340ERM, 5069-L350ERS2, 5069-L350ERS2K,5069-L350ERMS2, 31
5069-L340ERP, 5069-L350ERM, 5069-L350ERMS2K, 5069-L350ERMS3, 5069-L350ERMS3K, 5069-L380ERS2, modules
5069-L380ERM, 5069-L3100ERM 5069-L380ERMS2, 5069-L380ERMS3, 5069-L3100ERS2, 5069-L3100ERMS2,
5069-L3100ERMS3
• For the safety task, Compact GuardLogix controllers support Ladder Diagram only.
• Ladder Diagram (LD) • For standard tasks, Compact GuardLogix controllers support:
Programming • Structured Text (ST) – Ladder Diagram (LD)
languages • Function Block Diagram (FBD) – Structured Text (ST)
• Sequential Function Chart (SFC) – Function Block Diagram (FBD)
– Sequential Function Chart (SFC)
• Data access control
• Data access control
• Firmware Supervisor
Supported controller • Firmware Supervisor
• Secure Digital (SD) card
Features • Secure Digital (SD) card
• Standard Connections
• Standard Connections
• Safety Connections
(1) A node is an EtherNet/IP device that you add directly to the I/O configuration, and counts toward the node limits of the controller. For more information on EtherNet/IP nodes, see page 104.
(2) When you use this controller with the Logix Designer application, version 29, the application limits the number of local I/O modules in the project to 16. For more information, see
Knowledgebase Article 5380 CompactLogix controllers limited to 16 local Compact 5000 I/O modules in V29 of Studio 5000.®
With the Logix Designer application, version 30 or later, the controller supports as many as 31 local I/O modules.
IMPORTANT When you use a CompactLogix 5380 or Compact GuardLogix 5380 controller, you do not need to configure a System
Overhead Time Slice value.
In the Logix Designer application, the Safety task supports a subset of features that are
supported in the standard task as listed in this table.
Studio 5000 Logix Designer Application,
Feature Version 31 or Later(1)
Safety Task Standard Task
Add-On Instructions X X
Instruction-based alarms and events — X
Tag-based alarms — X
Controller logging X X
Event tasks(2) — X
Function Block Diagrams (FBD) — X
Integrated motion X(3) X
Drive Safety Instructions X —
Ladder Diagram (LD) X X
Language switching X X
License-based source protection — X
Import program components — X
Export program components X X
Sequential Function Chart (SFC) routines — X
Structured Text (ST) — X
(1) Compact GuardLogix 5380 SIL 2 controllers are compatible with Studio 5000 Logix Designer Application, version 31 or later.
Compact GuardLogix 5380 SIL 3 controllers are compatible with Studio 5000 Logix Designer Application, Version 32 or later
(2) While the safety task cannot be an Event task, standard Event tasks can be triggered with the use of the Event instruction in
the safety task.
(3) Limited to the use of Drive Safety Instructions with Kinetix 5700 ERS4 drives.
CIP Security CIP Security is a standard, open-source communication mechanism that helps to provide a
secure data transport across an EtherNet/IP network. CIP Security lets CIP™-connected
Applies to these controllers: devices authenticate each other before transmitting and receiving data.
CompactLogix 5380
Compact GuardLogix 5380 SIL 2 CIP Security uses the following security properties to help devices protect themselves from
Compact GuardLogix 5380 SIL 3 malicious communication:
• Device Identity and Authentication
• Data Integrity and Authentication
• Data Confidentiality
For more information on CIP Security, for example, a list of CIP Security-capable products and
publications that describe how to use the products, including limitations and
considerations.see the following:
• The website is available at: https://www.rockwellautomation.com/en-us/capabilities/
industrial-security/security-products/cip-security.html.
• CIP Security with Rockwell Automation Products Application Technique, publication
SECURE-AT001.
Secure Controller Systems The CompactLogix 5380 controller, firmware revision 32, supports IEC-62443-4-2 SL 1
requirements. For security features and system requirements, see Develop Secure
Applications on page 195.
Power the System The controller provides power to the system as follows:
Applies to these controllers:
• MOD Power—System-side power that powers the system and lets modules transfer data
and execute logic.
CompactLogix 5380
Compact GuardLogix 5380 SIL 2
System-side power is provided through the MOD Power RTB.
Compact GuardLogix 5380 SIL 3 • SA Power—Field-side power that powers some Compact 5000 I/O modules and field-side
devices that are connected to them.
Field-side power is provided through the SA Power RTB.
There are specific considerations and restrictions that you must be aware of before you
connect MOD power and SA power to a CompactLogix 5380 system or to a Compact GuardLogix
5380 system.
For more information on how to connect MOD power and SA power to the different systems,
see the following:
• How to Power CompactLogix 5380 Controllers—Chapter 2 on page 25
• How to Power Compact GuardLogix 5380 Controllers—Chapter 3 on page 31
Real-time Clock CompactLogix 5380 controllers can retain the date and time of the real-time clock (RTC) for a
number of days, depending on the temperature of the controller.
Applies to these controllers:
CompactLogix 5380 Table 3 - RTC- Hold-up Time Duration
Compact GuardLogix 5380 SIL 2 Ambient Temperature Hold-up Time (Typical)
Compact GuardLogix 5380 SIL 3 40 °C (104 °F) 7 days
60 °C (140 °F) 5 days
Notes:
For information on how to power Compact GuardLogix® 5380 controllers, see Chapter 3, How
to Power Compact GuardLogix 5380 Controllers on page 31.
Two Types of Power The CompactLogix 5380 controllers provide power to the system as follows:
Applies to these controllers:
• MOD Power—System-side power that powers the system and lets modules transfer data
and execute logic.
CompactLogix 5380
System-side power is provided through the MOD Power RTB.
• SA Power—Field-side power that powers some Compact 5000™ I/O modules and field-
side devices that are connected to them.
Field-side power is provided through the SA Power RTB.
Connect external power supplies to the RTBs to provide MOD power and SA power. Figure 6
shows the RTBs on a CompactLogix 5380 controller.
Figure 6 - MOD Power and SA Power RTBs on a CompactLogix 5380 Controller
SA Power Connection
Power begins at the controller and passes across the Compact 5000 I/O module internal
circuitry via power buses.
MOD power passes across a MOD power bus, and SA power passes across a SA power bus. The
MOD power bus and SA power bus are isolated from each other.
IMPORTANT We recommend that you use separate external power supplies for MOD
power and SA power, respectively. This practice can help prevent
unintended consequences that can result if you use one supply.
If you use separate external power supplies, the loss of power from one
external power supply does not affect the availability of power from the
other supply. For example, if separate MOD and SA external power supplies
are used and SA power is lost, MOD power remains available for the
CompactLogix 5380 controller and Compact 5000 I/O modules. As such,
data transfer continues in the system.
For more information on how to connect MOD power and SA power, see the CompactLogix 5380
Controllers Installation Instructions, publication 5069-IN013
MOD Power MOD power is a DC power source that is required to operate a CompactLogix 5380 system.
Applies to these controllers:
IMPORTANT You can only use DC power on the MOD power bus. Do not connect AC power
CompactLogix 5380 to the MOD power bus.
When external power is disconnected, the 5380 controller stores enough power
to save the project to the on-board NVS memory.
Remember the following:
• Every module in the CompactLogix 5380 system draws current from the MOD power bus
and passes the remaining current to the next module.
• MOD power lets Compact 5000 I/O modules transfer data and the controller
execute logic.
• A CompactLogix 5380 system uses only one MOD power bus.
• The total continuous current draw across the MOD power bus must not be more than 10
A, max, at 18...32V DC.
• We recommend that you use an external power supply that is adequately sized for the
total MOD power bus current draw in the system.
You must consider inrush current requirements when you calculate the total MOD
power bus current draw in the system.
Figure 7 - External Power Supply Provides MOD Power
24V DC +
Power
Supply –
SA Power SA power provides power to devices that are connected to some of the Compact 5000 I/O
modules in the CompactLogix 5380 system. SA power is connected to the controller via an SA
Applies to these controllers: power RTB.
CompactLogix 5380
Remember the following:
• Some Compact 5000 I/O modules draw current from the SA power bus and pass the
remaining current to the next module.
• Some Compact 5000 I/O modules only pass current along the SA power bus to the next
module.
• A CompactLogix 5380 system can have multiple SA power buses. The first SA power bus
starts at the controller and passes across the I/O modules that are installed to the right
of the controller.
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 more information on how to use a 5069-FPD field potential distributor in a
CompactLogix 5380 system, see page 29.
• If the SA power source uses DC voltage, the total continuous current draw across the SA
power bus must not be more than to 10 A, max at 18…32V DC.
• We recommend that you use an external power supply that is adequately sized for the
total SA power bus current draw on an individual bus.
You must consider inrush current requirements when you calculate the total SA power
bus current draw in the system.
• Connections to an SA power bus use a shared common. All inputs that draw current
from an SA power bus to power field-side devices have a return through circuitry to the
SA - terminal on the SA power connector.
IMPORTANT Each SA power bus has a shared common unique to that bus
because SA power buses are completely isolated from each other.
The SA power bus that the CompactLogix 5380 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 modules that draw
current from it.
AC or DC +
Power
Supply –
IMPORTANT The level of current that the CompactLogix 5380 controller draws
from the SA power bus is negligible. It draws 10 mA (DC Power), 25 mA
(AC power).
2. The next module completes one of these tasks.
- If the module uses SA power, the module draws current from the SA power bus and
passes the remaining current through to the next module.
- If the module does not use SA power bus current, the module passes the remaining
current through to the next module.
3. The process continues until all SA power bus current needs are met for the modules on
the SA power bus.
If your system includes AC and DC modules that require SA power, you must use a 5069-FPD
field potential distributor to establish a separate SA power bus and separate the module types
on the isolated SA power buses.
For more information on the current that the Compact 5000 I/O modules draw from the SA
power bus, see the Compact 5000 I/O Modules Specifications Technical Data, publication
5069-TD001.
You must make sure that the Compact 5000 I/O modules that are installed on an SA power bus
do not consume more than 10 A. If so, you must establish another SA power bus.
• System SA power bus current, max, is calculated as each module draws SA power bus
current. The calculation begins with the controller. The controller SA power bus current
draw used for the calculation is 10 mA for DC power
In Figure 9, after the 5069-IB16 module in slot 1 draws SA power bus current, the system
SA power bus current, max, is 210 mA.
After the 5069-IB16 module in slot 2 draws SA power bus current, the system SA power
bus current draw is 410 mA. This process continues until the system SA power bus
current, max, is 7.160 A.
Figure 9 - CompactLogix 5380 System - Calculate SA Power Bus Current Draw
SA Power Bus Current, Max, 10 mA 200 mA 200 mA 150 mA 0 mA 3A 3A 100 mA 100 mA 150 mA 250 mA
Per Module
The field potential distributor blocks the current that passes across the SA power bus to its
left. At that point, the field potential distributor establishes a new SA power bus for modules to
the right. The new SA power bus is isolated from the SA power bus to its left in the system.
You can connect either a 24V DC or 120/240V AC external power supply to a 5069-FPD field
potential distributor in a CompactLogix 5380 system.
Figure 10 shows a CompactLogix 5380 system that uses a 5069-FPD field potential distributor
to create a second SA power bus.
You can install multiple 5069-FPD field potential distributors in the same system, if necessary.
SA Power—Additional Notes
• Other examples of system configurations that use multiple SA power buses include:
- The modules in the system collectively draw more than 10 A of SA power. That is, the
maximum current that one SA power bus can provide.
- The modules in the system must be isolated according to module types, such as
digital I/O and analog I/O modules.
- The modules in the system are isolated according to the type of field-side device to
which they are connected.
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.
• The actual current in CompactLogix 5380 system changes based on the operating
conditions at a given time.
For example, the SA power bus current draw on some modules is different if all
channels power field devices or half of the channels power field devices.
• Some Compact 5000 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.
For example, the 5069-OB16 and 5069-OB16F modules use Local Actuator (LA) terminals
on the module RTB, that is, LA+ and LA– terminals for all module channels.
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.
For information on how to power standard CompactLogix™ 5380 controllers, see Chapter 2,
How to Power CompactLogix 5380 Controllers on page 25.
Two Types of Power The Compact GuardLogix 5380 controllers provide power to the system as follows:
Applies to these controllers:
• MOD Power - System-side power that powers the system and lets modules transfer data
and execute logic.
Compact GuardLogix 5380 SIL 2
Compact GuardLogix 5380 SIL 3
System-side power is provided through the MOD Power RTB.
• SA Power - Field-side power that powers some Compact 5000™ I/O modules and field-
side devices that are connected to them.
Field-side power is provided through the SA Power RTB.
IMPORTANT Both the MOD and SA Power must be DC power on the controller side.
DC power for the Compact GuardLogix controllers must come from an
SELV/PELV-rated power source.
If you use an AC voltage for local I/O modules, then you must connect
through a 5069-FPD field potential distributor module. An AC voltage
cannot be terminated on the controller.
Connect external power supplies to the RTBs to provide MOD power and SA power. Figure 11
shows the RTBs on a Compact GuardLogix 5380 controller.
Figure 11 - MOD and SA Power RTBs on Compact GuardLogix 5380 SIL2 and SIL 3 Controllers
SA Power SA Power
Connection Connection
Power begins at the controller and passes across the Compact 5000 I/O module internal
circuitry via power buses.
MOD power passes across a MOD power bus, and SA power passes across a SA power bus. The
MOD power bus and SA power bus are isolated from each other.
IMPORTANT We recommend that you use separate external power supplies for MOD
power and SA power, respectively. This practice can help prevent
unintended consequences that can result if you use one supply.
If you use separate external power supplies, the loss of power from one
external power supply does not affect the availability of power from the
other supply. For example, if separate MOD and SA external power
supplies are used and SA power is lost, MOD power remains available for
the Compact GuardLogix 5380 controller and Compact 5000 I/O
modules. As such, data transfer continues in the system.
For more information on how to connect MOD power and SA power, see these publications:
• Compact GuardLogix 5380 SIL2 Controllers Installation Instructions, publication
5069-IN014.
• Compact GuardLogix 5380 SIL3 Controllers Installation Instructions, publication
5069-IN023.
MOD Power MOD power is a DC power source that is required to operate a Compact GuardLogix 5380
system. Remember the following:
Applies to these controllers:
• You must use SELV or PELV power supplies to provide MOD power to Compact
Compact GuardLogix 5380 SIL 2 GuardLogix 5380 controllers.
Compact GuardLogix 5380 SIL 3
• Every module in the Compact GuardLogix 5380 system draws current from the MOD
power bus and passes the remaining current to the next module.
• MOD power lets Compact 5000 I/O modules transfer data and the controller
execute logic.
• A Compact GuardLogix 5380 system uses only one MOD power bus.
• You must limit the MOD power source to 5 A, max, at 18...32V DC.
• We recommend that you use an external SELV/PELV rated power supply that is
adequately sized for the total MOD power bus current draw in the system. You must
consider current inrush requirements when you calculate the total MOD power bus
current draw in the system.
24V DC
+
SELV/PELV-
listed power –
24V DC
+
SELV/PELV-
listed power –
For more information on the current that the Compact 5000 I/O modules draw from the MOD
power bus, see the Compact 5000 I/O Modules Specifications Technical Data, publication
5069-TD001.
SA Power SA power provides power to devices that are connected to some of the Compact 5000 I/O
modules in the Compact GuardLogix 5380 system. SA power is connected to the controller via
Applies to these controllers: an SA power RTB.
Compact GuardLogix 5380 SIL 2
Compact GuardLogix 5380 SIL 3 Remember the following:
• Some Compact 5000 I/O modules only pass current along the SA power bus to the next
module.
• If the SA power source is an AC power supply, or non-SELV/PELV DC source, then you
must terminate from an FPD before consuming the power on the SA power bus.
• A Compact GuardLogix 5380 system can have multiple SA power buses. The first SA
power bus starts at the controller and passes across the I/O modules that are installed
to the right of the controller.
You can 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 more information on how to use a 5069-FPD field potential distributor in a
CompactLogix 5380 system, see page 36.
• We recommend that you use an external power supply that is adequately sized for the
total SA power bus current draw on an individual bus. You must consider current inrush
requirements when you calculate the total SA power bus current draw on a specific
bus.
• Connections to an SA power bus use a shared common. All inputs that draw current
from an SA power bus to power field-side devices have a return through circuitry to the
SA - terminal on the SA power connector.
IMPORTANT Each SA power bus has a shared common unique to that bus because
SA power buses are completely isolated from each other.
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 modules that draw current from it.
Figure 13 - External Power Supply Provides SA Power
24V DC +
SELV/PELV-listed
power supply –
24V DC +
SELV/PELV-listed
power supply –
IMPORTANT The level of current that the Compact GuardLogix 5380 controller
draws from the SA power bus is negligible. It draws 10 mA.
2. The next module completes one of these tasks.
- If the module uses SA power, the module draws current from the SA power bus and
passes the remaining current through to the next module.
- If the module does not use SA power bus current, the module passes the remaining
current through to the next module.
3. The process continues until all SA power bus current needs are met for the modules on
the SA power bus.
For more information on the current that the Compact 5000 I/O modules draw from the SA
power bus, see the Compact 5000 I/O Modules and EtherNet/IP Adapters Technical Data,
publication 5069-TD001.
Figure 14 - Compact GuardLogix 5380 System - Calculate SA Power Bus Current Draw(1)
IMPORTANT If you use local Compact 5000 I/O relay modules, or an AC voltage for
locl Compact 5000 I/O modules, then you must connect through a
5069-FPD field potential distributor module. An AC voltage cannot be
terminated on the controller.
You can use a 5069-FPD field potential distributor to establish a new SA power bus in a
Compact GuardLogix 5380 system.
The field potential distributor blocks the current that passes across the SA power bus to its
left. At that point, the field potential distributor establishes a new SA power bus for modules to
the right. The new SA power bus is isolated from the SA power bus to its left in the system.
You can connect either a 24V DC or 120/240V AC external power supply to a 5069-FPD field
potential distributor in a Compact GuardLogix 5380 system.
IMPORTANT Some restrictions apply when you connect SA power to a 5069-FPD field
potential distributor. For more information, see page 38.
Figure 15 shows a Compact GuardLogix 5380 system that uses a 5069-FPD field potential
distributor to create a second SA power bus.
(1) Although a Compact GuardLogix 5380 SIL2 controller is shown, this example also applies to Compact GuardLogix 5380 SIL 3
controllers.
You can install multiple 5069-FPD field potential distributors in the same system, if necessary.
(1) Although a Compact GuardLogix 5380 SIL2 controller is shown, this example also applies to Compact GuardLogix 5380 SIL 3
controllers.
SA Power Bus—From
SELV-listed Power Supply
24V DC
+
SELV-listed
Power Supply –
Ground
24V DC +
SELV-listed
MOD Power - from SELV-listed Power Supply
Power Supply –
SA Power—Additional Notes
• Other examples of system configurations that use multiple SA power buses include:
- The modules in the system collectively draw more than 10 A of SA power. That is, the
maximum current that one SA power bus can provide.
- The modules in the system must be isolated according to module types, such as
digital I/O and analog I/O modules.
- The modules in the system are isolated according to the type of field-side device to
which they are connected.
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.
• The actual current in a Compact GuardLogix 5380 system changes based on the
operating conditions at a given time.
For example, the SA power bus current draw on some modules is different if all
channels power field devices or half of the channels power field devices.
• Some Compact 5000 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.
For example, the 5069-OB16, 5069-OB16F, and 5069-OBV8S modules use Local Actuator
(LA) terminals on the module RTB, that is, LA+ and LA– terminals for all
module channels.
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,
5069-OB16F, or 5069-OBV8S module. The 5069-OBV8S module
requires a SELV/PELV-rated power supply.
Notes:
For SIL 2/PLd and SIL 3/PLe safety system requirements, including functional validation test
intervals, system reaction time, and PFD/PFH calculations, see to the GuardLogix 5580 and
Compact GuardLogix 5380 Controller Systems Safety Reference Manual, publication
1756-RM012.
You must read, understand, and fulfill these requirements before you operate a Compact
GuardLogix safety system.
Safety Network Number The safety network number (SNN) uniquely identifies CIP Safety™ subnets within a routable
safety network. The combination of SNN + Node Address uniquely identifies each CIP Safety
Applies to these controllers: port on each device in the routable safety network.
Compact GuardLogix 5380 SIL 2
Compact GuardLogix 5380 SIL 3 The application assigns an SNN to each CIP Safety subnet attached to a
Compact GuardLogix 5380 controller, including the backplane. If there are other Logix Safety
controllers on an attached Ethernet network, assign the same SNN for this network in each
controller application. This allows you to use Logix Designer's automatic assignment of safety
network numbers for devices added to the application.
For an explanation of the Safety Network Number, see the GuardLogix 5580 and
Compact GuardLogix 5380 Controller Systems Safety Reference Manual,
publication 1756-RM012.
To assign SNNs, see Assign the Safety Network Number (SNN) on page 67.
Figure 16 - Safety Network Numbers
Safety Signature The GuardLogix® system uses a safety signature to verify the integrity of a safety application:
Applies to these controllers:
• The safety signature applies to the entire safety portion of the controller project. The
ability to create, record, and verify the safety signature is a mandatory part of the
Compact GuardLogix 5380 SIL 2 safety-application development process. The safety signature must be present to
Compact GuardLogix 5380 SIL 3 operate as a SIL 2/PLd or SIL 3/PLe safety controller. Nothing in the standard
application is included in the safety signature.
• The safety signature is a hierarchy of multiple safety signature elements. For example,
the safety task, programs, and routines are examples of safety signature elements.
Safety signature elements can help you during impact analysis by identifying the
individual changes within a controller project. If your validation plan does not require
revalidation of unchanged elements, your certification effort can be reduced.
All safety signature elements are created at the time that you generate the safety
signature for the project. To view all safety signature elements for a project, you can
run the Safety Signature report.
The safety signature and each of its elements have the following:
• Safety signature ID--A unique 64-character alphanumeric identification number.
• Time stamp—The date and time that the safety signature was generated. For a safety
signature element, the time stamp changes whenever its signature ID changes.
Figure 17 - Safety Signature
For details about the safety signature, safety signature elements, and how to generate the
safety signature and the Safety Signature report, see the GuardLogix 5580 and Compact
GuardLogix 5380 Controller Systems Safety Reference Manual, publication 1756-RM012.
Distinguish Between Slots of a Compact GuardLogix 5380 system chassis that are not used by the safety function
can be populated with other Compact 5000™ I/O modules that are certified to the Low Voltage
Standard and Safety and EMC Directives. See http://www.rockwellautomation.com/rockwellautomation/
Components certification/ce.page to find the CE certificate for the CompactLogix™ Product Family and
determine the modules that are certified.
Applies to these controllers:
Compact GuardLogix 5380 SIL 2 You must create and document a clear, logical, and visible distinction between the safety and
Compact GuardLogix 5380 SIL 3 standard portions of the controller project. As part of this distinction, the Studio 5000 Logix
Designer® application features safety identification icons to identify the safety task, safety
programs, safety routines, and safety components.
In addition, the Logix Designer application displays a safety class attribute whenever safety
task, safety programs, safety routine, safety tag, or safety Add-On Instruction properties are
displayed.
Controller Data-flow This illustration explains the standard and safety data-flow capabilities of the
Compact GuardLogix 5380 controllers.
Capabilities
Figure 18 - Data-flow Capabilities
Applies to these controllers:
Compact GuardLogix 5380 SIL 2
Compact GuardLogix 5380 Controllers
Compact GuardLogix 5380 SIL 3
Standard Safety
Safety Task
Standard Tasks
Safety Programs
Standard Programs
Safety Routines
Standard Routines
No. Description
1 Standard tags and logic behave the same way that they do in a standard CompactLogix 5380 controller.
2 Standard tag data, program- or controller-scoped, can be exchanged with external HMI devices, personal
computers, and other controllers.
Compact GuardLogix 5380 controllers are integrated controllers with the ability to move (map) standard tag
data into safety tags for use within the safety task. This is the only way to get standard tag data in to the
safety task. Safety logic in the safety task cannot read or write the standard tag that is the source in the
tag mapping data transfer; it can only reference the safety tag destination of the mapping. But, it can read
3 and write that safety tag.
Safety Terminology The following table defines terms that are used in this manual.
Abbreviation Full Term Definition
1oo1 One Out of One Identifies the programmable electronic controller architecture. 1oo1 is a single-channel system.
1oo2 One Out of Two Identifies the programmable electronic controller architecture. 1oo2 is a dual-channel system.
CIP Safety Common Industrial Protocol—Safety Certified SIL 3/PLe-rated version of CIP™.
DC Diagnostic Coverage The ratio of the detected failure rate to the total failure rate.
PFD Probability of a dangerous failure on demand The average probability of a dangerous failure on demand.
PFH Probability of dangerous failure per hour The average frequency of a dangerous failure per hour.
PL Performance Level ISO 13849-1 safety rating.
A relative level of risk-reduction that is provided by a safety function, or to specify a target level of risk
SIL Safety Integrity Level reduction.
SIL CL SIL Claim Limit The maximum safety integrity level (SIL) that can be achieved.
SNN Safety Network Number A unique number that identifies a section of a safety network.
Unique Node ID (also called unique node reference) The unique node reference is a combination of a safety network number (SNN) and the node address
UNID of the node.
Notes:
For information on how to configure EtherNet/IP or USB drivers, see the EtherNet/IP Network
Devices User Manual, publication ENET-UM006.
Connection Options Before you can begin using your controller, you must make a connection to the controller.
Make sure that you have already configured the EtherNet/IP or USB communication drivers.
Applies to these controllers: See the EtherNet/IP Network Devices User Manual, publication ENET-UM006.
CompactLogix 5380
Compact GuardLogix 5380 SIL 2 Connection options with the controller include:
Compact GuardLogix 5380 SIL 3 • Ethernet cable to an Ethernet port - The controller Ethernet ports support
communication rates of 10 Mbps, 100 Mbps, and 1 Gbps. See Connect an Ethernet Cable
on page 50.
• USB cable to the USB port - The controller USB port uses a Type B receptacle and is
USB 2.0 compatible. The port runs at 12 Mbps. See Connect a USB Cable on page 50.
If you are connecting a controller directly to an EtherNet/IP network, connect a CAT 5e or CAT
6 Ethernet cable with an RJ45 connector to an Ethernet port on the bottom of the controller.
Port A1
Port A2
For information on how to select the proper cable, see Guidance for Selecting Cables for
EtherNet/IP Networks, publication ENET-WP007-EN-P.
The example graphic shows a CompactLogix 5380 controller. You perform the same task to
connect an Ethernet cable to a Compact GuardLogix 5380 controller.
The USB port is intended only for temporary local programming purposes and
not intended for permanent connection. The USB cable is not to exceed 3.0 m
(9.84 ft) and must not contain hubs.
Set the IP Address When the controller is in the out-of-the-box condition, the following apply regarding IP
addresses:
Applies to these controllers:
• The controller embedded Ethernet ports are configured to obtain an IP address via a
CompactLogix 5380 DHCP server.
Compact GuardLogix 5380 SIL 2
If there is no DHCP server or the DHCP server is not configured to set the IP address, you
Compact GuardLogix 5380 SIL 3 must set the IP address manually.
• 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.
• The controller is configured to use Dual-IP mode. As a result, you must set a unique IP
address for port A1 and port A2.
Requirements
To set the IP address, have the following:
• EtherNet/IP or USB drivers installed on the programming workstation
• MAC ID from the device, which is on the label on the side of the device
• Recommended IP address for the device
For more information on how to use these methods, see EtherNet/IP Network Devices User
Manual, publication ENET-UM006.
IMPORTANT The EtherNet/IP mode in which the controller operates affects the
setting and use of IP addresses on the controller. For example, if the
controller operates in Dual-IP mode, you must set an IP address for
each controller Ethernet port. That is, you must complete the steps that
are described in this section twice–once for each port.
For more information on how the EtherNet/IP modes affect the
controller IP address, see Use EtherNet/IP Modes on page 117.
For more information on how to use an SD card, see Use the Secure Digital Card on page 91.
Duplicate IP Address The controller verifies that its IP address does not match any other network device IP address
when you perform either of these tasks:
Detection
• Connect the controller to a EtherNet/IP network.
Applies to these controllers: • Change the controller IP address.
CompactLogix 5380
Compact GuardLogix 5380 SIL 2 If the controller IP address matches that of another device on the network, the controller
Compact GuardLogix 5380 SIL 3 Ethernet port transitions to Conflict mode. In Conflict mode, these conditions exist:
• Network (NET) status indicator is solid red.
• The 4-character display indicates the conflict.
The display scrolls: <IP_address_of_this_module> Duplicate IP
<Mac_address_of_duplicate_node_detected>
For example: 192.168.1.1 Duplicate IP - 00:00:BC:02:34:B4
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
Applies to these controllers: address sequences under different domains.
CompactLogix 5380
Compact GuardLogix 5380 SIL 2 IMPORTANT Safety Considerations
Compact GuardLogix 5380 SIL 3 • Safety connections are not allowed to use host names (this requires DNS
lookup, which is not allowed for Safety I/O). Safety devices on
EtherNet/IP networks do not present the host name parameter.
Standard devices do present the host name parameter, regardless of
whether the project is safety or standard.
• Compact GuardLogix 5380 controllers can have safety connections or
standard connections. When used in a standard project, GuardLogix
5580 controllers are considered standard devices (the only connections
are standard consumed tags), so the controller presents the host name
parameter.
• When Compact GuardLogix 5380 controllers are used in a safety project,
it is assumed to be a safety device, and the host name parameter is not
presented.
DNS addressing is necessary only if you refer to the controller by host name, such as in path
descriptions in MSG instructions.
Update Controller Firmware You can use these tools to update the controller firmware:
Applies to these controllers:
• ControlFLASH™ or ControlFLASH Plus™ software
CompactLogix 5380 • AutoFlash feature of the Logix Designer application
Compact GuardLogix 5380 SIL 2
Compact GuardLogix 5380 SIL 3
Firmware Upgrade Guidelines for Safety Controllers
For more controller-specific information, see the GuardLogix 5580 and Compact GuardLogix
5380 Safety Reference Manual, publication 1756-RM012.
Example:
1. From the Product Compatibility and Download Center:
a. Review all firmware release notes, starting with the original firmware revision
through the new firmware revision, to identify any changes that impact the safety-
related implementation of the application.
b. Review hardware and firmware compatibility to identify any restrictions between the
original system components and the new system components.
2. Perform a hazard and risk assessment for any changes identified during the impact
analysis and determine what additional testing is necessary.
3. Perform the online and offline edit process described in the safety reference manual
for your controller. You can restrict the 'Test the Application' block to the testing
identified by the hazard and risk assessment.
There are minimum software version requirements for the software applications that you use
in your system.
Compatible builds of software have been tested together to verify they work properly. Versions
of software that are not identified as being compatible with each other have not been tested
together and are not guaranteed to work.
For more information on controller firmware revisions and software application minimum
requirements, go to the Product Compatibility and Download Center (PCDC) at rok.auto/pcdc.
In the PCDC:
• The Download section has the firmware for your controller.
• The Compare section has software compatibility information for software applications
that are used in a CompactLogix 5380 and Compact GuardLogix 5380 control system.
In Logix 5000™ control systems, the controller firmware and the Logix Designer application
must be of the same major revision level. For example, if the controller firmware revision is
31.xxx, you must use the Logix Designer application, version 31.
IMPORTANT The controller must be in Remote Program or Program mode and all
major recoverable faults must be cleared to accept updates.
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.
To update your controller firmware with ControlFLASH Plus software, complete the following
steps.
If your application network cannot access the PCDC during operation, make sure
that you download controller firmware revision to which you want to update the
controller before beginning these steps.
1. Verify that the network connection is made.
2. From the Windows Start Menu, click FLASH Programming Tools > ControlFLASH Plus.
When the software starts, it automatically browses the network to which the
workstation and the controllers are connected.
If the devices on the network have changed since the last time you connected, the
Refresh Firmware dialog box appears and asks if you want to refresh all firmware.
3. Click Next.
4. If the controller appears on the Flash Device tab in the ControlFLASH Plus dialog box,
click the controller and move to step 7.
5. If the controller does not appear on the Flash Devices tab in the ControlFLASH Plus
dialog box, click the browse button.
8. If the Download Center License Agreement dialog box appears, click Accept.
This dialog box only appears if you choose to flash to the latest revision at the PCDC.
9. Click Next.
You can receive an alert to read and understand all warnings before the flash operation
begins.
10. Click Close and read the warnings.
The warning is describes in the Status column.
12. When ControlFLASH Plus indicates that the update was successful, click Close.
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.
1. Verify that the network connection is made and the network driver has been configured
in Linx-based communication software.
2. Start the Logix Designer application, and create a project.
3. In the project, click RSWho.
6. On the Who Active dialog box, select the controller under the communication driver you
.
want to use, and click Update Firmware.
7. On the Choose Firmware Revision dialog, browse to the location of the firmware files
(C:\Program Files (x86)\ControlFlash).
8. Select the firmware revision, and click Update.
9. On the Confirmation dialog, click Yes.
A progress dialog box indicates the progress of the firmware update. The controllers
indicate progress in updates and blocks.
IMPORTANT Let the firmware update complete before you cycle power or
otherwise interrupt the update.
If the ControlFLASH update of the controller is interrupted, the
controllers revert to boot firmware, that is, revision 1.xxx.
When the update is complete, the Update Status dialog box indicates that the update is
complete.
11. Click OK on the Who Active dialog box.
Controllers with Firmware For controllers with firmware revisions earlier than revision 31, you must be aware of the
following before you set the IP address and update the controller firmware:
Earlier than Revision 31
• Controller state before you make changes
Applies to these controllers: • Firmware revision to which you are updating the controller
CompactLogix 5380
• Order in which you set the IP address and update the firmware revision
Controller State Firmware Revision of Task Completion Order
Before Making Description Result of Completing Tasks in Order Indicated
Update/Change
Changes
• The controller EtherNet/IP mode is automatically set to Dual-
IP mode.
1. Change the EtherNet/IP mode • The port A1/A2 IP address, network mask, default gateway
from Dual-IP mode to Linear/ settings are applied to port A2.
• No IP address set DLR mode. • Other port A1/A2 settings, for example, DNS servers and
• Unique MAC addresss are 2. Set IP address on port A1/A2. Domain Name, are lost.
used for port A1 and 3. Install controller firmware. • The port A1/A2 MAC address is applied to port A1, and a
port A2, respectively Revision 29.011 or separate MAC address is applied to Port A2.
• Each port on the later • You must set the IP address configuration
controller is • The controller EtherNet/IP mode remains set to Dual-IP mode
DHCP-enabled after the firmware is installed.
Out-of-box • Firmware revision 1.xxx 1. Install controller firmware. • The controller EtherNet/IP mode is set to Dual-IP mode when
2. Set IP addresses on port A1 it is in the out-of-box state.
and port A2. • 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.
• One MAC address is used IMPORTANT: Only the 2. Install controller firmware. • The controller EtherNet/IP mode is automatically set to
for port A1/A2 5069-L320ER and Linear/DLR mode.
• Port A1/A2 is 5069-L340ERM 1. Install controller firmware.
controllers support • The IP address settings on port A1/A2 remain the same.
DHCP-enabled 2. Set IP address on port A1/A2.
• Firmware revision 1.xxx revision 28.xxx.
• EtherNet/IP mode changes 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.
• IP address set on port A1/
A2 • The port A1/A2 MAC address is applied to port A1. A separate
Revision 29.011 or Update controller firmware MAC address is applied to Port A2.
• Firmware revision 28.xxx later
is installed • 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
Operating firmware revision update.
• Controller operates in
Linear/DLR mode
• IP address set on port A1/ Downgrade to revision Downgrade controller firmware • EtherNet/IP mode remains in Linear/DLR mode
A2 28.xxx • IP address settings remain the same
• Firmware revision 29.011 IMPORTANT: You can
or later is installed perform this
• Controller operates in download only on the
Dual-IP mode 5069-L320ER and • EtherNet/IP mode automatically changes from Dual-IP mode
• IP addresses are set on 5069-L340ERM to Linear/DLR mode
port A1 and port A2 controllers. Downgrade controller firmware
• After the change is made, the port A2 Internet Protocol
• Firmware revision 29.011 configuration is applied to the A1/A2 port.
or later is installed
Notes:
d. Click Next.
5. Click Finish.
Additional Configuration for Compact GuardLogix 5380 controllers require additional configuration after you create the
project. These topics describe how to configure the additional parameters.
a Compact GuardLogix
Controller Topic Page
Assign the Safety Network Number (SNN) 67
Applies to these controllers: Go Online with the Controller 72
Compact GuardLogix 5380 SIL 2
Compact GuardLogix 5380 SIL 3 For a Compact GuardLogix controller, the Logix Designer application creates a safety task and
a safety program. A main Ladder Diagram safety routine that is called MainRoutine is also
created within the safety program.
A red bar under the icon distinguishes safety programs and routines from standard project
components in the Controller Organizer.
For typical users, the automatic assignment of a time-based SNN is sufficient. However,
manual assignment of the SNN is required if the following is true:
• One or more controller ports are on a CIP Safety subnet that already has an established
SNN.
• A safety project is copied to another hardware installation within the same routable CIP
Safety system.
Rockwell Automation recommends changing each SNN to the SNN already established for that
subnet, if one exists. That way, devices created later in the project are automatically assigned
the correct SNN.
For information regarding whether the controller or Ethernet ports are being added to existing
subnets, see the GuardLogix 5580 and Compact GuardLogix 5380 Controller Systems Safety
Reference Manual, publication 1756-RM012.
Each safety network must have a unique safety network number. You must be sure that a
unique SNN is assigned to each CIP Safety network that contains safety devices.
Multiple safety network numbers can be assigned to a CIP Safety subnet or a
ControlBus™ chassis that contains multiple safety devices. However, for
simplicity, we recommend that each CIP Safety subnet has only one unique SNN.
For an explanation on the Safety Network Number, see the GuardLogix 5580 and Compact
GuardLogix 5380 Controller Systems Safety Reference Manual, publication 1756-RM012.
The time-based format sets the SNN value as the date and time when the number was
generated, according to the computer running the configuration software.
Figure 20 - Time-based Format
Manual assignment is useful if you lay out your network and put the SNNs on your network
diagram. It may be easier to read SNNs from a diagram than it is to copy and paste them from
multiple projects.
IMPORTANT If you assign an SNN automatically or manually, make sure that system
expansion does not result in a duplication of SNN and unique node
reference combinations.
A warning appears if your project contains duplicate SNN and unique
node reference combinations. You can still verify the project, but
Rockwell Automation recommends that you resolve the duplicate
combinations.
However, there can be safety devices on the routable safety network
that have the same SNN and node address and are not in the project. In
this case, these safety devices are unknown to the Logix Designer
application, and you will not see a warning.
If two different devices have the same node references, the safety
system cannot detect a packet received by one device that was intended
for the other device.
If there are duplicate unique node references, as the system user, you
are responsible for proving that an unsafe condition cannot result.
6. Click OK.
4. On the Safety Network Number dialog box, either click Copy and then OK.
4. On the Safety Network Number dialog box, click Paste and then click OK.
Go Online with the Controller To go online with the controller, you must first specify a communication path in the Logix
Designer application.
Applies to these controllers:
CompactLogix 5380 For this section, the USB port was chosen as the communication path. Another
Compact GuardLogix 5380 SIL 2 path through the embedded Ethernet ports is also possible.
Compact GuardLogix 5380 SIL 3
Use RSWho
1. Open or create a Logix Designer application project.
2. In the application, click RSWho.
4. If you want to store the path in the project file, click Set Project Path.
If you store the project path in the project, you do not have to choose the path each
time you go online.
5. After you choose the communication path, click Go Online in the Who Active dialog box.
Go Online uses the highlighted node in the Who Active tree, regardless of the setting for Path in
Project. For more information on the Who Active dialog box, see the Logix Designer Online
Help.
See Additional Considerations for Going Online with a Controller on page 75.
2. On the Select Recent Communications Path dialog box, choose the path.
For more information on the Select Recent Communications Path dialog box, see the Logix
Designer Online Help.
Once you have established a communication path, then you can choose Go Online from the
Controller Status menu when you are working in the project.
See Additional Considerations for Going Online with a Controller on page 75.
Additional Considerations The Logix Designer application determines whether you can go online with a target controller
based on whether the offline project is new, or whether changes occurred in the offline
for Going Online with a project.
Controller • If the project is new, you must first download the project to the controller.
Applies to these controllers: • If changes occurred to the project, you are prompted to upload or download.
CompactLogix 5380 • If no changes occurred, you can go online to monitor the execution of the project.
Compact GuardLogix 5380 SIL 2
Compact GuardLogix 5380 SIL 3
For information on uploading a project, downloading a project, and the upload and
download dialog boxes, see the Logix Designer Online Help.
A number of factors affect these processes, including the Match Project to Controller feature
and the Firmware Revision Match feature.
For Compact GuardLogix controllers, additional considerations include the safety status and
faults, the existence of a safety signature, and the safety-lock/-unlock status of the project
and the controller. See Additional Considerations for Going Online with a Compact GuardLogix
Controller on page 76.
If the Match Project to Controller feature is enabled in the offline project, the Logix Designer
application compares the serial number of the controller in the offline project to that of the
connected controller. If they do not match, you must cancel the download/upload, connect to
the correct controller, or confirm that you are connected to the correct controller that updates
the serial number in the project to match the target controller.
Additional Considerations You can upload program logic and go online regardless of safety status. Safety status and
faults only affect the download process.
for Going Online with a
Compact GuardLogix You can view the safety status via the Safety tab on the Controller Properties dialog box.
Controller Safety Signature and Safety-locked and -unlocked Status
Applies to these controllers:
Compact GuardLogix 5380 SIL 2 The existence of a safety signature and the safety-locked or -unlocked status of the controller
Compact GuardLogix 5380 SIL 3 affect both the upload and download processes.
The safety signature and the safety lock status are uploaded with the project. For example, if
the project in the controller was safety-unlocked, the offline project remains safety-unlocked
following the upload, even if it was locked before the upload.
Following an upload, the safety signature in the offline project matches the controller safety
signature.
The safety lock status always uploads with the project, even when there is no safety signature.
The existence of a safety signature, and the controller safety-lock status, determines if a
download can proceed.
Table 5 - Effect of Safety-lock and Safety Signature on Download Operation
Safety-lock Status Safety Signature Status Download Functionality
Safety signature in the offline project The entire application downloads. Safety lock status matches the status in the offline project.
matches the safety signature in the The safety signature does not change.
Controller safety-unlocked controller.
If the controller had a safety signature, it is automatically deleted, and the entire project is
Safety signatures do not match. downloaded. Safety lock status matches the status in the offline project.
If the offline project and the controller are safety-locked, all standard project components are
downloaded.
Safety signatures match. If the offline project is not safety-locked, but the controller is, the download is blocked and you
Controller safety-locked must first unlock the controller to allow the download to proceed.
You must first safety-unlock the controller to allow the download to proceed. If the controller
Safety signatures do not match. had a safety signature, it is automatically deleted, and the entire project is downloaded. Safety
lock status matches the status in the offline project.
When the controller and the Logix Designer application are online, the safety-locked status
and safety signature of the controller match the controller project. The safety-lock status and
safety signature of the offline project are overwritten by the controller. If you do not want the
changes to the offline project to be permanent, do not save the project file following the go
online process.
Download to the Controller 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 two ways:
Applies to these controllers:
• Use Who Active on page 78
CompactLogix 5380
Compact GuardLogix 5380 SIL 2
• Use the Controller Status Menu on page 78
Compact GuardLogix 5380 SIL 3
2. After reading the warnings in the Download dialog box, click Download.
After the download completes, the project name appears on the scrolling status
display.
Additional Considerations For a safety project, the Logix Designer application compares the following information in the
offline project and the controller:
for Download to a Compact
• Controller serial number (if project to controller match is selected)
GuardLogix Controller • Firmware major and minor revisions
Applies to these controllers: • Safety status
Compact GuardLogix 5380 SIL 2 • Safety signature (if one exists)
Compact GuardLogix 5380 SIL 3
• Safety-lock status
After the checks pass, a download confirmation dialog box appears. Click Download.
The Logix Designer application displays status messages in the download dialog, progress
screen, and the Errors window.
If the Software Indicates: Then:
Unable to download to the controller. Mismatch between the offline Connect to the correct controller or verify that this is the correct controller. If it is the correct
project and the controller serial number. Selected controller can be the controller, check the Update project serial number checkbox to allow the download to proceed.
wrong controller. The project serial number is modified to match the controller serial number.
Unable to download to the controller. The major revision of the offline Choose Update Firmware. Choose the required revision and click Update. Click Yes to confirm
project and the controller firmware are not compatible. your selection.
Unable to download to controller. The internal safety partner hardware Replace the Compact GuardLogix SIL 3 controller.
has failed.
Unable to download to the controller. Safety partnership has not been Cancel the download process and attempt a new download to the Compact GuardLogix SIL 3
established. controller.
Unable to download to controller. Incompatible safety signature cannot Cancel the download. To download the project, you must safety-unlock the offline project, delete
the safety signature, and download the project.
be deleted while the project is safety-locked. IMPORTANT: The safety system requires revalidation.
If the firmware minor revision is incompatible, to preserve the safety signature, update the
firmware revision in the controller to exactly match the offline project. Then download the offline
Cannot download in a manner that preserves the safety signature. project.
Controller firmware minor revision is not compatible with safety To proceed with the download despite the safety signature incompatibility, click Download. The
signature in offline project. safety signature is deleted.
IMPORTANT: The safety system requires revalidation.
Choose Unlock. The Safety Unlock for Download dialog box appears. If the Delete Signature
Unable to download to controller. Controller is locked. Controller and checkbox is selected and you choose Unlock, click Yes to confirm the deletion.
offline project safety signatures do not match. IMPORTANT: The safety system requires revalidation.
Downloading safety signature... The safety signature is present in the offline project and is downloading.
Following a successful download, the safety-locked status and safety signature of the
controller match the project that was downloaded.
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:
Applies to these controllers:
• Use Who Active on page 80
CompactLogix 5380
Compact GuardLogix 5380 SIL 2
• Use the Controller Status Menu on page 81
Compact GuardLogix 5380 SIL 3
Use Who Active
You can use the features of the Who Active dialog box to upload from your controller after you
have set the communication path. Complete these steps to upload from the controller.
1. In the Logix Designer application project, click RSWho.
4. On the Connected to Upload dialog box, verify that the project is the one you want to
upload and click Upload.
5. Click Upload.
For more information on the Connected To upload dialog box, see the Logix Designer Online
Help.
Additional Considerations For a safety project, the Logix Designer application compares the following information in the
project and the controller:
for Upload to a Compact
• Controller serial number (if project to controller match is selected)
GuardLogix Controller • Open project to the controller project
Applies to these controllers: • Firmware major and minor revisions
Compact GuardLogix 5380 SIL 2 • Safety signature (if one exists)
Compact GuardLogix 5380 SIL 3
IMPORTANT An upload is allowed regardless of the Safety status and the Safety
Locked state of the offline project and controller. The locked status
follows the state of the uploaded project.
If you choose Upload, the standard and safety applications are uploaded. If a safety signature
exists, it is also uploaded. The safety-lock status of the project reflects the original status of
the online (controller) project.
Before the upload, if an offline safety signature exists, or the offline project is
safety-locked but the controller is safety-unlocked or has no safety signature, the
offline safety signature and safety-locked state are replaced by the online values
(safety-unlocked with no safety signature). If you do not want to make these
changes permanent, do not save the offline project following the upload.
Choose the Controller Use this table as a reference when determining your controller operation mode.
Operation Mode
Applies to these controllers:
CompactLogix 5380
Compact GuardLogix 5380 SIL 2
Compact GuardLogix 5380 SIL 3
Mode Switch
Available Controller Modes In This Mode You Can: In This Mode You Cannot: ATTENTION:
Position(1)
• Turn outputs to the state commanded by • Turn outputs to their configured
Run mode—The controller is actively the logic of the project. state for Program mode
controlling the process/machine. • Execute (scan) tasks • Change the mode of the controller
RUN Projects cannot be edited in the Logix • Send messages via the Logix Designer application Run mode is used only when
all conditions are safe.
Designer application when in Run • Send and receive data in response to a • Download a project
mode. message from another controller • Schedule a ControlNet® network
• Produce and consume tags • While online, edit the project
• Turn outputs to the state commanded by
the logic of the project.
• Execute (scan) tasks You are able to modify a
Remote Run mode—This mode is • Change the mode of the controller via the • Turn outputs to their configured project file online in Remote
identical to Run mode except you can Logix Designer application state for Program mode Run mode.
edit the project online, and change the • While online, edit the project • Download a project Be sure to control outputs
controller mode through the Logix with care to avoid injury to
Designer application. • Send messages • Schedule a ControlNet network personnel and damage to
• Send and receive data in response to a equipment.
message from another controller
• Produce and consume tags
• Turn outputs to their configured state for
Program mode
• Change the mode of the controller via the
Remote Program mode—This mode Logix Designer application • Turn outputs to the state
functions like Program mode, except • Download a project commanded by the logic of the
REM you can change the controller mode • Schedule a ControlNet network project.
through the Logix Designer
application. • While online, edit the project • Execute (scan) tasks
• Send and receive data in response to a
message from another controller Outputs are commanded to
• Produce and consume tags their Program mode state,
• Turn outputs to their configured state for which can cause a dangerous
Remote Test mode—This controller Program mode situation.
mode executes code, but I/O is not • Execute (scan) tasks • Turn outputs to the state
controlled. You can edit the project • Change the mode of the controller via the commanded by the logic of the
online, and change the controller Logix Designer application project.
mode through the Logix Designer • Download a project
• While online, edit the project
application.
Output modules are commanded to • Send messages • Schedule a ControlNet network
their Program mode state (on, off, or • Send and receive data in response to a • Send messages
hold). message from another controller
• Produce and consume tags
Program mode—This controller mode • Turn outputs to their configured state for Do not use Program mode as
does not execute code or control I/O, Program mode • Turn outputs to the state
commanded by the logic of the an emergency stop (E-stop).
but editing operations are available. • Download a project Program mode is not a safety
Output modules are commanded to project.
• Schedule a ControlNet network device.
PROG their Program mode state (On, Off, or • Execute (scan) tasks
• While online, edit the project Outputs are commanded to
Hold). • Change the mode of the controller their Program mode state,
In this position, controller modes • Send and receive data in response to a via the Logix Designer application
message from another controller which can cause a dangerous
cannot be changed through the Logix • Send messages situation.
Designer application. • Produce and consume tags
(1) Moving the mode switch from Run to Remote leaves the controller in the Remote Run mode, while 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, it is only available via the Logix Designer application.
The mode switch can complement other authorization and authentication methods that
similarly control user-access to the controller, such as the FactoryTalk® Security service.
IMPORTANT During runtime, we recommend that you place the controller mode
switch in RUN mode. This can help discourage unauthorized access to
the controller or potential tampering with the program of the controller,
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)
The Controller Status menu in the upper-left corner of the application window lets you specify
these operation modes:
• Remote Program
• Remote Run
• Remote Test
1. From the Controller Status pull-down menu, choose the operation mode.
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.
Change Controller After the project is created, you can change some configuration parameters on the Controller
Properties dialog box while the controller is offline. Examples of configurable parameter that
Configuration you can change offline include the following:
Applies to these controllers: • EtherNet/IP™ Mode on the General tab
CompactLogix 5380 • Enable Time Synchronization on the Date/Time tab
Compact GuardLogix 5380 SIL 2 • Execution Control on the SFC Execution tab
Compact GuardLogix 5380 SIL 3
To change the controller configuration while the project is offline, complete these steps.
1. On the Online toolbar, click the Controller Properties button.
Reset Button You can reset the CompactLogix and Compact GuardLogix controllers with the reset button.
The reset button is only read during a power-up or restart. If you press the reset button at
another time, it has no effect.
For a Compact GuardLogix controller, the Safety Locked status or safety signature does not
prevent you from performing a controller reset. Because the application is cleared from the
controller during a reset, the safety level of the controller is cleared also. When you download a
safety project to the controller, the safety level is set to the level specified in the project.
For a Compact GuardLogix SIL 3 controller, the reset button resets both the primary safety
controller and the safety partner.
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.
Stage 1 Reset
IMPORTANT A stage 1 reset occurs only if the controller contains a user application.
To perform a Stage 1 reset, complete these steps. This process assumes that an SD card is
installed in the controller.
1. Power down the controller.
2. Open the front door on the controller.
3. To press and hold the reset button, use a small tool with a diameter of a paper clip.
4. While holding in the reset button, power up the controller.
5. Continue to hold the reset button while the 4-character display cycles through CLR, 4, 3,
2, 1, Project Cleared.
6. After Project Cleared appears, release the reset button.
IMPORTANT If you release the reset button before Project Cleared scrolls
across the display, the controller continues with powerup and
does not reset.
After a Stage 1 reset is performed, load a Logix Designer application project to the controller in
these ways:
• Download the project from the Logix Designer application - For more information, see
Download to the Controller on page 77
• Cycle power on the controller to load a project from the SD card.
This option works only if the project stored on the SD card is configured to load the
project on powerup.
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.
To perform a Stage 2 reset, complete these steps. This process assumes that an SD card is
installed in the controller.
1. Power down the controller.
2. Open the front door on the controller.
3. Remove the SD card.
4. To press and hold the reset button, use a small tool with a diameter of a paper clip.
5. While holding in the reset button, power up the controller.
6. Continue to hold the reset button while the 4-character display cycles through DFLT, 4,
3, 2, 1, Factory Default
7. After Factory Default appears, release the reset button.
8. On your workstation, delete the files on the SD card.
9. Power down the controller.
10. Reinstall the SD card.
11. Powerup the controller.
12. Verify that the controller is at firmware revision 1.x, and the controller is set to DHCP-
enabled.
After a Stage 2 reset is performed, you must complete these tasks to use the controller again:
• Configure the Ethernet ports, set the desired EtherNet/IP mode, and set the controller IP
address configuration.
For more information, see Set the IP Address on page 51.
• Update the firmware revision—For more information, see Update Controller Firmware
on page 54.
• Download a Logix Designer application project to the controller in one of these ways:
- Download the project from the Logix Designer application - For more information,
see Download to the Controller on page 77.
- Cycle power on the controller to load a project from the SD card.
This option works only if the project stored on the SD card is configured to load the
project on powerup.
Notes:
While other SD cards can be used with the controller, Rockwell Automation has not tested the
use of those cards with the controller and you could experience data corruption or 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.
The memory card that is compatible with your controller is used to load or store the contents
of user memory for the controller. When you use the Store feature, the project that is stored on
the SD card matches the project in the controller memory at that time. Changes that you make
after you store the project are not reflected in the project on the SD card.
If you make changes to the project in the controller memory without storing them, the next
time that you load the project from the SD card to the controller, you overwrite the changes.
IMPORTANT Do not remove the SD card while the controller is reading from, or writing to, the card. If you remove the card during
either activity, the data on the card or controller can become corrupt.
The controller firmware at the time when the card is removed can become corrupted. Leave the card in the controller
until the OK status indicator turns solid green.
If an SD card is installed, its content appears on the Nonvolatile Memory tab of the Controller
Properties dialog box. If a safety application is stored on the card, the safety-lock status and
the safety signature are shown. The project must be online to see the content of the SD card.
SD Card Slot
• If the card is installed and a fault occurs, diagnostic data is automatically written to the
card. Diagnostic data helps the investigation and correction of the fault cause.
• The controller detects the presence of an SD card at power-up or if a card is inserted
during controller operation.
• The SD card can store all configuration data that is stored in nonvolatile memory, for
example, the controller IP address.
• The SD card can store the back-up program.
IMPORTANT Rockwell Automation recommends that you back up your Studio 5000
Logix Designer® program to an SD card regularly.
If a major non-recoverable fault occurs that removes the program from
the controller memory, the backup copy on the SD card can be
automatically restored to the controller and quickly resume normal
controller operation.
For detailed information on how to use nonvolatile memory, refer to the Logix 5000 Controllers
Nonvolatile Memory Programming Manual, publication 1756-PM017.
Considerations for Storing Only Compact GuardLogix 5380 controllers support safety projects. CompactLogix 5380
controllers do not support safety projects.
and Loading a Safety Project
Applies to these controllers: You cannot store a safety project if the safety status is Safety Task Inoperable. When you store
a safety project, the controller firmware is also stored to the SD card.
Compact GuardLogix 5380 SIL 2
Compact GuardLogix 5380 SIL 3 For a Compact GuardLogix 5380 SIL 3 controller, if no application exists in the controller but a
valid safety partnership exists, you can save only the firmware of the internal safety partner.
If a safety signature exists when you store a project, the following occurs:
• Both safety and standard tags are stored with their current values.
• The current safety signature is saved.
When you store a safety application project on an SD card, Rockwell Automation recommends
that you select Program (Remote Only) as the Load mode, that is, the mode that the controller
enters after a project is loaded from the SD card.
IMPORTANT To help prevent the firmware that is stored on the SD card from
overwriting newly updated firmware:
• The update process first checks the load option on the SD card, and
changes the load option to User Initiated if necessary.
• The firmware update proceeds.
• The controller resets.
• The load option remains set to User Initiated.
If the SD card is locked, the load option does not change, and the
firmware that is stored on the SD card can overwrite the newly updated
firmware.
Store to the SD Card We recommend that you back up your Studio 5000 Logix Designer® application to an SD card
regularly.
Applies to these controllers:
CompactLogix 5380 If a major non-recoverable fault occurs that removes the program from the controller memory,
Compact GuardLogix 5380 SIL 2 the backup copy on the SD card can be automatically restored to the controller to quickly
Compact GuardLogix 5380 SIL 3 resume normal controller operation.
IMPORTANT To help prevent the firmware that is stored on the SD card from overwriting newly updated firmware:
• The update process first checks the load option on the SD card, and changes the load option to User Initiated if necessary.
• The firmware update proceeds.
• The controller resets.
• The load option remains set to User Initiated.
If the SD card is locked, the load option does not change, and the firmware that is stored on the SD card can overwrite the
newly updated firmware.
Disables any automatic firmware updates. This item only appears in the menu when you
Disable initially save the image.
Enables automatic firmware updates for I/O devices in the configuration tree of the
Enable and Store Files controller. Saves I/O device firmware and controller firmware to the image.
to Image Only I/O devices that are configured for Exact Match Keying participate in the Automatic
Firmware Update process.(1)
Disables automatic firmware updates for I/O devices in the configuration tree of the
Disable and Delete controller. Removes I/O device firmware from the image, but does not remove controller
Files from Image 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 revision of firmware being updated to.
7. Click Store.
8. Click Yes in the confirmation dialog box that appears.
If you enabled Automatic Firmware Update, a dialog box informs you which modules are
not included in the Automatic Firmware Update operation.
IMPORTANT Do not remove the SD card while the controller is reading from,
or writing to, the card. If you remove the card during either
activity, the data on the card or controller can become corrupt.
Additionally, the controller firmware at the time when the card is
removed can become corrupted. Leave the card in the controller
until the OK status indicator turns solid green.
9. On the Automatic Firmware Update dialog box, click Yes.
The project is saved to the SD card as indicated by the controller status indicators.
These Indications Show the Store Status
While the store is in progress, the following occurs:
• OK indicator is flashing green
• SD indicator is flashing green
• Saving…Do Not Remove SD Card is shown on the status display
• A dialog box in the Logix Designer application indicates that the store is in progress
• Controller Resets
• SAVE is shown on the status display
When the store is complete, the following occurs:
• The controller resets.
IMPORTANT Allow the store to complete without interruption. If you interrupt the
store, data corruption or loss can occur.
Load from the SD Card After you have set the communication path, are online with the controller, and have changed
the controller to Program mode, you can load a project to the controller from the memory card.
Applies to these controllers:
CompactLogix 5380 IMPORTANT With the SD card and brand new, out-of-box controllers:
Compact GuardLogix 5380 SIL 2 • If you insert an SD card with an image into a brand new, out-of-box
Compact GuardLogix 5380 SIL 3 controller (firmware 1.x), then at power-up the controller automatically
updates the firmware up to the version of firmware that is stored on the
SD card. The update happens regardless of the Load Image setting in the
image on the SD card (User Initiated, On Power Up, or On Uninitialized
Memory).
• If the image was created with either On Power Up or On Uninitialized
Memory settings, then the controller both updates the firmware and loads
in the controller application.
You can load from an SD card to a controller in one of these ways:
• Controller Power-up
• User-initiated Action
You can always use the Logix Designer application to load the project.
Controller Power-up
The following table shows what happens at power-up when the SD card in the controller
contains an image.
Controller Is in Out-of-box Condition Firmware > 1.xxx and Internal Nonvolatile Firmware > 1.xxx and Internal Nonvolatile
Image Setting (v1.xxx Firmware) Memory Is Not Valid(1) Memory Is Valid(1)
User Initiated Loads Firmware Only(2) Does Nothing Does Nothing
User-initiated Action
IMPORTANT For an out-of-box controller that uses firmware revision 1.xx, you must
manually update the controller to the required firmware revision before
you can load a project on the controller.
You must complete the following before you can load a project to the controller from the SD
card when the controller is already powered-up:
• Make sure that the controller has a working firmware revision.
• Establish the communication path.
• Go online with the controller.
• Make sure that the controller is in Program mode.
To load a project to the controller from the SD card, complete these steps.
1. From the Controller Status pull-down menu, click Controller Properties.
2. On the Nonvolatile Memory tab, verify that the project that is listed is the correct one.
For information on how to change the project that is available to load from nonvolatile
memory, see the Logix 5000 Controllers Nonvolatile Memory Programming Manual,
publication 1756-PM017.
3. Click Load/Store.
After you click Yes, the project is loaded to the controller as indicated by the controller
status indicators. A dialog box in the Logix Designer application also indicates that the
store is in progress.
Rockwell Automation Publication 5069-UM001K-EN-P - November 2023 99
Chapter 7 Use the Secure Digital Card
IMPORTANT Let the load to complete without interruption. If you interrupt the load,
data corruption or loss can occur.
Other Secure Digital You can perform these tasks with the SD card:
Card Tasks • Change the image that is loaded from the card.
• Check for a load that was completed.
Applies to these controllers:
CompactLogix 5380
• Clear an image from the SD card.
Compact GuardLogix 5380 SIL 2 • Store an empty image.
Compact GuardLogix 5380 SIL 3 • Change load parameters.
• Read/write application data to the card.
• View safety-lock status and safety signatures on the Non-volatile Memory tab—
Compact GuardLogix 5380 controllers only.
For more information to complete any of these tasks, see the Logix 5000 Controllers Memory
Card Programming Manual, publication 1756-PM017.
Notes:
The controllers use socket interface transactions and conventional communication over the
EtherNet/IP network to communicate with Ethernet devices that do not support the EtherNet/
IP application protocol.
EtherNet/IP Network The CompactLogix 5380 and Compact GuardLogix 5380 controllers support the following:
Functionality • Dual built-in EtherNet/IP network ports - Port A1 and port A2
• Support for these EtherNet/IP modes:
Applies to these controllers:
CompactLogix 5380
- Dual-IP mode - Available with the Logix Designer® application, version 29 or later
Compact GuardLogix 5380 SIL 2 - Linear/DLR mode
Compact GuardLogix 5380 SIL 3 • Support for these EtherNet/IP network topologies:
- Device Level Ring (DLR)
- Linear
- Star
• Support for these EtherNet/IP network communication rates:
- 10 Mbps
- 100 Mbps
- 1 Gbps
• Support for only full-duplex operation
For more information about network design, see the Ethernet Design Considerations
Reference Manual, publication ENET-RM002.
Nodes on an EtherNet/IP When you configure your CompactLogix 5380 or Compact GuardLogix 5380 control system, you
must account for the number of EtherNet/IP nodes that you include in the I/O configuration
Network section of your project.
Applies to these controllers:
CompactLogix 5380
Compact GuardLogix 5380 SIL 2
Compact GuardLogix 5380 SIL 3
Table 10 - CompactLogix 5380 and Compact GuardLogix 5380 Controller EtherNet/IP Nodes
Nodes Supported,
CompactLogix 5380 Controllers Compact GuardLogix 5380 Controllers
Max(1)
5069-L306ER, 5069-L306ERM 5069-L306ERS2, 5069-L306ERMS2, 5069-L306ERMS3 16
5069-L310ER, 5069-L310ER-NSE, 5069-L310ERM, 5069-L310ERS2, 5069-L310ERS2K, 5069-L310ERMS2, 5069-L310ERMS2K, 24
5069-L310ERMK 5069-L310ERMS3, 5069-L310ERMS3K
L320ERS2, 5069-L320ERS2K, 5069-L320ERMS2, 5069-L320ERMS2K,
5069-L320ER, 5069-L320ERM, 5069-L320ERP 40
5069-L320ERMS3, 5069-L320ERMS3K
5069-L330ERS2, 5069-L330ERS2K, 5069-L330ERMS2, 5069-L330ERMS2K,
5069-L330ER, 5069-L330ERM 60
5069-L330ERMS3, 5069-L330ERMS3K
5069-L340ER, 5069-L340ERM, 5069-L340ERP 5069-L340ERS2, 5069-L340ERMS2, 5069-L340ERMS3 90
5069-L350ERS2, 5069-L350ERS2K, 5069-L350ERMS2, 5069-L350ERMS2K
5069-L350ERM 120
5069-L350ERMS3, 5069-L350ERMS3K
5069-L380ERM 5069-L380ERS2, 5069-L380ERMS2, 5069-L380ERMS3 150
5069-L3100ERM 5069-L3100ERS2, 5069-L3100ERMS2, 5069-L3100ERMS3 180
(1) With controller firmware revision 31 or later. Earlier firmware revisions can have lower node counts.
The following devices are not added to the I/O configuration section and are not counted
among the number of nodes:
• Computer
• HMIs that are not added to the I/O configuration section
• Devices that are the target of MSG Instructions but were not added to the I/O
configuration section
• Standard Ethernet devices with which the controller communicates via a socket
interface
Node
Node
Node
Node
The Capacity tab in the Controller Properties dialog box displays the number of Ethernet nodes
that are used in a project. The following graphic represents the project in Figure 24.
Figure 25 - Capacity Tab
EtherNet/IP Network CompactLogix 5380 and Compact GuardLogix 5380 controllers support these EtherNet/IP
network types:
Topologies
• Device Level Ring Network Topology
Applies to these controllers: • Linear Network Topology
CompactLogix 5380
• Star Network Topology
Compact GuardLogix 5380 SIL 2
Compact GuardLogix 5380 SIL 3 Some examples in this section use a CompactLogix 5380 controller and other examples use
Compact GuardLogix 5380 controllers. This is for example purposes only. Either controller type
can be used in each example.
Depending on their firmware capabilities, both devices and switches can operate as
supervisors or ring nodes on a DLR network. Only some devices, such as switches, can operate
as redundant gateways.
For more information about DLR, see the EtherNet/IP Device Level Ring Application Technique,
publication ENET-AT007.
PanelView™ Plus 7
Terminal
1734-AENTR Adapter
Kinetix® 5500 Drives
1734 POINT I/O™ Modules
Workstation
For more information on how to design a DLR network, see the EtherNet/IP Embedded Switch
Technology Application Guide, publication ENET-AP005
If the controller operates in Dual-IP mode, the Ethernet ports have unique IP configurations
and must be connected to different subnets.
For more information on how to configure a controller that uses Dual-IP mode, see Use
EtherNet/IP Modes on page 117.
EtherNet/IP Network The CompactLogix 5380 and Compact GuardLogix 5380 controllers support these EtherNet/IP
network communication rates:
Communication Rates
• 10 Mbps
Applies to these controllers: • 100 Mbps
CompactLogix 5380
• 1 Gbps
Compact GuardLogix 5380 SIL 2
Compact GuardLogix 5380 SIL 3 Network performance in a CompactLogix 5380 system is optimal if the 1 Gbps network
communication rate is used. However, many Ethernet devices do not support the 1 Gbps
network communication rate. Instead, they support a maximum rate of 100 Mbps.
The difference in maximum network communication rates impacts your CompactLogix 5380
system and, in some applications, restricts you from using the 1 Gbps network communication
rate on a controller.
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 Compact
5000 I/O modules and a gigabit-capable switch.
When you use the 1 Gbps network communication rate, configure the controller ports to
use Auto-Negotiate.
CompactLogix 5380 Controller
Compact 5000 I/O Modules
1 Gbps
1 Gbps
1 Gbps
• 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.
The port to which the controller is connected must be configured for Auto-Negotiate and the 1
Gbps network communication rate.
100 Mbps
PanelView Plus 7 Terminal 1 Gbps
100 Mbps
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.
All network communication on this 1794-AENTR Adapter
network uses the 100 Mbps rate. 1794 FLEX™ I/O Modules
Compact 5000 I/O EtherNet/IP Adapter
Compact 5000 I/O Modules
Workstation
PanelView Plus 7 Terminal
Simple Network SNMP enables the controller to be remotely managed through other network management
software. SNMP defines the method of communication among the devices and also denotes a
Management Protocol manager for the monitoring and supervision of the devices. SNMP is disabled on the controller
(SNMP) by default.
For more information about SNMP, see the Ethernet Reference Manual, publication
ENET-RM002.
IMPORTANT You cannot add a MSG instruction to your program if the controller mode
switch is in RUN mode, or if the FactoryTalk Security settings deny this
editing option.
1. Add a MSG instruction to your program.
2. Configure the Configuration tab on the Message Configuration dialog box as described
in Table 11.
Source Element
IMPORTANT: The Source Element tag in your Logix Designer application project must
match the values that are shown in the graphic. If you use values that are different
than the ones shown, SNMP will not be enabled.
Source Length 5
IMPORTANT You cannot add a MSG instruction to your program if the controller
mode switch is in RUN mode, or if the FactoryTalk Security
settings deny this editing option.
2. Configure the Configuration tab on the Message Configuration dialog box as described
in Table 12.
Source Element
IMPORTANT: The Source Element tag in your Logix Designer application project must
match the values that are shown in the graphic. If you use values that are different
than the ones shown, SNMP will not be disabled.
Source Length 5
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
Applies to these controllers: socket object. The controller communicates with the socket object via MSG instructions.
CompactLogix 5380
Compact GuardLogix 5380 SIL 2 The controllers support up to 32 socket instances.
Compact GuardLogix 5380 SIL 3
IMPORTANT Keep these in mind when you use sockets with the controllers:
• All CompactLogix 5380 and Compact GuardLogix 5380 controllers must
use unconnected MSG instructions for socket servers. When you
configure a message for a CompactLogix 5380 and Compact
GuardLogix 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 Use Socket Object on page 134.
TLS Support
The secure socket option adds support for Transport Layer Security (TLS) to the socket object.
Notes:
Available Network Levels The controllers can connect to these EtherNet/IP network levels:
Applies to these controllers:
• Enterprise-level Network
CompactLogix 5380 • Device-level Network
Compact GuardLogix 5380 SIL 2
The advantage of connecting to separate network levels is that you can segment the networks
Compact GuardLogix 5380 SIL 3 and isolate the communication on each. For example, communication that is required for the
controller to execute a task is restricted to the device-level network.
Network segmentation and the resulting communication isolation can help provided enhanced
security in your application. Additionally, the option to connect to separate network levels
helps you organize the networks in your application in a more logical manner.
Enterprise-level Network
Remember the following when you connect to enterprise-level networks:
• You can connect only port A1 to an enterprise-level network.
IMPORTANT When you set the IP address and subnet mask, you establish an IP
address range for the port. Make sure that the IP address ranges that are
established for each port on the controller do not overlap.
For more information on overlapping IP address ranges, see Overlapping
IP Address Ranges on page 123.
When you connect a port to an enterprise-level network, you configure the following
parameters:
• IP address (required)
• Subnet mask, also called the network mask (required)
• Gateway address (optional)
• Host name (optional)
• Domain name (optional)
• Primary DNS server address (required if your controller makes DNS requests.)
• Secondary DNS server address (required if your controller makes DNS requests.)
Device-level Network
Remember the following when you connect to device-level networks:
• You are not required to connect the controller to an enterprise-level network to connect
to device-level networks.
• You can connect port A1, port A2, or ports A1 and A2 to device-level networks.
When you connect a port to a device-level network, you configure the following parameters:
• IP address (Required)
• Subnet mask, also called the network mask (Required)
• Gateway address (Optional)
• Host name (Optional)
EtherNet/IP Modes With the Logix Designer application, version 29 or later, the controllers support these
EtherNet/IP modes:
Applies to these controllers:
• Dual-IP Mode
CompactLogix 5380
Compact GuardLogix 5380 SIL 2
• Linear/DLR Mode
Compact GuardLogix 5380 SIL 3 Out-of-the-box, the controller EtherNet/IP mode is Dual-IP mode.
Dual-IP Mode
Dual-IP mode lets you connect ports A1 and A2 to separate networks. In this mode, port A1 can
connect to an enterprise-level network or a device-level network. Port A2 can only connect to
a device-level network.
In this mode, each port requires its own network configuration. For more information on how
to configure the Ethernet ports when the controller uses Dual-IP mode, see Configure
EtherNet/IP Modes on page 124.
You must avoid overlapping IP address ranges when you configure the Ethernet ports in Dual-
IP mode. For more information, see Overlapping IP Address Ranges on page 123.
Figure 29 shows a CompactLogix 5380 controller using Dual-IP mode in with connections to an
enterprise-level network and a device-level network.
Figure 29 - Controller in Dual-IP Mode with Enterprise-level and Device-level Network Connections
Port A1 Connected to an
Enterprise-level Network
Figure 30 shows a CompactLogix 5380 controller using Dual-IP mode in with connections to
separate device-level networks, including a DLR network.
Port A2 Connected to a
DLR Network
1783-ETAP
1734-AENTR Adapter
1734 POINT I/O™ Modules
Linear/DLR Mode
When controllers operate in Linear/DLR mode, they can only connect to one network with one
network configuration. The two physical ports allow the controller to connect to linear or DLR
media topologies.
After firmware revision 29.011 or later is installed on a controller, the EtherNet/IP mode is
automatically set to Dual-IP mode. You must change the EtherNet/IP Mode to use Linear/DLR
mode.
For more information on how to change the controller to Linear/DLR mode, see Change the
EtherNet/IP Mode on page 129.
Figure 31 - CompactLogix 5380 Controller in Linear/DLR Mode in a DLR Network
Compact 5000 I/O EtherNet/IP Adapter Compact 5000 I/O EtherNet/IP Adapter Kinetix 5500 Drives
Compact 5000 I/O Modules Compact 5000 I/O Modules
h
Overlapping IP Address
Ranges IMPORTANT Overlapping IP address ranges only applies when the controller operates in
Dual-IP mode.
Applies to these controllers:
CompactLogix 5380
If you use the controller in Linear/DLR mode, you can skip this section and
proceed to Linear/DLR Mode on page 121.
Compact GuardLogix 5380 SIL 2
Compact GuardLogix 5380 SIL 3 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 controller uses Dual-IP mode, the network parts cannot
overlap between the Ethernet ports.
The following examples describe conditions in which IP address ranges do not or do overlap.
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.
Configure EtherNet/IP You can configure both Dual-IP and Linear/DLR EtherNet/IP modes with these
software applications:
Modes
• Logix Designer application, version 29 or later
Applies to these controllers: • RSLinx Classic software, version 3.81.00 or later
CompactLogix 5380
• With the Logix Designer application, version 28, the 5069-L320ER and 5069-L340ERM
Compact GuardLogix 5380 SIL 2 controllers only support Linear/DLR mode.
Compact GuardLogix 5380 SIL 3
IMPORTANT Keep in mind that the applicable minimum software versions vary
by controller catalog number. That is, you can use some
controllers in lower software minimum versions than others.
The screens can be slightly different on the Controller Properties dialog box for Compact
GuardLogix 5380 controllers. For example, the Compact GuardLogix 5380 Controller Properties
dialog box includes a Safety tab that does not exist in the CompactLogix 5380 Controller
Properties dialog box.
You set the IP address and subnet mask on the Internet Protocol tab.
When you set the IP address and subnet mask, we recommend that you use a USB
connection from the workstation to the controller.
1. Confirm that the project is online.
2. Confirm that the controller is in one of these modes:
• Program mode
• Remote Program mode
• Remote Run mode
You cannot change the IP address or subnet mask if the controller is in Run mode.
3. Click the Internet Protocol tab.
4. From the Port pull-down menu, choose A1.
For example, this graphic displays that the controller is in Dual-IP mode.
You set the IP Address and Network Mask on the Port Configuration tab.
When you set the IP address and Subnet Mask, we recommend that you use a USB
connection from the workstation to the controller.
1. From the Port pull-down menu, choose A1.
2. Click Manually configure IP settings.
3. Assign IP Address and Network Mask values.
4. Click Apply.
IMPORTANT For more information on how to change the controller EtherNet/IP mode,
see Change the EtherNet/IP Mode on page 129.
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.
1. Confirm that the project is online and the controller is in Program mode, Remote
Program mode, or Remote Run mode.
You cannot change the IP address or subnet mask if the controller is in Run mode.
2. Click the Internet Protocol tab.
3. Click Manually configure IP settings.
4. Assign the IP address and network mask values and click Apply.
IMPORTANT For more information on how to change the controller EtherNet/IP mode,
see Change the EtherNet/IP Mode on page 129.
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.
1. Confirm that the project is online.
2. Click the Port Configuration tab.
3. Click Manually configure IP settings.
4. Assign IP Address and Network Mask values.
5. Click Apply.
Change the EtherNet/IP You can change the EtherNet/IP mode in the Logix Designer application or RSLinx Classic
software.
Mode
Applies to these controllers: IMPORTANT Remember the following:
CompactLogix 5380 • Exercise caution when you change the EtherNet/IP mode on your
Compact GuardLogix 5380 SIL 2 controller, and consider the possible effects of the change.
Compact GuardLogix 5380 SIL 3 • You cannot change the controller EtherNet/IP mode from Dual-IP to
Linear/DLR when you are connected through port A1 port. You must be
connected to the controller via port A2 to change from Dual-IP mode to
Linear/DLR mode.
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 13 - Effect of Changing the EtherNet/IP Mode
EtherNet/IP Effects
Mode Change
• 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
Dual-IP Mode to an IP address is set.
Linear/DLR Mode • 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 sections for both ports include modules, you cannot change the
EtherNet/IP mode from Dual-IP mode to Linear/DLR 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.
Linear/DLR Mode
to Dual-IP Mode • 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.
To change the EtherNet/IP mode in the Logix Designer application, complete these steps.
1. Confirm that the project is offline.
2. On the General tab of the Controller Properties dialog box, click Change 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 13 on page 129.
4. On the General tab of the Configuration dialog box, click Change IP Mode.
5. 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 13 on page 129.
DNS Requests
To qualify the address of a module, use DNS addressing to specify a host name for a module,
which also includes specifying a domain name and DNS servers. DNS addressing makes it
possible to configure similar network structures and IP address sequences under different
domains.
DNS addressing is necessary only if you refer to the module by host name, such as in path
descriptions in MSG instructions.
For more information on DNS addressing, see the EtherNet/IP Network Configuration User
Manual, publication ENET-UM001.
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 you configure an MSG instruction on a controller that operates in Dual-IP mode, use
these paths:
• Enterprise port (Port A1) - 3
• Device-level port (Port A2) - 4
If the controller operates in Linear/DLR mode, the path is 2.
For more information on how to use MSG instructions, see the Logix 5000 Controllers General
Instructions Reference Manual, publication 1756-RM003.
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 15 shows differences in RSLinx Classic software when the controller uses Dual-IP mode
or Linear/DLR mode.
Table 15 - 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 Communication The controller runs the communications task separately from the application code. The
controller runs communications asynchronously to the application. Therefore, it is important
Interaction with Control Data to make sure communications that are delivered to the controller are complete before the
Applies to these controllers: 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.
CompactLogix 5380
Compact GuardLogix 5380 SIL 2 For example, if an HMI device writes a large block of recipe data to the controller, the
Compact GuardLogix 5380 SIL 3 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.
Traditionally, programmers have used the following to control the effects of asynchronous
communications:
• UID/UIE pairs
• Moving data with CPS instructions.
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 verify 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 17 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 17 - 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
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 help prevent the risk of the communication core changing data
after you have passed the data valid test.
Produce and Consume The controllers let you produce (transmit) and consume (receive) controller-scoped tags.
CompactLogix 5380 and Compact GuardLogix 5380 controllers produce the same standard tag
(Interlock) Data through the Ethernet ports and the backplane, and consumer counts apply to the total
Applies to these controllers: consumers from all ports.
CompactLogix 5380 Figure 34 - Example Produced and Consumed Tags
Compact GuardLogix 5380 SIL 2
Compact GuardLogix 5380 SIL 3 Controller_1 Controller_2
Controller_3
Consumed Tag
Controller_4
Consumed Tag
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.
The Compact GuardLogix 5380 controllers can also use produced and consumed safety tags.
For more information on how to use them, see the GuardLogix 5580 and Compact GuardLogix
5380 Controller Systems Safety Reference Manual, publication 1756-RM012.
For more information about produced/consumed tags, see the Logix 5000 Controllers
Produced and Consumed Tags Programming Manual, publication 1756-PM011.
Send and Receive Messages Messages transfer data to other devices, such as other controllers or operator interfaces. The
MSG instruction is a Ladder Diagram output instruction that asynchronously reads or writes a
Applies to these controllers: block of data to or from another module over the backplane or a network. The size of the
CompactLogix 5380 instruction depends on the data types and message command that you program.
Compact GuardLogix 5380 SIL 2
Compact GuardLogix 5380 SIL 3 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 19 - Message Types
Message Type Communication Method Connected Message Message Can Be Cached
CIP™ data table read or write — Configurable Yes(2)
CIP No No
PLC-2®, PLC-3®, PLC-5®, or SLC™ CIP with Source ID No No
(all types)
DH+™ Yes Yes(2)
CIP generic — Optional (1) Yes(2)
Block-transfer read or write — 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 Logix 5000 Controllers Messages
Programming Manual, publication 1756-PM012.
Local I/O Modules The CompactLogix 5380 system uses Compact 5000™ I/O modules as local I/O modules. The
modules are installed to the right of the controller.
Applies to these controllers:
CompactLogix 5380 The number of local Compact 5000 I/O modules that you can install in a CompactLogix 5380
Compact GuardLogix 5380 SIL 2 system varies based on the controller that is used, up to a maximum of 31 modules.
Compact GuardLogix 5380 SIL 3
Table 21 lists the number of local I/O modules that controllers support.
Table 21 - Local I/O Modules in CompactLogix 5380 System
Local I/O Modules
CompactLogix 5380 Controllers Compact GuardLogix 5380 Controllers Supported, Max.
5069-L306ER, 5069-L306ERM, 5069-L310ER, 5069-L306ERS2, 5069-L306ERMS2, 5069-L306ERMS3, 5069-L310ERS2, 5069-L310ERS2K, 8
5069-L310ERM, 5069-L310ERMK, 5069-L310ER-NSE 5069-L310ERMS2, 5069-L310ERMS2K, 5069-L310ERMS3, 5069-L310ERMS3K
5069-L320ERS2, 5069-L320ERS2K, 5069-L320ERMS2, 5069-L320ERMS2K, 5069-L320ERMS3,
5069-L320ER, 5069-L320ERM, 5069-L320ERP 16
5069-L320ERMS3K
5069-L330ERS2, 5069-L330ERS2K, 5069-L330ERMS2,5069-L330ERMS2K, 5069-L330ERMS3,
5069-L330ER(1), 5069-L330ERM(1), 5069-L340ER, 5069-L330ERMS3K, 5069-L340ERS2, 5069-L340ERMS2, 5069-L340ERMS3, 5069-L350ERS2,
5069-L340ERM, 5069-L340ERP, 5069-L350ERM, 5069-L350ERS2K, 5069-L350ERMS2, 5069-L350ERMS2K, 5069-L350ERMS3, 5069-L350ERMS3K, 31
5069-L380ERM, 5069-L3100ERM 5069-L380ERS2, 5069-L380ERMS2, 5069-L380ERMS3, 5069-L3100ERS2, 5069-L3100ERMS2,
5069-L3100ERMS3
(1) When you use this controller with the Studio 5000 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 Knowledgebase Article5380 CompactLogix controllers limited to 16 local Compact 5000 I/O modules in V29 of Studio 5000.® 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 some of the factors to consider when you decide how to use local I/O
modules in a CompactLogix 5380 system:
• Number of local I/O modules that the controller supports
• Features available on different modules, for example, sequence of events per point
timestamping on only some Compact 5000 I/O digital input modules
• I/O module power usage, including MOD power and SA power
For more information on Compact 5000 I/O modules, see Additional Resources on page 11.
There are two methods to add local I/O modules to the project:
• Discover Modules
• New Module
Discover Modules
The Discover Modules feature is useful when I/O modules are already installed and you can
connect the Logix Designer application to the controller.
The Logix Designer application automatically detects available modules that are
installed in the system.
3. On the Select Module Type dialog box, click Create to add a discovered module to your
project.
4. On the New Module dialog box, configure the module properties and click OK.
5. When the following warning message appears, choose whether to inhibit the module
connection, and then click Yes.
If you inhibit the module connection, remember to uninhibit the connection
later.
New Module
You can add a standard I/O module offline or online. If you do not have physical I/O installed, or
you cannot connect to the controller, this is the easiest method to add I/O.
2. Select the module to add and click Create to open the New Module dialog box.
IMPORTANT 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 inhibit the module connection, remember to uninhibit the connection later.
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.
Remote I/O Modules Remote I/O modules do not reside in the same chassis as the CompactLogix 5380 or
Compact GuardLogix 5380 controller. The controller connects to the I/O modules via an
Applies to these controllers: EtherNet/IP™ network. The controllers support the use of a wide range of remote I/O modules.
CompactLogix 5380 For maximum performance, we recommend that you use Compact 5000 I/O modules when you
Compact GuardLogix 5380 SIL 2 use remote I/O modules.
Compact GuardLogix 5380 SIL 3
For example, CompactLogix 5380 and Compact GuardLogix 5380 controllers can connect to
following:
• Chassis-based I/O module families, such as Compact 5000 I/O, 1756 ControlLogix® I/O,
1769 Compact I/O™, or 1746 SLC™ I/O modules
• In-cabinet I/O module families, such as 1734 POINT I/O™ or 1794 FLEX™ I/O modules
• On-Machine™ I/O module families, such as 1732E ArmorBlock® 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 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 109.
Figure 36 - Remote I/O Modules in a CompactLogix 5380 System on a DLR Network Topology
Figure 37 - Remote I/O Modules in a CompactLogix 5380 System on a Linear Network Topology
Figure 38 - Remote I/O Modules in a CompactLogix 5380 System on a Star Network Topology
There are two methods to add remote I/O modules to the project:
• Discover Modules
• New Module
Discover Modules
The Discover Modules feature is useful when I/O modules are already installed and connected
to the network. 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/IP driver is used in RSLinx Classic software, the Logix Designer
application automatically detects remote I/O modules.
• If the Ethernet devices driver is used in RSLinx Classic software, you must configure the
IP address for each Ethernet device that you want to display in the Select Module Type
dialog box that is shown on page 150.
• 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 that
is shown on page 150.
The tasks 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.
1. Go online with your Logix Designer application.
2. Right-click Ethernet and choose Discover Modules.
The Logix Designer application automatically detects available modules that are
installed in the system.
3. At the Select Module Type window, click Create to add a discovered adapter to your
project.
4. At the New Module window, configure the module properties and click OK.
The Logix Designer application automatically detects available modules that are
installed in the system.
8. At the Select Module Type window, click Create to add a discovered module to your
project.
9. At the New Module window, configure the module properties and click OK.
After you add the remote I/O module, consider the following:
• To add remote I/O modules in the same remote location:
- If you cleared the Close on Create checkbox when you created the first I/O module,
repeat steps 8…11.
- If you did not clear the Close on Create checkbox when you created the first I/O
module, repeat steps 7…11.
• To add remote I/O modules in another new remote location, repeat steps 2…11.
New Module
You can add a standard I/O module offline or online. If you do not have physical I/O installed, or
you cannot connect to the controller, this is the easiest method to add I/O. To use New Module
to add a remote I/O module, complete these steps.
1. Right-click Ethernet and choose New Module.
3. At the New Module window, configure the module properties and click OK.
4. If you add a module while online, then at the warning dialog box, click Yes.
If you inhibit the module connection, you must remember to uninhibit the
connection later.
7. Select the I/O module that you want to add and click Create.
If you must add multiple I/O modules to the same remote location, you can clear
the Close on Create checkbox before you click Create to skip step 6.
When the Close on Create checkbox is cleared, the select Module Type dialog box
appears automatically after you complete configuration for an I/O module.
8. On the New Module dialog box, configure the I/O module and then click OK.
9. If you add a module while online, choose whether to inhibit the module connection, and
then click Yes.
If you inhibit the module connection, 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:
- If you cleared the Close on Create checkbox when you created the first I/O module,
repeat steps 7…8.
- If you did not clear the Close on Create checkbox when you created the first I/O
module, repeat steps 6…8.
• To add remote I/O modules in another new remote location, repeat steps 1….
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
Applies to these controllers: IMPORTANT To add I/O modules when the controller is online, the controller mode
CompactLogix 5380 switch must be in the REM or PROG position.
Compact GuardLogix 5380 SIL 2 The Compact 5000 I/O modules must already be installed in the system. You
Compact GuardLogix 5380 SIL 3 cannot install Compact 5000 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.
For more information about how to add to the I/O Configuration while online, see the Logix
5000 Controllers Design Considerations Reference Manual, publication 1756-RM094.
Determine When Data CompactLogix 5380 and Compact GuardLogix 5380 controllers update data asynchronously
with the execution of logic. See these flowcharts to determine when a controller, input module,
Is Updated or bridge sends data:
Applies to these controllers: • Input Data Update Flowchart
CompactLogix 5380 • Output Data Update Flowchart
Compact GuardLogix 5380 SIL 2
Compact GuardLogix 5380 SIL 3 Input Data Update Flowchart
Method of Input Data Production Produced tag with data state change events
RTSRPI? No
Yes
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.
at the RPI. by the user program. output processing
IMPORTANT You cannot add safety I/O devices while online with the controller.
Configure Safety I/O Devices Add the safety I/O device to the I/O configuration of the controller project.
Applies to these controllers: Some safety I/O devices support both standard and safety data. The device
Compact GuardLogix 5380 SIL 2 definition settings define what data is available.
Compact GuardLogix 5380 SIL 3 1. Right-click the Ethernet network and select New Module.
2. On the Select Module Type dialog box, select the safety I/O device and click Create.
Using Network Address NAT translates one IP address to another IP address via a NAT-configured router or switch.
The router or switch translates the source and destination addresses within data packets as
Translation (NAT) with CIP traffic passes between subnets.
Safety Devices
This service is useful if you must reuse IP addresses throughout a network. For example, NAT
Applies to these controllers: makes it possible for devices to be segmented into multiple identical private subnets while
Compact GuardLogix 5380 SIL 2 maintaining unique identities on the public subnet, such as for multiple identical machines or
Compact GuardLogix 5380 SIL 3 lines.
This section only applies to safety users where the controller and the devices it talks to are on
separate sides of the NAT-configured router or switch.
With CIP Safety™, the IP address of the device is part of the unique node reference that is part
of the protocol. The device compares the IP address portion of the unique node reference in
CIP Safety packets to its own IP address, and rejects any packets where they do not match.
The IP address in the unique node reference must be the NAT'ed IP address. The controller
uses the translated address, but the CIP Safety protocol requires the actual address of the
device.
If you are using NAT to communicate with a CIP Safety device, follow these steps to set the IP
address.
1. In the IP Address field, type the IP address that the controller will use.
This is usually the IP address on the public network when using NAT.
3. Select the checkbox to indicate that this device and the controller communicate
through NAT devices.
4. Enter the actual device address.
If you configured the IP address using the rotary switches, this is the
address that you set on the device. Alternately, the actual device address is
the same address that is shown on the Internet Protocol tab.
5. Click OK.
Set the SNN of a Safety I/O A time-based SNN is automatically assigned when you add the first safety I/O device on the
network. This does not apply to the controller backplane or Ethernet ports since the controller
Device counts as a device on the network.
Applies to these controllers:
When subsequent safety devices are added to the same network, they are assigned the same
Compact GuardLogix 5380 SIL 2
SNN as defined in the lowest address on that CIP Safety network or the controller itself in the
Compact GuardLogix 5380 SIL 3 case of ports attached to the controller. For most applications, the automatic, time-based SNN
is sufficient.
If your application requires you to manually assign the SNN of safety I/O devices, you only have
to assign the SNN of the first safety I/O device you add in a remote network or backplane.
Logix Designer then assigns the SNN of the first device to any additional devices that you add
to that same remote network or backplane.
For an explanation of the SNN, see the GuardLogix 5580 and Compact GuardLogix 5380
Controller Systems Safety Reference Manual, publication 1756-RM012.
Paste an SNN
1. On the General tab of the Module Properties dialog box, click to the right of the SNN.
Safety I/O Device Signature Each safety device has a unique configuration signature that defines the device configuration.
The configuration signature is composed of an ID number, date, and time, and is used to verify
Applies to these controllers: the device’s configuration.
Compact GuardLogix 5380 SIL 2
Compact GuardLogix 5380 SIL 3 Configuration via the Logix Designer Application
When the I/O device is configured via the Logix Designer application, the configuration
signature is generated automatically. You can view and copy the configuration signature via
the Safety tab of the device properties.
Figure 39 - View and Copy the Configuration Signature
When the controller project is online, the Safety tab of the device properties displays the
current configuration ownership. When the opened project owns the configuration, Local is
displayed. When a second device owns the configuration, Remote is displayed, along with the
SNN and node address or slot number of the configuration owner. Communication error is
displayed if the device read fails.
If the connection is local, you must inhibit the device connection before you reset ownership.
Follow these steps to inhibit the device.
1. Right-click the device and choose Properties.
2. Click the Connection tab.
3. Check Inhibit Connection.
4. Click Apply and then OK.
Follow these steps to reset the device to its out-of-box configuration when online.
1. Right-click the device and choose Properties.
2. Click the Safety tab.
3. Click Reset Ownership.
.
You cannot reset ownership when there are pending edits to the device
properties, when a safety signature exists, or when safety-locked.
I/O Device Address Format When you add a device to the I/O configuration, the Logix Designer application creates
controller-scoped tags for the device.
Applies to these controllers:
Compact GuardLogix 5380 SIL 2 I/O information is presented as a set of tags. Each tag uses a structure of data, depending on
Compact GuardLogix 5380 SIL 3 the type and features of the I/O device. The name of a tag is based on the name of the device.
A safety I/O device address follows this example: devicename:Type.Member
Table 22 - Safety I/O Device Address Format
Where Is
devicename The name of the safety I/O device
Input: I
Type Type of data Output: O
Specific data from the I/O device
devicename:I.RunMode(1)
Input-only device devicename:I.ConnectionFaulted(1)
devicename:I.Input Members
devicename:I.RunMode(1)
Member Output-only device devicename:I.ConnectionFaulted(1)
devicename:O.Output Members
devicename:I.RunMode(1)
Combination I/O devicename:I.ConnectionFaulted(1)
devicename:I.Input Members
devicename:O.Output Members
(1) This member is required.
For more information on addressing standard I/O devices, see the Logix 5000 Controllers I/O
and Tag Data Programming Manual, publication 1756-PM004.
Monitor Safety I/O You can monitor safety I/O device status via Explicit Messaging or via the status indicators on
the device. For more information, see the product documentation for the device.
Device Status
Replace a Safety I/O Device You can replace safety I/O devices while they are connected to Compact GuardLogix
controllers.
Applies to these controllers:
Compact GuardLogix 5380 SIL 2 Configuration Ownership
Compact GuardLogix 5380 SIL 3
When the controller project is online, the Safety tab of the device Properties dialog box
displays the current configuration ownership:
• When the opened project owns the configuration, Local is displayed.
• When a second device owns the configuration, Remote is displayed, along with the
safety network number (SNN), and node address or slot number of the configuration
owner.
• If the device read fails, Communication error is displayed.
If the connection is local, you must inhibit the device connection before you reset ownership.
Follow these steps to inhibit the device.
1. Right-click the device and choose Properties.
2. Click the Connection tab.
3. Check Inhibit Connection.
4. Click Apply and then OK.
Replacement Configuration
You can use the Logix Designer application to replace a safety I/O device on an Ethernet
network.
To replace a Guard I/O™ device on a DeviceNet network, your choice depends on the type of
device.
Table 23 - Software
If you are using a Use See
Safety I/O device on EtherNet/IP network The Logix Designer Below
application
1791DS Guard I/O device via a 1788-EN2DN Logix Designer application Below
linking device
1734 POINT Guard I/O™ device via a RSNetWorx™ for DeviceNet See the POINT Guard I/O Safety devices
1788-EN2DN linking device and a software User Manual, publication 1734-UM013.
1734-PDN adapter
• If you are relying on a portion of the CIP Safety system to maintain SIL or PL-rated
behavior during device replacement and functional testing, the Always Allow Automatic
Configuration option cannot be used.
For more information, see Only Allow Automatic Configuration When No Safety
Signature Exists on page 172.
• If the entire routable CIP Safety control system is not being relied on to maintain SIL or
PL-rated behavior during the replacement and functional testing of a device, the Always
Allow Automatic Configuration option can be used.
For more information, see Always Allow Automatic Configuration on page 175.
Safety I/O device replacement is configured on the Safety tab of the Controller Properties
dialog box.
If you select the Only Allow Automatic Configuration When No Safety Signature Exists option,
follow the guidance in Table 24 to replace a safety I/O device based on your scenario. After you
complete the steps, the DeviceID matches the original and enables the safety controller to
download the proper device configuration and re-establish the safety connection.
Table 24 - Replace a Device
Replacement Device
Safety Signature Exists Action Required
Condition
No No SNN (out-of-box) None. The device is ready for use.
Same SNN as original safety None. The device is ready for use.
Yes or No task configuration
See Scenario 1—Replacement Device Is Out-of-box and
Yes No SNN (out-of-box) Safety Signature Exists on page 172.
See Scenario 2—Replacement Device SNN Is Different
Yes
Different SNN from original from Original and Safety Signature Exists on page 173.
safety task configuration See Scenario 3—Replacement Device SNN Is Different
No from Original and No Safety Signature Exists on page 175.
4. Click Set.
5. Verify that the Network Status (NS) status indicator is alternating red/green on the
correct device before clicking Yes on the confirmation dialog box to set the SNN and
accept the replacement device.
6. Follow your company-prescribed procedures to functionally test the replaced I/O device
and system and to authorize the system for use.
Scenario 2—Replacement Device SNN Is Different from Original and Safety Signature
Exists
1. Remove the old I/O device and install the new device.
2. Right-click your safety I/O device and select Properties.
3. In the navigation pane, click Safety.
4. Click Reset Ownership.
5. Click OK.
6. Right-click the device and select Properties.
7. Click to the right of the safety network number to open the Safety Network
Number dialog box.
8. Click Set.
9. Verify that the Network Status (NS) status indicator is alternating red/green on the
correct device before clicking Yes on the confirmation dialog box to set the SNN and
accept the replacement device.
10. Follow your company-prescribed procedures to functionally test the replaced I/O device
and system and to authorize the system for use.
Scenario 3—Replacement Device SNN Is Different from Original and No Safety Signature
Exists
1. Remove the old I/O device and install the new device.
2. Right-click your safety I/O device and select Properties.
3. In the navigation pane, select Safety.
4. Click Reset Ownership.
5. Click OK.
6. Follow your company-prescribed procedures to functionally test the replaced I/O device
and system and to authorize the system for use.
If the Always Allow Automatic Configuration option is selected, follow these steps to replace a
safety I/O device.
1. Remove the old I/O device and install the new device.
a. If the device is in out-of-box condition, go to step 5.
No action is needed for the Compact GuardLogix controller to take ownership of the
device.
b. If an SNN mismatch error occurs, go to the next step to reset the device to out-of-
box condition.
2. Right-click the safety I/O device and select Properties.
3. Click the Safety tab.
4. Click Reset Ownership and click OK.
5. Follow your company-prescribed procedures to functionally test the replaced I/O device
and system and to authorize the system for use.
Task 32
Task 1
Configuration
Status
Fault Routine
Other Routines
Add-On Instruction
Controller (global) Tags I/O Data System-shared Data
Definition
Tasks The 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:
• The controller executes one task at a time.
• 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.
• You can display tasks in the Controller or Logical Organizer views, as necessary.
A large number of tasks can make it difficult to optimally tune your system.
Task 32
Task 1
Configuration
Status
Period
Program 1000
Watchdog
Program 1
Program Tags and
Main Routine Program
Parameters
Fault Routine
Other
Routines
Figure 43 - Tasks
Controller Organizer Logical Organizer
Main Task
(continuous)
Main Task
(continuous)
Task 2 Task 2
(periodic) (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.
The CompactLogix 5380 and Compact GuardLogix 5380 controllers support up to 32 tasks.
Only one of the tasks can be continuous.
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 Compact 5000 I/O digital input modules can trigger an Event task. For example,
complete these steps to configure an Event task with a 5069-IB16F module input state change
that triggers 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, the falling
edge, or both can trigger an event.
You can also latch an event and enable independent point triggers.
2. Create an Event task in your project.
3. Configure the Event task.
- You must choose the event trigger. For example, you can choose Module Input Data
State Change as the trigger.
- Link the task to the appropriate Event Input tag on the module.
For more information on how to use event tasks with Compact 5000 I/O modules, see the
Compact 5000 I/O Digital and Safety Module User Manual, publication 5000-UM004
For more information on how to use event tasks in general, see the Logix 5000 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.
The continuous task runs whenever a periodic task is not running. Depending on the
application, the continuous task could run more frequently than the periodic tasks, or much
less frequently. There can also be large variability in the frequency that the task is called, and
its scan time (due to the effect of the other periodic tasks).
IMPORTANT If you configure multiple tasks with the same priority, the controller
timeslices them, which de-optimizes their application. This is not
recommended.
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.
Programs The controller operating system is a pre-emptive multitasking system that is in compliance
with IEC 61131-3. This system provides the following:
• Programs to group data and logic
• Routines to encapsulate executable code that is written in one programming language
Task 32
Task 1
Configuration
Status
Watchdog
Program 1000
Program 1
Program Tags and
Main Routine Program
Parameters
Fault Routine
Other Routines
Add-On Instruction
Controller (global) Tags I/O Data System-shared Data
Definition
Figure 47 - 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.
Routines A routine is a set of logic instructions in one programming language, such as Ladder Diagram.
Routines provide the executable code for the project in a controller.
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
Main Routine Program
Parameters
Fault Routine
Other Routines
Add-On Instruction
Controller (global) Tags I/O Data System-shared Data
Definition
Figure 50 - Routines
Routine
Routine Routine
Routine
Parameters and Local Tags With a Logix 5000™ controller, you use a tag (alphanumeric name) to address data (variables).
In Logix 5000 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.
The following 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 Logix 5000 Controllers and
I/O Tag Data Programming Manual, publication 1756-PM004.
Program Parameters
Program parameters define a data interface for programs to facilitate data sharing. You can
achieve data sharing between programs through either pre-defined connections between
parameters, or directly through a special notation.
Unlike local tags, all program parameters are publicly accessible outside of the program.
Additionally, HMI external access can be specified on individual basis for each parameter.
There are several guidelines for how to create and configure parameters and local tags for
optimal task and program execution:
• Logix 5000 Controllers and I/O Tag Data Programming Manual, publication 1756-PM004
• Logix 5000 Controllers Program Parameters Programming Manual, publication 1756-
PM021
• Logix 5000 Controllers Design Considerations Reference Manual, publication 1756-RM094
Programming Languages The Studio 5000 Logix Designer® application supports these programming languages.
Language Is best used in programs with
Continuous or parallel execution of multiple operations (not sequenced)
Boolean or bit-based operations
Complex logical operations
Message and communication processing
Ladder Diagram (LD) Machine interlocking
Operations that service or maintenance personnel have to interpret to
troubleshoot the machine or process
IMPORTANT: Ladder Diagram is the only programming language that can
be used with the Safety Task on Compact GuardLogix 5380 controllers.
Continuous process and drive control
Function Block Diagram (FBD) Loop control
Calculations in circuit flow
High-level management of multiple operations
Repetitive sequence of operations
Sequential Function Chart (SFC) Batch process
Motion control that uses Structured Text
State machine operations
Complex mathematical operations
Structured Text (ST) Specialized array or table loop processing
ASCII string handling or protocol processing
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 Logix 5000 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. Table 26 explains some
of the capabilities and advantages of use Add-On Instructions.
Table 26 - Add-On Instruction Capabilities
Capability Description
With Add-On Instructions, you can combine your most commonly used logic into sets of reusable instructions. You save time when you
create instructions for your projects and share them with others. Add-On Instructions increase project consistency because commonly used
Save Time algorithms all work in the same manner, regardless of who implements the project.
IMPORTANT: You cannot edit AOIs while online. You can overwrite existing AOIs by using the partial import online feature.
You use one of these editors to create Add-On Instructions:
• Ladder Diagram
Use Standard Editors
• Function Block Diagram
• Structured Text
You can export Add-On Instructions to other projects and copy and paste them from one project to another. Give each instruction a unique,
Export Add-On Instructions descriptive name to make it easier to manage and reuse your collection of Add-On Instructions.
Use Context Views Context views let you visualize the logic of an instruction to perform instant and simple online troubleshooting of your Add-On Instructions.
When you create an instruction, you enter information for the description fields. Each instruction definition includes revision, change
Document the Instruction history, and description information. The description text also becomes the help topic for the instruction.
When you create Add-On Instructions, you can limit users of your instructions to read-only access. You can also bar access to the internal
Apply Source Protection logic or local parameters that the instructions use. This source protection lets you stop unwanted changes to your instructions and helps
protect your intellectual property.
Once defined in a project, Add-On Instructions behave similarly to the built-in instructions in
Logix 5000 controllers.
With Studio 5000 Logix Designer Version 31 and greater, Add-On Instructions appear under the
Assets folder in the organizer. They appear on the instruction tool bar for easy access along
with internal instructions.
Figure 52 - Add-On Instructions (Studio 5000 Logix Designer Version 31 Example)
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.
Component Extended Properties
Tag In the tag editor, add extended properties to a tag.
User-defined data type In the data type editor, add extended properties to data types.
In the properties that are associated with the Add-On Instruction definition,
Add-On Instructions add extended properties to Add-On Instructions.
Configure pass-through behavior on the Project tab of the Controller Properties dialog box. If
you choose not to show pass-through properties, only extended properties that are configured
for a given component are displayed.
Pass-through behavior is not available for limits. When an instance of a tag is created, if limits
are associated with the data type, the instance is copied.
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.
For more information on Extended Properties, see the Logix 5000 Controllers I/O and Tag Data
Programming Manual, publication 1756-PM004.
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 instruction to the module name. The
from an Add-On Instruction specified module must be present in the I/O Configuration section of the controller organizer
and must have a device name.
You can access a MODULE object directly from an Add-On Instruction. Previously, you could
access the MODULE object data but not from within an Add-On Instruction.
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 Logix 5000 Controllers Add-On Instructions Programming Manual,
publication 1756-PM010.
Monitor Controller Status The 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.
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 53 - 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.
The minimum timeout period that, once expired without communication, causes a timeout is
100 ms. The timeout period can be greater, depending on the RPI of the application. For
example, if your application uses the default RPI = 20 ms, the timeout period is 160 ms.
For more information on how to determine the time for your application, see the
Knowledgebase Article EtherNet/IP Reduced Heartbeats as of RSLogix5000 version 16.
For more information about I/O faults, see the Logix 5000 Controllers Major, Minor, and I/O
Faults Programming Manual, publication 1756-PM014.
For safety I/O modules, see the GuardLogix 5580 and Compact GuardLogix 5380 Controller
Systems Safety Reference Manual, publication 1756-RM012.
It can be important to interrupt your normal program scan to handle an I/O connection fault. In
this case, set the 'Major Fault On Controller If Connection Fails While In Run Mode' and put the
logic in 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 190 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
Controller Fault Handler is used.
For more information about programming the Controller Fault Handler, see the Logix 5000
Major, Minor, and I/O Faults Programming Manual, publication 1756-PM014.
Notes:
However, a logical and visible distinction is required between the standard and safety-related
portions of the application. The Studio 5000 Logix Designer® application provides this
differentiation via the safety task, safety programs, safety routines, safety tags, and safety I/O
devices:
• GuardLogix 5580 controllers support both SIL 2 and SIL 3 levels of safety control with
the safety task.
• Compact GuardLogix 5380 controllers support SIL 2 or SIL 3 levels(1) of safety control
with the safety task.
Safety Overview This chapter explains the components that make up a safety project and the features that help
protect safety application integrity, such as the safety signature and safety-locking.
Applies to these controllers:
Compact GuardLogix 5380 SIL 2 The GuardLogix 5580 and Compact GuardLogix 5380 Controller Systems Safety Reference
Compact GuardLogix 5380 SIL 3 Manual, publication 1756-RM012 addresses the following topics:
• Guidelines and requirements for developing and commissioning safety applications,
including the use of Add-on Profiles
• Creating a detailed project specification
• Writing, documenting, and testing the application
• Generating the safety signature to identify and help protect the project
• Confirming the project by printing or displaying the uploaded project and manually
comparing the configurations, safety data, and safety program logic
• Verifying the project through test cases, simulations, functional verification tests, and
an independent safety review, if required
• Locking the safety application
• Calculating system reaction time
(1) SIL level support depends on the catalog number. See the GuardLogix 5580 and Compact GuardLogix 5380 Controller Systems
Reference Manual, 1756-RM012.
Program Safety Applications Figure 57 shows the steps that are required for commissioning a GuardLogix system. For an
explanation of those steps, see the GuardLogix 5580 and Compact GuardLogix 5380 Controller
Systems Safety Reference Manual, publication 1756-RM012.
Figure 57 - Commission the System
Specification of the Safety Function
Yes
Safety Assessment
Project No
Valid?
Yes
To help meet these requirements, you must use this publication and the Security Configuration
User Manual, publication SECURE-UM001. The Security Configuration User Manual describes
how to configure and use Rockwell Automation products to improve the security of your
industrial automation system.
The controller accepts all values appropriate for a tag data type, and it is the responsibility of
the user program to specify valid ranges and perform validity to check for those ranges. The
controller verifies incoming messages for syntax, length, and format.
You can apply these same measures to other CompactLogix and Compact GuardLogix
controllers, but without the certification.
Resource Description
Provides guidance on how to conduct vulnerability
Security Design Guide Reference Manual, assessments, implement Rockwell Automation products in a
publication SECURE-RM001 secure system, harden the control system, manage user
access, and dispose of equipment.
Describes how to configure security for the Studio 5000 Logix
Logix 5000 Controllers Security Programming Designer® application, and explains how to configure source
Manual, publication 1756-PM016 protection for your logic and projects.
CIP Security Application Technique, publication Describes how to plan an implement a Rockwell Automation
SECURE-AT001 system that supports the CIP Security™ protocol.
Defines manufacturing-focused reference architectures to
Converged Plantwide Ethernet (CPwE) Design and help accelerate the successful deployment of standard
Implementation Guide, publication ENET-TD001 networking technologies and convergence of manufacturing
and enterprise/business networks.
Controller Security Features For the CompactLogix controller to comply with the certification requirements, implement the
control system with these other security-focused products.
FactoryTalk® FactoryTalk FactoryTalk
Domain Controller Directory Server AssetCentre Server View SE Server Syslog Collector
2 2 2 2 2
1 1 1 1 1
4
I/O
5 10 5 10 5 10 5 10 5 10 5 10 5 10
UFB UFB-A UFB-B UFB-A UFB-B UFB-A UFB-B
D+ D+ D+ D+ D+ D+
D- D- D- D- D- D-
-
MBRK
+
Security Checklists
Follow the security checklists in this chapter to secure the system and controller. It is your
responsibility to monitor the system periodically to make sure that the security settings
function as you configured them.
Configure User-definable To suspend (shut down) the controller based on conditions in the application, create a user-
defined major fault. With a user-defined major fault:
Major Faults
• The fault type = 4.
• Define a value for the fault code. Choose a value between 990…999. These codes are
reserved for user-defined faults.
• The controller handles the fault the same as other major faults:
• The controller changes to the Program mode and stops running the logic. Outputs are
set to their configured state or value for faulted mode.
When Tag_1.0 = 1, execution jumps to name_of_fault_routine, a major fault occurs and the
controller enters the faulted mode. Outputs go to the faulted state. The Controller Properties
dialog box, Major Faults tab, displays the code 999.
License-based Source and Source protection helps prevent logic components from being modified based on a license.
Execution Protection Execution protection adds additional protection to controller logic. Execution protection
makes sure that the right controller has access to execute the protected program. Use this
with source protection to make sure that the right programmer has access to modify the logic.
Each controller or computer requires an activation to access protection features. Each logic
component or program requires a license to be accessed or executed.
FactoryTalk Activations
for Protection
SD Card
9509-CMSDCD4 CMStick
9509-CMSTICKC
9509-CMSTICK8
Activation Activation
+ +
Execution License Source License
2. Insert the CmStick that contains the license that you want to use to help protect the
component into the USB port on the computer. Licenses must contain the Protect
permission to be used to protect components. If a license does not contain the Protect
permission, it does not appear in the list of licenses.
3. In the Source Protection Configuration dialog box, select the component to be protected
and click Protect.
4. In the Protect dialog box, select the license to apply.
Configure Change Detection On the Security tab of the controller properties, the Change Detection feature tracks changes
to a controller and generates an audit value when a monitored change occurs.
For more information about change detection, see the Logix 5000 Controller Information and
Status Programming Manual, publication 1756-PM015.
Changes to Detect
Click Configure to open the Configure Changes to Detect dialog box. We recommend tracking
the changes that are shown in the following image for a standard CompactLogix 5380
controller. By default, all event types can cause the audit value to change, resulting in a default
value of 0xFFFFFFFFFFFFFFFF.
Audit Value
A unique value that is generated when a project is downloaded to the controller or loaded from
a storage device. This value is updated when a change to an event occurs. Some events
always cause an Audit Value change, while others are selectable in the Configure Changes to
Detect dialog box. When the controller is offline, the Audit Value box is blank.
Configure Component On the Security tab of the controller properties, component tracking enables you to determine
whether tracked routines, Add-On Instructions, I/O modules, and constant tags have been
Tracking changed. The Logix Designer application creates a tracked state value to indicate the current
state of all components.
For more information about component tracking, see the Logix 5000 Controller Information
and Status Programming Manual, publication 1756-PM015.
Configure Controller Logging The controller log stores various security-related events that can be written to an SD card or
accessed via FactoryTalk Asset Center or a third-party syslog collector. Some of these events
are Studio 5000 Logix Designer application request errors, control system events, backup/
restore events, and configuration changes.
For more information on how to access the controller log, see the Logix 5000 Controller
Information and Status Programming Manual, publication 1756-PM015.
For more robust logging and to help prevent rollover, use FactoryTalk AssetCentre or a syslog
collector.
Disable Controller You can disable the controller Ethernet ports with the Studio 5000 Logix Designer application,
version 28 or later.
Ethernet Ports
IMPORTANT Remember the following:
• When you use the Studio 5000 Logix Designer application, version 29 or
later, you can disable either of the Ethernet ports whether the controller
uses Dual-IP mode or Linear/DLR mode.
• Once an Ethernet port is disabled, you lose any connection that is
established through that port.
• You cannot disable Ethernet ports if the controller is in Run mode or if
the FactoryTalk® Security settings deny this editing option.
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.
• Program is cleared from the controller - The following are examples of what clears the
program from a controller:
- Major non-recoverable fault occurs.
- Firmware update occurs.
You must reconfigure the settings to disable an Ethernet port after the port returns to its
default settings.
2. On the Controller Properties dialog box, click the Port Configuration tab.
3. On the Port Configuration tab, clear the Enable checkbox.
IMPORTANT The values that are 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.
4. Before you enable the MSG instruction, make sure that the Source Element tag value is
2.
Disable the Controller There are two ways to disable the CIP Security ports on the controller:
CIP Security Ports • Use the Disable CIP Security checkbox in FactoryTalk Linx software, version 6.30.00 or
later
• Use a CIP Generic MSG in the Studio 5000 Logix Designer application, version 32 or later
2. From the Device Configuration menu, click the CIP Security tab, and then select Disable
CIP Security (Port 2221).
You cannot use this MSG instruction to disable the CIP Security ports on another controller.
The message only has to execute once rather than with every program scan.
1. Create a controller tag with the SINT[9] data type.
In this example, the controller tag is named CIPSEC_DISABLE and must match the
following image.
Disable the Controller With the Studio 5000 Logix Designer application, version 32 or later, you can use a CIP Generic
MSG with a Path of THIS to execute this option.
USB Port
1. Add an MSG instruction to your program.
This message has to execute only once and not with every program scan.
Disable the Controller With the Studio 5000 Logix Designer application, version 32 or later, you can use a CIP Generic
MSG with a Path of THIS to execute this option.
SD Card
IMPORTANT Remember the following:
• An SD card can only be disabled with a Message to Self.
• Once an SD slot is disabled, you lose all ability to communicate to an SD
card inserted into the slot. This includes any diagnostic information.
1. Add an MSG instruction to your program.
This message only has to execute once, it does not need to execute with every program
scan.
Disable the 4-character With the Studio 5000 Logix Designer application, version 29 or later, you can disable certain
categories of messages on the 4-character status display:
Status Display
• Disable All Categories of Messages on page 218
• Disable Individual Categories of Messages on page 220
IMPORTANT You cannot disable these system messages, and they will always
display:
• Power-up messages, such as TEST, PASS, CHRG
• Catalog number message
• Firmware revision message
• Major/Critical failure messages
The 4-character status display returns to the default setting after one of these actions occurs
on the controller:
• Stage 1 reset
• Stage 2 reset
• New project is downloaded - In this case, the settings in the new project take effect.
• Program is cleared from the controller - these examples can clear the program from a
controller:
- A major nonrecoverable fault occurs.
- A firmware update occurs.
You must reconfigure the settings to disable the 4-character status display after it returns to
its default settings.
4. Before you enable the MSG instruction, make sure that the Source Element tag value is 1.
4. Before you enable the MSG instruction, make sure that the Source Element uses one of
the following tag values that are 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 Controller Webpages You can disable the controller webpages with the Studio 5000 Logix Designer application,
version 28 or later.
While using a CIP Generic MSG to disable controller web pages is supported in version 33 or
later, Rockwell Automation recommends the following method to disable the controller web
pages.
If the controller web pages are enabled, disable them by clearing the Enable Controller Web
Pages check box on the Security tab for the controller properties.
The setting of the controller web pages changes after the following occurs on the controller:
• New project is downloaded—in this case, the settings in the new project take effect.
• When the controller receives a configuration message, it takes the setting from the
configuration message.
Source Element
IMPORTANT: The Source Element tag in your Studio 5000 Logix Designer application
project must match the values that are shown in the graphic. If you use values that are
different than the ones shown, the controller webpages are not disabled.
Source Length 5
Source Element
IMPORTANT: The Source Element tag in your Logix Designer application project must
match the values that are shown in the graphic. If you use values that are different
than the ones shown, the controller webpages are not enabled.
Source Length 5
Notes:
Motion Overview The controllers support up to 256 axes of integrated motion. The 256 axes can be any
combination of CIP™, Virtual, and Consumed axes. You can add all axes to one Motion Group,
Applies to these controllers: and you can assign any combination of axes to different axis update schedules. You can
CompactLogix 5380 Motion Controllers associate Integrated Motion axes to any appropriate drive.
Compact GuardLogix 5380 SIL 2 Motion
Controllers The controllers do not support Analog or SERCOS motion.
Compact GuardLogix 5380 SIL 3 Motion
Controllers The configuration process varies, depending on your application and your drive selection. The
following are general steps to configure a motion application.
1. Create a controller project.
2. Select the type of drive.
3. Create axis tags as needed.
4. Configure the drive.
5. Create axes as needed.
Program Motion Control The controller provides a set of motion control instructions for your axes:
Applies to these controllers:
• The controller uses these instructions just like the rest of the Logix 5000™ instructions.
CompactLogix 5380 Motion Controllers • Each motion instruction works on one or more axes.
Compact GuardLogix 5380 SIL 2 Motion • You can use motion control instructions in these programming languages:
Controllers
- Ladder Diagram (LD)
Compact GuardLogix 5380 SIL 3 Motion
Controllers - Structured Text (ST)
- Sequential Function Chart (SFC)
• Each motion instruction needs a motion control tag. The tag uses a
MOTION_INSTRUCTION data type and stores the information status of the instruction.
For more information, see the Logix 5000 Controller Motion Instructions Reference Manual,
publication MOTION-RM002.
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.
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 hasn’t 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 these methods:
Applies to these controllers:
• Double-click the axis to open the Axis Properties dialog box.
CompactLogix 5380 Motion Controllers • Use a Get System Value (GSV) or Set System Value (SSV) instruction to read or change
Compact GuardLogix 5380 SIL 2 Motion
the configuration at runtime.
Controllers • View the Quick View pane to see the state and faults of an axis.
Compact GuardLogix 5380 SIL 3 Motion • Use an axis tag for status and faults.
Controllers
Figure 58 - Obtain Axis Information
Notes:
You can use messages on the 4-character display to troubleshoot the controller. For more
information, see Appendix A, Status Indicators on page 253.
Automatic Diagnostics Automatic Diagnostics is a system-level feature in Logix 5000 controllers that provides device
diagnostics to HMIs and other clients, with zero programming. The diagnostics include device
description conditions and state events.
Automatic Diagnostics is enabled by default in Logix 5000 controllers with firmware revision
33 and later. You can disable and enable the whole feature while online or offline from the
Advanced tab on the Controller Properties dialog. You can also disable Automatic Diagnostics
for a specific device in the device's configuration.
Considerations for The response time and diagnostic information for a loss of communication depends on the
device and configuration settings.
Communication Loss
Diagnostics Type of Connection Device Behavior
Direct connection to a Logix 5000 Device reports communication loss.The device communication loss
controller can be replaced by the diagnostics of a communication adapter
Communication adapters that do not have a connection to the
No connection to a Logix 5000 controller controller do not report communication loss diagnostics.
To enable timely reporting of any communication loss, we recommend
that you configure communication adapters for a status connection.
Device reports communication loss.
Data connection The device communication loss can be replaced by the diagnostics of
a communication adapter
Device does not report communication loss diagnostics. The
communication adapter reports communication loss diagnostics.
Rack-optimized connection A device with a rack optimized connection has a reduced set of
diagnostics as compared to a direct connection.
You can disable Automatic Diagnostics for a specific device in the device configuration. The
communication loss diagnostic remains active even if the device disables Automatic
Diagnostics. To disable communication loss diagnostic, inhibit the device or disable Automatic
Diagnostics at the controller.
Controller Diagnostics with You can use the Controller Properties in the Studio 5000 Logix Designer® application to view
fault conditions in these ways:
Logix Designer
• Warning Symbol in the I/O Configuration Tree
Table 42 -
• Categories on I/O Module Properties Dialog
Applies to these controllers: • Notification in the Tag Monitor
CompactLogix™ 5380
• Fault Information in the Controller Properties Dialog Box
Compact GuardLogix® 5380 SIL 2
• Port Diagnostics
Compact GuardLogix 5380 SIL 3
• Advanced Time Sync
A warning symbol appears in the controller organizer next to the I/O module. This occurs when
there are faults or other conditions in the I/O module, or if the connection to the I/O module
fails while in run mode.
Figure 59 - Warning Symbol on I/O Module
IMPORTANT The descriptions in the Logix Designer application can change based on
the controller mode and status.
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:
• Module Status on General Category
• Module Fault Descriptions on Connection Category
• Module Fault Descriptions on Module Info Category
• Diagnostics Option on Module Info Category
The categories that are 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 60.
Module Status on General Category
The Connection category displays the module fault description that includes an error code that
is associated with the specific fault type.
Figure 61 - Fault Description with Error Code
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.
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
Figure 62 - Major and Minor Fault Information
You can access the diagnostics for a module from the Module Info category. Click Diagnostics,
to access the Module Diagnostics dialog box.
Figure 63 - Module Diagnostics
You can monitor information about recent major faults and also clear major faults on the Major
Faults tab.
Figure 64 - Major Faults Tab in Controller Properties Dialog Box
CompactLogix 5380 Controller
Minor Faults
You can monitor information about recent minor faults and also clear minor faults on the Minor
Faults tab.
Figure 65 - Minor Faults Tab in Controller Properties Dialog Box
CompactLogix 5380 Controller
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.
1. Access the Controller Properties.
2. Click the Port Configuration tab.
3. On the Port Configuration tab, click the Port Diagnostics button for an active port.
The Port Diagnostics page, displays information for the port. See Table 43 on page 240 for
parameter descriptions.
The Advanced Time Sync dialog box opens. See Table 44 for parameter descriptions.
Controller Diagnostics with You can also view diagnostic information in Linx-based software.
Linx-based Software 1. Use the RSWho button to browse.
2. Navigate to the Ethernet network.
Applies to these controllers:
CompactLogix 5380
3. Right-click the controller and choose Module Statistics.
Compact GuardLogix 5380 SIL 2
Compact GuardLogix 5380 SIL 3
Controller Web Pages The controller provides diagnostic web pages that track controller perfo rmance, network
performance, and backplane performance.
Applies to these controllers:
CompactLogix 5380 IMPORTANT With the Studio 5000 Logix Designer application version 33.00.00 and
Compact GuardLogix 5380 SIL 2 later, controller web pages are disabled by default.
Compact GuardLogix 5380 SIL 3 To enable the controller web pages, select the checkbox on the Logix
Designer Controller Properties Security tab.
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.
Linear/DLR Mode
Dual-IP Mode
The table shows the tasks that are running on the Control core (all system tasks are
summarized as one task).
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.
• 1588 PTP (Time Sync)
Linear/DLR Mode
Dual-IP Mode
Other Potential Issues to Your controller can experience other issues that you must troubleshoot.
Troubleshoot Continuous Task Sends Output Data at High Rate
Applies to these controllers:
CompactLogix 5380 A free-running Continuous Task can keep sending outputs at a high rate. If the Continuous
Compact GuardLogix 5380 SIL 2 Task executes repetitively with a short task execution time, and local output or produced data
Compact GuardLogix 5380 SIL 3
is changing, the controller can produce data faster than the receiving modules can react. We
recommend that you program appropriately to avoid this condition.
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 109.
For more information on managed switches in general, see the EtherNet/IP Network section of
the product directory accessible at this address:
http://ab.rockwellautomation.com/networks-and-communications/ethernet-ip-network.
Status Display and Figure 67 shows the status display and indicators on CompactLogix 5380 and
Compact GuardLogix 5380 controllers.
Indicators
Figure 67 - Status Display and Indicators
3 3
1 1
2 2
4
Item Description
1 4-Character Scrolling Status Display, see page 253
2 Controller Status Indicators, see page 257
3 EtherNet/IP™ Status Indicators, see page 258
4 Power Status Indicators, see page 259
General Status Messages The scrolling messages that are described in this table are typically indicated upon powerup,
powerdown, and while the controller is running to show the status of the controller.
Applies to these controllers:
CompactLogix 5380 Table 45 - Controller General Status Messages
Compact GuardLogix 5380 SIL 2 Message Interpretation
Compact GuardLogix 5380 SIL 3 The controller is Off.
No message is Check the MOD POWER status indicator to see if power is applied to the system.
indicated Check the OK indicator to determine if the controller is powered and to determine the state
of the controller.
Identity Mismatch—
Contact Tech Support
Missing Vendor
Certificate—Contact Beginning with firmware revision 34.011, if a firmware update identifies the controller as
Tech Support not authentic, the hardware is permanently disabled.
Bad Vendor
Certificate—Contact
Tech Support
TEST The controller is conducting power-up tests.
CHRG The embedded energy storage circuit is charging.
Compact GuardLogix Status The Compact GuardLogix 5380 controller display can show these scrolling messages.
Messages Table 46 - Safety Status Messages
Applies to these controllers: Message Interpretation
Compact GuardLogix 5380 SIL 2 No Safety Signature Safety Task is in Run mode without a safety signature. Generate a safety signature.
Compact GuardLogix 5380 SIL 3 The controller is in Run mode with a safety signature, but is not safety-locked. Safety
Safety Unlocked lock the controller.
The safety logic is invalid. For example, a watchdog timeout occurred, or memory is
corrupt.
Safety Task Inoperable For a Compact GuardLogix 5380 SIL3 controllers, a mismatch occurred between the
primary controller and the safety partner.
For Compact GuardLogix 5380 SIL3 controllers, the safety partner is missing or
Safety Partner Missing unavailable.
Fault Messages If the controller displays a fault, these messages can appear on the status display.
Applies to these controllers: Table 47 - Fault Messages
CompactLogix 5380 Message Interpretation
Compact GuardLogix 5380 SIL 2 A major fault of Type XX and Code XX has been detected.
Compact GuardLogix 5380 SIL 3 Major Fault TXX:CXX message 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.
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.
I/O Fault Local:X #XXXX message 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.
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
I/O Fault ModuleName #XXXX fault.
message 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.
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
I/O Fault ModuleParent:X #XXXX Configuration tree of Logix Designer application. In addition, the fault code is
message indicated with a brief description of the fault.
Take corrective action specific to the type of fault indicated.
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
X I/O Faults 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 major recoverable faults and I/O fault codes, see the Logix 5000 Major, Minor,
and I/O Fault Codes Programming Manual, publication 1756-PM014.
Major Fault Messages The Major Fault TXX:CXX message on the controller status display indicates major faults.
Applies to these controllers:
CompactLogix 5380 This manual links to Logix 5000 Controller and I/O Fault Codes,
Compact GuardLogix 5380 SIL 2 publication, 1756-RD001; the file automatically downloads when you click
Compact GuardLogix 5380 SIL 3 the link.
For suggested recovery methods for major faults, see the Logix 5000 Major, Minor, and I/O
Fault Codes Programming Manual, publication 1756-PM014.
I/O Fault Codes The controller indicates I/O faults on the status display in one of these formats:
Applies to these controllers:
• I/O Fault Local:X #XXXX message
CompactLogix 5380 • I/O Fault ModuleName #XXXX message
Compact GuardLogix 5380 SIL 2 • I/O Fault ModuleParent:X #XXXX message
Compact GuardLogix 5380 SIL 3
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 the Studio 5000 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.
This manual links to Logix 5000 Controller and I/O Fault Codes,
publication, 1756-RD001; the file automatically downloads when you click
the link.
For suggested recovery methods for I/O faults, see the Logix 5000 Major, Minor, and I/O Fault
Codes Programming Manual, publication 1756-PM014.
Controller Status Indicators The controller status indicators display the state of the controller.
Table 48 -
IMPORTANT Safety Consideration
Applies to these controllers: Status indicators are not reliable indicators for safety functions. Use
CompactLogix 5380 them only for general diagnostics during commissioning or
Compact GuardLogix 5380 SIL 2 troubleshooting. Do not attempt to use status indicators to determine
Compact GuardLogix 5380 SIL 3 operational status.
RUN Indicator
The RUN indicator shows the current mode of the controller.
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.
SD Indicator
The SD indicator shows if the SD card is in use.
Table 51 - SD Indicator
State Description
Off No activity is occurring with the SD card.
Flashing green The controller is reading from or writing to the SD card.
IMPORTANT: Do not remove the SD card while the controller is reading or writing. Let the read/
Solid green write complete without interruption. If you interrupt the read/write, data corruption or loss can
occur.
One of the following exists:
Flashing red • The SD card does not have a valid file system.
• The SD card drew excessive current and power has been removed from the card.
Solid red The controller does not recognize the SD card.
OK Indicator
The OK indicator shows the state of the controller.
Table 52 - OK Indicator
State Description
Off No power is applied.
One of the following exists:
• The controller requires a firmware update. Typically, the controller is in its out-of-box state when
a firmware update is required.
If a firmware update is required, the 4-character display indicates Firmware Installation
Required. For more information on how to update firmware,
see Upload from the Controller on page 80.
• A firmware update is in progress.
If a firmware update is in progress, the 4-character display indicates Flash in Progress. For more
Flashing red information on how to update firmware, see Upload from the Controller on page 80.
• The controller has a major fault. The fault can be recoverable or nonrecoverable. If the fault is
nonrecoverable, the program has been cleared from the controller memory.
If a fault has occurred, the 4-character display shows information about the fault, for example,
the Type and Code.
For details about major faults, see the following:
– The fault descriptions in the General Status Messages that begin on page 253.
– Logix 5000 Major, Minor, and I/O Fault Codes Programming Manual, publication 1756-PM014.
• All user tasks, that is, standard and safety, are stopped.
• One of the following:
• The controller is completing power-up diagnostics.
• The controller is depleting its residual stored energy upon powerdown.
• The controller is powered, but is inoperable.
Solid red • The controller is loading a project to nonvolatile memory.
• The controller is experiencing a Hardware Preservation Fault due to a high internal module
temperature.
In this condition, only the status indicator receives power. Once the controller cools down to an
acceptable temperature, full power is applied.
Solid green The controller is operating normally.
EtherNet/IP Status The EtherNet/IP indicators show the state of the controller Ethernet ports and network
communication activity.
Indicators
Applies to these controllers: NET A1 and NET A2 Indicators
CompactLogix 5380
Compact GuardLogix 5380 SIL 2 The NET A1 and NET A2 indicators show the state of the Ethernet port.
Compact GuardLogix 5380 SIL 3 Table 53 - NET A1 and NET A2 Indicators
State Description
One of the following:
• The controller is not configured, or does not have an IP address.
Off • The port is administratively disabled.
• The EtherNet/IP mode is Linear/DLR mode. In this case, the NET A2 indicator is off. The NET
A1 indicator remains on.
Flashing green The controller has an IP address, but no active connections are established.
Steady green The controller has an IP address and at least one established active connection.
Steady red Duplicate IP address or invalid configuration.
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.
Applies to these controllers:
CompactLogix 5380 MOD Power Indicator
Compact GuardLogix 5380 SIL 2
Compact GuardLogix 5380 SIL 3 Table 55 describes the MOD Power indicator on a CompactLogix 5380 and Compact GuardLogix
5380 controller.
Table 55 - MOD Power Indicator
State Description
Off Module Power is not present
Steady green Module Power is present(1)
(1) Although unlikely, it is possible that there is enough Module Power present for the indicator to turn steady green but the
power is not valid. Valid power is 18…32V DC to operate a CompactLogix 5380 system. If the system does not power up and
operate successfully, Module Power can be invalid.
If Module Power is invalid, we recommend that you make sure that the external power supply is working correctly, properly
sized for your application and that all wiring is correct.
SA Power Indicator
Table 56 describes the SA Power indicator on a CompactLogix 5380 and Compact GuardLogix
5380 controller.
Table 56 - SA Power Indicator
State Description
One of the following:
Off • Sensor Actuator Power is not present
• Status of Sensor Actuator power is unknown
Steady green Sensor Actuator Power is present(1)
(1) Although unlikely, it is possible that there is enough Sensor/Actuator Power present for the indicator to turn steady green but
the power is not valid. Valid power is 18…32V DC in applications that require DC voltage and 18…240V AC in applications that
require AC voltage.
If Sensor/Actuator Power is invalid, we recommend that you make sure that the external power supply is working correctly,
properly sized for your application and that all wiring is correct.
Thermal Monitoring and The controllers monitor internal module temperatures. As shown below, the controller takes
actions as the temperature increases.
Thermal Fault Behavior
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 and Compact GuardLogix 5380 controller specifications, see
CompactLogix 5380 and Compact GuardLogix 5380 Controller Specifications Technical Data, publication 5069-TD002.
IMPORTANT The presence of any temperature warning indicates that measures must be taken to reduce the ambient temperature
of the module.
Instructions for how to use Ladder Diagram to check for a minor fault can be found in the Logix 5000 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.
Change from a Standard to a You can change from a CompactLogix™ 5380 controller to a Compact GuardLogix® 5380
controller in safety applications.
Safety Controller
Applies to these controllers: Upon confirmation of a change from a standard controller to a safety controller project, safety
components are created to meet the minimum requirements for a safety controller:
CompactLogix 5380
Compact GuardLogix 5380 SIL 2 • The safety task is created only if the maximum number of downloadable tasks has not
been reached. The safety task is initialized with its default values.
Compact GuardLogix 5380 SIL 3
If your project already contains 32 tasks, and you try to change from a
standard to a safety controller, the project does not convert and stays with
the standard controller.
• Safety components are created (safety task, safety program, and so forth).
• A time-based safety network number (SNN) is generated for the local chassis.
• A time-based safety network number (SNN) is also generated for each embedded
EtherNet/IP™ port.
• Standard controller features that are not supported by the safety controller, such as
redundancy, are removed from the Controller Properties dialog box (if they existed).
Change from a Safety to a Upon confirmation of a change from a safety controller project to a standard controller, some
components are changed and others are deleted:
Standard Controller
• Safety I/O devices and their tags are deleted.
Applies to these controllers: • The safety task, programs, and routines are changed to a standard task, programs, and
CompactLogix 5380 routines.
Compact GuardLogix 5380 SIL 2 • All safety tags, except safety consume tags, are changed to standard tags. Safety
Compact GuardLogix 5380 SIL 3 consume tags are deleted.
• Safety tag mappings are deleted.
• The safety network numbers (SNNs) are deleted.
• Safety-lock and -unlock passwords are deleted.
• If the standard controller supports features that were not available to the safety
controller, those new features are visible in the Controller Properties dialog box.
Peer safety controllers are not deleted, even if they have no
connections remaining.
• Instructions can still reference modules that have been deleted and can produce
verification errors.
• Consumed tags are deleted when the producing module is deleted.
• As a result of the above changes to the system, safety-specific instructions and safety
I/O tags do not verify.
If the safety controller project contains safety Add-On Instructions, you must remove them
from the project or change their class to standard before changing the controller type.
Change Safety When you change from one safety controller type to another, the class of tags, routines, and
programs remain unaltered. Any I/O devices that are no longer compatible with the target
Controller Types controller are deleted.
Applies to these controllers:
If you change from a safety controller with a SIL 3/PLe application to a Compact GuardLogix
Compact GuardLogix 5380 SIL 2
5380 SIL 2 controller, the application changes to SIL 2/PLd.
Compact GuardLogix 5380 SIL 3
If you change from a safety controller with a SIL 3/PLe application to a Compact GuardLogix
5380 SIL 3 controller, the application remains SIL 3/PLe.
If you change from a safety controller with a SIL 2/PLe application to a Compact GuardLogix
5380 SIL 3 controller, the representation of the safety partner is updated to appear
appropriately for the target controller.
Safety Network Numbers are also preserved when you change to a Compact GuardLogix 5380
controller.
Notes:
H
handshake 137
Home web page
use to troubleshoot 246
N
NET A1 and NET A2 status indicators 258
network address R
DNS addressing 53
receive messages 139
network address translation (NAT)
remote I/O modules
set the IP address 163
network communication rates 1732 ArmorBlock Guard I/O 148
1732D ArmorBlock I/O 148
on an EtherNet/IP network 109
1734 POINT I/O 148
network status
1746 SLC I/O 148
indicator 173, 174 1756 ControlLogix I/O 148
node address 161 1769 Compact I/O 148
nodes on an EtherNet/IP network 104 1794 FLEX I/O 148
nonvolatile memory about 148
tab 91 add to a Logix Designer application project
150 - 157
Compact 5000 I/O modules 148
O example 148
replace
obtain configure only… enabled 172
axis information 231 Guard I/O module 170 - 176
firmware 55 reset
OK status indicator 258
module 168
online ownership 169
go 72 reset button 86
optimize EtherNet/IP network performance 109 stage 1 reset 87
out-of-box 172 stage 2 reset 88
reset module 168 reset module 169
overlapping IP address ranges 123 routines 183
ownership in project 183
configuration 168 RSLinx Classic software
resetting 168 change EtherNet/IP mode 131
configure Dual-IP mode 125
configure Linear/DLR mode 128
P diagnotics 244
parameters RSWho
in project 184 set communication path 72
path RUN status indicator 257
set 72
Performance Level 43
periodic tasks 179
S
Power status indicators 259 SA power indicator 259
MOD power indicator 259 safety network number
SA power indicator 259 automatic assignment 68
produce data 138 copy 70, 166
produce/consume data 138 description 67
managing 67
programming languages 186 manual assignment 68
FBD 186 paste 70, 166
Ladder Logic 186 set 164
SFC 186 time-based 68
Structured Text 186 safety signature
programs
effect on download 76
in project 181 effect on upload 76
scheduled 182 storing a project 94
unscheduled 182 safety status
project
effect on download 76
download 77 view 76
elements 177 safety tab
go online 72 configuration signature 168
programs 181
module replacement 170
routines 183
view safety status 76
tasks 177
safety-lock
upload 80
projects effect on download 76
Add-On Instructions 186 effect on upload 76
scheduled programs 182
parameters 184
programming languages 186
tags 184
troubleshoot
with Advanced Diagnostics web page 250
with Advanced Time Sync dialog box in Logix
Designer application 241
with Browse Chassis web page 252
with Connection category in Logix Designer
application 236
with controller web pages 245 - 252
with Diagnostics web page 248
with Ethernet Port A1/A2 web page 249
with Ethernet Port Diagnostics dialog box in
Logix Designer application 239
with General category in Logix Designer
application 235
with Home web page 246
with I/O module properties dialog box in
Logix Designer application 235 -
237
with Module Info category in Logix Designer
application 236
with Tasks web page 247
U
unscheduled programs 182
update
determine frequency 158
update controller firmware 54 - 62
update firmware
AutoFlash 61
upload
effect of controller match 75
effect of safety signature 76
effect of safety-lock 76
project 80
USB port
disable 215
use a fault routine 201
use GSV instruction to get fault codes 190
user-definable major faults 201
create a fault routine 201
jump to the fault routine 201
use a fault routine 201
V
view
safety status 76
W
webpages
disable 222
Notes:
Documentation Feedback
Your comments help us serve your documentation needs better. If you have any suggestions on how to improve our content, complete the
form at rok.auto/docfeedback.
At the end of life, this equipment should be collected separately from any unsorted municipal waste.
Rockwell Automation maintains current product environmental compliance information on its website at rok.auto/pec.
Allen-Bradley, ArmorBlock, Compact 5000, Compact I/O, CompactBlock, CompactLogix, ControlBus, ControlFLASH, ControlFLASH Plus, ControlLogix, DH+, expanding human possibility,
FactoryTalk, FLEX, Guard I/O, Guardmaster, GuardLogix, Integrated Architecture, Kinetix, Logix 5000, On-Machine, PanelView, PlantPAx, PLC-2, PLC-3, PLC-5, POINT I/O, POINT Guard I/O,
PowerFlex, Rockwell Automation, RSLinx, RSNetWorx, SLC, Stratix, Studio 5000, and Studio 5000 Logix Designer are trademarks of Rockwell Automation, Inc.
CIP, CIP Safety, CIP Sync, ControlNet, DeviceNet, and EtherNet/IP are trademarks of ODVA, Inc.
Trademarks not belonging to Rockwell Automation are property of their respective companies.
Rockwell Otomasyon Ticaret A.Ş. Kar Plaza İş Merkezi E Blok Kat:6 34752, İçerenköy, İstanbul, Tel: +90 (216) 5698400 EEE Yönetmeliğine Uygundur