change - 2105更改读取长度

dep
wangsr 12 months ago
parent 21e4d96221
commit 22a99a978c

@ -12,7 +12,7 @@ namespace DataBlockHelper.DBHelpers
{ {
public DB2105Helper() public DB2105Helper()
{ {
this.bytes = PlcConnect.Instance.Read("DB2105.0.0", 174).Content; this.bytes = PlcConnect.Instance.Read("DB2105.0.0", 206).Content;
} }
public List<PlanEntity> Plan => new PlanArrayManager(4, 0, 12, bytes).GetList(); public List<PlanEntity> Plan => new PlanArrayManager(4, 0, 12, bytes).GetList();
public bool[] Status => new FourBoolArrayManager(48, bytes).GetList(); public bool[] Status => new FourBoolArrayManager(48, bytes).GetList();

@ -454,10 +454,10 @@ namespace DataBlockHelper.DBHelpers
return operate.IsSuccess; return operate.IsSuccess;
} }
private static readonly int HaNo = 106; private static readonly int HaNo = 174;
public static readonly int HbNo = 114; public static readonly int HbNo = 182;
private static readonly int CaNo = 122; private static readonly int CaNo = 190;
private static readonly int CbNo = 130; private static readonly int CbNo = 198;
#region 添加方法Ha #region 添加方法Ha

Loading…
Cancel
Save