ads_add_route_to_plc
Creates a PLC-side route back to this PC via UDP discovery using Windows/TC-BSD credentials, allowing TwinCAT/ADS communication with the controller.
Instructions
Create the PLC-side route back to this PC (UDP discovery protocol, needs the target's Windows/TC-BSD credentials). 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": {
"plc_ip": "<plc_ip>"
},
"name": "ads_add_route_to_plc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plc_ip | Yes | ||
| hostname | No | ||
| route_name | No | ||
| local_net_id | No | ||
| plc_password | No | 1 | |
| plc_username | No | Administrator | |
| confirm_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||