Petar Enev
Results
2
comments of
Petar Enev
It is correct but the bytes are swapped. With the input you provide the function returns 0x61D8. If you use some [online tool](https://crccalc.com/?crc=01020001&method=CRC-16/MODBUS&datatype=hex&outtype=0) it returns 0xD861.
Maybe you should investigate the parse_response method of the RtuQuery class in modbus_rtu.py