Modbus scanner takes stream of bytes as imput and produces callbacks with Protocol Data Units (PDUs) on its output. It looks very easy on the first sight but current portion of bytes in input may ...
;; Sub-Req. x, File Number : 0x0001 to 0xFFFF - 2 bytes ;; Sub-Req. x, Record Number : 0x0001 to 0x270F - 2 bytes ;; Sub-Req. x, Record Length : N - 2 bytes ;; Sub ...