We're building a Modbus TCP server that publishes the value of some sensors as Modbus registers. This server binds to the IP address of an ethernet port, if this port goes down, the server just keeps running like if nothing happened. Is there a way I can detect this and restart the server until the Ethernet port is reconnected?
We're building a Modbus TCP server that publishes the value of some sensors as Modbus registers. This server binds to the IP address of an ethernet port, if this port goes down, the server just keeps running like if nothing happened. Is there a way I can detect this and restart the server until the Ethernet port is reconnected?