Modbus blocks other threads

If I don’t have another Mobus device connected to my SITcore based board so Modbus master blocks when listening for a reply. This messes up the GUI touch so trying to do any configuration changes means that the user can’t use the interface.

Anyone else has seen this issue?

I have a fix for this. Add this as line 192 in ModbusRtuInterface.cs


Modbus appears to still work as normal but any timeout doesn’t block your other threads. :slight_smile:

My guess, UI uses dispatcher for events and not having a sleep would prevent the dispatcher for working properly.

1 Like

Modbus blocks other threads · Issue #1099 · ghi-electronics/TinyCLR-Libraries (


1 Like