Ethernet suddenly stops working

Hello everyone,
My name's Daniel and I have a blocking problem with the Opta: I created a simple project where the Opta Is a Modbus TCP server, and a remote application reads 2 registers every 20 seconds.
Everything works fine for, say, 10 or 20 minutes, but then suddenly the Opta stops communicating: the Modbus TCP server becomes unavailable, and the Opta itself cannot even be pinged.
The only way to solve this is by rebooting the Opta. After a reboot, everything works fine until the Ethernet breaks again eventually.

My project is very simple: on the sketch part I only declare the Ethernet setup part, and in the code part I just read 2 digital inputs.

I bought the Opta a few days ago, and the Arduino PLC ide is the latest version.

How can even be that the Ethernet stops working so suddenly?

The external software deals with dozens of other modbus devices, so I doubt it's its fault.

Can someone help me?
In those conditions, the Opta Is fairly unusable...

Hi do you have a watchdog implemented in the arduino sketch? From memory I had a similar issue a while back and that was the fix.

Can you post your sketch?

Hi,
Thanks for the reply, but I returned the two optas I bought as that problem was really blocking.
But the way, the program itself was working, only the Ethernet had issues.

Bye
Daniel