Hey, I found a bug. When you try send request eg. with huge quantity then program will throw exception:
Application: ModbusSlave.exe Architecture version: v4.0.30319 Description: the process was
aborted due to an unhandled exception. Exception information:
System.OverflowException w
ModbusLib.Protocols.ModbusCodecReadMultipleRegisters.ServerDecode(ModbusLib.Protocols.ModbusCommand,
ModbusLib.ByteArrayReader) w
ModbusLib.Protocols.ModbusTcpCodec.ModbusLib.Protocols.IProtocolCodec.ServerDecode(ModbusLib.CommDataBase)
w ModbusLib.TcpServer.Worker() w
System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext,
System.Threading.ContextCallback, System.Object, Boolean) w
System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext,
System.Threading.ContextCallback, System.Object, Boolean) w
System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext,
System.Threading.ContextCallback, System.Object) w
System.Threading.ThreadHelper.ThreadStart()
Hey, I found a bug. When you try send request eg. with huge quantity then program will throw exception:
Example request
000100000006010363c09c85