TIA Portal Β· Track 10 Β· online & diagnostics

Seeing Inside the CPU

When something's wrong on a live machine, you don't guess β€” you go online and look. The CPU keeps a diagnostic buffer: a timestamped, tamper-proof log of every meaningful event, newest on top. Pair it with a watch table to see live tag values, and you can chase any fault to ground. Poke the machine below and watch the log write itself.

πŸ““ diagnostic bufferπŸ‘οΈ watch table✊ force
01 Β· The black box

The diagnostic buffer never forgets

Left is the buffer, right is a watch table monitoring four tags. Every action you take on the deck below β€” switching mode, tripping an overload, pulling a module β€” lands in the buffer with a timestamp and an event code, just like the real CPU. Note how a fault that puts the CPU in STOP is captured with its cause: that one entry usually solves the case.

πŸ““ Diagnostic buffer β€” "CPU 1516-3 PN/DP"0 events

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

TagValueForce
"Conveyor".runFALSE
"Motor".current3.2 Aβ€”
"Line".speed0 /minβ€”
"ET200".onlineTRUEβ€”

A forced value is held by the programmer, overriding logic AND the physical wire β€” the CPU shows a warning while any force is active. Use it to test, never to "fix."

CPU: RUN

This is the order of every real debug session: go online β†’ read the diagnostic buffer β†’ watch the suspect tags β†’ force an input to test a theory. The CPU is never a black box if you know these three windows. (The Trace tool adds high-speed recording on top, and the built-in web server shows the buffer from a browser.)

02 Β· The toolkit

Four windows into a running CPU

πŸ““ Diagnostic buffer β€” the timestamped event log. Mode changes, module faults, programming errors β€” the first place to look, always.

πŸ‘οΈ Watch & force tables β€” monitor any tags live; force a handful to fixed values to test wiring and logic safely.

πŸ“ˆ Trace β€” records selected tags at the cycle clock, so you can catch a glitch too fast for the eye and view it as a scope plot.

🌐 Web server β€” the CPU serves its own diagnostics page over HTTP. Eyes on the buffer and module status from any browser, no TIA needed.

03 Β· Check yourself

First move

A machine tripped to STOP overnight. Nobody saw it. What's the single fastest first step to find out why?