Important: Please read the Qt Code of Conduct -


  • I'm doing some initial research for creating an application that communicates with a device that uses a subset of MODBUS. I've looked at the examples and searched the forums but I don't see how you set whether you need to use LRC or CRC. In my case I need to use LRC (RTU/Serial mode) and it is only 1 byte (add the individual bytes and discard the carries).

    As an example If I want to send a request of ":000301010002F6" the LRC is F6 and I would get a response like ":000304001C5A364D" where the 4D is the LRC.

    Thanks in advance,

Log in to reply