Home > other >  Implement modbus, QT use libmodbus - master library, how to implement
Implement modbus, QT use libmodbus - master library, how to implement

Time:10-22

I add the libraries to the project below, and then? Is a function call or what? And then connect a serial port? Urgent for the answer! Thank you master answer

CodePudding user response:

There will be? Please answer

CodePudding user response:

Modbus used library, before the use of TCP protocol in the ha modbus test,

CodePudding user response:

Have done? Give a little thought

CodePudding user response:

Libmodbus is a cross-platform library, it should be written in C, the source added to your project, direct calls the function is ok!

CodePudding user response:

Which function is to use which one, or adjust a solution to all problems?

CodePudding user response:

You can download a modbus master or slave tool alignment with your test procedure, to ensure the correctness of the data you sent,

CodePudding user response:

Solved, is one of the modbus functions

CodePudding user response:

The building Lord I'm doing this to aRM could you tell me how to compile your transplants ah can share it to me?

CodePudding user response:

QT from 5. 2 after has built-in SerialBus module. You can't download module source code to compile in with respect to OK.
Why to use external tools library. https://doc.qt.io/archives/qt-5.7/qtserialbus-index.html
  • Related