The short answer
PLC Will Not Run
A controller that will not run is held by its mode switch, is faulting on a condition the fault log names, has a program or firmware mismatch, has lost its program to a dead battery or memory failure, has an I/O configuration that does not match the hardware, or has a power supply problem. Read the status indicators and the fault log before anything else; they name the cause in most cases. Then check power, the keyswitch, the program integrity, the firmware, and the I/O configuration, in that order.
Key points
- The fault log names the cause. Read it before resetting anything.
- A keyswitch in PROGRAM is the most common reason a controller does not run after service.
- A dead battery or a failed memory module leaves a controller with no program after a power cycle.
- A program built for one firmware will not run on another. Match them.
- An I/O module missing, wrong, or in the wrong slot faults a controller configured to require it.
Read the indicators
Every controller has a run indicator, a fault indicator, an I/O status, and a communication status on its face, and a fault log reachable from the programming software or the display. Together they say whether the controller has power, whether it has a program, whether it is trying to run, and why it stopped. Ten seconds with the indicators and the log usually replaces an hour of guessing.
| Indicator state | Meaning | Look at |
|---|---|---|
| No indicators lit | No power to the processor | Power supply output, fuses, the supply input, the chassis connections |
| Power on, run off, fault off, mode PROGRAM | Held in program mode | The keyswitch; a remote mode change; a program download that ended in program mode |
| Fault solid or flashing | A major fault stopped execution | The fault log: code, description, the routine and rung where it occurred |
| Run on, I/O fault | Running with an I/O problem, or faulted on a required I/O connection | The I/O tree in the software: which module, what error |
| Battery or memory indicator | Battery low or dead; the program may be lost on power loss | Battery date; the program presence after a power cycle |
| A flashing pattern after power-up that never clears | Firmware or hardware fault | The manual pattern table; the firmware version |
Diagnostic procedure
- 1
Confirm power
Measure the power supply output at the chassis or the processor terminals. Confirm the supply input and its fuse. A supply that starts and drops out under load is a supply problem, not a processor problem.
- 2
Check the keyswitch
PROGRAM holds the controller out of run and refuses a remote change. REMOTE allows the software to set the mode. RUN runs. After service the switch is often left in PROGRAM.
- 3
Read the fault log
Connect with the programming software and open the fault history. A major fault gives a type and a code: a watchdog timeout, a math fault such as a divide by zero or an array index out of range, an I/O connection fault on a required module, a program corruption, a power-up handler condition. The log points to the routine and the rung.
- 4
Clear the fault and try to run
If the fault is a one-time condition, clearing it and placing the controller in run may succeed. If it faults again immediately, the cause is persistent and the log shows the same code: fix the cause.
- 5
Check the program is present
A controller with no program after a power cycle shows no fault and no run; the software reports no project. The battery or the memory module failed, or the controller was never saved to nonvolatile memory. Load the backup, then fix the battery or the retention.
- 6
Check firmware against the program
The software reports the controller firmware revision and the revision the project was built for. A mismatch prevents download or run on most platforms. Flash the controller to the project revision, or convert the project, following the platform procedure and with a backup on hand.
- 7
Check the I/O configuration
The I/O tree shows every configured module and its status. A module missing, in a different slot, or a different catalog number than configured faults a controller that requires that connection. Match the hardware to the configuration, or change the configuration or the inhibit and required flags deliberately.
- 8
Check for a program fault that recurs
A math fault or an index fault recurs every scan until the logic is fixed. The fault log gives the rung. Fix the logic, or add a fault handler routine that catches it, clears it, and logs it, as the platform allows.
- 9
Check the watchdog
A watchdog fault means the scan exceeded the limit. A loop that does not terminate, a very large data operation, or a program grown past the watchdog setting. Fix the cause; raise the watchdog only if the scan is legitimately long.
- 10
Power cycle as a last step
After the cause is found. A power cycle before reading the log erases the evidence on some platforms.
After it runs
- Confirm the outputs are what the process expects before returning the equipment to AUTO. A controller that has been down has stale retentive data and timers.
- Confirm the I/O tree is clean and every rack and module reports running.
- Confirm communications to SCADA are restored and the tags have good quality.
- Replace the battery if it was implicated, and record the date.
- Take a fresh backup, because the program in the controller is now the one that runs.
- Record the fault code, the cause, and the fix. Recurring faults are how a program tells you something.
Frequently asked questions
- The controller faults the moment I put it in run. What is it?
- A persistent fault in the logic or the configuration: a math fault on the first scan, an I/O connection to a missing required module, or a power-up handler that faults deliberately. The fault log shows the code and the location on every attempt; fix that.
- The controller ran for years and now will not run after a power outage. Why?
- The battery or the nonvolatile memory. The program was held in battery-backed memory, the battery was dead, and the outage cleared it. Load the backup, replace the battery, and configure the controller to store the program to nonvolatile memory where the platform supports it.
- Can I run the controller with a module inhibited?
- Yes, where the platform allows a module to be inhibited or marked not required. The controller runs without that module and its points are unavailable. Do it deliberately, alarm it, and return the module to service as soon as possible; a plant running on an inhibited module is a plant with a missing set of I/O.
- The fault log is empty and the controller will not run. What now?
- Keyswitch, then program presence, then firmware. A controller with no program and no fault is waiting for a download. A controller in PROGRAM with a program and no fault is waiting for the switch.
Related topics
- Processor FaultedA PLC with its fault light on and no logic running. How to read what it is telling you, the causes in order of likelihood, and how to restart it without repeating the fault.
- Program Will Not DownloadThe software refuses to download, or the download starts and fails. The version, path, mode, memory, and protection problems behind it, and the order to check them in.
- 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.
- Controller Memory and AddressingHow a controller organizes its data: data tables and tags, the input and output images, the elementary data types and what they hold, and the naming discipline that keeps a program readable years later.
- Control Power SuppliesSizing the 24 VDC supplies that run a controller and its field devices, separating loads that should not share a supply, and keeping the controller alive through a power event.
- PLC Program BackupsWhat a complete controller backup contains, how often to take one, where to keep it, why the upload from the running controller is not the master, and the verification that turns a folder of files into a recovery plan.
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.