Reconnecting to ModBus slave TCP, after disconnecting
Posted: Wed Oct 11, 2023 2:34 pm
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.
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.