xae_plcopen_export
Export selected TwinCAT PLC objects (folder.object, such as POUs.FB_X or DUTs.ST_Y) to a PLCopen XML file for reuse or exchange.
Instructions
Export PLC objects ('POUs.FB_X', 'DUTs.ST_Y' — folder.object) to a PLCopen XML file.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"plc_project_path": "<plc_project_path>",
"items": "<items>",
"xml_file": "<xml_file>"
},
"name": "xae_plcopen_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| xml_file | Yes | ||
| plc_project_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||