rossmann-engineering / EasyModbusTCP.NET

Modbus TCP, Modbus UDP and Modbus RTU client/server library for .NET implementations
922 stars 396 forks source link

Read weird result from InputRegisters when open multiple modbus client #90

Open HanochZhu opened 1 year ago

HanochZhu commented 1 year ago

Hi, I encounter a weird problem when multiple modbus client running on the same computer. The first client read wrong number from server when the second client launched. For example, The first client read from InputRegister with 1 block. It shows correctly what display on server. After the second client launched, The frist client will read a wrong number, It always looks like -29221 or 9435 such a weird number.

How to solve this problem? Is there any configuration with wrong input? Thanks?

Padanian commented 1 year ago

You have to consider latency on the server side. Not all servers are so well written to withstand concurrent communication with reasonable latency.

HanochZhu commented 1 year ago

Thanks! I will check it with our server developer.