smarmengol / Modbus-Master-Slave-for-Arduino

Modbus Master-Slave library for Arduino
GNU Lesser General Public License v2.1
473 stars 328 forks source link

how to write data on simple_master to slave equipment ? #52

Open aandrie77 opened 4 years ago

aandrie77 commented 4 years ago

Hi...

Thank you for your library code, on your sample_master , only show data from register slave equipment, but how to write to register slave ? i try to change function to 06 or 16 but on slave not change anything.

thank you

kevin192291 commented 3 years ago

This probably isn't the answer you are looking for. Or even useful, but I ended up getting a USB to RS485 Adapter on E-Bay and making the updates that way. I had tried to get this library to write but never had any luck doing it.