rossmann-engineering/EasyModbusTCP.NET

Error not managed during ReadInputRegisters

Silex-Axe opened this issue · 0 comments

If tcpClient is disconnected, data received by ModbusClient.ReadInputRegisters. If serialport is null, udpflag is false and tcpClient.Client.Connected is false, the data array is never updated and no exception is risen, thus generating a situation where every call without reconnecting to the client will return the same value based on inputs.