add_io_module
Add an IO or communication module to a specific rack slot by providing matching part number and version. Specify the slot to insert hardware on the local bus.
Instructions
Add a hardware module (IO, communication, ...) to a rack slot.
part_number and version must exactly match the hardware catalog for the PLC family, e.g. 'BMX DDI 1602' (16x DI), 'BMX DDO 1602' (16x DO), 'BMX AMI 0410' (4x AI), 'BMX NOE 0100' (Ethernet) — version '02.00' fits most M340 IO modules ('01.00' for some; try both). slot is the rack position (the CPU usually occupies slot 0). rack/drop/bus default to the local rack on the local bus; use get_hardware to see the topology.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bus | No | ||
| drop | No | ||
| rack | No | ||
| slot | Yes | ||
| version | No | 02.00 | |
| part_number | Yes |