Control Expert Β· Track 09 Β· debug it live

Eyes Inside the ePAC

When a Modicon misbehaves, you go online and look. Two windows do the work: the diagnostic viewer (a timestamped log of every event and the %S/%SW system bits) and the animation table β€” your live watch-and-force window onto any variable. Poke the machine below and watch both react.

πŸ““ diagnostic viewerπŸ‘οΈ animation table%S / %SW
01 Β· Watch, force, diagnose

The two windows that solve every fault

Left is the diagnostic viewer; right is an animation table monitoring four variables. Every action on the deck β€” start the pump, trip an overload, drop a RIO drop β€” lands in the viewer with a timestamp and a system bit. Force Pump_Run from the table and watch it override the logic (with a warning), exactly as on a real ePAC.

πŸ““ Diagnostic viewer β€” BMEP58 CPU0

πŸ‘οΈ Animation table β€” live

VariableValueModify
Pump_Run : EBOOLFALSE
Motor_Current3.1β€”
Tank_Level42β€”
RIO2_HealthOKβ€”

A forced value is held by you, overriding the logic and the wire. The ePAC flags %S19 while any force is active β€” clear them before you leave.

CPU: RUN

The Modicon debug ritual: go online β†’ read the diagnostic viewer β†’ watch the suspect variables in an animation table β†’ force an input to test a theory. The %SW system words even tell you the scan time and which task overran β€” the ePAC narrates its own health if you know where to look.

02 Β· The toolkit

What each window is for

πŸ““ Diagnostic viewer β€” the timestamped event log: mode changes, module faults, application errors, with the system bit that flagged each. First place to look, always.

πŸ‘οΈ Animation tables β€” build a list of any variables and watch them update live; modify or force a handful to test wiring and logic safely.

🚩 %S system bits β€” %S0 cold start, %S19 scan overrun/force active, %S11 watchdog… one-bit health flags your logic can read too.

πŸ“ˆ %SW system words β€” diagnostics as numbers: %SW0 MAST period, %SW30–34 scan times, fault counters. The data behind the events.

03 Β· Check yourself

First move

A station tripped to STOP overnight and nobody saw it. What's the single fastest way to find out why?