diff --git a/DataBlockHelper/DBHelpers/DB2105Helper.cs b/DataBlockHelper/DBHelpers/DB2105Helper.cs index 4181e80..1ac0f4f 100644 --- a/DataBlockHelper/DBHelpers/DB2105Helper.cs +++ b/DataBlockHelper/DBHelpers/DB2105Helper.cs @@ -12,7 +12,7 @@ namespace DataBlockHelper.DBHelpers { public DB2105Helper() { - this.bytes = PlcConnect.Instance.Read("DB2105.0.0", 174).Content; + this.bytes = PlcConnect.Instance.Read("DB2105.0.0", 206).Content; } public List Plan => new PlanArrayManager(4, 0, 12, bytes).GetList(); public bool[] Status => new FourBoolArrayManager(48, bytes).GetList(); diff --git a/DataBlockHelper/DBHelpers/DB2105WriteHelper.cs b/DataBlockHelper/DBHelpers/DB2105WriteHelper.cs index e177d0c..e38ad63 100644 --- a/DataBlockHelper/DBHelpers/DB2105WriteHelper.cs +++ b/DataBlockHelper/DBHelpers/DB2105WriteHelper.cs @@ -454,10 +454,10 @@ namespace DataBlockHelper.DBHelpers return operate.IsSuccess; } - private static readonly int HaNo = 106; - public static readonly int HbNo = 114; - private static readonly int CaNo = 122; - private static readonly int CbNo = 130; + private static readonly int HaNo = 174; + public static readonly int HbNo = 182; + private static readonly int CaNo = 190; + private static readonly int CbNo = 198; #region 添加方法Ha