Modbus Slave does not get the first command
Posted: Wed Dec 07, 2022 8:41 am
by KaranRaj
My modbus slave fails to receive the first command. The master returns a response timeout. However, from second attempt, the commands start working correctly. Wondering if someone else has faced this issue, or if anyone has any idea of what might be wrong here?
Re: Modbus Slave does not get the first command
Posted: Mon Dec 19, 2022 2:16 pm
by ESP_alisitsyn
Hello @ KaranRaj ,
Could you provide more information? What library you are using? What is the initialization sequence of the slave and master? Which communication option is used in your case?
The log can be useful too to understand the reason for your issue. Such issues usually related to initialization sequence of master and slave.