diff --git a/Modbus.Net/Modbus.Net/Connector/ComConnector.cs b/Modbus.Net/Modbus.Net/Connector/ComConnector.cs index 1ed5696..fc67097 100644 --- a/Modbus.Net/Modbus.Net/Connector/ComConnector.cs +++ b/Modbus.Net/Modbus.Net/Connector/ComConnector.cs @@ -212,7 +212,7 @@ namespace Modbus.Net /// 串口实际读入数据个数 public int ReadComm(out byte[] readBuf, int bufRoom, int howTime, int byteTime) { - readBuf = new byte[1023]; + readBuf = new byte[10230]; Array.Clear(readBuf, 0, readBuf.Length); if (SerialPort.IsOpen == false)