xae_tree_get
Fetch properties and child items from a TwinCAT System Manager tree node by path, with optional depth and XML output for automation.
Instructions
System Manager tree item: properties, children to depth, and ProduceXml when xml=true.
Path syntax 'TIPC^Plc^Plc Project^POUs^MAIN' (xae_plc_projects gives the ' Project' path;
its children POUs/DUTs/GVLs are walked even though the node itself reports no ChildCount).
Roots (ITcSysManager::LookupTreeItem shortcuts): TIIC (I/O Configuration), TIID (its I/O Devices), TIRC (Real-Time
Configuration), TIRT (its Additional Tasks), TIRS (its Real-Time Settings), TIRR (its Route Settings), TIPC (PLC
Configuration), TINC (NC Configuration).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | No | ||
| path | Yes | ||
| depth | No | ||
| max_items | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||