Replace Industrial
← All articles

ControlLogix Major Fault Codes: What They Mean and How to Clear Them

By Conor Raynor · December 3, 2026 · 9 min read

Contents
ControlLogix Major Fault Codes: What They Mean and How to Clear Them

A ControlLogix major fault is an error serious enough to stop the controller: it drops out of Run mode, turns off or holds outputs according to their fault configuration and records the fault as a type and a code. Type 1 faults happen at power-up, Type 3 are I/O connection faults, Type 4 are program errors, Type 6 is a task watchdog timeout, Type 7 is a save or load problem with nonvolatile memory, and Type 8 is a mode switch problem. To clear one, find the type and code in Studio 5000 Logix Designer, fix the cause, then clear the fault from the Major Faults tab or by turning the keyswitch from Run to Program and back.

This guide lists the most common ControlLogix major fault types and codes, explains what causes each one and walks through how to read, clear and prevent them. For an overview of the ControlLogix platform, see our ControlLogix vs CompactLogix vs Micro800 guide.

Allen-Bradley ControlLogix 5570 controller, 1756-L71

Major faults vs minor faults vs I/O faults

ControlLogix controllers report three kinds of faults:

  • A major fault stops the controller. If it is not cleared by a fault routine, the controller leaves Run mode and the OK indicator shows a fault.
  • A minor fault is logged but the controller keeps running. Examples are a low battery warning on older controllers or an arithmetic overflow in an instruction.
  • An I/O fault is a problem with a module or its connection. It shows on the module in the I/O configuration tree. It becomes a major fault only when the module is configured to fault the controller if its connection fails in Run mode.

This article covers major faults. The type number groups the fault by cause, and the code number identifies the exact problem.

ControlLogix major fault types

TypeCategoryWhat it usually means
1Power-upPower was lost and restored in Run mode, the battery or energy storage could not save the program, or the controller found a non-recoverable fault
3I/OA required I/O connection failed or was never established
4ProgramAn instruction hit an error it cannot recover from, such as an invalid array index
6WatchdogA task took longer than its watchdog time
7Save and loadA store to or load from the memory card failed
8Mode switchThe keyswitch was moved to Run during a download
11MotionA motion axis or module fault was configured as a major fault
12RedundancyA fault in a redundant controller pair, such as a switchover with no partner controller
14SafetyA fault in a GuardLogix safety task
ControlLogix major fault types

The most common major fault codes

Type and codeDescriptionTypical fix
Type 1, code 1Power was lost and restored while the controller was in Run modeAdd a power-up handler that decides whether the machine may restart, or clear the fault and switch to Run once the system is safe
Type 1, code 40The battery or energy storage module did not have enough charge to save the program at power-downReplace the battery, or let the energy storage module charge fully; replace a removable module such as the 1756-ESMCAP, or the controller if the storage is built in
Type 1, code 60, 61 or 62The controller detected a non-recoverable faultInsert a memory card and restart the controller to save diagnostic data, clear the fault and download the project, then contact Rockwell Automation support with the code from the status display
Type 3, code 16A required I/O module connection failedCheck that the module is in the chassis, check its electronic keying, and read the details on the Major Faults tab and the module's Connection tab
Type 3, code 20 or 21The controller cannot read the chassis information, so the chassis may be badNot recoverable: replace the chassis
Type 3, code 23At least one required connection was not established before the controller went to RunWait for the controller's I/O indicator to turn green before you switch to Run
Type 4, code 16Unknown instructionRemove the unknown instruction; it usually comes from a program conversion
Type 4, code 20Array subscript too large, or a control structure's .POS or .LEN value is invalidKeep the index within the array size; limit-check indirect addresses before the instruction runs
Type 4, code 21A control structure's .LEN or .POS value is less than zeroCorrect the logic that sets the control structure
Type 4, code 31The parameters of a JSR instruction do not match the parameters of the called routineMatch the JSR input and return parameters to the SBR and RET instructions
Type 4, code 34A timer's .PRE or .ACC value is negativeCheck the logic that writes to the timer preset or accumulator
Type 4, code 42A JMP instruction targets a label that does not existCorrect or add the LBL instruction
Type 4, code 84Stack overflowReduce the subroutine nesting levels or the number of parameters passed
Type 6, code 1Task watchdog expiredIncrease the watchdog time, shorten the task's execution time or raise its priority
Type 7, code 40Store to nonvolatile memory failedTry the store again; if it fails, replace the memory card. On 1756-L7x controllers, check that the card is unlocked
Type 7, code 41Load from nonvolatile memory failed: controller type mismatchUse a controller of the correct type, or download the project and store it to the card again
Type 7, code 42Load from nonvolatile memory failed: firmware revision mismatchUpdate the controller firmware to the revision of the project on the card
Type 7, code 43Load from nonvolatile memory failed: bad checksumContact Rockwell Automation support
Type 8, code 1The keyswitch was moved to Run during a downloadLet the download finish, then clear the fault
Common ControlLogix major fault codes and fixes

Program faults (Type 4) are the most common in day-to-day work, and Type 4, code 20 is the one most technicians meet first. It usually means an indirect address such as MyArray[Index] was evaluated with an index larger than the array. Add a limit check or a LIM instruction before the rung that uses the index, so the logic cannot run with an out-of-range value.

How to find the fault type and code

  1. Connect to the controller with Studio 5000 Logix Designer and go online.
  2. Open the controller properties and select the Major Faults tab. It lists the most recent faults with their type, code and a description.
  3. Note the program, routine and rung for Type 4 faults. Logix Designer shows where the fault occurred so you can go straight to the logic.
  4. Check the I/O configuration tree for Type 3 faults. A yellow warning triangle marks the module whose connection failed.

On the controller itself, the OK indicator flashes red for a recoverable major fault and stays solid red for a non-recoverable one. ControlLogix 5580 controllers also scroll the fault on their status display.

How to clear a major fault

Fix the cause first, then use one of these methods:

  • In Logix Designer, open the Major Faults tab and click Clear Majors, then return the controller to Run.
  • Turn the keyswitch from Run to Program and then back to Run. On controllers with a keyswitch, this clears a recoverable major fault.
  • Use a fault routine or controller fault handler to clear the fault automatically in logic, when the plant has decided that this fault is safe to recover from.

If the fault comes straight back, the cause is still there. Do not keep clearing it; go back to the type and code and find the root cause.

Fault routines and the controller fault handler

ControlLogix lets you handle some faults in logic instead of letting them stop the controller.

  • A program fault routine runs when a Type 4 fault happens in that program. It can read the fault with a GSV instruction, decide whether it is safe to continue and clear it with an SSV instruction.
  • The controller fault handler runs for other major faults, such as some I/O faults.
  • The power-up handler runs when the controller powers up in Run mode, so you can decide whether the machine may restart automatically.

Use fault handling for faults you understand and can recover from safely. Clearing every fault automatically hides real problems.

How to prevent major faults

Most major faults can be designed out:

  • Limit-check every indirect array index before the instruction that uses it.
  • Keep watchdog times realistic and monitor task scan times as the program grows.
  • Set I/O modules to fault the controller only when losing that module truly makes the machine unsafe or unusable.
  • Keep a current project backup on the memory card and on a server, and test that it loads.
  • Match firmware revision and Logix Designer version before every download.

When the hardware is the problem

Repeated Type 3 faults on modules that test good, Type 1 non-recoverable faults or faults that follow a controller from chassis to chassis can point to failed hardware. Swap in a known good controller, communication module such as the 1756-EN2TR, power supply such as the 1756-PA75 or chassis such as the 1756-A10 to isolate the failure. Keeping one spare controller of each generation on the shelf, such as a 1756-L73 for 5570 systems or a 1756-L83E for 5580 systems, turns a long shutdown into a short swap.

Frequently asked questions

What is a major fault on a ControlLogix controller?

A major fault is an error that stops the controller from running its program. The controller leaves Run mode, outputs go to their configured fault state and the fault is recorded with a type and a code that identify the cause.

How do I clear a major fault on a ControlLogix controller?

Fix the cause first. Then go online in Studio 5000 Logix Designer and click Clear Majors on the Major Faults tab of the controller properties, or turn the keyswitch from Run to Program and back to Run. Make sure it is safe for the machine to restart before you return to Run.

What does Type 4, code 20 mean?

Type 4, code 20 is a program fault caused by an array subscript that is too large, or by an invalid .POS or .LEN value in a control structure. It usually comes from an indirect address with an out-of-range index. Add a limit check before the instruction that uses the index.

What does Type 6, code 1 mean?

Type 6, code 1 means a task took longer than its watchdog time. Increase the watchdog time if the task is legitimately long, or reduce the logic that runs in that task.

Why does my ControlLogix controller fault on power-up?

A Type 1, code 1 fault means power was lost and restored while the controller was in Run mode, and no power-up handler cleared the fault. This is a safety feature. Add a power-up handler if the machine may restart automatically, or clear the fault manually after checking that restart is safe.

Final thoughts

Every ControlLogix major fault gives you a type and a code, and that pair points straight to the cause. Read it from the Major Faults tab, fix the cause, then clear the fault and restart only when it is safe. Design out the common program faults with limit checks and realistic watchdog times, and keep spares on the shelf for the faults that are really hardware.

← Back to all articles

Related Articles

Your Cart

Your cart is empty: add a part to get started.

Add a part to your cart
Browse the full catalog →