ControlLogix Major Fault Codes: What They Mean and How to Clear Them
By Conor Raynor · December 3, 2026 · 9 min read
Contents
- Major faults vs minor faults vs I/O faults
- ControlLogix major fault types
- The most common major fault codes
- How to find the fault type and code
- How to clear a major fault
- Fault routines and the controller fault handler
- How to prevent major faults
- When the hardware is the problem
- Frequently asked questions
- Final thoughts

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.
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
| Type | Category | What it usually means |
|---|---|---|
| 1 | Power-up | Power 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 |
| 3 | I/O | A required I/O connection failed or was never established |
| 4 | Program | An instruction hit an error it cannot recover from, such as an invalid array index |
| 6 | Watchdog | A task took longer than its watchdog time |
| 7 | Save and load | A store to or load from the memory card failed |
| 8 | Mode switch | The keyswitch was moved to Run during a download |
| 11 | Motion | A motion axis or module fault was configured as a major fault |
| 12 | Redundancy | A fault in a redundant controller pair, such as a switchover with no partner controller |
| 14 | Safety | A fault in a GuardLogix safety task |
The most common major fault codes
| Type and code | Description | Typical fix |
|---|---|---|
| Type 1, code 1 | Power was lost and restored while the controller was in Run mode | Add 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 40 | The battery or energy storage module did not have enough charge to save the program at power-down | Replace 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 62 | The controller detected a non-recoverable fault | Insert 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 16 | A required I/O module connection failed | Check 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 21 | The controller cannot read the chassis information, so the chassis may be bad | Not recoverable: replace the chassis |
| Type 3, code 23 | At least one required connection was not established before the controller went to Run | Wait for the controller's I/O indicator to turn green before you switch to Run |
| Type 4, code 16 | Unknown instruction | Remove the unknown instruction; it usually comes from a program conversion |
| Type 4, code 20 | Array subscript too large, or a control structure's .POS or .LEN value is invalid | Keep the index within the array size; limit-check indirect addresses before the instruction runs |
| Type 4, code 21 | A control structure's .LEN or .POS value is less than zero | Correct the logic that sets the control structure |
| Type 4, code 31 | The parameters of a JSR instruction do not match the parameters of the called routine | Match the JSR input and return parameters to the SBR and RET instructions |
| Type 4, code 34 | A timer's .PRE or .ACC value is negative | Check the logic that writes to the timer preset or accumulator |
| Type 4, code 42 | A JMP instruction targets a label that does not exist | Correct or add the LBL instruction |
| Type 4, code 84 | Stack overflow | Reduce the subroutine nesting levels or the number of parameters passed |
| Type 6, code 1 | Task watchdog expired | Increase the watchdog time, shorten the task's execution time or raise its priority |
| Type 7, code 40 | Store to nonvolatile memory failed | Try the store again; if it fails, replace the memory card. On 1756-L7x controllers, check that the card is unlocked |
| Type 7, code 41 | Load from nonvolatile memory failed: controller type mismatch | Use a controller of the correct type, or download the project and store it to the card again |
| Type 7, code 42 | Load from nonvolatile memory failed: firmware revision mismatch | Update the controller firmware to the revision of the project on the card |
| Type 7, code 43 | Load from nonvolatile memory failed: bad checksum | Contact Rockwell Automation support |
| Type 8, code 1 | The keyswitch was moved to Run during a download | Let the download finish, then clear the fault |
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
- Connect to the controller with Studio 5000 Logix Designer and go online.
- Open the controller properties and select the Major Faults tab. It lists the most recent faults with their type, code and a description.
- 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.
- 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.







