Modbus Slave does not get the first command

KaranRaj
Posts: 16
Joined: Wed Jan 16, 2019 5:43 am

Modbus Slave does not get the first command

Postby KaranRaj » Wed Dec 07, 2022 8:41 am

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?

ESP_alisitsyn
Posts: 211
Joined: Fri Feb 01, 2019 4:02 pm
Contact:

Re: Modbus Slave does not get the first command

Postby ESP_alisitsyn » Mon Dec 19, 2022 2:16 pm

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.

Who is online

Users browsing this forum: No registered users and 344 guests