IMDHMIControls LibraryShop main store

Troubleshooting

Why a PLC-5 watchdog fault S:12 83 drops remote I/O

PLC programming Published 7 min read

Short answer

S:12 = 83 on a PLC-5 is a watchdog timer error: a scan overran the configured limit, the processor faulted, and the remote I/O dropped as a consequence. Stop masking the fault with a longer watchdog or a fault routine, use maximum and routine scan times to find the intermittent delay, and only then judge the 1771-ASB network on its own evidence.

On this page
  1. What the processor is telling you
  2. Reading the scan-time evidence correctly
  3. Stop masking the fault
  4. Investigating the RIO network on its own evidence
  5. Split the racks to isolate the cause
  6. Verify with the fault allowed to run
  7. The decision for each case
  8. Questions asked

S:12 = 83 on a PLC-5 is a watchdog timer error: one scan took longer than the configured watchdog limit, the processor raised a major fault, and every remote I/O rack on the link went silent as a consequence of the fault. It is not a communication problem that faulted the processor. The fault codes live in word 12 of the processor status file, and the status bits in S:11 confirm which sub-cause raised the error — a watchdog fault with all other bits clear points at scan time and nowhere else. So the fix sequence is: read the real scan-time evidence, find the path that occasionally runs long, and stop the two measures that mask the fault. The remote I/O network gets investigated only after the processor-side cause is ruled out or fixed.

What the processor is telling you #

The 1785 quick reference and the enhanced PLC-5 user manual both define S:12 as the major error code word. An S:12 value of 83 is the watchdog timer error, and S:11 showing only the watchdog bit set means no other fault condition contributed. When the processor faults, it stops servicing the remote I/O scanner, so all 1771-ASB adapters lose their scanner at the same moment. That order of events is in the reported symptom itself: the I/O drops "as soon as this fault occurs," not before it.

This matters because the two responses taken so far — raising the watchdog limit and clearing error 83 inside a fault routine — both attack the reporting of the fault, not its cause. Raising the limit lowered the event frequency, which is itself evidence: an intermittent long scan was only slightly over the old limit, so a larger limit clears it most of the time. The automatic fault-clearing routine is worse, because it removes the only signal you had that something is wrong while the underlying overrun continues.

Reading the scan-time evidence correctly #

A short last scan does not disprove the watchdog fault. The reported system showed a last scan of 14 to 15 ms while the maximum scan exceeded 515 ms against a 500 ms setting. The arithmetic that matters is:

  • Maximum scan: 515 ms
  • Watchdog setting: 500 ms
  • 515 ms − 500 ms = 15 ms of overrun, one scan in many

The last-scan register holds only the scan that just finished; the overrun happened in an earlier scan and is invisible there. Trend the maximum scan time over hours and compare its excursions to the event timestamps. The PLC-5 can also report per-routine scan times, which is where the culprit usually shows: a subroutine that executes only under rare conditions, a loop whose iteration count depends on a process value, or a block of indexed logic that suddenly runs long. If you have not yet correlated maximum-scan excursions with routine-level times, that is the next step before touching anything on the blue hose. The scan behavior behind this is the same one described in what the PLC scan cycle does in each pass: everything, including the watchdog, is measured against completed scans, so an occasional excursion is invisible in any single reading.

If the maximum scan time stays genuinely below the limit through several recorded events, the processor-side hypothesis is dead and the network investigation in the next sections takes over. In the reported case it does not, so the long-scan path comes first.

Stop masking the fault #

Remove both workarounds before further testing:

  • Return the watchdog setting to its original value. A raised limit only moves the threshold above an unknown intermittent delay and slows nothing down in normal operation, but it hides how close the scan is to faulting.
  • Disable the fault routine that clears error 83. A fault routine that matches the code and clears it turns a hard stop into silent misbehavior: the remote I/O still goes non-responding, and only a power cycle recovers it, exactly as reported.

With the fault allowed to surface, every recurrence is dated and timed against scan statistics — data you cannot reconstruct afterwards.

Investigating the RIO network on its own evidence #

There is a second, distinct condition to watch for once the processor stops faulting: adapters losing communication while the processor keeps running. That cannot be explained by the watchdog and must be judged separately. Record, before any reset:

  1. Which adapters are dark and which show a blinking ACTIVE LED — dark means total link loss downstream of that point, blinking means partial or marginal communication.
  2. Their physical positions on the trunk, so the failure boundary is comparable between events.
  3. Active block transfers, since a heavy BTR/BTW load coinciding with the event is a different hypothesis from a wiring fault.

A visual cable check does not clear the network. Incorrect remote I/O installation can run for days and then drop for no visible reason; the most common causes are a loose signal or shield strand that intermittently touches a neighbor, noise coupled through shield grounding, and a missing or misplaced end-of-line termination that happens to work on a short run. Build an as-wired diagram showing the scanner channel, every 1771-ASB in physical order, each segment, shield connections and both terminations, and check it against the hardware, with the line in a safe state. The adapter module user manual covers switch settings and the mixing of adapter series on one link; a wrong last-rack or baud switch can mimic an intermittent fault. One reported detail worth resolving first: the rack inventory is stated two ways (eight chassis with racks 2 through 17, and a failure description naming nine). Fix the topology record before drawing conclusions from failure boundaries.

The same procedure, with the segmentation trick below, is worked through in the page on troubleshooting an S:12 = 83 watchdog error on 1771-ASB I/O.

Split the racks to isolate the cause #

If the processor has a free channel — channel 1A when it is not needed for DH+ — move half the racks onto a second blue hose run with its own pair of terminations: for example racks 2 through 7 on 1A and racks 10 through 17 on 1B. This splits the scanner load roughly in half and gives you a divide-and-conquer test:

  • The fault follows to one channel → the cause is on that segment: inspect its adapters, cable, shield and terminations.
  • The fault disappears entirely at halved load → suspect scanner or block-transfer overload rather than wiring.
  • The fault continues on both channels → back to the processor-side long-scan hypothesis.

A comparable layout (racks 2 through 37 spread across three RIO channels on a larger processor) is known to work, so the load itself is not excessive when the network is correctly split and terminated. If you later replace the scanner hardware on such a split network, the considerations in migrating 1771-ASB RIO racks from end-of-life 1756-DHRIO cards apply to the same rack map.

Verify with the fault allowed to run #

Do not accept a clean power-up as verification — a system that works after every restart can still hold an intermittent fault. And before any deliberate fault testing, establish a controlled restart: in the reported case, restored communication restarted prior outputs simultaneously and tripped a main breaker. Verify with a defined pass condition:

  • Processor-side fix: the system runs through the conditions that previously produced the event, with maximum scan time, S:12 and S:11 trended, and error 83 never recurs.
  • Network-side fix: adapters stay responsive through the same conditions with no processor or chassis power cycle.
  • Segmentation test: the failure appears on exactly one channel — then that channel's hardware is the target.

One safety note: cycling communication back into a running process can restart motors and valves with no operator command. Put the line in a safe state before you clear a fault or reset a chassis, every time, not only during planned testing.

The decision for each case #

  • S:12 = 83 with the watchdog bit alone set in S:11, and maximum scan time exceeding the watchdog setting: the fault is a long scan; find the intermittent path with routine-level times, and remove the raised limit and the auto-clearing fault routine. Do not blame the network yet.
  • Processor runs, adapters go dark or blink, recovery needs one chassis power cycle: the fault is on the remote I/O segment; record the adapter states and failure boundary, verify terminations and shield, and split racks across two channels to confine it.
  • Both symptoms alternate: fix the watchdog fault first — every processor fault destroys the I/O evidence you need for the network case.

In the reported system, the 515 ms maximum against a 500 ms limit puts the decision firmly in the first case: the long-scan path is the fault, and the remote I/O loss is its shadow.

Questions asked

What does S:12 = 83 mean on a PLC-5?

It is a watchdog timer error stored in word 12 of the processor status file: one scan took longer than the configured watchdog limit, so the processor raised a major fault and dropped remote I/O. Treat the I/O loss as a consequence. Find the execution path that occasionally overruns the limit instead of clearing the fault automatically or raising the setting.

Can a 14 ms last scan still cause a watchdog fault?

Yes. The last-scan value describes only the most recently completed scan. An intermittent delay shows up in the maximum scan time, which in the reported case exceeded the watchdog setting by roughly 15 ms. Trend maximum and routine-level scan times against the event timestamp to find the path that occasionally runs long.

Why does cycling power on one 1771-ASB chassis restore all remote I/O?

When the processor is not faulted and one chassis power-cycle revives the whole network, the evidence points to the remote I/O segment itself: a loose strand, shield-induced noise, a missing end termination, or overload on the link. Record which adapters are dark and which have a blinking ACTIVE LED before cycling anything, then split racks across two RIO channels to confine the failure.

Keep reading

  • Troubleshooting

    PLC-5/80E loses scan list on remote I/O after power cycle

    Auto-negotiate selected on Ethernet Channel 2 of a Series F Revision A PLC-5 clears the chassis scan list on the remote I/O scanner channels whenever the processor power cycles. Disable auto-negotiate and hard-set 100 Mbps full duplex, or flash Revision A.1 or newer; Auto-Config only rebuilds the list after each event.

    PLC programming

  • How-to

    PLC-5 heartbeat without the PLC-5 sending messages

    Let the ControlLogix do all the sending: it either writes an incrementing heartbeat word to the PLC-5 over Ethernet MSG or pulses a spare output into a spare PLC-5 input, and the PLC-5 resets a watchdog timer only on a genuinely new value or pulse edge — never on message-complete status. Set the preset above two update periods plus measured transfer delay; in the worked example, 1500 ms detects a dead link within 1.5 s.

    PLC programming

  • Troubleshooting

    Use the PLC Coder timer block correctly in TIA Portal

    A Stateflow delay generated with PLC Coder follows wall-clock time only when the timing implementation and the PLC task call interval agree with the model sample time. Pick the target IDE timer for real elapsed time; use the Target-Independent Counter only when the generated code runs at a fixed periodic interval equal to the model step.

    PLC programming