tc_tree
Manipulate TwinCAT tree items: get, children, exists, create, delete, import, export, focus. Modify parameters via XML.
Instructions
TwinCAT tree items (paths use ^ separators, e.g. TIPC^MyPlc, TIID^Device 1 (EtherCAT)). Actions: get, children, exists, get_xml (ProduceXml, returns raw XML), set_xml (ConsumeXml, modifies parameters), create (name+subType under path), delete (name under path), import (.xti file under path), export (name under path to file), focus (best-effort Solution Explorer focus).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| path | Yes | ||
| xml | No | ||
| name | No | ||
| subType | No | ||
| before | No | insert before this sibling | |
| createInfo | No | ||
| file | No | ||
| reconnect | No | ||
| newName | No |