Industrial Automation

How to Troubleshoot PLC Problems and Failures

Industry Inspire Editorial Team Published Sep 26, 2026 Updated Sep 26, 2026 8 min read

Programmable Logic Controllers (PLCs) are built for industrial environments, but faults can still occur because of power problems, failed sensors, damaged wiring, communication loss, I/O module issues, software errors, or incorrect machine conditions.

Effective programmable logic controllers troubleshooting is not about immediately replacing the PLC. In many cases, the controller itself is working correctly and the real problem is somewhere else in the control system.

A structured troubleshooting method helps maintenance teams identify the fault faster, reduce unnecessary component replacement, and restore production safely.

This guide explains how to troubleshoot PLC problems and failures step by step.

PLC troubleshooting workflow
  1. Identify machine symptoms
  2. Check power and CPU status
  3. Verify inputs and outputs
  4. Check devices and communication
  5. Review program diagnostics
  6. Document the root cause

PLC Troubleshooting Steps

1. Start With the Machine Symptoms

Before connecting programming software or replacing hardware, understand what the machine is actually doing.

Ask questions such as:

  • Did the machine stop completely?
  • Is only one station affected?
  • Did the PLC enter fault mode?
  • Are inputs changing correctly?
  • Are outputs being commanded?
  • Is the HMI communicating?
  • Did the fault occur after maintenance or modification?
  • Is the problem continuous or intermittent?

For example, if a conveyor does not start, the PLC CPU may be perfectly healthy. The actual cause could be an emergency-stop circuit, motor overload, missing safety permissive, failed contactor, faulty sensor, or incorrect start condition.

Start with the symptom and work backward through the control chain.

2. Check PLC Power First

Power problems should be one of the first checks during PLC troubleshooting.

Verify:

  • Incoming AC supply
  • PLC power-supply input
  • 24 V DC control supply
  • Power-supply output voltage
  • Circuit breakers and fuses
  • Loose power terminals
  • Ground connections
  • Power-supply status LEDs

Low or unstable control voltage can cause symptoms such as:

  • PLC resets
  • Communication interruptions
  • Flickering I/O
  • Intermittent module faults
  • HMI disconnections
  • Unexpected machine stops

Do not assume that voltage is correct simply because a power indicator is illuminated. Measure it using the correct test equipment and procedures.

3. Check CPU Status and Diagnostic LEDs

The PLC CPU provides valuable information about its operating condition.

Typical status indicators may include:

  • RUN
  • STOP
  • FAULT
  • ERROR
  • MAINTENANCE
  • BATTERY
  • COMMUNICATION

If the controller is in STOP or FAULT mode, review its diagnostic information before attempting a reset.

Modern PLC programming tools often provide:

  • Diagnostic buffers
  • Event logs
  • Hardware faults
  • Module status
  • Network diagnostics
  • Program errors
  • Watchdog or execution-time faults

IEC 61131 recognizes error detection and diagnostic functions as important aspects of PLC systems, while IEC TR 61131-8 provides guidance related to programming and debugging tools.

Record the fault before clearing it. Resetting the PLC too quickly may remove valuable evidence.

4. Verify the Input Signals

If the PLC is running normally but the machine sequence does not continue, check the required inputs.

Examples include:

  • Start push button
  • Limit switch
  • Proximity sensor
  • Photoelectric sensor
  • Pressure switch
  • Motor feedback
  • Safety relay status
  • Temperature or level signal

Use the PLC online monitoring function to compare the physical device with the PLC input status.

For example:

Control relationship
  1. Physical sensor ON
  2. PLC input should also be ON

If the sensor is active but the PLC input remains OFF, check:

  1. Sensor power
  2. Sensor output
  3. Wiring
  4. Terminal connection
  5. Input module channel
  6. PLC address or tag assignment

This simple signal-tracing method can isolate many problems quickly.

5. Check PLC Outputs Carefully

If the correct input conditions exist but an actuator does not operate, check the PLC output.

Ask:

  • Is the output command active in the program?
  • Is the physical output LED active?
  • Is voltage present at the output terminal?
  • Is the relay, contactor, or solenoid receiving power?
  • Is there an interposing relay?
  • Has an overload or protection device tripped?

For example, the PLC may energize a conveyor output correctly, but the motor may still fail to run because the contactor coil is damaged or the overload relay has tripped.

Never force outputs casually during troubleshooting. Forced outputs can bypass normal sequence conditions and may cause unexpected machine movement.

Follow site safety procedures and manufacturer guidance whenever forcing or manually controlling outputs.

6. Inspect Wiring and Connections

Loose, broken, or damaged wiring causes many PLC-related problems.

Inspect:

  • PLC terminal blocks
  • Field junction boxes
  • Sensor connectors
  • Solenoid wiring
  • Network connectors
  • Grounding
  • Shield connections
  • Cable damage

Look for:

  • Burn marks
  • Corrosion
  • Loose terminals
  • Broken conductors
  • Crushed cables
  • Oil or water contamination
  • Damaged connectors

Intermittent faults are particularly difficult because vibration may temporarily open or close a weak connection.

If a machine fails only occasionally, inspect moving cable assemblies, connectors, terminal blocks, and areas exposed to mechanical stress.

7. Diagnose I/O Module Problems

A faulty I/O module or channel can prevent the PLC from reading or controlling a field device.

Possible symptoms include:

  • One input always OFF
  • One output never energizes
  • Entire module offline
  • Module status LED showing fault
  • Analog signal fixed at an incorrect value
  • Multiple nearby channels failing

Compare the suspected channel with another known working channel where appropriate.

Also verify:

  • Module configuration
  • Rack position
  • Addressing
  • Field power
  • Common terminals
  • Module diagnostic messages

Do not replace the module until wiring and field-device conditions have been checked. A short circuit or incorrect field voltage can damage the replacement module as well.

8. Check Communication and Network Faults

Many modern PLC systems depend on industrial communication networks.

A network problem may affect:

  • Remote I/O
  • HMI
  • Variable-frequency drives
  • Servo drives
  • Robots
  • Vision systems
  • SCADA
  • Other PLCs

Common causes include:

  • Damaged Ethernet cables
  • Loose connectors
  • Failed industrial switches
  • Duplicate IP addresses
  • Incorrect network configuration
  • Power loss to remote devices
  • Electromagnetic interference
  • Fiber connection problems

Start by identifying whether the failure affects one device, one network segment, or the complete network.

Review PLC and switch diagnostics where available. Communication error counters and device logs can be useful for intermittent faults.

9. Examine PLC Program Logic

If hardware signals are correct, investigate program logic.

Common software-related causes include:

  • Missing permissive
  • Active interlock
  • Incorrect sequence step
  • Timer not completed
  • Counter limit reached
  • Alarm bit latched
  • Incorrect data value
  • Program change
  • Tag mapping error

Online monitoring can help determine why an output instruction is not becoming true.

For example, a motor rung may require:

Start Command AND Auto Mode AND Safety OK AND No Overload AND Downstream Ready

If one condition is false, the motor should not start.

Instead of bypassing the logic, identify why that condition is missing.

This approach prevents troubleshooting from creating a second problem.

10. Look for Program Execution Errors

Some PLC problems are related to program execution rather than physical hardware.

Possible examples include:

  • Division by zero
  • Invalid array indexing
  • Data conversion errors
  • Excessive execution time
  • Infinite or poorly controlled loops
  • Invalid values
  • Task scheduling conflicts

Siemens documentation describing IEC 61131-3 compliance, for example, lists several error conditions that can appear during compilation or runtime, including data-range errors, division by zero, and processor-resource or task-execution problems.

Check the controller diagnostic buffer and programming software messages before making changes.

11. Investigate Intermittent PLC Failures

Intermittent problems are often the most difficult to solve because everything may appear normal when maintenance arrives.

Useful troubleshooting methods include:

  • Reviewing alarm history
  • Trending critical signals
  • Monitoring supply voltage
  • Checking communication counters
  • Recording fault timestamps
  • Reviewing environmental conditions
  • Comparing faults with machine cycles

Look for patterns.

For example:

  • Fault appears only when a large motor starts
  • Communication fails when a welding machine operates
  • PLC resets during voltage dips
  • Sensor signal disappears when a cable carrier moves
  • Failure occurs after the cabinet becomes hot

Patterns can reveal the underlying cause much faster than random component replacement.

12. Compare With a Known Good Backup

If a fault started after a software modification, compare the current PLC program with the last approved backup.

Check for changes to:

  • Logic
  • Timers
  • Setpoints
  • Hardware configuration
  • Network configuration
  • I/O assignments
  • Drive communication
  • HMI tags

Good revision control is extremely valuable during troubleshooting.

A dated and verified backup allows engineers to distinguish hardware failures from unintended program changes.

PLCopen software construction guidance also emphasizes structured, maintainable software practices, which make diagnosis and future modifications easier.

13. Find the Root Cause Before Closing the Fault

Restarting the machine is not always the same as solving the problem.

Suppose a remote I/O station loses communication once every few days. Resetting the PLC may restore operation, but the root cause could still be:

  • Loose Ethernet connector
  • Damaged cable
  • Failing switch
  • Electrical noise
  • Unstable remote power supply

Document:

  • Fault symptom
  • Root cause
  • Corrective action
  • Components replaced
  • Program changes
  • Test results

This information helps prevent repeat failures and builds a valuable troubleshooting history.

Quick PLC Troubleshooting Checklist

Troubleshooting Area What to Check
Power AC input, 24 V DC, fuses, breakers
CPU RUN/STOP/FAULT status and diagnostics
Inputs Sensor state, voltage, wiring, module
Outputs Logic command, voltage, actuator circuit
Wiring Loose terminals, damaged cables, connectors
I/O modules Status, configuration, channel health
Network Cables, switches, addresses, remote devices
Program Interlocks, permissives, timers, sequence
History Alarms, fault logs, previous changes
Environment Heat, vibration, dust, electrical noise

Common PLC Troubleshooting Mistakes

Avoid these common mistakes:

  • Replacing the PLC before checking field devices
  • Clearing diagnostics before recording the fault
  • Forcing outputs without understanding the consequences
  • Bypassing interlocks instead of finding the cause
  • Ignoring intermittent communication errors
  • Changing multiple things at the same time
  • Working from an outdated PLC backup
  • Replacing an I/O module without checking field wiring
  • Assuming every machine stop is a PLC failure

A disciplined troubleshooting process changes only one controlled variable at a time whenever practical.

Conclusion

Effective programmable logic controllers troubleshooting starts with a structured diagnosis rather than guesswork.

Begin with the machine symptom, confirm power, review CPU diagnostics, trace inputs and outputs, inspect field wiring, check communication networks, and only then move deeper into program logic and configuration.

The PLC itself is only one component of the automation system. Sensors, actuators, power supplies, networks, drives, wiring, and software all interact with it.

By following a systematic troubleshooting process, maintenance teams can reduce downtime, avoid unnecessary component replacement, find root causes faster, and improve long-term machine reliability.

Frequently Asked Questions

Start with the machine condition and safety state, then check PLC power, CPU status, diagnostic LEDs, and active alarms before investigating individual inputs and outputs.

Activate the field device and check whether the corresponding PLC input changes. If the field signal is present electrically but the PLC does not detect it, investigate wiring, common connections, channel configuration, and the input module.

The problem may be after the PLC output, such as a failed relay, contactor, solenoid, overload device, fuse, wiring connection, or missing field power.

Possible causes include damaged cables, loose connectors, power interruptions, network configuration problems, failing switches, electromagnetic interference, or faults in connected devices.

Not before recording the available diagnostic information. Review fault codes, event logs, CPU status, and operating conditions first because a reset may remove useful evidence needed to identify the root cause.

References

  1. IEC – IEC TR 61131-8:2017, Guidelines for the Application and Implementation of Programming Languages
  2. IEC – IEC TR 61131-4:2004, Programmable Controllers – User Guidelines
  3. PLCopen – IEC 61131-1: General Information
  4. PLCopen – IEC 61131-2: Equipment Requirements and Tests
  5. Siemens – Standards Compliance According to IEC 61131-3

Author

Industry Inspire Editorial Team

Editorial team covering industrial automation, manufacturing growth, and B2B strategy.

Share This Article