CRC error on RTU response doesent return negative
Asked by
Henrik Munktell
Hi (this is my first post hero on launchpad, hope I post in right place)
I have libmodbus 2.0.3 and some problems with CRC errors. I'm writing a modbus Master that communicate with RTU slaves over RS485.
When I issue a
"modbus_ret = read_holding_
and the return has invalid CRC, libmodbus prompts as it should with
"ERROR Invalid crc received E800 - crc_calc 4716 (-16)" , for example.
But, the return value from read_holding_
This must be a bug, right?
Regards
Henrik
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- libmodbus Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Henrik Munktell
- Solved:
- Last query:
- Last reply:
To post a message you must log in.