🚧 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 › Robotics / Mechatronics › Troubleshooting Mechatronic and Robotic Systems › Lesson 4
MFG-MECH15-07 · Lesson 4 · 16 clock hours · lab

PLC Online Diagnostics — Monitoring, Forcing, and Fault Tables

Objective. Students will use PLC programming software in online mode to monitor ladder-logic rung states, identify the faulted rung and coil, and use the fault table to interpret a seeded I/O module or program fault.

⚠ 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 Online Diagnostics — Monitoring, Forcing, and Fault Tables

Why Online Diagnostics Matter

When a mechatronic or robotic system stops or behaves unexpectedly, your fastest path to the root cause is often the PLC itself. Modern PLC programming software lets you connect to a running controller, watch every rung of ladder logic in real time, and read a fault table that logs exactly what went wrong and when. Used correctly, these tools let you diagnose many faults without touching a multimeter or opening an enclosure — reducing both downtime and the risk of electrical injury.

Going Online in Monitor Mode

Before connecting to a live PLC, review the machine guarding and energy-control situation. Never force outputs or modify the program without first confirming that personnel are clear of moving parts and that the machine is in a safe state. Refer to OSHA 29 CFR 1910.147 (lockout/tagout) when any physical intervention on the machine is required; for energized electrical work, follow NFPA 70E boundaries and use rated PPE.

To go online:

1. Open the project file in your PLC programming software (e.g., Studio 5000 for Allen-Bradley, TIA Portal for Siemens).

2. Select Go Online or Connect. Choose Monitor Mode — this lets you observe, but prevents accidental program changes.

3. Confirm the software shows a green status indicator and that the processor is in Run or Remote Run mode.

4. Navigate the program tree to the routine you want to inspect.

In monitor mode, energized (true) rungs are highlighted — typically in green or blue depending on the software. Open contacts appear as gaps; closed contacts appear filled. A coil that is energized shows the output bit as logic 1.

Reading Rung States

Each rung in a ladder-logic routine implements a Boolean expression. Reading left to right:

When a rung does not energize as expected, step through each contact from left to right. The first contact whose state breaks the logic chain is your suspect. Note the tag name or address (e.g., `Local:1:I.Data.3` in Allen-Bradley or `I0.3` in Siemens) for your root-cause statement.

Forcing Bits

A force overrides the physical state of an input or output bit in software. Forces are diagnostic tools — they are not a permanent fix.

Safety rule: before applying any output force, confirm personnel are clear and the machine is in a safe state. Document every force you apply, and remove all forces before returning equipment to production. Many systems require supervisor authorization to force outputs.

Forces are typically enabled through a Force Enable toggle that is separate from the individual bit force — both must be active for a force to take effect. Check your specific software's procedure.

The Fault Table

The fault table (sometimes called the Controller Fault Log or Diagnostics Buffer) is a timestamped record of every fault the PLC has detected. Common entries include:

| Fault Type | Example Cause |

|---|---|

| I/O module fault | Module removed, communication lost, or field wiring short |

| Program fault | Divide-by-zero, array index out of range |

| Task watchdog | Scan time overrun |

| Configuration mismatch | Module type does not match project configuration |

For each fault entry, the table typically shows: fault code, fault description, time stamp, severity (major or minor), and the program task or module where the fault occurred. A major fault halts the controller; a minor fault logs the event but allows continued operation.

To clear a major fault and restart the controller, you must address the root cause first — simply clearing the fault without fixing it will cause an immediate re-fault.

Hardware Fault vs. Software/Program Logic Fault

Distinguishing between fault types guides your corrective action:

Your root-cause statement must specify which type applies, because hardware faults require physical repair while program logic faults require a program change — and program changes must follow your facility's management-of-change procedure.

IEC 61131-3 and This Lesson

Ladder diagram (LD) is one of five IEC 61131-3 programming languages. The contacts and coils you monitor online are the visual representation of Boolean logic that the processor executes every scan cycle. Scan time is typically a few milliseconds — fast enough to catch transient faults that would be invisible on a panel meter.

Key Takeaway

Online monitoring lets you see the machine's logic state in real time. Systematic left-to-right rung analysis, careful use of forces, and accurate fault-table interpretation are the three core skills of PLC-based troubleshooting. Always document your findings and restore forces before leaving the workstation.

Key terms10

Monitor ModeAn online connection mode in PLC programming software that allows the user to observe rung states and tag values in real time without being able to modify the program.
ForceA software override that sets an input or output bit to a fixed ON or OFF state regardless of the physical signal, used for diagnostic testing.
Fault TableA timestamped log stored in the PLC controller that records fault codes, descriptions, severity levels, and the program location of each detected fault.
Major FaultA PLC fault severe enough to halt controller execution; the root cause must be corrected and the fault cleared before the controller will return to Run mode.
XIC (Examine If Closed)A normally open contact instruction in ladder logic that passes power (evaluates TRUE) when its referenced bit is in the ON (1) state.
XNC / XIO (Examine If Open)A normally closed contact instruction in ladder logic that passes power (evaluates TRUE) when its referenced bit is in the OFF (0) state.
Rung ContinuityThe condition in which all contact instructions in a ladder rung evaluate to TRUE so that the output coil or instruction at the right end of the rung is energized.
Hardware FaultA fault caused by a physical failure in field devices, wiring, or I/O modules rather than an error in the program logic.
Scan CycleThe repeated sequence — read inputs, execute program logic, write outputs — that a PLC processor performs continuously while in Run mode, typically completing in a few milliseconds.
Tag AddressThe symbolic name or hardware address (e.g., Local:1:I.Data.3 or I0.3) used in the program to reference a specific input, output, or internal memory bit.
In class: Instructor demonstration of online connection, going online in monitor mode, forcing an input bit ON and OFF to observe downstream rung behavior, and navigating to the fault table in a commercial PLC programming environment (Allen-Bradley or Siemens); students follow on individual workstations. · Students work through a guided exercise: a PLC-controlled sorting station has one seeded fault per workstation (e.g., an output coil energized but the physical output not responding, or a counter preset never reached); students use online monitoring only — no physical probing — to locate the faulty rung and document the logic path leading to the fault. · Written analysis: each student writes a one-paragraph root-cause statement identifying the specific rung address, the failed logic condition, whether the fault is in hardware or software, and the corrective action; statements are peer-reviewed then submitted to instructor.
Materials: PLC training stations (one per two students), PLC programming software (licensed), USB or Ethernet programming cable, sorting-station conveyor or equivalent trainer, fault-scenario instruction cards, IEC 61131-3 language reference sheet, PMMI PLC 1 and PLC 2 study materials
Check: Root-cause statement and annotated ladder printout: student must correctly identify the faulted rung address, state the correct fault type (hardware/software/program logic), and propose a valid corrective action — 80% rubric score required.

Practice check8

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

PMMI Mechatronics — Programmable Logic Controllers
1. A technician connects to a running PLC in monitor mode and sees that a rung's output coil is highlighted (energized), but the physical output device — a conveyor motor — is not running. Which is the most likely fault type?
FANUC CERT / Industrial Safety
2. Which action must a technician take BEFORE applying an output force on a live PLC in a mechatronics lab?
PMMI Mechatronics — Programmable Logic Controllers
3. In Allen-Bradley ladder logic displayed online, a normally open (XIC) contact is shown without highlight (not energized). What does this indicate?
PMMI Mechatronics — Programmable Logic Controllers
4. A PLC fault table entry reads: 'I/O Module Fault — Slot 3, Communication Lost.' The technician checks the rack and finds the module seated correctly and the project configuration matching. What is the most appropriate next diagnostic step using online tools?
PMMI Mechatronics — Programmable Logic Controllers
5. A student is troubleshooting a sorting-station program online. A counter instruction shows an accumulated value of 47 and a preset of 50. The downstream output coil has never energized. Which conclusion is best supported by this data alone?
Siemens SMSCP — Electrical Safety
6. According to NFPA 70E, before a technician works on energized electrical equipment inside a PLC panel — such as tracing a wiring fault to an I/O module terminal — which requirement applies?
PMMI Mechatronics — Programmable Logic Controllers
7. Which IEC 61131-3 programming language uses horizontal power rails with contact symbols and coil symbols arranged in rungs, and is the language displayed during online monitoring in the activities for this lesson?
PMMI Mechatronics — Programmable Logic Controllers
8. After diagnosing and fixing a fault, a technician has three input forces and one output force still active on the PLC. What must the technician do before returning the machine to production?
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.