plc_io_assign
Assigns PLC channels to field devices, auto-filling I/O addresses and module terminals when omitted and validating channel counts against the catalog.
Instructions
Assign PLC channels to field devices. Address (%I0.0, %Q0.0, %IW64) and module terminal (DIa.0, DQa.0 ... from the catalog) are auto-assigned when omitted; channel count is checked against the catalog.
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": "<plc>",
"channels": "<channels>"
},
"name": "plc_io_assign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plc | Yes | ||
| channels | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |