diff --git a/ITC81DB_0H/Controls/CenterEquipment/ControlCenterEquipEngineer.cs b/ITC81DB_0H/Controls/CenterEquipment/ControlCenterEquipEngineer.cs index e1d4867..72bc758 100644 --- a/ITC81DB_0H/Controls/CenterEquipment/ControlCenterEquipEngineer.cs +++ b/ITC81DB_0H/Controls/CenterEquipment/ControlCenterEquipEngineer.cs @@ -326,7 +326,7 @@ namespace ITC81DB_0H.Controls this.buttonBLDCUsing.ButtonDown(); // BLDC 모터 개수 - value = item2.BLDCMotorNum.ToString(); + value = item2.BLDCTotalMotorNum.ToString(); if (this.labelMotorNum.Text != value) this.labelMotorNum.Text = value; @@ -522,7 +522,7 @@ namespace ITC81DB_0H.Controls this.ParentForm.ParentForm.ChildFormMenu.CenterSystemBLDCMotorSetting.VisibleMotorNum(myKeyPad.IntValue); value = Helper.StringZeroFillDigits4(myKeyPad.StringValue); - this.ParentForm.ParentForm.SystemConfig2.BLDCMotorNum = myKeyPad.IntValue; + this.ParentForm.ParentForm.SystemConfig2.BLDCTotalMotorNum = myKeyPad.IntValue; this.ParentForm.ParentForm.SaveSystemConfigurationFile2(this.ParentForm.ParentForm.SystemConfig2); } } diff --git a/ITC81DB_0H/Controls/CenterSystem/ControlCenterSystemBLDCMotorSetting.Designer.cs b/ITC81DB_0H/Controls/CenterSystem/ControlCenterSystemBLDCMotorSetting.Designer.cs index c3f9726..b68cac2 100644 --- a/ITC81DB_0H/Controls/CenterSystem/ControlCenterSystemBLDCMotorSetting.Designer.cs +++ b/ITC81DB_0H/Controls/CenterSystem/ControlCenterSystemBLDCMotorSetting.Designer.cs @@ -65,6 +65,7 @@ this.labelVersionMajor = new SmartX.SmartLabel(); this.labelTitleVersion = new SmartX.SmartLabel(); this.timer = new SmartX.SmartTimer(this.components); + this.buttonMotor5 = new SmartX.SmartButton(); this.smartGroupBox1.SuspendLayout(); this.smartGroupBox4.SuspendLayout(); this.smartGroupBox2.SuspendLayout(); @@ -77,6 +78,7 @@ this.smartGroupBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(46)))), ((int)(((byte)(46))))); this.smartGroupBox1.BackPictureBox = null; this.smartGroupBox1.BackPictureBox1 = null; + this.smartGroupBox1.Controls.Add(this.buttonMotor5); this.smartGroupBox1.Controls.Add(this.buttonDefaultSet); this.smartGroupBox1.Controls.Add(this.buttonReboot); this.smartGroupBox1.Controls.Add(this.buttonStart); @@ -336,12 +338,13 @@ // // labelMotorID // - this.labelMotorID.BackColor = System.Drawing.SystemColors.Window; + this.labelMotorID.BackColor = System.Drawing.Color.Silver; this.labelMotorID.BackPictureBox = null; this.labelMotorID.BackPictureBox1 = null; this.labelMotorID.BackPictureBox2 = null; this.labelMotorID.BorderColor = System.Drawing.Color.Black; this.labelMotorID.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.labelMotorID.Enabled = false; this.labelMotorID.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Bold); this.labelMotorID.InitVisible = true; this.labelMotorID.LineSpacing = 0F; @@ -923,6 +926,39 @@ this.timer.StartTime = ((long)(0)); this.timer.Tick += new System.EventHandler(this.timer_Tick); // + // buttonMotor5 + // + this.buttonMotor5.BackPictureBox = null; + this.buttonMotor5.BackPictureBox1 = null; + this.buttonMotor5.BackPictureBox2 = null; + this.buttonMotor5.ButtonColor = System.Drawing.Color.Gray; + this.buttonMotor5.ButtonImageAutoSize = true; + this.buttonMotor5.ColorKeySamplePosition = new System.Drawing.Point(0, 0); + this.buttonMotor5.DisableImage = ((System.Drawing.Image)(resources.GetObject("buttonMotor5.DisableImage"))); + this.buttonMotor5.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonMotor5.DownImage"))); + this.buttonMotor5.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Bold); + this.buttonMotor5.GroupID = 0; + this.buttonMotor5.InitVisible = true; + this.buttonMotor5.Location = new System.Drawing.Point(261, 20); + this.buttonMotor5.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; + this.buttonMotor5.Name = "buttonMotor5"; + this.buttonMotor5.NestedClickEventPrevent = false; + this.buttonMotor5.OutlinePixel = 1; + this.buttonMotor5.RepeatInterval = 200; + this.buttonMotor5.RepeatIntervalAccelerate = null; + this.buttonMotor5.SafeInterval = 200; + this.buttonMotor5.Size = new System.Drawing.Size(50, 50); + this.buttonMotor5.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; + this.buttonMotor5.TabIndex = 214; + this.buttonMotor5.Tag = "4"; + this.buttonMotor5.Text = "5"; + this.buttonMotor5.TextColor = System.Drawing.Color.White; + this.buttonMotor5.TextDownColor = System.Drawing.Color.White; + this.buttonMotor5.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; + this.buttonMotor5.TextLocation = new System.Drawing.Point(0, 0); + this.buttonMotor5.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; + this.buttonMotor5.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonMotor5.UpImage"))); + // // ControlCenterSystemBLDCMotorSetting // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); @@ -977,5 +1013,6 @@ private SmartX.SmartTimer timer; private SmartX.SmartButton buttonReboot; private SmartX.SmartButton buttonDefaultSet; + private SmartX.SmartButton buttonMotor5; } } diff --git a/ITC81DB_0H/Controls/CenterSystem/ControlCenterSystemBLDCMotorSetting.cs b/ITC81DB_0H/Controls/CenterSystem/ControlCenterSystemBLDCMotorSetting.cs index 12d4bd8..cb7b70f 100644 --- a/ITC81DB_0H/Controls/CenterSystem/ControlCenterSystemBLDCMotorSetting.cs +++ b/ITC81DB_0H/Controls/CenterSystem/ControlCenterSystemBLDCMotorSetting.cs @@ -85,7 +85,7 @@ namespace ITC81DB_0H.Controls this.comboBoxMotorPoleNum.Items.Add("12"); this.comboBoxMotorPoleNum.Items.Add("15"); - this.VisibleMotorNum(this.ParentForm.ParentForm.SystemConfig2.BLDCMotorNum); + this.VisibleMotorNum(this.ParentForm.ParentForm.SystemConfig2.BLDCTotalMotorNum); } private void RefreshDisplay() @@ -107,10 +107,13 @@ namespace ITC81DB_0H.Controls button.Add(this.buttonMotor2); button.Add(this.buttonMotor3); button.Add(this.buttonMotor4); + button.Add(this.buttonMotor5); - for (int i = num; i < FormMain.BLDCMotorNum; i++) + for (int i = 0; i < button.Count; i++) + button[i].Visible = true; + + for (int i = num; i < button.Count; i++) button[i].Visible = false; - } public void UpdateAlarm(int index, Collection items) { @@ -178,7 +181,12 @@ namespace ITC81DB_0H.Controls this.MotorIndex = 0; this.CommID = "A"; + this.buttonMotor2.ButtonUp(); + this.buttonMotor3.ButtonUp(); + this.buttonMotor4.ButtonUp(); + this.buttonMotor5.ButtonUp(); this.buttonMotor1.ButtonDown(); + this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Read, this.CommID, CommunicationAddress.BLDCMotorParameterRead, ""); @@ -192,8 +200,7 @@ namespace ITC81DB_0H.Controls SmartX.SmartButton button = sender as SmartX.SmartButton; this.MotorIndex = int.Parse(button.Tag.ToString()); - this.CommID = this.ParentForm.ParentForm.CurrentCommunicationID - (this.ParentForm.ParentForm.CollectionBLDCParameter[this.MotorIndex].MotorID); + this.CommID = this.ParentForm.ParentForm.CurrentCommunicationID(this.MotorIndex); this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Read, this.CommID, CommunicationAddress.BLDCMotorParameterRead, ""); @@ -208,7 +215,7 @@ namespace ITC81DB_0H.Controls { this.ParentForm.ParentForm.TransferData(CommunicationCommand.BLDCDefaultSet, CommunicationID.MainBoard); - for (int i = 0; i < FormMain.BLDCMotorNum; i++) + for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig2.BLDCTotalMotorNum; i++) { this.ParentForm.ParentForm.CollectionBLDCParameter[i]._6704_MotorSpeed = 80; this.ParentForm.ParentForm.CollectionBLDCParameter[i]._6705_PoleNum = 1; @@ -269,7 +276,7 @@ namespace ITC81DB_0H.Controls value = Helper.StringZeroFillDigits4(myKeyPad.StringValue); this.ParentForm.ParentForm.SaveBLDCMotorFile(this.ParentForm.ParentForm.CollectionBLDCParameter); this.ParentForm.ParentForm.TransferBLDCMotorData - (this.CommID, this.ParentForm.ParentForm.CollectionBLDCParameter[this.MotorIndex]); + (this.CommID, this.ParentForm.ParentForm.SystemConfig2, this.ParentForm.ParentForm.CollectionBLDCParameter[this.MotorIndex]); } } } diff --git a/ITC81DB_0H/Controls/CenterSystem/ControlCenterSystemBLDCMotorSetting.resx b/ITC81DB_0H/Controls/CenterSystem/ControlCenterSystemBLDCMotorSetting.resx index 5f13581..59561ab 100644 --- a/ITC81DB_0H/Controls/CenterSystem/ControlCenterSystemBLDCMotorSetting.resx +++ b/ITC81DB_0H/Controls/CenterSystem/ControlCenterSystemBLDCMotorSetting.resx @@ -118,6 +118,216 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH + DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp + bGUAAEjHnZZ3VFTXFofPvXd6oc0wAlKG3rvAANJ7k15FYZgZYCgDDjM0sSGiAhFFRJoiSFDEgNFQJFZE + sRAUVLAHJAgoMRhFVCxvRtaLrqy89/Ly++Osb+2z97n77L3PWhcAkqcvl5cGSwGQyhPwgzyc6RGRUXTs + AIABHmCAKQBMVka6X7B7CBDJy82FniFyAl8EAfB6WLwCcNPQM4BOB/+fpFnpfIHomAARm7M5GSwRF4g4 + JUuQLrbPipgalyxmGCVmvihBEcuJOWGRDT77LLKjmNmpPLaIxTmns1PZYu4V8bZMIUfEiK+ICzO5nCwR + 3xKxRoowlSviN+LYVA4zAwAUSWwXcFiJIjYRMYkfEuQi4uUA4EgJX3HcVyzgZAvEl3JJS8/hcxMSBXQd + li7d1NqaQffkZKVwBALD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o+IxTOJOJTOYwzngFg3/1qDffCLrjSNjmUzQiDlHCjzK757fj2jBWY + mUSCy3HZcCsbNS7al04LgaNuBu5lQ7gYcQempmYkYmaGb8/9hqu3yyHTTcKudAq2D483PKOsdBw26Tp8 + bXkO3MEoYmpqih8dPKDI64IjXWRXQjcUH094NqeScTjnd+H7352M2T/+CweXMTExxU8yL6OltGDAeNPV + oknYHBN4Fi4hze+HTZoOP9i6UGYTY/aPIv/KmOCb0xdgFZYK+6xGOOT2wK5gGLZFY7Ap/DLYEvaUgWex + z2zEhaBkfPXzmSMSR0Q+yPCtOmEU+gWWrkpYhabiUkIuLt/K+yJcin8Aq5AUWDr7Gs/DiRMmxoz/lZBI + JPgbmuKFXMQvXwMAAAAASUVORK5CYII= + + iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH diff --git a/ITC81DB_0H/DataStore.cs b/ITC81DB_0H/DataStore.cs index 12bac83..1afe363 100644 --- a/ITC81DB_0H/DataStore.cs +++ b/ITC81DB_0H/DataStore.cs @@ -550,6 +550,8 @@ namespace ITC81DB_0H // 장비타입 public static readonly string EquipmentType = "1002"; + // BLDC 모터 개수 + public static readonly string BLDCTotalMotorNum = "1023"; // 임펠러 모터 - 회전각도 public static readonly string ImpellerMotorAngle = "1101"; @@ -1300,7 +1302,7 @@ namespace ITC81DB_0H private int m_FileNameExtension; - private int m_BLDCMotorNum; + private int m_BLDCTotalMotorNum; private int m_HitachiRoomNumberEthernet; private int m_MarkoprintLineNumberEthernet; @@ -1533,10 +1535,10 @@ namespace ITC81DB_0H set { this.m_FileNameExtension = value; } } - public int BLDCMotorNum + public int BLDCTotalMotorNum { - get { return this.m_BLDCMotorNum; } - set { this.m_BLDCMotorNum = value; } + get { return this.m_BLDCTotalMotorNum; } + set { this.m_BLDCTotalMotorNum = value; } } public int HitachiRoomNumberEthernet { @@ -1697,7 +1699,7 @@ namespace ITC81DB_0H this.IsGroup5UsingRandomMode = false; this.FileNameExtension = 0; - this.BLDCMotorNum = 3; + this.BLDCTotalMotorNum = 3; this.HitachiRoomNumberEthernet = 1; this.MarkoprintLineNumberEthernet = 0; @@ -1773,7 +1775,7 @@ namespace ITC81DB_0H public int DummyInt7; public int DummyInt8; public int DummyInt9; - public int BLDCMotorNum; + public int BLDCTotalMotorNum; public int ModbusRTUSelectFunction; public int ModbusRTUSlaveIDCOM1; public int ModbusRTUSlaveIDCOM3; diff --git a/ITC81DB_0H/Forms/FormMain.cs b/ITC81DB_0H/Forms/FormMain.cs index c51d4f7..85de109 100644 --- a/ITC81DB_0H/Forms/FormMain.cs +++ b/ITC81DB_0H/Forms/FormMain.cs @@ -35,8 +35,8 @@ namespace ITC81DB_0H.Forms public bool IsCurrentKeyKorean; public int SensorDetectingTime; public double OverloadWeight; - public static readonly int BLDCMotorNum = 4; private int BLDCMotorIndex; + private static int BLDCMotorMaxNum = 10; #region 통신관련 // OPT2 @@ -349,7 +349,7 @@ namespace ITC81DB_0H.Forms this.CurrentJudgmentResult = new JudgmentResult(); this.CollectionBLDCParameter = new Collection(); - for (int i = 0; i < BLDCMotorNum; i++) + for (int i = 0; i < BLDCMotorMaxNum; i++) this.CollectionBLDCParameter.Add(new BLDCMotorParameter()); this.CollectionProductItem = new Collection(); @@ -2136,7 +2136,7 @@ namespace ITC81DB_0H.Forms break; case "6734": // BLDC - 구동중인 모터의 RPM #region Value Assign - for (int i = 0; i < BLDCMotorNum; i++) + for (int i = 0; i < this.SystemConfig2.BLDCTotalMotorNum; i++) { if (this.CurrentMotorID(lane) == this.CollectionBLDCParameter[i].MotorID) { @@ -2283,7 +2283,7 @@ namespace ITC81DB_0H.Forms break; case "9516": // BLDC 모터 파라미터 읽기 #region Value Assign - for (int i = 0; i < BLDCMotorNum; i++) + for (int i = 0; i < this.SystemConfig2.BLDCTotalMotorNum; i++) { if (this.CurrentMotorID(lane) == this.CollectionBLDCParameter[i].MotorID) { @@ -2310,7 +2310,7 @@ namespace ITC81DB_0H.Forms break; case "9517": // BLDC 모터 알람 읽기 #region Value Assign - for (int i = 0; i < BLDCMotorNum; i++) + for (int i = 0; i < this.SystemConfig2.BLDCTotalMotorNum; i++) { if (this.CurrentMotorID(lane) == this.CollectionBLDCParameter[i].MotorID) { @@ -2446,7 +2446,7 @@ namespace ITC81DB_0H.Forms if (response == DataStore.ResponseData.ACK) { this.TransferBLDCMotorData(this.CurrentCommunicationID(this.BLDCMotorIndex), - this.CollectionBLDCParameter[this.BLDCMotorIndex]); + this.SystemConfig2, this.CollectionBLDCParameter[this.BLDCMotorIndex]); this.BLDCMotorIndex++; } break; @@ -2459,10 +2459,10 @@ namespace ITC81DB_0H.Forms case "9040": if (response == DataStore.ResponseData.ACK) { - if (this.BLDCMotorIndex < BLDCMotorNum) + if (this.BLDCMotorIndex < this.SystemConfig2.BLDCTotalMotorNum) { this.TransferBLDCMotorData(this.CurrentCommunicationID(this.BLDCMotorIndex), - this.CollectionBLDCParameter[this.BLDCMotorIndex]); + this.SystemConfig2, this.CollectionBLDCParameter[this.BLDCMotorIndex]); this.BLDCMotorIndex++; } else @@ -7109,7 +7109,7 @@ namespace ITC81DB_0H.Forms structItem.DummyInt7 = 0; structItem.DummyInt8 = 0; structItem.DummyInt9 = 0; - structItem.BLDCMotorNum = this.SystemConfig2.BLDCMotorNum; + structItem.BLDCTotalMotorNum = this.SystemConfig2.BLDCTotalMotorNum; structItem.ModbusRTUSelectFunction = this.SystemConfig2.ModbusRTUSelectFunction; structItem.ModbusRTUSlaveIDCOM1 = this.SystemConfig2.ModbusRTUSlaveIDCOM1; structItem.ModbusRTUSlaveIDCOM3 = this.SystemConfig2.ModbusRTUSlaveIDCOM3; @@ -7214,7 +7214,7 @@ namespace ITC81DB_0H.Forms structItem.DummyInt7 = 0; structItem.DummyInt8 = 0; structItem.DummyInt9 = 0; - structItem.BLDCMotorNum = item.BLDCMotorNum; + structItem.BLDCTotalMotorNum = item.BLDCTotalMotorNum; structItem.ModbusRTUSelectFunction = item.ModbusRTUSelectFunction; structItem.ModbusRTUSlaveIDCOM1 = item.ModbusRTUSlaveIDCOM1; structItem.ModbusRTUSlaveIDCOM3 = item.ModbusRTUSlaveIDCOM3; @@ -7326,7 +7326,6 @@ namespace ITC81DB_0H.Forms this.SystemConfig2.Barcode = structItem.Barcode; this.SystemConfig2.FileNameExtension = structItem.FileNameExtension; - this.SystemConfig2.BLDCMotorNum = structItem.BLDCMotorNum; this.SystemConfig2.EthernetPort = structItem.EthernetPort; this.SystemConfig2.EthernetCommMode = structItem.EthernetCommMode; this.SystemConfig2.EthernetOperationMode = structItem.EthernetOperationMode; @@ -7343,6 +7342,7 @@ namespace ITC81DB_0H.Forms this.SystemConfig2.ConveyorLength = structItem.ConveyorLength; this.SystemConfig2.SortingPointLength = structItem.SortingPointLength; + this.SystemConfig2.BLDCTotalMotorNum = structItem.BLDCTotalMotorNum; value = structItem.EthernetAddress; if (value == "") @@ -7490,12 +7490,11 @@ namespace ITC81DB_0H.Forms { StructBLDCMotorParameter structItem; - - for (int i = 0; i < BLDCMotorNum; i++) + for (int i = 0; i < BLDCMotorMaxNum; i++) { this.CollectionBLDCParameter[i].Initialization(); - structItem.MotorID = this.CollectionBLDCParameter[i].MotorID; + structItem.MotorID = i + 1; structItem.CommBaudrate = this.CollectionBLDCParameter[i]._6700_CommBaudrate; structItem.CommParityBit = this.CollectionBLDCParameter[i]._6701_CommParityBit; @@ -7685,7 +7684,7 @@ namespace ITC81DB_0H.Forms this.CreateBLDCMotorParameter(); } - for (int i = 0; i < BLDCMotorNum; i++) + for (int i = 0; i < this.SystemConfig2.BLDCTotalMotorNum; i++) { structItem.MotorID = items[i].MotorID; @@ -7788,7 +7787,7 @@ namespace ITC81DB_0H.Forms { if (this.smartFileIO.ReadStructureAllBuffer() == true) { - for (int i = 0; i < BLDCMotorNum; i++) + for (int i = 0; i < this.SystemConfig2.BLDCTotalMotorNum; i++) { structItem = (StructBLDCMotorParameter)this.smartFileIO.ReadStructureBuffer(typeof(StructBLDCMotorParameter), i); @@ -8079,10 +8078,11 @@ namespace ITC81DB_0H.Forms this.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress.ParameterCount, sb.ToString()); } - public void TransferBLDCMotorData(string ID, BLDCMotorParameter item) + public void TransferBLDCMotorData(string ID, SystemConfigurationItem2 system2, BLDCMotorParameter item) { StringBuilder sb = new StringBuilder(); + sb.Append(Helper.StringZeroFillDigits4(system2.BLDCTotalMotorNum)); // BLDC 모터 개수(4) sb.Append(Helper.StringZeroFillDigits4(item._6700_CommBaudrate)); // 메인보드와의 통신 Baudrate(4) sb.Append(Helper.StringZeroFillDigits4(item._6701_CommParityBit)); // 메인보드와의 통신 Parity bit(4) sb.Append(Helper.StringZeroFillDigits4(item._6702_PWMDelay)); // PWM 변화 속도(4) @@ -8117,7 +8117,6 @@ namespace ITC81DB_0H.Forms sb.Append("0000"); // Dummy20(4) sb.Append("0000"); // Dummy21(4) sb.Append("0000"); // Dummy22(4) - sb.Append("0000"); // Dummy23(4) this.TransferDataStream(CommunicationCommand.Write, ID, CommunicationAddress.BLDCMotorSetting, sb.ToString()); } diff --git a/ITC81DB_0H/bin/Release/ITC81DB_0H.exe b/ITC81DB_0H/bin/Release/ITC81DB_0H.exe index ffa8299..b17245e 100644 Binary files a/ITC81DB_0H/bin/Release/ITC81DB_0H.exe and b/ITC81DB_0H/bin/Release/ITC81DB_0H.exe differ diff --git a/ITC81DB_0H/obj/Release/ITC81DB_0H.exe b/ITC81DB_0H/obj/Release/ITC81DB_0H.exe index ffa8299..b17245e 100644 Binary files a/ITC81DB_0H/obj/Release/ITC81DB_0H.exe and b/ITC81DB_0H/obj/Release/ITC81DB_0H.exe differ