Reconnecting to ModBus slave TCP, after disconnecting

For general Flowcode discussion that does not belong in the other sections.
Post Reply
Intenzo
Posts: 2
http://meble-kuchenne.info.pl
Joined: Mon Sep 18, 2023 10:44 am

Flowcode v10 Reconnecting to ModBus slave TCP, after disconnecting

Post 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.
Attachments
Flowcode1.fcfx
(15.31 KiB) Downloaded 173 times

Intenzo
Posts: 2
Joined: Mon Sep 18, 2023 10:44 am

Re: Reconnecting to ModBus slave TCP, after disconnecting

Post 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)?

chipfryer27
Valued Contributor
Posts: 1685
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 374 times
Been thanked: 583 times

Re: Reconnecting to ModBus slave TCP, after disconnecting

Post 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

Post Reply