Page 1 of 1

Reconnecting to ModBus slave TCP, after disconnecting

Posted: Wed Oct 11, 2023 2:34 pm
by Intenzo
Hello everyone. Please help to solve the problem:

I made a project using ModBus TCP and ESP 32, ESP is used as a ModBus slave and an access point via WLAN, everything works when the master modbus is connected, but if the master is disconnected, then reconnection is not possible. To reconnect to the modbus slave, you need to reboot the ESP.

Re: Reconnecting to ModBus slave TCP, after disconnecting

Posted: Thu Oct 26, 2023 1:18 pm
by Intenzo
Has no one encountered this problem? Why is it impossible to reconnect after disconnecting the TCP master, only after restarting the ESP (TCP slave)?

Re: Reconnecting to ModBus slave TCP, after disconnecting

Posted: Thu Oct 26, 2023 4:39 pm
by chipfryer27
Hi

Just guessing as I can't look at your chart just now, but you may need to have the slave check that it is connected, and if not then reinstigate connections.

Regards