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. Modbus RTU Encapsulation (Modbus over TCP)

Modbus RTU Encapsulation (Modbus over TCP)

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

    Hi,

    I've used it so far only serial Modbus RTU, ort TCP Modbus TCP communication.
    Now In my device I have port server with connected serial device.

    Form my qt application I must send Modbus RTU frame to IP addres:PORT (192.168.1.50:4001) ... How do this ?

    1 Reply Last reply
    0
    • J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      it's not quite clear if your Qt application is supposed to be the master or the client.

      Either way, for Slave use:
      Qt5:
      https://doc.qt.io/qt-5/qmodbusrtuserialslave.html#details
      Qt6:
      https://doc.qt.io/qt-6/qmodbusrtuserialserver.html

      for Master:
      Qt5
      https://doc.qt.io/qt-5/qmodbusrtuserialmaster.html
      Qt6:
      https://doc.qt.io/qt-6/qmodbusrtuserialclient.html


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      1 Reply Last reply
      2

      • Login

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