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. ethernet / ip industrial protocol
Forum Updated to NodeBB v4.3 + New Features

ethernet / ip industrial protocol

Scheduled Pinned Locked Moved General and Desktop
ethernetipindustrial protcommon industricip
3 Posts 3 Posters 3.3k Views 3 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.
  • M Offline
    M Offline
    MMRtheDeveloper
    wrote on last edited by
    #1

    greetings,
    i would like to know how can i communicate over the ethernet/ip protocol from qt applications
    just like qt supports QSerialPort, is there any thing like QIndustrialProtocol class that manages the same?
    Note: this is not the same as tcp/ip in which case qt already has <QtNetwork>

    K 1 Reply Last reply
    0
    • M MMRtheDeveloper

      greetings,
      i would like to know how can i communicate over the ethernet/ip protocol from qt applications
      just like qt supports QSerialPort, is there any thing like QIndustrialProtocol class that manages the same?
      Note: this is not the same as tcp/ip in which case qt already has <QtNetwork>

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @MMRtheDeveloper
      Hi and welcome to devnet

      The place to start is checking out the examples for Tcp communication. There are the fortune client and server examples.
      You can run both applications at the same time from the same machine. They show you the simple mechanisms required in Qt.

      For TCP comms is the QTcpSocket class.

      The examples above you can check thorugh the debugger step by step for instance.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mchiasson
        wrote on last edited by
        #3

        @koahnig You are confusing Industrial Protocol with Internet Protocol. EtherNet/IP is an industry standard based of CIP used in build automation in assembly lines. This is the protocol used by most (if not all) Programmable Logic Controllers (PLC).

        @MMRtheDeveloper we've been using https://github.com/EIPStackGroup/OpENer in our Qt app to talk to our PLC. However, EtherNet/IP is proprietary and even if OpENer is open source, you still need to buy a license from ODVA. I don't think there is anything else out there already made or adapted for Qt.

        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