Phase 3 PR 60 -- Mitsubishi MELSEC quirk integration tests #59
Reference in New Issue
Block a user
Delete Branch "phase-3-pr60-mitsubishi-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
Seven facts in
MitsubishiQuirkTestsagainst themitsubishipymodbus profile:D0_fingerprint_reads_0x1234— D-register fingerprint convention, usesDRegisterToHolding('D0').Float32_CDAB_decodes_1_5f_from_D100— CDAB word order (same family as DL260, opposite of S7).D10_is_binary_not_BCD— reads HR[10]=0x04D2 as Int16 → 1234. MELSEC is binary-by-default.D10_as_BCD_throws_because_nibble_is_non_decimal— reading same cell as Bcd16 fails loud (nibble 0xD). Proves the BCD decoder doesn't silently corrupt.QLiQR_X210_hex_maps_to_DI_528_reads_ON— end-to-end proof of hex X-addressing viaXInputToDiscrete('X210', Q_L_iQR).family_trap_X20_differs_on_Q_vs_FX— in-integration reminder of the headline trap.M512_maps_to_coil_512_reads_ON— decimal M-relay path.Single test class + shared fixture (contrast with DL205's per-quirk class splits) — MELSEC per-model differentiation handled by
MelsecFamilyenum, not per-PR.Validation