A library that allows your Arduino to communicate via Modbus protocol, acting as a slave (master in development). Supports serial (RS-232, RS-485) and IP via Ethernet (Modbus IP).
Hello ! I could connect an arduino Due with a w5100 mini ethernet shield. I can use the entire library. I use modbus poll or radzio for a modbus tcp ip master. The problem is that for example if I read a hold reg, i get a timeout error or ( write error read error ) and then I can read. So it is Yes-No-Yes-No-Yes-No. It´s like i lose connection, maybe something about times. I use mudbus library and mgsmodbus and I didn´t have that problem !
As you see , i can run it OK but first an error and then it goes, error.. goes.. error .. goes ? Don´t you think it can be a time problem at the library ?
Hello ! I could connect an arduino Due with a w5100 mini ethernet shield. I can use the entire library. I use modbus poll or radzio for a modbus tcp ip master. The problem is that for example if I read a hold reg, i get a timeout error or ( write error read error ) and then I can read. So it is Yes-No-Yes-No-Yes-No. It´s like i lose connection, maybe something about times. I use mudbus library and mgsmodbus and I didn´t have that problem !
As you see , i can run it OK but first an error and then it goes, error.. goes.. error .. goes ? Don´t you think it can be a time problem at the library ?
mail : matu_1234_ches@hotmail.com