Skip to content

Commit 9045dce

Browse files
committed
update plcgroup
1 parent 3d4fb4e commit 9045dce

File tree

2 files changed

+1
-0
lines changed

2 files changed

+1
-0
lines changed

SCADA/Program/DataService/PLCGroup.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -938,6 +938,7 @@ protected override unsafe void Poll()
938938
byte[] rcvBytes = _plcReader.ReadBytes(area.Start, (ushort)area.Len);//从PLC读取数据
939939
if (rcvBytes == null)
940940
{
941+
k += (area.Len + 1) / 2;
941942
continue;
942943
}
943944
else

SCADA/dll/ModbusDriver.dll

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)