Phase 3 PR 41 — Document AutomationDirect DL205 / DL260 Modbus quirks #40
Reference in New Issue
Block a user
Delete Branch "phase-3-pr41-dl205-quirks-doc"
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?
Pure documentation PR. New
docs/v2/dl205.md(~300 lines, 8 H2 sections, 8 primary-source citations) covering every place the DL205/DL260 family diverges from textbook Modbus or has non-obvious behavior a generic client gets wrong. The user explicitly flagged that DL205/DL260 strings don't follow Modbus convention; research turned up that and a lot more.Headline findings
'Hello'reads back as'eHll o\0'on a textbook decoder. Kepware exposes aString Byte Ordertoggle for exactly this; we'll need the same.V2000octal = decimal 1024 = Modbus PDU0x0400. The widespreadV40400 = register 0shorthand is wrong on modern firmware; on H2-ECOM100 absolute mode (factory default)V40400 = 0x2100.ModbusByteOrder.WordSwap; just needs to be the default in the DL205 profile.V2000 = 1234in ladder stores as0x1234on the wire, not0x04D2. IEEE 754 only when ladder used theRtype. New decoder mode required.02newer firmware /04older.What this enables
12
DL205_<behavior>integration-test names ready to fill in PR 42+ as ModbusPal validation completes (one PR per quirk per the existing convention).modbus-test-plan.mdDL205 section rewritten as a priority-ordered table that doubles as the test roadmap.What's NOT in this PR
The actual driver work — string-byte-order option, BCD decoder mode, V-memory address helper, FC16 cap-per-device-family, multi-client TCP handling. Each ships as its own focused PR.
References
8 sources cited inline in
dl205.md, primarily:Unconfirmed items (forum reports only) explicitly flagged with
_unconfirmed_so future-me knows what's manual-sourced vs hardware-reproduced.