|
|
@ -23,7 +23,8 @@ public class PlcClient : ModbusTcpMaster
|
|
|
|
Duration = 1000;
|
|
|
|
Duration = 1000;
|
|
|
|
AutoReConnect = true;
|
|
|
|
AutoReConnect = true;
|
|
|
|
_binInfoRepository = binInfoRepository;
|
|
|
|
_binInfoRepository = binInfoRepository;
|
|
|
|
//DataFormat = HslCommunication.Core.DataFormat.DCBA;
|
|
|
|
ByteSeq = EndingConst.ByteSeq.BA;
|
|
|
|
|
|
|
|
WordSeq= EndingConst.WordSeq.CD;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private void BatchRead(ModbusTcpMaster master)
|
|
|
|
private void BatchRead(ModbusTcpMaster master)
|
|
|
|