PLC & Industrial Automation

PLC Troubleshooting: Input, Logic, Output & Field Evidence

Diagnose a machine that will not start, a sequence that is stuck or an actuator that will not respond by following evidence through four layers: field input, PLC logic, PLC output and field action.

Prerequisites and learning outcomes

This guide assumes basic familiarity with sensors, relays, contactors, actuators, motor controls and PLC terminology. It does not authorize access to a production controller or electrical panel. After completing it, you should be able to define a PLC-related symptom precisely, preserve fault evidence, trace a permissive from the field to the logic, distinguish a PLC indication from a physical result, control configuration risk and verify that a confirmed repair restored the intended function.

Safety and authorization boundary: approved site procedures, OEM manuals, PTW/LOTO, risk assessments, machine guarding and competent-person controls take priority. PLC monitoring, uploads, downloads, edits, forcing, mode changes and network access require explicit authorization, a current recoverable backup, change control and a tested recovery plan. Never bypass an interlock or safety function to make a machine run.

The four-layer evidence model

A PLC program is one layer of a machine, not the whole machine. A true bit on a screen does not prove that a sensor is healthy; an energized output indication does not prove that a contactor pulled in; and a moving actuator does not prove that its feedback returned correctly. Trace the complete cause-and-effect path:

  1. Input: What is physically happening at the switch, sensor or operator device, and what state reaches the input module?
  2. Logic: Which permissives, interlocks, modes, timers, sequence steps and commands determine the requested action?
  3. Output: Does the controller command the output, and does the output module or communications interface deliver it?
  4. Field action: Does the relay, contactor, drive, solenoid, valve or other actuator respond, and does the expected feedback return?
Key principle: move from a verified observation to the next boundary. Do not jump from “the motor is stopped” to “the PLC is faulty” without testing the command, permissive, output and field-power paths.

Use the symptom to choose the first boundary

PLC-controlled equipment symptoms and evidence directions
Observed conditionEvidence to preserveFirst diagnostic direction
Field device changes, input does notPhysical state, module LED, channel address, field voltage or signal, common/return and diagnostic statusSensor, wiring, field supply, termination, input channel or configuration
Input is present, logic remains falseOperating mode, permissive chain, interlocks, sequence step, latch/reset state and timer conditionsMissing condition or valid sequence decision—not automatically a software defect
Logic is true, output indication is offMapped output, inhibit state, controller/module diagnostics, network status and command ownershipOutput mapping, module/channel status, remote-I/O path or control arbitration
Output indication is on, actuator is offModule LED, field voltage, interface relay/contactor, overload, local isolator, drive state and wiringField power, output hardware, interface device, protection or actuator
Actuator moves, sequence does not advanceExpected feedback, limit/proximity switch, analogue threshold, timer and next-step conditionsMissing confirmation, mechanical travel, sensor alignment, threshold or timing
Fault is intermittentTimestamped alarm order, sequence step, I/O state, network/module diagnostics, load and environmental conditionTrend and correlation before resets disturb the evidence

Eight-stage PLC troubleshooting workflow

1. Define the symptom and operating boundary

Write what the equipment did, what it should have done, when the deviation began and whether the condition is continuous or intermittent. Identify the operating mode, product or process state, active sequence step, last completed action and last known normal cycle. “Machine stopped” is too broad; “automatic sequence remains at step 40 because valve-open feedback does not arrive after the open command” is testable.

2. Preserve evidence before reset

Record alarms and timestamps in order, controller and I/O diagnostics, HMI messages, active mode, sequence step, relevant input/output states and recent maintenance or power/network events. Photograph indicators only where site rules permit and never expose confidential logic or network information. Repeated resets may erase the initiating event, release a latched diagnostic or create an unexpected restart.

3. Establish safe access and the change boundary

Decide which observations can be made from an approved HMI and which require authorized controller or panel access. Before any online session, confirm the correct asset, approved connection method, software/project revision, user authority and recovery plan. Separate read-only observation from a change. A program upload, mode change, force, setpoint edit or download can alter risk even when described as “just a test.”

4. Trace inputs and permissives

Start at the physical condition. Verify the sensor target, switch position or measured process value using the approved method. Then compare the field device, input-module indication, controller tag and HMI representation. If one boundary disagrees with the previous one, focus there. Check field power, commons/returns, terminal condition, channel diagnostics, scaling and signal type against the drawings and OEM instructions.

For a start request, list every required permissive in plain language: correct mode, safety system healthy, guards and process conditions satisfied, no active trip, downstream equipment ready and command source selected. A false permissive may be correct protection. Prove why it is false rather than bypassing it.

5. Trace mode, sequence and logic evidence

Follow the authorized cause-and-effect or logic view from the request toward the command. Look for mode selection, ownership, step transitions, latches, reset conditions, timers, counters, comparisons and interlocks. Use the installed project revision and symbol mapping; do not infer a machine’s behavior from a generic training program. When a timer is involved, determine whether the initiating condition remains true for the required period and whether another branch resets it.

Do not edit the program simply because a condition appears inconvenient. First confirm whether the logic matches the approved functional description. If the logic and design disagree, treat resolution as an engineering change with review, testing and rollback—not a maintenance shortcut.

6. Trace output and field action

If the logic requests an output, verify the mapped channel, module or network command, diagnostic state and physical output indication. Then continue through any interposing relay, contactor, safety device, drive, solenoid and local control to the actuator. Confirm protection and control power using approved electrical procedures. A controller output can be healthy while an overload is tripped, a drive lacks a reference, a local isolator is open or an actuator is mechanically restricted.

If the actuator operates but the sequence remains stuck, trace the expected feedback in reverse: physical travel, feedback device, input channel, tag, threshold and transition condition. Confirm that the feedback represents the intended safe state, not merely motion.

7. Investigate networks, remote I/O and intermittent timing

For remote I/O, drives or smart instruments, record device/module diagnostic codes, link state, communication quality and the order of events. Distinguish a device fault from loss of communications and from stale or substituted data. Do not scan, reconnect or reconfigure an operational technology network without authorization.

For intermittent faults, collect comparable timestamps across the controller, HMI, drive and protection systems where possible. Correlate the first event with vibration, temperature, moisture, load, cable movement, shift change, restart or network/power disturbance. A single screenshot taken after recovery rarely proves cause.

8. Correct one confirmed cause and verify the whole function

Correct the verified cause under the approved work method. Remove test equipment, restore guards and temporary controls, clear the area, and return energy using the site procedure. Test the affected function through representative authorized operating states. Confirm command, permissives, output, field action, feedback, alarms and safe-stop behavior. Compare cycle evidence with the baseline and monitor for recurrence.

Record the symptom, initiating evidence, confirmed cause, work completed, parts or configuration revision, test result, person/authority and follow-up monitoring. A disappearing alarm after reset is not repair verification.

Common scenarios without guesswork

Input LED is on but the PLC tag is off

Confirm the exact channel and address, controller state, module diagnostics and whether the program reads a mapped or processed tag rather than the raw input. Check inversion, input filtering or remote-I/O data quality against the approved configuration. Do not move wiring or remap the channel before preserving the installed state.

The logic command is true but the motor will not start

Trace from the output indication to the interface device and motor controller. For a VFD, verify control source, run command, permissives, speed reference, ready/trip state and field feedback. The PLC may be issuing a valid command that another authorized layer is correctly preventing.

A sequence is stuck on one step

Write the conditions required to leave that step. Identify which condition is absent, then trace it to its physical source. Check whether the last action completed, whether feedback reached the expected state, and whether a timer or mode transition reset. Avoid manually advancing the step or forcing confirmation because doing so may skip required process or safety checks.

The machine recovers after a power cycle

Recovery after cycling power narrows the evidence but does not identify the cause. Review power-quality and control-power events, communications, startup sequencing, retentive states, device diagnostics and alarm order. Repeated power cycling can remove useful evidence and create additional stress or startup risk.

Backups, comparison and safe change control

Before an approved configuration change, identify the authoritative project, controller identity, firmware and hardware configuration. Create and validate a recoverable backup using the OEM-approved process. Compare the online state with the controlled source and resolve unexplained differences before downloading. Record the reason, affected objects, previous value or logic, reviewer, authorization, test plan and rollback method.

Test the smallest approved change against normal operation, abnormal conditions, alarms, interlocks, restart behavior and related equipment. Do not use a live production controller as a training environment. Store controlled revisions according to site governance and protect controller credentials, logic and network details.

Minimum troubleshooting record

  • Asset, controller or panel identifier, date/time, operating mode and sequence step.
  • Exact symptom, expected response and last known normal condition.
  • Alarm/event order and relevant input, logic, output and field observations.
  • Hypothesis tested, method used, result and evidence that disproved alternatives.
  • Confirmed cause, corrective action, authorization/change reference and restored safeguards.
  • Functional verification, representative operating condition and follow-up owner/date.

Beginner → Intermediate → Advanced learning path

Authoritative further reading

These links provide general or product-family context. The installed machine’s approved drawings, cause-and-effect, safety validation, controller project and exact OEM revision remain authoritative.

← Back to Engineering Guides