Phase 3 PR 57 -- S7 byte-order + fingerprint integration tests #56
Reference in New Issue
Block a user
Delete Branch "phase-3-pr57-s7-quirk-tests"
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
Three new facts in
S7_ByteOrderTests:S7_Float32_ABCD_decodes_1_5f_from_HR100— reads HR[100..101] with BigEndian AND WordSwap; assertsBigEndian==1.5f,WordSwap!=1.5f. Proves S7's ABCD default (opposite of DL260).S7_Int32_ABCD_decodes_0x12345678_from_HR300— same ABCD proof for Int32.S7_DB1_fingerprint_marker_at_HR0_reads_0xABCD— DB1.DBW0 fingerprint convention.No driver code changes — locks in S7-specific semantics at the integration level so future codec refactors can't silently break S7.
Quirks NOT testable via pymodbus (MB_SERVER STATUS 0x8383, port-per-connection, CP 343-1 Lean license, STOP-mode non-determinism) remain in docs/v2/s7.md as design guidance rather than automated tests.
Validation