diff --git a/DataBlockHelper/DBHelpers/DB91Helper.cs b/DataBlockHelper/DBHelpers/DB91Helper.cs index 66aa55a..097efbf 100644 --- a/DataBlockHelper/DBHelpers/DB91Helper.cs +++ b/DataBlockHelper/DBHelpers/DB91Helper.cs @@ -12,7 +12,8 @@ namespace DataBlockHelper.DBHelpers public DB91Helper() { - bytes = PlcConnect.Instance.Read("DB91.0.0", 92).Content; + // var db = PlcConnect.Instance.Read("DB91.0.0",90); + bytes = PlcConnect.Instance.Read("DB91.0.0", 90).Content; } public ForMotorEntity DM1GDP01 => new ForMotorEntity(0, bytes); @@ -22,14 +23,30 @@ namespace DataBlockHelper.DBHelpers public ForMotorEntity DM1DSIG01 => new ForMotorEntity(8, bytes); public ForMotorEntity DM1GDS01 => new ForMotorEntity(10, bytes); public ForMotorEntity DM1GDS02 => new ForMotorEntity(12, bytes); + public ForMotorEntity DM1GDS03 => new ForMotorEntity(14, bytes); + public ForMotorEntity DM1GDS04 => new ForMotorEntity(16, bytes); + public ForMotorEntity DM1GDS05 => new ForMotorEntity(18, bytes); - public ForMotorSToTEntity DM1GDS06 => new ForMotorSToTEntity(20, bytes); - public ForMotorSToTEntity DM1GDS07 => new ForMotorSToTEntity(28, bytes); - public ForMotorVFD DM1DSM01 => new ForMotorVFD(36, bytes); - public ForMotorVFD DM2DSM01 => new ForMotorVFD(50, bytes); - public ForMotorVFD DM3DSM01 => new ForMotorVFD(64, bytes); - public ForMotorVFD DM1GDS12 => new ForMotorVFD(78, bytes); + + + public ForMotorEntity DM1GDS06 => new ForMotorEntity(20, bytes); + + public ForMotorEntity DM1GDS07 => new ForMotorEntity(24, bytes); + + public ForMotorEntity DM1GDS08 => new ForMotorEntity(26, bytes); + + public ForMotorEntity DM1GDS09 => new ForMotorEntity(28, bytes); + + public ForMotorEntity DM1GDS10 => new ForMotorEntity(30, bytes); + + public ForMotorEntity DM1GDS11 => new ForMotorEntity(32, bytes); + // public ForMotorSToTEntity DM1GDS06 => new ForMotorSToTEntity(20, bytes); + // public ForMotorSToTEntity DM1GDS07 => new ForMotorSToTEntity(28, bytes); + public ForMotorVFD DM1DSM01 => new ForMotorVFD(34, bytes); + public ForMotorVFD DM2DSM01 => new ForMotorVFD(48, bytes); + public ForMotorVFD DM3DSM01 => new ForMotorVFD(62, bytes); + public ForMotorVFD DM1GDS12 => new ForMotorVFD(76, bytes); } } diff --git a/Main/MCEdit/Data/MCProject/nodeForm/DeliverPressureSetting.xml b/Main/MCEdit/Data/MCProject/nodeForm/DeliverPressureSetting.xml index 24fb9b4..8938fb3 100644 --- a/Main/MCEdit/Data/MCProject/nodeForm/DeliverPressureSetting.xml +++ b/Main/MCEdit/Data/MCProject/nodeForm/DeliverPressureSetting.xml @@ -19,9 +19,9 @@ True True - 138, 115 + 95, 115 TxtSpeedC - 119, 26 + 59, 26 77 @@ -62,9 +62,9 @@ True True - 138, 65 + 95, 65 TxtSpeedB - 119, 26 + 59, 26 75 @@ -107,9 +107,9 @@ DarkGray 刷新 宋体, 12pt - 202, 235 + 106, 234 MCButton2147483646 - 159, 57 + 88, 57 74 @@ -134,7 +134,7 @@ 宋体, 12pt 6, 234 MCButtonE - 159, 57 + 83, 57 73 @@ -155,9 +155,9 @@ True True - 138, 25 + 95, 25 TxtSpeedA - 119, 26 + 59, 26 1 @@ -183,9 +183,9 @@ False 筛分机 宋体, 12pt - 846, 12 + 704, 11 GroupBox7 - 378, 296 + 206, 296 96 @@ -209,7 +209,7 @@ 138, 329 Lower - 119, 26 + 54, 26 87 @@ -252,7 +252,7 @@ 138, 289 Upper - 119, 26 + 54, 26 85 @@ -295,7 +295,7 @@ 138, 243 AuxC - 119, 26 + 54, 26 83 @@ -338,7 +338,7 @@ 138, 203 MainC - 119, 26 + 54, 26 81 @@ -381,7 +381,7 @@ 138, 155 AuxB - 119, 26 + 54, 26 79 @@ -424,7 +424,7 @@ 138, 115 MainB - 119, 26 + 54, 26 77 @@ -467,7 +467,7 @@ 138, 65 AuxA - 119, 26 + 54, 26 75 @@ -510,9 +510,9 @@ DarkGray 刷新 宋体, 12pt - 204, 447 + 125, 447 MCButtonD - 159, 57 + 86, 57 74 @@ -537,7 +537,7 @@ 宋体, 12pt 18, 447 MCButtonC - 159, 57 + 101, 57 73 @@ -560,7 +560,7 @@ 138, 25 MainA - 119, 26 + 54, 26 1 @@ -586,9 +586,9 @@ False 输送线压力设置 宋体, 12pt - 420, 343 + 357, 343 GroupBox6 - 402, 531 + 262, 531 20 @@ -612,9 +612,9 @@ DarkGray 刷新 宋体, 12pt - 222, 264 + 171, 263 MCButtonB - 159, 57 + 125, 57 74 @@ -637,9 +637,9 @@ DarkGray 下传 宋体, 12pt - 222, 186 + 171, 165 MCButtonA - 159, 57 + 125, 57 73 @@ -660,9 +660,9 @@ True True - 293, 110 + 242, 109 TxtDelay3 - 88, 26 + 54, 26 54 @@ -681,7 +681,7 @@ True 除尘风机 宋体, 9pt - 222, 116 + 171, 115 MCLabel54 53, 12 @@ -703,9 +703,9 @@ True True - 293, 66 + 242, 65 TxtDelay2 - 88, 26 + 54, 26 54 @@ -724,7 +724,7 @@ True 脉冲控制仪 宋体, 9pt - 222, 72 + 171, 71 MCLabel53 65, 12 @@ -746,9 +746,9 @@ True True - 293, 26 + 242, 25 TxtDelay1 - 88, 26 + 54, 26 52 @@ -767,7 +767,7 @@ True 喷淋延时 宋体, 9pt - 222, 32 + 171, 31 MCLabel52 53, 12 @@ -791,7 +791,7 @@ 77, 479 TxtO - 100, 26 + 54, 26 36 @@ -834,7 +834,7 @@ 77, 447 TxtN - 100, 26 + 54, 26 34 @@ -877,7 +877,7 @@ 77, 410 TxtM - 100, 26 + 54, 26 32 @@ -920,7 +920,7 @@ 77, 378 TxtL - 100, 26 + 54, 26 28 @@ -963,7 +963,7 @@ 77, 346 TxtK - 100, 26 + 54, 26 27 @@ -1006,7 +1006,7 @@ 77, 314 TxtJ - 100, 26 + 54, 26 26 @@ -1049,7 +1049,7 @@ 77, 282 TxtI - 100, 26 + 54, 26 24 @@ -1092,7 +1092,7 @@ 77, 250 TxtH - 100, 26 + 54, 26 15 @@ -1135,7 +1135,7 @@ 77, 218 TxtG - 100, 26 + 54, 26 13 @@ -1178,7 +1178,7 @@ 77, 186 TxtF - 100, 26 + 54, 26 11 @@ -1221,7 +1221,7 @@ 77, 154 TxtE - 100, 26 + 54, 26 9 @@ -1264,7 +1264,7 @@ 77, 122 TxtD - 100, 26 + 54, 26 7 @@ -1307,7 +1307,7 @@ 77, 90 TxtC - 100, 26 + 54, 26 5 @@ -1350,7 +1350,7 @@ 77, 58 TxtB - 100, 26 + 54, 26 3 @@ -1393,7 +1393,7 @@ 77, 26 TxtA - 100, 26 + 54, 26 1 @@ -1421,7 +1421,7 @@ 宋体, 12pt 12, 343 GroupBox5 - 402, 531 + 325, 531 19 @@ -1445,7 +1445,7 @@ 77, 186 CTimeSetValue2 - 100, 26 + 59, 26 11 @@ -1488,7 +1488,7 @@ 77, 154 CTimeSetValue1 - 100, 26 + 59, 26 9 @@ -1531,7 +1531,7 @@ 77, 122 BTimeSetValue2 - 100, 26 + 59, 26 7 @@ -1574,7 +1574,7 @@ 77, 90 BTimeSetValue1 - 100, 26 + 59, 26 5 @@ -1617,7 +1617,7 @@ 77, 58 ATimeSetValue2 - 100, 26 + 59, 26 3 @@ -1660,7 +1660,7 @@ 77, 26 ATimeSetValue1 - 100, 26 + 59, 26 1 @@ -1686,9 +1686,9 @@ False 停止清扫时间设定 宋体, 12pt - 624, 12 + 528, 12 GroupBox4 - 198, 233 + 154, 244 18 @@ -1712,7 +1712,7 @@ 77, 250 CSetValue8 - 100, 26 + 59, 26 15 @@ -1755,7 +1755,7 @@ 77, 218 CSetValue7 - 100, 26 + 59, 26 13 @@ -1798,7 +1798,7 @@ 77, 186 CSetValue6 - 100, 26 + 59, 26 11 @@ -1841,7 +1841,7 @@ 77, 154 CSetValue5 - 100, 26 + 59, 26 9 @@ -1884,7 +1884,7 @@ 77, 122 CSetValue4 - 100, 26 + 59, 26 7 @@ -1927,7 +1927,7 @@ 77, 90 CSetValue3 - 100, 26 + 59, 26 5 @@ -1970,7 +1970,7 @@ 77, 58 CSetValue2 - 100, 26 + 59, 26 3 @@ -2013,7 +2013,7 @@ 77, 26 CSetValue1 - 100, 26 + 59, 26 1 @@ -2039,9 +2039,9 @@ False 输送线C 宋体, 12pt - 420, 12 + 357, 12 GroupBox3 - 198, 296 + 154, 296 17 @@ -2065,7 +2065,7 @@ 77, 250 BSetValue8 - 100, 26 + 59, 26 15 @@ -2108,7 +2108,7 @@ 77, 218 BSetValue7 - 100, 26 + 59, 26 13 @@ -2151,7 +2151,7 @@ 77, 186 BSetValue6 - 100, 26 + 59, 26 11 @@ -2194,7 +2194,7 @@ 77, 154 BSetValue5 - 100, 26 + 59, 26 9 @@ -2237,7 +2237,7 @@ 77, 122 BSetValue4 - 100, 26 + 59, 26 7 @@ -2280,7 +2280,7 @@ 77, 90 BSetValue3 - 100, 26 + 59, 26 5 @@ -2323,7 +2323,7 @@ 77, 58 BSetValue2 - 100, 26 + 59, 26 3 @@ -2366,7 +2366,7 @@ 77, 26 BSetValue1 - 100, 26 + 59, 26 1 @@ -2392,9 +2392,9 @@ False 输送线B 宋体, 12pt - 216, 12 + 183, 12 GroupBox2 - 198, 296 + 154, 296 16 @@ -2417,9 +2417,9 @@ DarkGray 刷新 宋体, 12pt - 732, 251 + 603, 262 Refresh - 90, 57 + 79, 44 4 @@ -2442,9 +2442,9 @@ DarkGray 下传 宋体, 12pt - 624, 251 + 528, 262 Download - 102, 57 + 69, 46 2 @@ -2468,7 +2468,7 @@ 77, 250 ASetValue8 - 100, 26 + 59, 26 15 @@ -2511,7 +2511,7 @@ 77, 218 ASetValue7 - 100, 26 + 59, 26 13 @@ -2554,7 +2554,7 @@ 77, 186 ASetValue6 - 100, 26 + 59, 26 11 @@ -2597,7 +2597,7 @@ 77, 154 ASetValue5 - 100, 26 + 59, 26 9 @@ -2640,7 +2640,7 @@ 77, 122 ASetValue4 - 100, 26 + 59, 26 7 @@ -2683,7 +2683,7 @@ 77, 90 ASetValue3 - 100, 26 + 59, 26 5 @@ -2726,7 +2726,7 @@ 77, 58 ASetValue2 - 100, 26 + 59, 26 3 @@ -2769,7 +2769,7 @@ 77, 26 ASetValue1 - 100, 26 + 59, 26 1 @@ -2797,7 +2797,7 @@ 宋体, 12pt 12, 12 GroupBox1 - 198, 296 + 154, 296 0