Phase 3 PR 48 -- DL205 CDAB float word order end-to-end test #47
Reference in New Issue
Block a user
Delete Branch "phase-3-pr48-dl205-cdab-float"
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
Stacked on PR 47. Integration-test-only PR: validates
ModbusByteOrder.WordSwap(CDAB) forFloat32end-to-end against the pymodbus dl205 profile. The word-swap code path has existed since PR 24; this locks it in against a realistic PLC payload so future codec refactors can't silently break DL205/DL260 floats.1.5fas CDAB (low word0x0000first, high word0x3FC0second).WordSwapthe read returns1.5f; withBigEndianit returns a tiny denormal.Validation
Test plan