Skip to main content

Diagnosis

Aligned with the SDK DiagSnapshot. The path is /api/diag. All response fields are read-only.

GET /api/diag​

GET /api/diag HTTP/1.1
Host: 127.0.0.1:18840

When the station is not up, ok is false; read message, and do not treat it as an exception.

FieldNote
okCheck if it is readable
linkUpNetwork Card Link
connectedIs the cycle watchdog functioning properly?
rxFrames / txFramesMaster Frame for Transmission and Reception
rxRtFrames / txRtFramesRT Cycle Frame
droppedFrames / invalidFramesDiscarded / Illegal
watchdogTripsNumber of watchdog timeouts
stackCyclesCycle Count
stackMissedTicksOff-Beat
stackMaxJitterUsMaximum jitter (µs)
stackAlarmRxCountController Alarms Received
errorCode0 = None; nonzero = native stack / platform error code (carried when diagnostics are unavailable)

Compare it with the diagnostic page in the configuration tool.