🚧 Under construction — VoTechWorks is being built. A free tech program — complimentary, as our commitment to get America working.
voTechWorksGrade 13 · a vocational technology learning center, by urbanicity
newSchoolWorks.com › VoTechWorks › Manufacturing & Marine › Industrial Maintenance › Programmable Logic Controllers for Industrial Maintenance › Lesson 11
MFG-INDU16-06 · Lesson 11 · 17 clock hours · practice

PLC Troubleshooting: Program Logic Faults

Objective. Students use online monitoring, cross-reference tools, and forced I/O to locate and correct seeded logic errors in a provided ladder program controlling a multi-step process.

⚠ Pending professional review

This lesson, its worked examples and its practice questions has not yet been verified by a licensed engineer or certified journey-level tradesperson or by a certification or approval body. It is a study draft and may contain errors. Do not use it as instructions for work on a job site or on live equipment. Always follow your instructor, your supervising professional, and current official references and regulations.

VoTechWorks program approval and accreditation are still in progress. Credentials are issued only by the certifying bodies named in each program, after their own exams.

PLC Troubleshooting: Program Logic Faults

When a machine behaves unexpectedly, the fault may live in the hardware, the wiring, or the program itself. This lesson focuses on program logic faults — errors in the ladder logic that prevent a process from running as the control narrative intends. Finding these faults requires a systematic approach: online monitoring, cross-reference tools, and, when necessary, forced I/O.

Safety Before You Begin

Before connecting a laptop to a live PLC trainer, follow your facility's electrical safety rules. Even a low-voltage training panel can drive outputs that move actuators or energize loads. Apply lockout/tagout (LOTO) to any energy source before physically touching wiring or swapping modules. When working online in monitor mode, be aware that forcing an output ON can cause unexpected machine movement — warn anyone nearby, keep hands clear of all actuators, and only force tags in a controlled, supervised training environment. Never force I/O on live production equipment without a proper management-of-change process and a qualified observer. Wear the PPE required by your lab safety policy.

Going Online with a Running Program

"Going online" means your programming software connects to the PLC processor while the program is actively scanning. Most software (such as Studio 5000 for Allen-Bradley or CCW for Micro800 series) shows rung status highlighting: contacts that are logically true appear highlighted or bold; contacts that are false appear dim or unfilled. This live view lets you see exactly where logic flow stops.

To go online safely on a trainer:

1. Confirm the processor is in Run or Remote Run mode.

2. Connect via USB or Ethernet and select "Go Online" in the software.

3. Verify the software shows "Online" and the program revision matches — if the software warns of a mismatch, do not accept changes without instructor approval.

With rung highlighting active, run the process through its steps and watch which rungs fail to pass logic when you expect them to. A rung whose output coil never energizes despite inputs that look correct is your first clue.

Using the Cross-Reference Tool

A cross-reference (often Ctrl+R or a menu option) lists every rung that uses a specific tag — as an input contact, output coil, or operand of an instruction. This is critical because a bit used as a coil in one rung drives contacts scattered across dozens of other rungs. If a seal-in contact is missing or the wrong tag is used, the cross-reference reveals it immediately.

Practical steps:

1. Click on the suspect coil or contact tag.

2. Open cross-reference. The tool shows rung numbers, instruction type (XIC, XIO, OTE, etc.), and routine name.

3. Confirm the tag appears in every location the narrative requires. A missing entry is a missing rung element.

Forced I/O

The force table lets you override the physical state of an input or output bit in software. This is useful when a physical sensor is unavailable or when you want to isolate whether a fault is upstream (field wiring/sensor) or downstream (program logic).

The Three Common Seeded Fault Types

1. Wrong rung logic (incorrect contact type). A normally-open (XIC) contact used where the narrative requires a normally-closed (XIO), or vice versa, causes a rung to be true when it should be false or false when it should be true. Symptom: a step activates when it should not, or never activates. Correction: change the instruction type on the correct tag.

2. Incorrect timer preset. A timer (TON — Timer On-Delay) with the wrong preset value causes a delay that is too short or too long, making the process appear to stall or rush. Symptom: the next step triggers almost immediately or never triggers within a reasonable window. Correction: open the timer instruction, change the preset (PT) value to match the narrative specification, download, and verify the timing with a stopwatch.

3. Missing seal-in contact. A momentary pushbutton start signal must often be "sealed in" with a parallel XIC contact on the output coil's own bit, so the output stays ON after the button is released. Without it, the output pulses only while the button is held. Symptom: a step activates only while an input is held active, then drops out immediately. Correction: add the correct XIC contact in parallel with the start contact on that rung.

Writing the Fault Report

Your fault report is a professional document — the same format technicians use in industry maintenance logs. For each fault, record:

Accurate, complete records protect you and your employer if a machine issue is questioned later.

Verification After Every Fix

After correcting a fault and downloading, always cycle the process from its initial state. Confirm each step transitions at the right time and for the right reason. If a second fault is still present, the symptoms may overlap — correct one fault at a time and re-test fully before moving on.

Key terms10

Online monitoringConnecting programming software to a running PLC processor to view live rung status highlighting, showing which contacts and coils are logically true or false in real time.
Cross-reference toolA software feature that lists every rung and instruction in the program that uses a specific tag, allowing the technician to find all occurrences of a bit as a contact, coil, or operand.
Force tableA software table that allows a technician to override the physical state of individual input or output bits; forces must be enabled separately and removed when troubleshooting is complete.
Seal-in contactA normally-open contact wired in parallel with a momentary start input, using the output coil's own bit, so the output remains energized after the momentary signal is released.
TON (Timer On-Delay)A PLC timer instruction that begins accumulating time when its rung goes true; its output bit energizes when the accumulated value reaches the preset value.
Preset (PT)The target time value entered in a timer instruction; when the accumulated count reaches the preset, the timer's done bit turns ON.
XIC (Examine If Closed)A normally-open contact instruction that passes logic (evaluates true) when the referenced bit is ON (1).
XIO (Examine If Open)A normally-closed contact instruction that passes logic (evaluates true) when the referenced bit is OFF (0).
Program logic faultAn error in the ladder program itself — wrong instruction type, incorrect parameter value, or missing instruction — that causes unintended machine behavior even when hardware and wiring are correct.
Control narrativeA written description of the intended sequence and conditions of a process, used as the authoritative reference to verify whether a PLC program is correct.
In class: Instructor loads a pre-written, partially incorrect program (wrong rung logic, incorrect timer preset, missing seal-in contact) onto the trainer PLC; students receive only a written control narrative and must determine what the program should do. · Students go online with the running program, observe rung status highlighting, use the cross-reference tool to find all uses of a tag, and identify the first logic error; they correct it, download, and verify the fix before moving to the next fault. · Students complete a written fault report for each of three seeded errors: symptom observed, diagnostic steps taken, root cause, correction made, and verification method — this report becomes part of their lab log.
Materials: Programming laptop, PLC trainer, pre-loaded fault program file (instructor-prepared), control narrative description sheet, fault-report form, programming software cross-reference and force-table functions
Check: Student must identify, correct, and document all three seeded logic errors with accurate fault reports — all three errors must be resolved and verified in online monitor for pass; reports reviewed by instructor.

Practice check8

Answer each question, then check it. Nothing is recorded; this is your own practice.

NCCER Industrial Maintenance — PLC Systems
1. A technician connects to a running PLC and observes rung status highlighting. A rung that should energize an output coil stays false even though the physical input LED is ON. What is the most likely program logic cause?
NCCER Industrial Maintenance — PLC Systems
2. Which tool in PLC programming software lists every rung and instruction type that uses a specific tag?
NCCER Industrial Maintenance — PLC Systems
3. A conveyor step activates only while the operator holds the start button and stops the moment the button is released. The control narrative requires the step to run continuously until a limit switch is reached. What is the root cause?
MSSC CPT — Safety
4. Before forcing an output ON in the force table of a PLC trainer, what step must the technician complete first to protect personnel?
NCCER Industrial Maintenance — PLC Systems
5. A TON timer in a ladder program has a preset of 500 in a project where the time base is milliseconds. The control narrative requires a 5-second delay. What correction is needed?
NCCER Industrial Maintenance — PLC Systems
6. After correcting a logic fault and downloading the updated program, what is the correct next action before documenting the fix as verified?
NCCER Industrial Maintenance — PLC Systems
7. An XIO (Examine If Open) contact evaluates as TRUE when the referenced bit is in which state?
MSSC CPT — Safety
8. A technician finishes troubleshooting a PLC trainer and leaves forces enabled in the force table. What is the primary hazard of this action?
Record this lesson on my transcript. Sign in with your key and enrollment email to record lessons (enroll free if you have no key). This page stays open to read and practise.