Symbols¶
Browse and search the PLC symbol tree. Requires feature flag Symbols enabled.
Browse Root Symbols¶
Returns top-level symbols with their children (recursive tree). |
curl http://localhost:5000/api/plcs/Line1/symbols
Get Symbol Info¶
Returns the symbol’s type, size, comment and children. |
curl http://localhost:5000/api/plcs/Line1/symbols/MAIN.stMotor
{
"data": {
"instancePath": "MAIN.stMotor",
"typeName": "ST_Motor",
"size": 16,
"comment": "Main drive motor",
"children": [
{ "instancePath": "MAIN.stMotor.bEnabled", "typeName": "BOOL", "size": 1, "comment": "", "children": null },
{ "instancePath": "MAIN.stMotor.nSpeed", "typeName": "INT", "size": 2, "comment": "", "children": null }
]
},
"error": null
}
Search Symbols¶
Filters the symbol tree by a case-insensitive substring. |
Parameter |
Description |
|---|---|
|
Substring filter (case-insensitive) |
|
|