Summary of Contents for Rockwell Automation Logix 5000
Page 1
Major, Minor, and I\O Faults 1756 ControlLogix, 1756 GuardLogix, 1769 CompactLogix, 1769 Compact GuardLogix, 1789 SoftLogix, 5069 CompactLogix, 5069 Compact GuardLogix, Studio 5000 Logix Emulate Rockwell Automation Publication 1756-PM014N-EN-P - March 2022 Supersedes Publication 1756-PM014M-EN-P - September 2020 Programming Manual Original Instructions...
Page 2
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.
Page 3
Replaced the Major Fault Codes list with a link to the Controller Fault Codes spreadsheet. I/O fault codes page 33 Replaced the I/O Fault Codes list with a link to the Controller Fault Codes spreadsheet. Rockwell Automation Publication 1756-PM014N-EN-P - March 2022...
Logix 5000 Controllers Common Procedures Programming Manual, publication 1756-PM001. The term Logix 5000 controller refers to any controller based on the Logix 5000 operating system. Studio 5000 environment The Studio 5000 Automation Engineering & Design Environment® combines engineering and design elements into a common environment. The first element is the Studio 5000 Logix Designer®...
Allen-Bradley distributor or Rockwell Automation sales representative. Legal Notices Rockwell Automation publishes legal notices, such as privacy policies, license agreements, trademark disclosures, and other terms and conditions on the Legal Notices page of the Rockwell Automation website.
Recover from a major fault These examples show fault routines with logic that take specific action after a major fault. If the fault clears, the faulted instruction does not run and execution resumes with the next instruction. Rockwell Automation Publication 1756-PM014N-EN-P - March 2022...
Page 10
Add-On Instruction, the remainder of the Add-On Instruction aborts. If the fault clears, execution resumes with the MOV instruction. Important points regarding Add-On Instructions Keep these considerations in mind when using Add-On Instructions and major faults. Rockwell Automation Publication 1756-PM014N-EN-P - March 2022...
Logix Designer application or to write a fault handler to ignore the array faults during prescan. To reduce the need for manual Rockwell Automation Publication 1756-PM014N-EN-P - March 2022...
ProgramFaultRoutine ControllerFaultRoutine Power-UpFaultHandlerRoutine See also Create a fault routine for a program page 13 Create a routine for the controller fault handler page 16 Create a routine for the power-up handler page 17 Rockwell Automation Publication 1756-PM014N-EN-P - March 2022...
1. Open the project in the Logix Designer application. 2. In the Controller Organizer, right-click MainProgram and select Add>New Routine. 3. On the New Routine dialog box, in Name, type the name of the routine. Rockwell Automation Publication 1756-PM014N-EN-P - March 2022...
Complete these steps to change the routine assigned as the fault routine. assignment of a program To change a fault routine assignment of a program: 1. In the Controller Organizer, expand the MainTask. Rockwell Automation Publication 1756-PM014N-EN-P - March 2022...
Page 15
4. In Fault, choose the routine to be the program’s fault routine. 5. Select OK. The program specified in step 4 is now indicated as the fault routine in the MainProgram. See also Create a fault routine for a program page 13 Rockwell Automation Publication 1756-PM014N-EN-P - March 2022...
1. In the Controller Organizer, right-click Controller Fault Handler and select New Program. 2. On the New Program dialog box, in Name, type a program name. Verify that Schedule in is set to Controller Fault Handler. 3. Select OK. Rockwell Automation Publication 1756-PM014N-EN-P - March 2022...
In the Power-Up Handler fault routine, complete these steps. resume normal operation when power restored 1. Clear the major fault (type 1, code 1). 2. Run the appropriate logic for the specific actions required. Rockwell Automation Publication 1756-PM014N-EN-P - March 2022...
Page 18
To create a routine for the power-up handler: 1. In the Controller Organizer, right-click Power-Up Handler and select New Program. 2. On the New Program dialog box, in Name, type a program name. Rockwell Automation Publication 1756-PM014N-EN-P - March 2022...
Page 19
Tip: Even though Fault is an option in Assignment, assigning the routine as a fault routine within the Power-Up Handler is not necessary. 7. Click OK. The fault routine is added to the Power-Up Handler. Rockwell Automation Publication 1756-PM014N-EN-P - March 2022...
Write a routine to clear the fault page 21 Create a data type to store Logix 5000 controllers store system information in objects. Unlike PLC-5 or SLC 500 controllers, there is no status file. fault information • To access system information, use a Get System Value (GSV) or Set System Value (SSV) instruction.
A fault routine normally contains logic to identify the program fault. Some fault routines also contain logic to clear the fault. If a fault clears, the routine fault continues executing at the instruction immediately after the instruction that Rockwell Automation Publication 1756-PM014N-EN-P - March 2022...
11.x or earlier During prescan, an array subscript that is beyond the range of the array (out of range) produces a major fault. 12.x See the release notes for the firmware of your controller. Rockwell Automation Publication 1756-PM014N-EN-P - March 2022...
Page 23
• Writes the values contained in the major_fault_record tag. Because the Type and Code member are set to zero, the fault clears and the logix starts running again. See also Fault handling during prescan and postscan page 11 Rockwell Automation Publication 1756-PM014N-EN-P - March 2022...
2. Configure the program to use the fault routine if it is not already assigned. 3. In the main routine of the program, enter this rung, where: • Tag_1.0 is the tag used to initiate the fault Rockwell Automation Publication 1756-PM014N-EN-P - March 2022...
You might be asked to log in to your Rockwell Automation web account or create an account if you do not have one. You do not need a support contract to access the article.
5. Reset S:MINOR if you want to detect a minor fault that is cause by another instruction. S:MINOR remains set until the end of the scan. See also Minor fault codes page 29 Rockwell Automation Publication 1756-PM014N-EN-P - March 2022...
• The rung then executes the multiply instruction. • If the instruction produces a minor fault, the controller sets S:MINOR. • If S:MINOR is set, the GSV instruction gets information about the fault and resets S:MINOR. Rockwell Automation Publication 1756-PM014N-EN-P - March 2022...
You might be asked to log in to your Rockwell Automation web account or create an account if you do not have one. You do not need a support contract to access the article.
The indication of I/O faults displays in various ways depending on the controller. • The I/O indicator of the controller (shown in examples below) flashes green or red. • The controller status display indicates I/O fault messages. Rockwell Automation Publication 1756-PM014N-EN-P - March 2022...
Page 32
• A yellow warning symbol appears on the module in the I/O Configuration tree of the Logix Designer application. • A module fault code and description appear in the Connection tab of the Module Properties dialog box. Rockwell Automation Publication 1756-PM014N-EN-P - March 2022...
You might be asked to log in to your Rockwell Automation web account or create an account if you do not have one. You do not need a support contract to access the article.
Page 35
22 monitor minor 27 routine, create 13 shut down the controller 24 shown in Module Properties 31 status test a fault routine 23 controller in RSLogix 5000 31 Fault Handler store faults Rockwell Automation Publication 1756-PM014N-EN-P - March 2022...
Page 36
Index create data type 20 suspend controller 24 test a fault routine 23 UPS fault 27, 29 warning ESM fault 27, 29 UPS fault 27, 29 Rockwell Automation Publication 1756-PM014N-EN-P - March 2022...
Page 37
At the end of life, this equipment should be collected separately from any unsorted municipal waste. Rockwell Automation maintains current product environmental information on its website at rok.auto/pec. Allen-Bradley, expanding human possibility, Logix, Rockwell Automation, and Rockwell Software are trademarks of Rockwell Automation, Inc. EtherNet/IP is a trademark of ODVA, Inc.
Need help?
Do you have a question about the Logix 5000 and is the answer not in the manual?
Questions and answers