When a machine misbehaves at 2am, this is the skill that saves you. Online monitoring, the event log, and EtherCAT bus diagnostics that point straight at the failed node. Let's hunt a dropped slave.
EtherCAT is a daisy-chain: the frame visits each slave in order. When one drops, everything after it goes dark too β so the first "unreachable" node is your culprit. Press the fault, then click the node you think failed.
Controller event log
π Online + breakpoints. Watch live variable values as the program runs; set a breakpoint to freeze on a condition and step line by line. Force a value to test a branch without rewiring.
π Data Trace samples variables every task cycle into a scope view β the only way to see a glitch that's gone before your eye catches it.
π Event log + error codes. The controller timestamps every fault with a code you can look up. Read it first β it usually names the unit and the cause.
π§ The method: reproduce β read the log β narrow with trace/breakpoints β fix β confirm. Don't guess; let the controller tell you.
On an EtherCAT chain, slaves 3, 4 and 5 all report unreachable at once. Where's the most likely fault?