Phase 3 PR 44 -- pymodbus validation + IPv4-explicit transport bugfix #43
Reference in New Issue
Block a user
Delete Branch "phase-3-pr44-pymodbus-validation-fixes"
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
Follow-up to PR 43 (pymodbus swap). Validates pymodbus 3.13.0 end-to-end on the dev box and fixes four real bugs surfaced when running it.
_*keys; replaced blanketwriterange with per-block ranges; relocated coils to 1024+ so they do not collide with uint16 entries in pymodbus shared cell array.new TcpClient()resolveslocalhostto::1first, timing out against IPv4-only Modbus servers (including pymodbus and most PLCs). Now resolves viaDns.GetHostAddresses, prefers IPv4, dials explicitly. Same fix inModbusSimulatorFixture.DL205_Smoke_HReg100->Smoke_HReg200acrossDL205Profile.cs+DL205SmokeTests.cs(was causing BadNodeIdUnknown).Validation
DL205SmokeTests1/1 pass against both profilesZB.MOM.WW.OtOpcUa.Driver.Modbus.Tests52/52 pass (dual-stack fix non-breaking)Test plan