Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. MODBUS and LRC
Forum Updated to NodeBB v4.3 + New Features

MODBUS and LRC

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
modbusqtserialbus
1 Posts 1 Posters 987 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    GeorgeIoak
    wrote on last edited by
    #1

    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,
    George

    1 Reply Last reply
    1

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved