Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. QT with PLC Hardware and Automation
Forum Updated to NodeBB v4.3 + New Features

QT with PLC Hardware and Automation

Scheduled Pinned Locked Moved 3rd Party Software
5 Posts 3 Posters 7.7k 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.
  • T Offline
    T Offline
    Takx
    wrote on last edited by
    #1

    Hey Guys,

    Do you know if there are any libs to communicate with rockwell and siemens PLC's (programmable logic controllers)? If not QT specific lib it can be C++ too.

    Thanks.

    1 Reply Last reply
    0
    • F Offline
      F Offline
      faloon
      wrote on last edited by
      #2

      Are you looking for a component that can simply access variables in the PLC with get/sets or something more advanced where you could link variables to UI-widgets and have them updated on th UI online as in most control room apps?

      I believe the latter would require having support for update events etc. and therefore requires the support of the PLC manufacturer as the updates would be initiated by the PLC. I have done this with Beckhoff but I'm not sure how easy (or expensive) it is with Siemens or A&B.

      Accessing Siemens DBs can be done easily over a socket connection. For A&B you need an OPC-connection. At least that's how it was done in my previous job.

      This sounds like a good idea for an open source project!!!

      1 Reply Last reply
      0
      • T Offline
        T Offline
        Takx
        wrote on last edited by
        #3

        At first yes, I'm looking for component to access variables, today my friends use VB (with the lib for siemens / rockwell) so he just create's an object, create the variables at the ini file and them he can read the values to the IHM. I will be working with him and I want to go for QT, VB is slow and to make a nice interface takes too much time and effort, looking forward for some good looking IHM and I don't like C#.

        Siemens over a socket connection? Do you have any sample codes or documentation?
        Is there a working OPC-connector for QT / Rockwell already implemented?

        Thanks for the help!

        1 Reply Last reply
        0
        • M Offline
          M Offline
          medlitaiem
          wrote on last edited by
          #4

          you can use QTcpServer and QTcpSocket classes to recieve and write data from and to the plc.i have tried this with siemens s7-1200 and it works perfectly. use TCON ,TRCV and TSEND functions in tia portal to interface with qt.

          1 Reply Last reply
          0
          • M Offline
            M Offline
            medlitaiem
            wrote on last edited by
            #5

            you can use QTcpServer and QTcpSocket classes to recieve and write data from and to the plc.i have tried this with siemens s7-1200 and it works perfectly. use TCON ,TRCV and TSEND functions in tia portal to interface with qt.

            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