xae_plc
Controls TwinCAT PLC online states by logging in or out, starting or stopping, and running resets or downloads with project selection and confirmation tokens.
Instructions
PLC online actions: login | logout | start | stop | reset_cold | reset_origin | download. First the Automation Interface (ConsumeXml online commands on ' Project' — no active project needed; plc_project_path when there are several PLC projects), then the shell's DTE commands (names vary by build). download/reset_cold/reset_origin are destructive-class, the rest control-class.
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": {
"action": "<action>"
},
"name": "xae_plc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| confirm_token | No | ||
| plc_project_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||