Skip to main content
← All posts
9 November 2026 13 min read

PLC troubleshooting: what to check, in what order

The PLC says RUN and the machine still won't start. What to check at a stopped machine, in what order, with Siemens, Rockwell and Omron specifics.

The capper stops mid-cycle. The HMI says “Machine not ready”, the operator has already pressed reset twice, and the PLC in the cabinet shows a steady green RUN light. As far as the controller is concerned, nothing is broken. It’s waiting for something, and it isn’t telling you what.

PLC troubleshooting is finding out why a machine controlled by a programmable logic controller has stopped or is doing the wrong thing. Most of the time the controller is running fine, and its program is waiting for a condition that never came: a sensor that didn’t switch, a drive that isn’t ready, a guard that reads open. A fixed order of checks gets you from the symptom to that condition, and from there to the device and the wire behind it.

What PLC troubleshooting covers

A PLC reads inputs from sensors and switches, runs its program, and sets outputs that drive contactors, valves and other actuators. A stop can start anywhere in that chain:

  • The controller: the CPU is in STOP, has a fault, or has lost power.
  • Communication: the connection to remote I/O, a drive or an HMI has dropped.
  • I/O modules: a module has failed or reports a fault.
  • The program’s conditions: an interlock, a sequence step or a timer is waiting for something.
  • Field devices and wiring: a sensor, a switch, a cable or a terminal.
  • Recent changes: a program edit, a parameter, a replaced device with different settings.

The order below goes from the quick checks that rule out whole groups of causes to the slow ones. It’s roughly the order the troubleshooting chapters in PLC manuals follow too (AutomationDirect).

Safety first

Before you reach into the machine or the cabinet, follow your plant’s lockout and tagout procedure. And remember that the controls don’t isolate anything. In OSHA’s words: “Push buttons, selector switches and other control circuit type devices are not energy isolating devices” (OSHA 1910.147). A machine stopped by the PLC can start again the moment the condition it’s waiting for comes true, including while your hand is in it.

Some checks need the power on, such as watching the program online or measuring a signal at a terminal. Measuring inside a live cabinet is energized electrical work, for qualified people only, with the protective equipment and procedure your plant sets for that voltage (OSHA 1910.333 in the US, EN 50110-1 in Europe). The 24 V terminals often sit right next to 120 V or 230 V control circuits and the 400 V or 480 V supply.

Two more rules matter when a PLC is involved:

  • Don’t bypass safety circuits. Emergency stops, guard switches and light curtains usually run through a safety relay or a safety PLC, and safety controllers won’t let you force them: on Siemens safety I/O forcing “is not possible” (Siemens), and a Rockwell GuardLogix refuses forces on safety tags while the safety project is locked or has a safety signature (Rockwell). A wire bridge across a safety input has no such guard. After a safety device is repaired or replaced, test the safety function before the machine runs again.
  • Know what a force or an online edit will move before you make it. A forced input acts through the program, so it can start a motion just like a forced output can.

1. Read the controller’s status

Before opening the cabinet, read the alarm list on the HMI and ask the operator what the machine was doing and whether anything changed since it last ran, like a replaced part or a program edit. Many machines show the missing condition, or the step they’re waiting in, right on the HMI.

Then start with the controller. It takes a minute and rules out a whole class of causes. Each family shows its state with a few lights:

  • Siemens S7-1500: RUN/STOP steady green means the CPU is running, and steady yellow means it’s in STOP. A flashing red ERROR light means a diagnostic event is pending, and a yellow MAINT light means maintenance is demanded or a force is active. All lights off means the CPU has no power, or too little (Siemens CPU 1515-2 PN manual).
  • Rockwell ControlLogix 5580: RUN steady green means Run mode. OK flashing red means a major fault, and “all user tasks, standard and safety, are stopped”. FORCE steady yellow means I/O forces are enabled and active (Rockwell).
  • Omron NJ: RUN green means normal operation. ERROR lit red means a major fault: the CPU stops and all outputs turn off. ERROR flashing red means a partial or minor fault: the CPU keeps running, but a partial fault stops one function module, such as EtherCAT or motion control, completely (Omron NJ hardware manual).

Then read the controller’s own record, before anyone resets anything:

  • Siemens: the diagnostic buffer lists errors and every change of operating mode, newest first. You’ll find it in TIA Portal’s Online and Diagnostics view, on the CPU’s display or in its web server (Siemens TIA Portal help). A CPU 1515-2 PN holds up to 3,200 entries, but only 500 survive a power failure, so read it before someone switches the CPU off and on again.
  • Rockwell: a major fault halts the logic and is reported by type and code, in the Major Faults tab of the controller properties and on the 5580’s status display. T04:C20 is an array subscript out of range, for example, and T06:C01 a task watchdog that expired. Rockwell lists all the codes in its Logix 5000 fault code spreadsheet (Rockwell).
  • Omron: the event log records errors and other events, readable in Sysmac Studio or on an HMI (Omron). An NJ without a battery loses its event log at power-off.

A CPU in RUN with no fault, like the capper’s, means the controller is doing its job. The reason the machine stopped is somewhere in what the controller reads or what it drives.

2. Check communication and the I/O modules

Remote I/O, drives, robots and HMIs talk to the PLC over networks such as PROFINET, EtherNet/IP or EtherCAT. A lost connection shows on the module’s status lights and in the controller’s diagnostics. In Rockwell’s Logix Designer, a faulted module gets a yellow warning symbol in the I/O configuration tree and a code such as 0x0204, “Connection request timed out”. Rockwell’s first advice for that one is refreshingly basic: check that the module “has not been removed and is still functioning and receiving power” (Rockwell).

So check the module status lights, the network cable and connectors, the power to switches and remote racks, and any device whose address was changed. If the device that dropped off is a drive, our VFD troubleshooting guide picks up from there.

3. Find the condition the program is waiting for

Most stops end up here, the capper’s included. In the controller’s eyes, the machine is simply waiting for something.

Go online and open the part of the program that drives the output that should be on. Online monitoring shows the live state of every condition (Siemens calls it program status), so in ladder logic the rung shows power flowing up to the first condition that isn’t true (Siemens). That false condition is your lead. On the capper, it might be the sensor that reports the cap chute as full. One catch: online monitoring can miss a signal that drops out for a few milliseconds. The trace function in TIA Portal or a trend in Logix Designer records it.

Why conveyor 3 does not start: one rung, watched online
  • True, power flows
  • False, the rung stops here

Four conditions are true and one is not. Infeed_Clear is false, so Conv3_Run stays off: the conveyor is waiting for the infeed to be clear.

Infeed_Clear is input %I4.3: photoelectric sensor -B12 at the infeed, wired to terminal -X2:14, drawing page 23, column 4. Look at the infeed first: a product or debris in the beam makes Infeed_Clear false for a good reason. Then check the sensor's LED and alignment, and the wire to the terminal.

An illustration. Tag names, addresses and drawing references differ in every plant.

On a machine with a sequence, check which step it’s in and what that step’s transition is waiting for. The cross-reference of a tag lists every place the program uses it and jumps to each one (Siemens), which helps a lot when an interlock is set in one block and checked in another.

4. Follow the input to the field device

A false input names a device, and the electrical drawings tell you where it is and how it’s wired. The input address leads to the I/O card and channel, the drawing page for that card leads to the terminal, and the terminal leads to the cable and the device. Our guide to reading electrical schematics shows how to follow a signal through the drawings.

Check the signal at each point:

  • The input card: the channel’s status light shows whether the card sees the signal. Don’t trust it blindly, though. On some cards, such as AutomationDirect’s DL06, the lights follow the logic side, and on an output the light “could be operating normally while the actual output device (transistor, triac etc.) could be damaged” (AutomationDirect). A measurement at the terminal settles it.
  • The terminal: measure the voltage on the terminal, for example 24 V DC for a typical sensor input, against the reference the drawing shows.
  • The device: most sensors have a status light. A photoelectric sensor can be misaligned or dirty, a proximity sensor out of range, a switch mechanically stuck.

When several inputs drop at once, check the 24 V supply and the fuse or circuit breaker for that group, because one shorted sensor cable can take them all down. And check the field devices before you replace a module or the PLC. The same manual warns that a defective field device “may cause the same failure in the replacement PLC as well”, which is an expensive way to find out.

5. Check what changed

When a machine that ran yesterday stops today, ask what changed in between: a program edit, a new device, a changed parameter, a sensor replaced with a different setting. Siemens TIA Portal can compare the program in the CPU with the project on the laptop (Siemens), and Rockwell’s Compare Tool compares two project files, for example an upload from the controller with the archived copy (Rockwell). Any difference nobody documented is a lead.

Forces: use them carefully

A force overrides an input or an output in the controller, whatever the field signal or the program says. Siemens describes forcing an output as “a “bypassing” of the complete program”, and Rockwell warns that “forcing can cause unexpected machine motion that could injure personnel” (Siemens, Rockwell).

Forces also outlast the person who set them. On an S7-1500, a force job is stored on the memory card, survives a power cycle and even a memory reset, and closing the force table doesn’t stop it. On a Logix controller, forces are held in the controller and stay after the laptop is disconnected. A flashing FORCE light there means force values are still installed but disabled, and enabling forces later, even for one new force, switches all of them on at once. So remove old forces instead of leaving them disabled. Rockwell’s advice is to “use forces only as a temporary measure”. Remove them when the work is done, and record any force that stays on, so the night shift doesn’t find it the hard way.

Common PLC faults and their usual causes

  • CPU stopped by a program fault: for example an array index out of range or a task that overran its watchdog time.
  • I/O module or connection fault: a failed module, a module without supply, a network cable or switch, a device that lost its address.
  • An input that never comes: a sensor, a switch, a cable or a terminal between them and the input card.
  • An output that’s on but nothing moves: a contactor coil, a fuse, a valve, or the output stage itself.
  • Intermittent faults: a loose terminal or connector, a cable breaking inside a drag chain, a sensor at the edge of its range, or electrical noise. The DL06 manual is blunt about the last one: “Most noise problems result from improper grounding of the system.”

Faults that keep coming back deserve more than another reset. Write down the symptom and the false condition every time, and after the third occurrence run a proper root cause analysis.

When the program is the problem

Sometimes the program itself is wrong: a timer set too short for a slow valve, an interlock that doesn’t allow for a state the machine can reach, an edge case after a recipe change. Changing the program is engineering work, done by someone authorized to change it and tested before the machine goes back into production. A good fault record helps them: the exact symptom, the condition that was false, and what was done to get the machine running.

Where Edmund fits

Much of the time in PLC troubleshooting goes into finding which condition is false and where its signal comes from, and that time is most of your MTTR on control faults. Edmund reads your PLC programs from TIA Portal, Allen-Bradley and Omron projects, together with the electrical drawings and the maintenance journals. A technician asks why the conveyor doesn’t start, and the answer lists the conditions the program needs to start it, with the block, the line and the call site, the device and terminal behind each input from the drawings, and what fixed the same fault last time. For what general AI assistants do with PLC code, see Edmund vs ChatGPT for PLC and machine troubleshooting. And if you have a machine that keeps saying “not ready”, send us the fault.

Frequently asked questions

How do you troubleshoot a PLC?

Make the machine safe, read the HMI alarms and ask the operator what changed since it last ran. Then check the controller’s status lights and fault log, then communication and I/O modules, then the condition the program is waiting for, and then the field device and its wiring.

What are the most common PLC faults?

Inputs that never arrive because of a sensor, a cable or a terminal, outputs that switch but move nothing, I/O module and network faults, intermittent connections and noise, and program faults that stop the CPU.

How do I find out why a PLC output is not turning on?

Go online, open the rung or network that drives the output and find the first condition that isn’t true. Then follow that condition’s input to the device and the wire through the electrical drawings.

Should I force an input or output to test it?

Only when you know exactly what the forced signal will move, the area is clear and safe, and your plant’s procedure allows it. Remove the force afterwards and check that forcing is no longer active.

How do I clear a PLC fault?

Read and record the fault, fix the cause, then clear it from the programming software or as the vendor’s manual describes, with the machine area clear, because a reset can switch outputs back on. Omron warns that resetting an EtherCAT partial fault puts the slaves back into operation with their outputs enabled. Rockwell lets a fault routine clear selected faults and warns: “Do not use fault routines to continually clear all faults on the controller.”

This project was realised via financial support from Technological Incubation program

Financováno Evropskou unií · NextGenerationEU Národní plán obnovy Ministerstvo průmyslu a obchodu Czech Republic — The Country For The Future Technologická inkubace · CzechInvest