Studio 5000 ยท Track 09 ยท go online

Debug it Live

Going online in Logix Designer turns your program into a live dashboard โ€” rungs animate, tag values update in place, and a Trend charts any tag like a scope. Add a watch, force an input to test a theory, and read the controller fault log when something trips. Drive the machine below and watch all three react.

๐Ÿ“ˆ TrendโœŠ Forceโš  major/minor faults
01 ยท Online, live

Trend, watch, force, faults

The Trend charts TankLevel live. Below, a watch list shows tags updating in place, and the fault log timestamps events. Start the pump and watch the level climb on the trend; force Pump_Cmd to override the logic (note the warning); trip an overload to log a major fault that faults the controller.

๐Ÿ“ˆ Trend โ€” TankLevel (live)42.0

๐Ÿ‘๏ธ Watch / Quick Watch

TagValueForce
Pump_Cmd0
TankLevel42.0โ€”
Motor_Amps3.1โ€”
Pump.Running0โ€”

โš  Controller fault log

Controller: RUN

Logix splits faults in two: a minor fault (like an array overrun) sets a bit and logs it but keeps running; a major fault (a watchdog, a bad instruction) faults the controller to a stopped state unless you handle it in the fault routine. The fault log names the code and the rung โ€” your fastest path to the cause. (The high-speed Trend can sample at the task rate to catch a glitch the eye misses.)

02 ยท The online toolkit

Four ways to see in

๐Ÿ”ด Online editing & animation โ€” rungs colour live as they energise; edit and accept changes on a running controller (with care). Values shown right on the logic.

๐Ÿ“ˆ Trends โ€” chart any tags over time, real-time or historical. The scope you reach for when a value "sometimes" misbehaves.

โœŠ Force I/O โ€” pin an input or output to a value to test wiring/logic. The controller shows a prominent FORCES ENABLED warning while any force is active.

โš  Controller log & faults โ€” timestamped major/minor faults with codes, plus the controller log of mode changes and downloads. The black box.

03 ยท Check yourself

Major or minor?

Your code indexes an array one element past its end. If unhandled, what does Logix do?