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

Isue with write data to slave #67

Closed mati294 closed 2 years ago

mati294 commented 2 years ago

Hello trying to send data via functions 6,15,16 to slave. But strange values ​​are blown at the slave. With the function 5 and the value 6 in the slave there are 1798 ... Please fix it, or if I misuse it, add an example to the library on how to properly use all the functions for slave and master. Greetings

smarmengol commented 2 years ago

No success with the current examples?

mati294 commented 2 years ago

It only worked after destroying all the libraries that contained something related to modbus and reinstalling the library. However, there is still some decent example showing the relationship between functions, etc. It would also be useful to have info on the limits of the functions (how many data cells can be sent with one telegram, etc.)