Rockwell Automation Logix 5000 Programming Manual
Rockwell Automation Logix 5000 Programming Manual

Rockwell Automation Logix 5000 Programming Manual

Controllers major, minor, and i/o faults
Hide thumbs Also See for Logix 5000:

Advertisement

Quick Links

Logix 5000 Controllers
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
Programming Manual
Rockwell Automation Publication 1756-PM014N-EN-P - March 2022
Supersedes Publication 1756-PM014M-EN-P - September 2020
Original Instructions

Advertisement

Table of Contents
loading

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...
  • Page 5: Table Of Contents

    Chapter 2 Minor Faults Identify minor faults ................. 27 Minor fault examples ................28 Minor fault codes..................29 Chapter 3 I/O Fault Codes Indications of I/O faults ................31 I/O Fault Codes ..................33 Index Rockwell Automation Publication 1756-PM014N-EN-P - March 2022...
  • Page 7: Summary Of Changes Studio 5000 Environment

    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®...
  • Page 8: Preface

    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.
  • Page 9: Major Faults Major Fault State

    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...
  • Page 11: Fault Handling During Prescan And Postscan

    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...
  • Page 12: Placement Of Fault Routines

    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...
  • Page 13: Choose Where To Place The Fault Routine

    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...
  • Page 14: Change A Fault Routine Assignment Of A Program

    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...
  • Page 16: Create A Routine For The Controller Fault Handler

    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...
  • Page 17: Create A Routine For The Power-Up Handler

    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...
  • Page 20: Programmatically Clearing A Major Fault

    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.
  • Page 21: Write A Routine To Clear The Fault

    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...
  • Page 22: Clear A Major Fault During Prescan

    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...
  • Page 24: Test A Fault Routine

    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...
  • Page 25: Major Fault Codes

    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 27: Minor Faults Identify Minor Faults

    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...
  • Page 28: Minor Fault Examples

    • 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...
  • Page 29: Minor Fault Codes

    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 31: I/O Fault Codes Indications Of I/O Faults

    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...
  • Page 33: I/O Fault Codes

    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.

Table of Contents