replace_rack
Replace a hardware rack in an IEC logic project, keeping modules where the new rack has the same slots, by providing old and new part numbers and versions.
Instructions
Replace a rack in place (e.g. the default BME XBP 0800 new_project creates -> BME XBP 0400). Modules on the rack are kept where the new rack has the same slots.
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": {
"rack": "<rack>",
"old_part_number": "<old_part_number>",
"old_version": "<old_version>",
"new_part_number": "<new_part_number>",
"new_version": "<new_version>"
},
"name": "replace_rack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bus | No | ||
| drop | No | ||
| rack | Yes | ||
| new_version | Yes | ||
| old_version | Yes | ||
| new_part_number | Yes | ||
| old_part_number | Yes |