Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QTModBus Problem
Qt 6.11 is out! See what's new in the release blog

QTModBus Problem

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 644 Views 1 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.
  • L Offline
    L Offline
    Lollo17380
    wrote on last edited by
    #1

    Good morning everyone, I have a problem with QTModBus library.
    I have seen that exist QModbusDataUnit::RegisterType. I must add new value to can use different value from 0 to 4. When I try to use a different value I receive an error: qt.modbus: (Client) Refuse to send invalid request.
    Someone can help me?

    Pablo J. RoginaP 1 Reply Last reply
    0
    • L Lollo17380

      Good morning everyone, I have a problem with QTModBus library.
      I have seen that exist QModbusDataUnit::RegisterType. I must add new value to can use different value from 0 to 4. When I try to use a different value I receive an error: qt.modbus: (Client) Refuse to send invalid request.
      Someone can help me?

      Pablo J. RoginaP Offline
      Pablo J. RoginaP Offline
      Pablo J. Rogina
      wrote on last edited by
      #2

      @Lollo17380 said in QTModBus Problem:

      I must add new value to can use different value from 0 to 4.

      The question would be why do you need a new value, different from what the Qt developers already defined in that enum QModbusDataUnit::RegisterType?

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      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