Phase 3 PR 50 -- DL260 bit-memory helpers (Y/C/X/SP) + coil integration tests #49
Reference in New Issue
Block a user
Delete Branch "phase-3-pr50-dl205-coil-mapping"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds DL260 I/O-memory address helpers to
DirectLogicAddress:YOutputToCoil(Y0 → coil 2048)CRelayToCoil(C0 → coil 3072)XInputToDiscrete(X0 → DI 0)SpecialToDiscrete(SP0 → DI 1024)Each adds the octal-decoded offset to its Modbus base; rejects non-octal digits (8/9). Fixes a pymodbus-config bug surfaced during validation: pymodbus divides bit-addresses by 16 before cell indexing, so the dl205.json bits entries at cells 2048/3072/4000 were unreachable via FC01. Relocated to cells 128/192/250 and updated the write range.
Validation
Test plan