add_io_module
Specify a part number and slot to add an IO or communication module to a PLC rack. Optionally set rack, drop, and bus for remote modules.
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 |
|---|---|---|---|
| part_number | Yes | ||
| slot | Yes | ||
| version | No | 02.00 | |
| rack | No | ||
| drop | No | ||
| bus | No |