dimanche 23 avril 2017

Creating an Modbus RTU request c++

Hello all I was needing help with constructing a Modbus RTU packet request. Lets say I want the analog holding register(function code 3) starting from address 40108 to 40111 so that 4 registers and all this from slave ID 7. I'm not sure how I can construct this packet?

I know I need to open a serial port and connect then construct and send the packet.

Aucun commentaire:

Enregistrer un commentaire