Important: Please read the Qt Code of Conduct -

Qt Tcp Modbus?

  • All,
    Kind of new to the Qt World but I've been looking over the tool set and am wondering if there a synchronous modbus interface? Our program need to read Modbus, perform a process cycle on te data, write back to modbus on a specific timeslice.



  • Moderators

    hi @WBest and welcome

    wondering if there a synchronous modbus interface

    Not for tcp and I would strongly discourage using the synchronous api in RTU as well.

    Do you really need to respond in a nanosecond time frame or would be < ms be sufficient ?

    If that is sufficient, than use simply use the asynchronous api and if you notice inconstancies because you do other heavy calculations in your app, you can always move the TcpModbus into its own thread.

Log in to reply