Skip to content

Device Info

Query PLC device information and runtime state. Requires feature flag DeviceInfo enabled.

Get Device Info

GET /api/plcs/{plcId}/device/info

Policy: ReadAccess

curl http://localhost:5000/api/plcs/Line1/device/info
{
  "data": { "deviceName": "Plc30 App", "version": "3.1.1964", "adsState": "Run" },
  "error": null
}

Get Device State

GET /api/plcs/{plcId}/device/state

Policy: ReadAccess

{
  "data": { "state": "Run", "timestamp": "2026-03-18T15:35:38.908618+00:00" },
  "error": null
}

Possible states: Invalid, Idle, Reset, Init, Start, Run, Stop, SaveCfg, LoadCfg, Error, Shutdown, Config, Reconfig