🚧 Change module numbering
This commit is contained in:
@@ -22,9 +22,11 @@ a virtual node whose I/O behavior is driven by scripted scenarios.
|
||||
pulses, waits, and PASS/FAIL assertions with timeouts; state machines
|
||||
and Python action plugins for complex plant models.
|
||||
- **Two I/O addressing schemes** for aliases: *module-based* —
|
||||
`{ type: di, module: 2, channel: 1 }` = `DI2.1` (module slot and
|
||||
channel both 0-based) — and *pool-based* — `{ type: di, channel: 3 }`
|
||||
(1-based index across the node's DI pool). Both may be mixed.
|
||||
`{ type: di, module: 2, channel: 1 }` = `DI2.1` (module **numbered
|
||||
0-based within its type** — `DI0`, `DO0`, `AI0`, `AO0` start each
|
||||
kind — and channel 0-based; v1.5) — and *pool-based* —
|
||||
`{ type: di, channel: 3 }` (1-based index across the node's DI
|
||||
pool). Both may be mixed.
|
||||
- **Bench mode** *(requested, planned — spec §9)*: run the simulator
|
||||
without a scenario (`wago-sim serve --node ...` already works);
|
||||
planned additions: `--set DI0.1=ON` startup seeding, an interactive
|
||||
|
||||
Reference in New Issue
Block a user