eterey / pymodbus3

A full Modbus protocol written in Python 3.
http://uzumaxy.github.io/pymodbus3/
BSD 3-Clause "New" or "Revised" License
40 stars 11 forks source link

RTU framer: two extra Bytes for FramerState.ReadingHeader #12

Closed gregorschatz closed 5 years ago

gregorschatz commented 6 years ago

(https://github.com/gregorschatz/pymodbus3/commit/417820a8045be7cc47a57cf7300fd41311dc2e16 found back in 2015) Maybe it was just a worse solution for #4 "Defect in Modbus RTU handling" but, it solves header processing in ReadingHeader state of Framer, not confusing with ReadingContent state.

gregorschatz commented 5 years ago

Ang again Modbus RTU-Framing:

test_scripts.zip