Hello
I established communication between MASTER (ESP32) and two SLAVE (ESP32) processors via WIFI.
I have a problem because when one of the SLAVE processors fails (for example, if I disconnect it from the power supply), the MASTER processor does not know this and the speed slows down considerably.
At the moment I solved the issue with Set Coil, where the MASTER sends to the SLAVE and if it doesn't respond I skip the routine for that SLAVE, but I don't like this solution because it still slows down the performance, in case that the Set Coil doesn't find the SLAVE processor
Can someone help me how to check whether the two SLAVE processors are active (for example as a kind of PING)?
Br Igor
Master slave communication over WIFI
-
- Posts: 8
- http://meble-kuchenne.info.pl
- Joined: Wed Jun 08, 2022 8:37 am
- Has thanked: 3 times
- Been thanked: 1 time
Master slave communication over WIFI
- Attachments
-
- SLAVE1.fcfx
- (13.85 KiB) Downloaded 399 times
-
- SLAVE0.fcfx
- (13.84 KiB) Downloaded 384 times
-
- MASTER.fcfx
- (27.45 KiB) Downloaded 380 times