Modbus Timeout Issue


I am setting up a Micro 820 via Modbus TCP/IP driver.

I can add tags and write to them, well somewhat. When I click on it (sometimes need multiple clicks) the overlay will go away and within a second come back. (grey with green tag in corner).

I tried a quick scan class at slow rate 500ms and stale timeout 50000ms but it still persist.

I get this in the console

Socket connection closed, DriverState was Connected.

any ides how to keep the connection fresh?

also tried a timer from 50-250ms hitting a coil, but doesn't seem to keep it fresh.

they are all "coils" some for read/write and some only read. tag address is ns=1;s=[OTC Waste]OTC1
thank you!