Symptom
The fault indicator on the processor is lit or flashing red, the run light is off, the HMI shows stale values or a communication loss, and equipment has gone to whatever state its outputs fault to.
The short answer
Processor Faulted
A faulted processor has stopped executing logic on purpose, driven its outputs to their configured fault state, and recorded a fault code that says why. Read the code before doing anything else; it names the cause, and often the routine and the instruction. The usual causes are a watchdog timeout, a missing or wrong I/O module, a program error such as an array index out of range, a power dip, or a lost memory backup. Clearing the fault without fixing the cause restarts the clock on the next one.
Key points
- The fault code is the diagnosis. Read it from the programming software or the front panel display before clearing anything.
- A recoverable fault can be cleared and the processor returned to run; an unrecoverable one needs a power cycle or a download.
- Look at what changed: a module replaced, an online edit, a power event, or a new device on the network.
- Outputs went to their configured fault state, and the process is wherever that left it. Deal with the process first.
- A fault that recurs at intervals is usually a watchdog or a communication timeout, and the interval is a clue.
Possible causes and what to check
| Possible cause | What to check |
|---|---|
| Watchdog timeout from a scan that ran too long | The fault code names the watchdog. Look for a loop in logic, a large copy or search instruction, or a message instruction that blocks. The watchdog fault page covers it. |
| I/O module missing, wrong type, or failed | The I/O light flashes and the fault code names a slot or a connection. Compare the chassis against the I/O configuration. A module swapped for a different part number faults the processor on some platforms. |
| Remote rack or network connection lost | The connection to a remote rack, a drive, or a distributed I/O block is configured to fault the processor when it drops. Check the network light on the adapter and the switch port. |
| Program error | An array index out of range, a jump to a missing label, or an arithmetic overflow on platforms that fault on it. The code gives the routine and rung. Look at what data drove it there. |
| Power dip or brownout | The fault log shows a power-up event, and other equipment on the same feed logged it too. Check the panel supply and whether the controller has any backup. |
| Memory backup lost | The battery or energy storage light is on. The program may be gone entirely, and the processor is faulted because it has nothing to run. Restore from the nonvolatile card or a download. |
| Firmware mismatch after a replacement | A replacement processor or module with a different firmware revision than the project expects. The fault code or the software connection dialog says so. |
| Hardware failure | Repeated unrecoverable faults with no other cause, especially after heat or a lightning event. Swap the processor. |
Before anything else
The process is wherever the fault left it. Outputs went to hold, off, or a defined value depending on how each was configured, and that may have left a pump running or a valve closed. Put the equipment in a safe state by hand if it needs it, and only then start on the controller. The fault will still be there.
Read the fault
- 1
Note the lights.
Fault flashing or solid, run off, I/O flashing or solid, battery lit or not. Photograph the front of the processor. That pattern is the first evidence and it is lost the moment someone cycles power.
- 2
Connect and read the fault code.
The programming software shows the fault type, the code, and usually the routine and instruction. Some processors show the code on a front display. Write it down verbatim.
- 3
Read the fault log.
Most platforms keep a log of the last several faults with timestamps. A pattern in the log, the same fault every few hours, or a fault at the same time each day, points at a cause the single code does not.
- 4
Ask what changed.
A module replaced, an online edit, a new device on the network, a power event, a storm. The fault almost always follows a change, and the change is usually known to someone.
Match the code to the cause
| What the code or lights say | Likely cause | Where to look |
|---|---|---|
| Watchdog, scan time, or task overlap | A scan ran too long | A loop, a large instruction, a blocking message; the watchdog fault page |
| I/O fault with a slot number | Module missing, wrong, or failed | The chassis and the I/O configuration |
| I/O fault with a connection or node | Remote rack or device connection lost | The network link lights and the switch |
| Program fault with a routine and rung | Array index, missing label, overflow | The data that drove the instruction there |
| Power-up or power loss in the log | Brownout or outage | The panel supply and backup |
| Memory or battery | Retention lost, program possibly gone | The backup card and the last download |
| Firmware or revision | Mismatch after a replacement | The firmware revision against the project |
Clear and restart
A recoverable fault is cleared from the software or by cycling the keyswitch from program to run. If the cause has not been fixed, the processor faults again, sometimes within one scan, which is itself useful information. An unrecoverable fault needs a power cycle, and if the program did not survive it, a download from the last saved project or a restore from the nonvolatile card.
When it keeps happening
A processor that faults every few days with the same code is not faulting at random. Faults that arrive at the same time of day follow a scheduled load, a backup, or a report that stalls a communication task. Faults that follow storms are power or lightning. Faults that follow a technician visit are online edits. The fault log with timestamps, laid beside the operations log, usually names it.
Frequently asked questions
- Can I just clear the fault and put it back in run?
- You can, and it is often the right first move to get the process running, provided the equipment is in a state where outputs coming back is safe. But clear it having read and recorded the code, because if the cause is still there the fault comes back and you have lost the evidence.
- What is the difference between a recoverable and an unrecoverable fault?
- A recoverable fault can be cleared and the processor returned to run without a power cycle. An unrecoverable fault needs a power cycle, and sometimes a download, because the processor cannot trust its own state.
- The processor faulted after I replaced an I/O module. Why?
- The replacement is a different part number or revision than the I/O configuration expects, or it was inserted with the chassis powered on a platform that does not allow it. Match the part number exactly, or update the configuration and download.
- Why do the outputs behave strangely when the processor is faulted?
- They are at their configured fault state, which is set per module or per channel: hold last state, turn off, or go to a value. That configuration is a design decision and it may not be what the process needs. Review it.
Related topics
- The PLC ProcessorWhat the processor module does on every scan, how its memory is organized, what the mode switch and status lights mean, and how it faults and recovers.
- The Watchdog TimerWhat the scan watchdog protects against, why it faults the controller instead of pausing it, what makes a scan run long, and why raising the limit is the wrong first response.
- Retentive MemoryWhat survives a power cycle in a controller and what does not, how retention is backed up by battery, capacitor, or nonvolatile storage, what should be retentive, and how retained data gets lost.
- Retentive Data LostThe plant came back from a power cycle with zero setpoints, zero totals, and the wrong pump as lead. Which backup failed, which restore overwrote what, and how to get the data back and keep it.
- Loss of Control VoltageControl voltage that drops out for a moment and comes back, resetting controllers and dropping contactors: utility sags when a large load starts, a transfer switch operation, a loose neutral, or an overloaded control transformer. Catching it with a recorder.
- Outputs Not EnergizingThe program says the output is on and the equipment is not running. Where the signal gets lost between the output image and the field device, and how to find the point in a few measurements.
Direct contact
Have a controls question?
Reach Eric Sullivan directly about anything on this site, a controls or automation topic, or one of his personal projects.