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. HMI app: QModbusTcpClient & QModbusTcpServer on same port?

HMI app: QModbusTcpClient & QModbusTcpServer on same port?

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 136 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.
  • A Offline
    A Offline
    AndreiS
    wrote on last edited by
    #1

    Hello,
    I know this sounds strange, but the application currently is an HMI (client) that is communicating to a machine PLC (server). However, the future requirement is that the HMI can act like a server (slave) so that data can be requested from the HMI by a SCADA system that displays data from several machines.

    The HMI hardware has one ethernet connection. Modbus TCP communication is on port 502 only. If I instantiate a server and client on the same IP address, I don't believe the Qt classes would be able to differentiate what packets where for the server or client... Am I mistaken? If not, can anyone thing of a workaround... Second process for the slave?

    Any thoughts are much appreciated,
    Andrei

    1 Reply Last reply
    0

    • Login

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