优化搬运上下气缸信号检测逻辑

develop
lhiven 1 year ago
parent 527371e862
commit 653a6da7f2

@ -101,6 +101,25 @@
this.label82 = new System.Windows.Forms.Label();
this.txtNozzleZ3 = new System.Windows.Forms.TextBox();
this.label63 = new System.Windows.Forms.Label();
this.groupBox17 = new System.Windows.Forms.GroupBox();
this.textBox6 = new System.Windows.Forms.TextBox();
this.label89 = new System.Windows.Forms.Label();
this.label96 = new System.Windows.Forms.Label();
this.textBox5 = new System.Windows.Forms.TextBox();
this.label97 = new System.Windows.Forms.Label();
this.label91 = new System.Windows.Forms.Label();
this.textBox3 = new System.Windows.Forms.TextBox();
this.label92 = new System.Windows.Forms.Label();
this.textBox4 = new System.Windows.Forms.TextBox();
this.label95 = new System.Windows.Forms.Label();
this.label98 = new System.Windows.Forms.Label();
this.textBox2 = new System.Windows.Forms.TextBox();
this.label90 = new System.Windows.Forms.Label();
this.label93 = new System.Windows.Forms.Label();
this.label94 = new System.Windows.Forms.Label();
this.label99 = new System.Windows.Forms.Label();
this.textBox1 = new System.Windows.Forms.TextBox();
this.label88 = new System.Windows.Forms.Label();
this.groupBox7 = new System.Windows.Forms.GroupBox();
this.txtLoadY = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
@ -120,21 +139,23 @@
this.button7 = new System.Windows.Forms.Button();
this.button69 = new System.Windows.Forms.Button();
this.button8 = new System.Windows.Forms.Button();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.panel1 = new System.Windows.Forms.Panel();
this.groupBox16 = new System.Windows.Forms.GroupBox();
this.button58 = new System.Windows.Forms.Button();
this.button54 = new System.Windows.Forms.Button();
this.button50 = new System.Windows.Forms.Button();
this.button57 = new System.Windows.Forms.Button();
this.button53 = new System.Windows.Forms.Button();
this.button48 = new System.Windows.Forms.Button();
this.button4 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.button56 = new System.Windows.Forms.Button();
this.button55 = new System.Windows.Forms.Button();
this.button54 = new System.Windows.Forms.Button();
this.button52 = new System.Windows.Forms.Button();
this.button56 = new System.Windows.Forms.Button();
this.button50 = new System.Windows.Forms.Button();
this.button51 = new System.Windows.Forms.Button();
this.button57 = new System.Windows.Forms.Button();
this.button49 = new System.Windows.Forms.Button();
this.button47 = new System.Windows.Forms.Button();
this.button53 = new System.Windows.Forms.Button();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.button4 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel();
@ -250,34 +271,19 @@
this.button59 = new System.Windows.Forms.Button();
this.button61 = new System.Windows.Forms.Button();
this.button60 = new System.Windows.Forms.Button();
this.label88 = new System.Windows.Forms.Label();
this.label89 = new System.Windows.Forms.Label();
this.textBox1 = new System.Windows.Forms.TextBox();
this.label90 = new System.Windows.Forms.Label();
this.label91 = new System.Windows.Forms.Label();
this.textBox2 = new System.Windows.Forms.TextBox();
this.label92 = new System.Windows.Forms.Label();
this.label93 = new System.Windows.Forms.Label();
this.textBox3 = new System.Windows.Forms.TextBox();
this.label94 = new System.Windows.Forms.Label();
this.label95 = new System.Windows.Forms.Label();
this.label96 = new System.Windows.Forms.Label();
this.label97 = new System.Windows.Forms.Label();
this.label98 = new System.Windows.Forms.Label();
this.label99 = new System.Windows.Forms.Label();
this.textBox4 = new System.Windows.Forms.TextBox();
this.textBox5 = new System.Windows.Forms.TextBox();
this.textBox6 = new System.Windows.Forms.TextBox();
this.panelEx1.SuspendLayout();
this.groupBox6.SuspendLayout();
this.groupBox10.SuspendLayout();
this.groupBox9.SuspendLayout();
this.groupBox8.SuspendLayout();
this.groupBox17.SuspendLayout();
this.groupBox7.SuspendLayout();
this.panelEx2.SuspendLayout();
this.tableLayoutPanel2.SuspendLayout();
this.tableLayoutPanel3.SuspendLayout();
this.groupBox3.SuspendLayout();
this.panel1.SuspendLayout();
this.groupBox16.SuspendLayout();
this.groupBox2.SuspendLayout();
this.tableLayoutPanel4.SuspendLayout();
this.groupBox4.SuspendLayout();
@ -312,6 +318,7 @@
this.groupBox6.Controls.Add(this.groupBox10);
this.groupBox6.Controls.Add(this.groupBox9);
this.groupBox6.Controls.Add(this.groupBox8);
this.groupBox6.Controls.Add(this.groupBox17);
this.groupBox6.Controls.Add(this.groupBox7);
resources.ApplyResources(this.groupBox6, "groupBox6");
this.groupBox6.ForeColor = System.Drawing.Color.White;
@ -823,34 +830,155 @@
resources.ApplyResources(this.label63, "label63");
this.label63.Name = "label63";
//
// groupBox17
//
this.groupBox17.Controls.Add(this.textBox6);
this.groupBox17.Controls.Add(this.label89);
this.groupBox17.Controls.Add(this.label96);
this.groupBox17.Controls.Add(this.textBox5);
this.groupBox17.Controls.Add(this.label97);
this.groupBox17.Controls.Add(this.label91);
this.groupBox17.Controls.Add(this.textBox3);
this.groupBox17.Controls.Add(this.label92);
this.groupBox17.Controls.Add(this.textBox4);
this.groupBox17.Controls.Add(this.label95);
this.groupBox17.Controls.Add(this.label98);
this.groupBox17.Controls.Add(this.textBox2);
this.groupBox17.Controls.Add(this.label90);
this.groupBox17.Controls.Add(this.label93);
this.groupBox17.Controls.Add(this.label94);
this.groupBox17.Controls.Add(this.label99);
this.groupBox17.Controls.Add(this.textBox1);
this.groupBox17.Controls.Add(this.label88);
this.groupBox17.ForeColor = System.Drawing.Color.White;
resources.ApplyResources(this.groupBox17, "groupBox17");
this.groupBox17.Name = "groupBox17";
this.groupBox17.TabStop = false;
//
// textBox6
//
this.textBox6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(16)))), ((int)(((byte)(16)))), ((int)(((byte)(16)))));
this.textBox6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
resources.ApplyResources(this.textBox6, "textBox6");
this.textBox6.ForeColor = System.Drawing.Color.White;
this.textBox6.Name = "textBox6";
this.textBox6.Tag = "StockZ6";
//
// label89
//
resources.ApplyResources(this.label89, "label89");
this.label89.Name = "label89";
//
// label96
//
resources.ApplyResources(this.label96, "label96");
this.label96.Name = "label96";
//
// textBox5
//
this.textBox5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(16)))), ((int)(((byte)(16)))), ((int)(((byte)(16)))));
this.textBox5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
resources.ApplyResources(this.textBox5, "textBox5");
this.textBox5.ForeColor = System.Drawing.Color.White;
this.textBox5.Name = "textBox5";
this.textBox5.Tag = "StockZ5";
//
// label97
//
resources.ApplyResources(this.label97, "label97");
this.label97.Name = "label97";
//
// label91
//
resources.ApplyResources(this.label91, "label91");
this.label91.Name = "label91";
//
// textBox3
//
this.textBox3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(16)))), ((int)(((byte)(16)))), ((int)(((byte)(16)))));
this.textBox3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
resources.ApplyResources(this.textBox3, "textBox3");
this.textBox3.ForeColor = System.Drawing.Color.White;
this.textBox3.Name = "textBox3";
this.textBox3.Tag = "StockZ3";
//
// label92
//
resources.ApplyResources(this.label92, "label92");
this.label92.Name = "label92";
//
// textBox4
//
this.textBox4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(16)))), ((int)(((byte)(16)))), ((int)(((byte)(16)))));
this.textBox4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
resources.ApplyResources(this.textBox4, "textBox4");
this.textBox4.ForeColor = System.Drawing.Color.White;
this.textBox4.Name = "textBox4";
this.textBox4.Tag = "StockZ4";
//
// label95
//
resources.ApplyResources(this.label95, "label95");
this.label95.Name = "label95";
//
// label98
//
resources.ApplyResources(this.label98, "label98");
this.label98.Name = "label98";
//
// textBox2
//
this.textBox2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(16)))), ((int)(((byte)(16)))), ((int)(((byte)(16)))));
this.textBox2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
resources.ApplyResources(this.textBox2, "textBox2");
this.textBox2.ForeColor = System.Drawing.Color.White;
this.textBox2.Name = "textBox2";
this.textBox2.Tag = "StockZ2";
//
// label90
//
resources.ApplyResources(this.label90, "label90");
this.label90.Name = "label90";
//
// label93
//
resources.ApplyResources(this.label93, "label93");
this.label93.Name = "label93";
//
// label94
//
resources.ApplyResources(this.label94, "label94");
this.label94.Name = "label94";
//
// label99
//
resources.ApplyResources(this.label99, "label99");
this.label99.Name = "label99";
//
// textBox1
//
this.textBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(16)))), ((int)(((byte)(16)))), ((int)(((byte)(16)))));
this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
resources.ApplyResources(this.textBox1, "textBox1");
this.textBox1.ForeColor = System.Drawing.Color.White;
this.textBox1.Name = "textBox1";
this.textBox1.Tag = "StockZ1";
//
// label88
//
resources.ApplyResources(this.label88, "label88");
this.label88.Name = "label88";
//
// groupBox7
//
this.groupBox7.Controls.Add(this.textBox6);
this.groupBox7.Controls.Add(this.textBox5);
this.groupBox7.Controls.Add(this.textBox3);
this.groupBox7.Controls.Add(this.textBox4);
this.groupBox7.Controls.Add(this.textBox2);
this.groupBox7.Controls.Add(this.label99);
this.groupBox7.Controls.Add(this.textBox1);
this.groupBox7.Controls.Add(this.label93);
this.groupBox7.Controls.Add(this.label98);
this.groupBox7.Controls.Add(this.txtLoadY);
this.groupBox7.Controls.Add(this.label91);
this.groupBox7.Controls.Add(this.label97);
this.groupBox7.Controls.Add(this.label2);
this.groupBox7.Controls.Add(this.label96);
this.groupBox7.Controls.Add(this.label89);
this.groupBox7.Controls.Add(this.label92);
this.groupBox7.Controls.Add(this.label95);
this.groupBox7.Controls.Add(this.label3);
this.groupBox7.Controls.Add(this.label90);
this.groupBox7.Controls.Add(this.label94);
this.groupBox7.Controls.Add(this.label4);
this.groupBox7.Controls.Add(this.label88);
this.groupBox7.Controls.Add(this.txtLoadX);
this.groupBox7.Controls.Add(this.label5);
resources.ApplyResources(this.groupBox7, "groupBox7");
this.groupBox7.ForeColor = System.Drawing.Color.White;
resources.ApplyResources(this.groupBox7, "groupBox7");
this.groupBox7.Name = "groupBox7";
this.groupBox7.TabStop = false;
//
@ -909,7 +1037,7 @@
//
resources.ApplyResources(this.tableLayoutPanel3, "tableLayoutPanel3");
this.tableLayoutPanel3.Controls.Add(this.groupBox3, 1, 0);
this.tableLayoutPanel3.Controls.Add(this.groupBox2, 0, 0);
this.tableLayoutPanel3.Controls.Add(this.panel1, 0, 0);
this.tableLayoutPanel3.Name = "tableLayoutPanel3";
//
// groupBox3
@ -1015,28 +1143,31 @@
this.button8.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Move_MouseDown);
this.button8.MouseUp += new System.Windows.Forms.MouseEventHandler(this.Move_MouseUp);
//
// groupBox2
//
this.groupBox2.Controls.Add(this.button58);
this.groupBox2.Controls.Add(this.button54);
this.groupBox2.Controls.Add(this.button50);
this.groupBox2.Controls.Add(this.button57);
this.groupBox2.Controls.Add(this.button53);
this.groupBox2.Controls.Add(this.button48);
this.groupBox2.Controls.Add(this.button4);
this.groupBox2.Controls.Add(this.button2);
this.groupBox2.Controls.Add(this.button56);
this.groupBox2.Controls.Add(this.button55);
this.groupBox2.Controls.Add(this.button52);
this.groupBox2.Controls.Add(this.button51);
this.groupBox2.Controls.Add(this.button49);
this.groupBox2.Controls.Add(this.button47);
this.groupBox2.Controls.Add(this.button3);
this.groupBox2.Controls.Add(this.button1);
resources.ApplyResources(this.groupBox2, "groupBox2");
this.groupBox2.ForeColor = System.Drawing.Color.White;
this.groupBox2.Name = "groupBox2";
this.groupBox2.TabStop = false;
// panel1
//
this.panel1.Controls.Add(this.groupBox16);
this.panel1.Controls.Add(this.groupBox2);
resources.ApplyResources(this.panel1, "panel1");
this.panel1.Name = "panel1";
//
// groupBox16
//
this.groupBox16.Controls.Add(this.button58);
this.groupBox16.Controls.Add(this.button48);
this.groupBox16.Controls.Add(this.button55);
this.groupBox16.Controls.Add(this.button54);
this.groupBox16.Controls.Add(this.button52);
this.groupBox16.Controls.Add(this.button56);
this.groupBox16.Controls.Add(this.button50);
this.groupBox16.Controls.Add(this.button51);
this.groupBox16.Controls.Add(this.button57);
this.groupBox16.Controls.Add(this.button49);
this.groupBox16.Controls.Add(this.button47);
this.groupBox16.Controls.Add(this.button53);
resources.ApplyResources(this.groupBox16, "groupBox16");
this.groupBox16.ForeColor = System.Drawing.Color.White;
this.groupBox16.Name = "groupBox16";
this.groupBox16.TabStop = false;
//
// button58
//
@ -1049,6 +1180,28 @@
this.button58.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Move_MouseDown);
this.button58.MouseUp += new System.Windows.Forms.MouseEventHandler(this.Move_MouseUp);
//
// button48
//
this.button48.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(54)))), ((int)(((byte)(54)))));
this.button48.Cursor = System.Windows.Forms.Cursors.Hand;
resources.ApplyResources(this.button48, "button48");
this.button48.Name = "button48";
this.button48.Tag = "StockZ1+";
this.button48.UseVisualStyleBackColor = false;
this.button48.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Move_MouseDown);
this.button48.MouseUp += new System.Windows.Forms.MouseEventHandler(this.Move_MouseUp);
//
// button55
//
this.button55.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(54)))), ((int)(((byte)(54)))));
this.button55.Cursor = System.Windows.Forms.Cursors.Hand;
resources.ApplyResources(this.button55, "button55");
this.button55.Name = "button55";
this.button55.Tag = "StockZ5-";
this.button55.UseVisualStyleBackColor = false;
this.button55.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Move_MouseDown);
this.button55.MouseUp += new System.Windows.Forms.MouseEventHandler(this.Move_MouseUp);
//
// button54
//
this.button54.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(54)))), ((int)(((byte)(54)))));
@ -1060,6 +1213,28 @@
this.button54.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Move_MouseDown);
this.button54.MouseUp += new System.Windows.Forms.MouseEventHandler(this.Move_MouseUp);
//
// button52
//
this.button52.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(54)))), ((int)(((byte)(54)))));
this.button52.Cursor = System.Windows.Forms.Cursors.Hand;
resources.ApplyResources(this.button52, "button52");
this.button52.Name = "button52";
this.button52.Tag = "StockZ4-";
this.button52.UseVisualStyleBackColor = false;
this.button52.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Move_MouseDown);
this.button52.MouseUp += new System.Windows.Forms.MouseEventHandler(this.Move_MouseUp);
//
// button56
//
this.button56.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(54)))), ((int)(((byte)(54)))));
this.button56.Cursor = System.Windows.Forms.Cursors.Hand;
resources.ApplyResources(this.button56, "button56");
this.button56.Name = "button56";
this.button56.Tag = "StockZ6-";
this.button56.UseVisualStyleBackColor = false;
this.button56.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Move_MouseDown);
this.button56.MouseUp += new System.Windows.Forms.MouseEventHandler(this.Move_MouseUp);
//
// button50
//
this.button50.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(54)))), ((int)(((byte)(54)))));
@ -1071,6 +1246,17 @@
this.button50.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Move_MouseDown);
this.button50.MouseUp += new System.Windows.Forms.MouseEventHandler(this.Move_MouseUp);
//
// button51
//
this.button51.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(54)))), ((int)(((byte)(54)))));
this.button51.Cursor = System.Windows.Forms.Cursors.Hand;
resources.ApplyResources(this.button51, "button51");
this.button51.Name = "button51";
this.button51.Tag = "StockZ3-";
this.button51.UseVisualStyleBackColor = false;
this.button51.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Move_MouseDown);
this.button51.MouseUp += new System.Windows.Forms.MouseEventHandler(this.Move_MouseUp);
//
// button57
//
this.button57.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(54)))), ((int)(((byte)(54)))));
@ -1082,6 +1268,28 @@
this.button57.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Move_MouseDown);
this.button57.MouseUp += new System.Windows.Forms.MouseEventHandler(this.Move_MouseUp);
//
// button49
//
this.button49.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(54)))), ((int)(((byte)(54)))));
this.button49.Cursor = System.Windows.Forms.Cursors.Hand;
resources.ApplyResources(this.button49, "button49");
this.button49.Name = "button49";
this.button49.Tag = "StockZ2-";
this.button49.UseVisualStyleBackColor = false;
this.button49.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Move_MouseDown);
this.button49.MouseUp += new System.Windows.Forms.MouseEventHandler(this.Move_MouseUp);
//
// button47
//
this.button47.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(54)))), ((int)(((byte)(54)))));
this.button47.Cursor = System.Windows.Forms.Cursors.Hand;
resources.ApplyResources(this.button47, "button47");
this.button47.Name = "button47";
this.button47.Tag = "StockZ1-";
this.button47.UseVisualStyleBackColor = false;
this.button47.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Move_MouseDown);
this.button47.MouseUp += new System.Windows.Forms.MouseEventHandler(this.Move_MouseUp);
//
// button53
//
this.button53.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(54)))), ((int)(((byte)(54)))));
@ -1093,16 +1301,16 @@
this.button53.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Move_MouseDown);
this.button53.MouseUp += new System.Windows.Forms.MouseEventHandler(this.Move_MouseUp);
//
// button48
// groupBox2
//
this.button48.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(54)))), ((int)(((byte)(54)))));
this.button48.Cursor = System.Windows.Forms.Cursors.Hand;
resources.ApplyResources(this.button48, "button48");
this.button48.Name = "button48";
this.button48.Tag = "StockZ1+";
this.button48.UseVisualStyleBackColor = false;
this.button48.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Move_MouseDown);
this.button48.MouseUp += new System.Windows.Forms.MouseEventHandler(this.Move_MouseUp);
this.groupBox2.Controls.Add(this.button4);
this.groupBox2.Controls.Add(this.button2);
this.groupBox2.Controls.Add(this.button3);
this.groupBox2.Controls.Add(this.button1);
resources.ApplyResources(this.groupBox2, "groupBox2");
this.groupBox2.ForeColor = System.Drawing.Color.White;
this.groupBox2.Name = "groupBox2";
this.groupBox2.TabStop = false;
//
// button4
//
@ -1126,72 +1334,6 @@
this.button2.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Move_MouseDown);
this.button2.MouseUp += new System.Windows.Forms.MouseEventHandler(this.Move_MouseUp);
//
// button56
//
this.button56.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(54)))), ((int)(((byte)(54)))));
this.button56.Cursor = System.Windows.Forms.Cursors.Hand;
resources.ApplyResources(this.button56, "button56");
this.button56.Name = "button56";
this.button56.Tag = "StockZ6-";
this.button56.UseVisualStyleBackColor = false;
this.button56.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Move_MouseDown);
this.button56.MouseUp += new System.Windows.Forms.MouseEventHandler(this.Move_MouseUp);
//
// button55
//
this.button55.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(54)))), ((int)(((byte)(54)))));
this.button55.Cursor = System.Windows.Forms.Cursors.Hand;
resources.ApplyResources(this.button55, "button55");
this.button55.Name = "button55";
this.button55.Tag = "StockZ5-";
this.button55.UseVisualStyleBackColor = false;
this.button55.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Move_MouseDown);
this.button55.MouseUp += new System.Windows.Forms.MouseEventHandler(this.Move_MouseUp);
//
// button52
//
this.button52.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(54)))), ((int)(((byte)(54)))));
this.button52.Cursor = System.Windows.Forms.Cursors.Hand;
resources.ApplyResources(this.button52, "button52");
this.button52.Name = "button52";
this.button52.Tag = "StockZ4-";
this.button52.UseVisualStyleBackColor = false;
this.button52.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Move_MouseDown);
this.button52.MouseUp += new System.Windows.Forms.MouseEventHandler(this.Move_MouseUp);
//
// button51
//
this.button51.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(54)))), ((int)(((byte)(54)))));
this.button51.Cursor = System.Windows.Forms.Cursors.Hand;
resources.ApplyResources(this.button51, "button51");
this.button51.Name = "button51";
this.button51.Tag = "StockZ3-";
this.button51.UseVisualStyleBackColor = false;
this.button51.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Move_MouseDown);
this.button51.MouseUp += new System.Windows.Forms.MouseEventHandler(this.Move_MouseUp);
//
// button49
//
this.button49.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(54)))), ((int)(((byte)(54)))));
this.button49.Cursor = System.Windows.Forms.Cursors.Hand;
resources.ApplyResources(this.button49, "button49");
this.button49.Name = "button49";
this.button49.Tag = "StockZ2-";
this.button49.UseVisualStyleBackColor = false;
this.button49.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Move_MouseDown);
this.button49.MouseUp += new System.Windows.Forms.MouseEventHandler(this.Move_MouseUp);
//
// button47
//
this.button47.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(54)))), ((int)(((byte)(54)))));
this.button47.Cursor = System.Windows.Forms.Cursors.Hand;
resources.ApplyResources(this.button47, "button47");
this.button47.Name = "button47";
this.button47.Tag = "StockZ1-";
this.button47.UseVisualStyleBackColor = false;
this.button47.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Move_MouseDown);
this.button47.MouseUp += new System.Windows.Forms.MouseEventHandler(this.Move_MouseUp);
//
// button3
//
this.button3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(54)))), ((int)(((byte)(54)))));
@ -2410,120 +2552,6 @@
this.button60.UseVisualStyleBackColor = false;
this.button60.Click += new System.EventHandler(this.button60_Click);
//
// label88
//
resources.ApplyResources(this.label88, "label88");
this.label88.Name = "label88";
//
// label89
//
resources.ApplyResources(this.label89, "label89");
this.label89.Name = "label89";
//
// textBox1
//
this.textBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(16)))), ((int)(((byte)(16)))), ((int)(((byte)(16)))));
this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
resources.ApplyResources(this.textBox1, "textBox1");
this.textBox1.ForeColor = System.Drawing.Color.White;
this.textBox1.Name = "textBox1";
this.textBox1.Tag = "StockZ1";
//
// label90
//
resources.ApplyResources(this.label90, "label90");
this.label90.Name = "label90";
//
// label91
//
resources.ApplyResources(this.label91, "label91");
this.label91.Name = "label91";
//
// textBox2
//
this.textBox2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(16)))), ((int)(((byte)(16)))), ((int)(((byte)(16)))));
this.textBox2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
resources.ApplyResources(this.textBox2, "textBox2");
this.textBox2.ForeColor = System.Drawing.Color.White;
this.textBox2.Name = "textBox2";
this.textBox2.Tag = "StockZ2";
//
// label92
//
resources.ApplyResources(this.label92, "label92");
this.label92.Name = "label92";
//
// label93
//
resources.ApplyResources(this.label93, "label93");
this.label93.Name = "label93";
//
// textBox3
//
this.textBox3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(16)))), ((int)(((byte)(16)))), ((int)(((byte)(16)))));
this.textBox3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
resources.ApplyResources(this.textBox3, "textBox3");
this.textBox3.ForeColor = System.Drawing.Color.White;
this.textBox3.Name = "textBox3";
this.textBox3.Tag = "StockZ3";
//
// label94
//
resources.ApplyResources(this.label94, "label94");
this.label94.Name = "label94";
//
// label95
//
resources.ApplyResources(this.label95, "label95");
this.label95.Name = "label95";
//
// label96
//
resources.ApplyResources(this.label96, "label96");
this.label96.Name = "label96";
//
// label97
//
resources.ApplyResources(this.label97, "label97");
this.label97.Name = "label97";
//
// label98
//
resources.ApplyResources(this.label98, "label98");
this.label98.Name = "label98";
//
// label99
//
resources.ApplyResources(this.label99, "label99");
this.label99.Name = "label99";
//
// textBox4
//
this.textBox4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(16)))), ((int)(((byte)(16)))), ((int)(((byte)(16)))));
this.textBox4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
resources.ApplyResources(this.textBox4, "textBox4");
this.textBox4.ForeColor = System.Drawing.Color.White;
this.textBox4.Name = "textBox4";
this.textBox4.Tag = "StockZ4";
//
// textBox5
//
this.textBox5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(16)))), ((int)(((byte)(16)))), ((int)(((byte)(16)))));
this.textBox5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
resources.ApplyResources(this.textBox5, "textBox5");
this.textBox5.ForeColor = System.Drawing.Color.White;
this.textBox5.Name = "textBox5";
this.textBox5.Tag = "StockZ5";
//
// textBox6
//
this.textBox6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(16)))), ((int)(((byte)(16)))), ((int)(((byte)(16)))));
this.textBox6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
resources.ApplyResources(this.textBox6, "textBox6");
this.textBox6.ForeColor = System.Drawing.Color.White;
this.textBox6.Name = "textBox6";
this.textBox6.Tag = "StockZ6";
//
// DebugMove
//
resources.ApplyResources(this, "$this");
@ -2544,12 +2572,16 @@
this.groupBox9.PerformLayout();
this.groupBox8.ResumeLayout(false);
this.groupBox8.PerformLayout();
this.groupBox17.ResumeLayout(false);
this.groupBox17.PerformLayout();
this.groupBox7.ResumeLayout(false);
this.groupBox7.PerformLayout();
this.panelEx2.ResumeLayout(false);
this.tableLayoutPanel2.ResumeLayout(false);
this.tableLayoutPanel3.ResumeLayout(false);
this.groupBox3.ResumeLayout(false);
this.panel1.ResumeLayout(false);
this.groupBox16.ResumeLayout(false);
this.groupBox2.ResumeLayout(false);
this.tableLayoutPanel4.ResumeLayout(false);
this.groupBox4.ResumeLayout(false);
@ -2814,5 +2846,8 @@
private System.Windows.Forms.Label label90;
private System.Windows.Forms.Label label94;
private System.Windows.Forms.Label label88;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.GroupBox groupBox16;
private System.Windows.Forms.GroupBox groupBox17;
}
}

@ -117,84 +117,291 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="button14.Location" type="System.Drawing.Point, System.Drawing">
<value>329, 55</value>
</data>
<data name="button5.Location" type="System.Drawing.Point, System.Drawing">
<value>226, 14</value>
<data name="groupBox9.Text" xml:space="preserve">
<value>Picker R</value>
</data>
<data name="button6.Location" type="System.Drawing.Point, System.Drawing">
<value>123, 14</value>
<data name="groupBox8.Text" xml:space="preserve">
<value>Picker Z</value>
</data>
<data name="button13.Location" type="System.Drawing.Point, System.Drawing">
<value>329, 14</value>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="groupBox6.Size" type="System.Drawing.Size, System.Drawing">
<value>936, 393</value>
</data>
<data name="button7.Location" type="System.Drawing.Point, System.Drawing">
<value>226, 55</value>
<data name="groupBox3.Location" type="System.Drawing.Point, System.Drawing">
<value>468, 3</value>
</data>
<data name="button8.Location" type="System.Drawing.Point, System.Drawing">
<value>123, 55</value>
<data name="groupBox3.Size" type="System.Drawing.Size, System.Drawing">
<value>459, 87</value>
</data>
<data name="button58.Location" type="System.Drawing.Point, System.Drawing">
<value>378, 14</value>
<value>251, 14</value>
</data>
<data name="button48.Location" type="System.Drawing.Point, System.Drawing">
<value>16, 14</value>
</data>
<data name="button55.Location" type="System.Drawing.Point, System.Drawing">
<value>204, 56</value>
</data>
<data name="button54.Location" type="System.Drawing.Point, System.Drawing">
<value>284, 14</value>
<value>157, 14</value>
</data>
<data name="button52.Location" type="System.Drawing.Point, System.Drawing">
<value>157, 56</value>
</data>
<data name="button56.Location" type="System.Drawing.Point, System.Drawing">
<value>251, 56</value>
</data>
<data name="button50.Location" type="System.Drawing.Point, System.Drawing">
<value>190, 14</value>
<value>63, 14</value>
</data>
<data name="button51.Location" type="System.Drawing.Point, System.Drawing">
<value>110, 56</value>
</data>
<data name="button57.Location" type="System.Drawing.Point, System.Drawing">
<value>331, 14</value>
<value>204, 14</value>
</data>
<data name="button49.Location" type="System.Drawing.Point, System.Drawing">
<value>63, 56</value>
</data>
<data name="button47.Location" type="System.Drawing.Point, System.Drawing">
<value>16, 56</value>
</data>
<data name="button53.Location" type="System.Drawing.Point, System.Drawing">
<value>237, 14</value>
<value>110, 14</value>
</data>
<data name="button48.Location" type="System.Drawing.Point, System.Drawing">
<value>143, 14</value>
<data name="groupBox16.Size" type="System.Drawing.Size, System.Drawing">
<value>307, 87</value>
</data>
<data name="button4.Location" type="System.Drawing.Point, System.Drawing">
<value>76, 14</value>
<data name="panel1.Size" type="System.Drawing.Size, System.Drawing">
<value>459, 87</value>
</data>
<data name="button56.Location" type="System.Drawing.Point, System.Drawing">
<value>378, 56</value>
<data name="tableLayoutPanel3.Size" type="System.Drawing.Size, System.Drawing">
<value>930, 93</value>
</data>
<data name="button55.Location" type="System.Drawing.Point, System.Drawing">
<value>331, 56</value>
<data name="button15.Size" type="System.Drawing.Size, System.Drawing">
<value>49, 20</value>
</data>
<data name="button52.Location" type="System.Drawing.Point, System.Drawing">
<value>284, 56</value>
<data name="button9.Location" type="System.Drawing.Point, System.Drawing">
<value>60, 4</value>
</data>
<data name="button51.Location" type="System.Drawing.Point, System.Drawing">
<value>237, 56</value>
<data name="button9.Size" type="System.Drawing.Size, System.Drawing">
<value>49, 20</value>
</data>
<data name="button49.Location" type="System.Drawing.Point, System.Drawing">
<value>190, 56</value>
<data name="button10.Location" type="System.Drawing.Point, System.Drawing">
<value>116, 4</value>
</data>
<data name="button47.Location" type="System.Drawing.Point, System.Drawing">
<value>143, 56</value>
<data name="button10.Size" type="System.Drawing.Size, System.Drawing">
<value>49, 20</value>
</data>
<data name="button11.Location" type="System.Drawing.Point, System.Drawing">
<value>172, 4</value>
</data>
<data name="button11.Size" type="System.Drawing.Size, System.Drawing">
<value>49, 20</value>
</data>
<data name="button12.Location" type="System.Drawing.Point, System.Drawing">
<value>228, 4</value>
</data>
<data name="button12.Size" type="System.Drawing.Size, System.Drawing">
<value>49, 20</value>
</data>
<data name="button16.Location" type="System.Drawing.Point, System.Drawing">
<value>284, 4</value>
</data>
<data name="button16.Size" type="System.Drawing.Size, System.Drawing">
<value>49, 20</value>
</data>
<data name="button17.Location" type="System.Drawing.Point, System.Drawing">
<value>340, 4</value>
</data>
<data name="button17.Size" type="System.Drawing.Size, System.Drawing">
<value>49, 20</value>
</data>
<data name="button20.Location" type="System.Drawing.Point, System.Drawing">
<value>396, 4</value>
</data>
<data name="button20.Size" type="System.Drawing.Size, System.Drawing">
<value>53, 20</value>
</data>
<data name="button3.Location" type="System.Drawing.Point, System.Drawing">
<value>76, 56</value>
<data name="button23.Size" type="System.Drawing.Size, System.Drawing">
<value>49, 20</value>
</data>
<data name="button24.Location" type="System.Drawing.Point, System.Drawing">
<value>60, 37</value>
</data>
<data name="button24.Size" type="System.Drawing.Size, System.Drawing">
<value>49, 20</value>
</data>
<data name="button25.Location" type="System.Drawing.Point, System.Drawing">
<value>116, 37</value>
</data>
<data name="button25.Size" type="System.Drawing.Size, System.Drawing">
<value>49, 20</value>
</data>
<data name="button26.Location" type="System.Drawing.Point, System.Drawing">
<value>172, 37</value>
</data>
<data name="button26.Size" type="System.Drawing.Size, System.Drawing">
<value>49, 20</value>
</data>
<data name="button27.Location" type="System.Drawing.Point, System.Drawing">
<value>228, 37</value>
</data>
<data name="button27.Size" type="System.Drawing.Size, System.Drawing">
<value>49, 20</value>
</data>
<data name="button28.Location" type="System.Drawing.Point, System.Drawing">
<value>284, 37</value>
</data>
<data name="button28.Size" type="System.Drawing.Size, System.Drawing">
<value>49, 20</value>
</data>
<data name="button29.Location" type="System.Drawing.Point, System.Drawing">
<value>340, 37</value>
</data>
<data name="button29.Size" type="System.Drawing.Size, System.Drawing">
<value>49, 20</value>
</data>
<data name="button30.Location" type="System.Drawing.Point, System.Drawing">
<value>396, 37</value>
</data>
<data name="button30.Size" type="System.Drawing.Size, System.Drawing">
<value>53, 20</value>
</data>
<data name="tableLayoutPanel5.Size" type="System.Drawing.Size, System.Drawing">
<value>453, 67</value>
</data>
<data name="groupBox4.Size" type="System.Drawing.Size, System.Drawing">
<value>459, 87</value>
</data>
<data name="groupBox4.Text" xml:space="preserve">
<value>Discharge Z</value>
<value>Picker Z</value>
</data>
<data name="button18.Size" type="System.Drawing.Size, System.Drawing">
<value>49, 20</value>
</data>
<data name="button19.Location" type="System.Drawing.Point, System.Drawing">
<value>60, 4</value>
</data>
<data name="button19.Size" type="System.Drawing.Size, System.Drawing">
<value>49, 20</value>
</data>
<data name="button21.Location" type="System.Drawing.Point, System.Drawing">
<value>116, 4</value>
</data>
<data name="button21.Size" type="System.Drawing.Size, System.Drawing">
<value>49, 20</value>
</data>
<data name="button22.Location" type="System.Drawing.Point, System.Drawing">
<value>172, 4</value>
</data>
<data name="button22.Size" type="System.Drawing.Size, System.Drawing">
<value>49, 20</value>
</data>
<data name="button33.Location" type="System.Drawing.Point, System.Drawing">
<value>228, 4</value>
</data>
<data name="button33.Size" type="System.Drawing.Size, System.Drawing">
<value>49, 20</value>
</data>
<data name="button34.Location" type="System.Drawing.Point, System.Drawing">
<value>284, 4</value>
</data>
<data name="button34.Size" type="System.Drawing.Size, System.Drawing">
<value>49, 20</value>
</data>
<data name="button35.Location" type="System.Drawing.Point, System.Drawing">
<value>340, 4</value>
</data>
<data name="button35.Size" type="System.Drawing.Size, System.Drawing">
<value>49, 20</value>
</data>
<data name="button36.Location" type="System.Drawing.Point, System.Drawing">
<value>396, 4</value>
</data>
<data name="button36.Size" type="System.Drawing.Size, System.Drawing">
<value>53, 20</value>
</data>
<data name="button37.Size" type="System.Drawing.Size, System.Drawing">
<value>49, 20</value>
</data>
<data name="button38.Location" type="System.Drawing.Point, System.Drawing">
<value>60, 37</value>
</data>
<data name="button38.Size" type="System.Drawing.Size, System.Drawing">
<value>49, 20</value>
</data>
<data name="button39.Location" type="System.Drawing.Point, System.Drawing">
<value>116, 37</value>
</data>
<data name="button39.Size" type="System.Drawing.Size, System.Drawing">
<value>49, 20</value>
</data>
<data name="button40.Location" type="System.Drawing.Point, System.Drawing">
<value>172, 37</value>
</data>
<data name="button40.Size" type="System.Drawing.Size, System.Drawing">
<value>49, 20</value>
</data>
<data name="button41.Location" type="System.Drawing.Point, System.Drawing">
<value>228, 37</value>
</data>
<data name="button41.Size" type="System.Drawing.Size, System.Drawing">
<value>49, 20</value>
</data>
<data name="button42.Location" type="System.Drawing.Point, System.Drawing">
<value>284, 37</value>
</data>
<data name="button42.Size" type="System.Drawing.Size, System.Drawing">
<value>49, 20</value>
</data>
<data name="button43.Location" type="System.Drawing.Point, System.Drawing">
<value>340, 37</value>
</data>
<data name="button43.Size" type="System.Drawing.Size, System.Drawing">
<value>49, 20</value>
</data>
<data name="button44.Location" type="System.Drawing.Point, System.Drawing">
<value>396, 37</value>
</data>
<data name="button44.Size" type="System.Drawing.Size, System.Drawing">
<value>53, 20</value>
</data>
<data name="tableLayoutPanel6.Size" type="System.Drawing.Size, System.Drawing">
<value>453, 67</value>
</data>
<data name="groupBox5.Location" type="System.Drawing.Point, System.Drawing">
<value>468, 3</value>
</data>
<data name="groupBox5.Size" type="System.Drawing.Size, System.Drawing">
<value>459, 87</value>
</data>
<data name="groupBox5.Text" xml:space="preserve">
<value>Discharge R</value>
<value>Picker R</value>
</data>
<data name="tableLayoutPanel4.Size" type="System.Drawing.Size, System.Drawing">
<value>930, 93</value>
</data>
<data name="tableLayoutPanel2.Size" type="System.Drawing.Size, System.Drawing">
<value>936, 198</value>
</data>
<data name="panelEx2.Size" type="System.Drawing.Size, System.Drawing">
<value>936, 198</value>
</data>
<data name="chkMoveStep.Text" xml:space="preserve">
<value>Step</value>
</data>
<data name="tabPage1.Text" xml:space="preserve">
<value>Move</value>
<data name="groupBox1.Size" type="System.Drawing.Size, System.Drawing">
<value>936, 121</value>
</data>
<data name="tabPage2.Text" xml:space="preserve">
<value>Stock module</value>
<data name="panelEx1.Size" type="System.Drawing.Size, System.Drawing">
<value>936, 712</value>
</data>
<data name="groupBox15.Text" xml:space="preserve">
<value>Stock</value>
<data name="tabPage1.Size" type="System.Drawing.Size, System.Drawing">
<value>942, 718</value>
</data>
<data name="tabPage1.Text" xml:space="preserve">
<value>Move</value>
</data>
<data name="button74.Location" type="System.Drawing.Point, System.Drawing">
<value>315, 20</value>
@ -232,11 +439,14 @@
<data name="button71.Text" xml:space="preserve">
<value>inclined push cylinder on(1-6)</value>
</data>
<data name="tabPage3.Text" xml:space="preserve">
<value>Discharge module</value>
<data name="groupBox15.Text" xml:space="preserve">
<value>Stock</value>
</data>
<data name="groupBox14.Text" xml:space="preserve">
<value>Nozzles</value>
<data name="tabPage2.Size" type="System.Drawing.Size, System.Drawing">
<value>942, 718</value>
</data>
<data name="tabPage2.Text" xml:space="preserve">
<value>Stock module</value>
</data>
<data name="btnNozzlePoClose.Location" type="System.Drawing.Point, System.Drawing">
<value>311, 197</value>
@ -256,11 +466,14 @@
<data name="btnNozzleXClose.Text" xml:space="preserve">
<value>Vac suction off(1-8)</value>
</data>
<data name="tabPage4.Text" xml:space="preserve">
<value>Turnover module</value>
<data name="groupBox14.Text" xml:space="preserve">
<value>Nozzles</value>
</data>
<data name="groupBox12.Text" xml:space="preserve">
<value>T-Nozzles</value>
<data name="tabPage3.Size" type="System.Drawing.Size, System.Drawing">
<value>942, 718</value>
</data>
<data name="tabPage3.Text" xml:space="preserve">
<value>Discharge module</value>
</data>
<data name="button68.Text" xml:space="preserve">
<value>Vac break off(1-16)</value>
@ -274,8 +487,8 @@
<data name="button66.Text" xml:space="preserve">
<value>Vac suction off(1-16)</value>
</data>
<data name="groupBox11.Text" xml:space="preserve">
<value>T-Tray</value>
<data name="groupBox12.Text" xml:space="preserve">
<value>T-Nozzles</value>
</data>
<data name="btnTurnoverVacOpen.Text" xml:space="preserve">
<value>Vac suction on(1-32)</value>
@ -289,11 +502,14 @@
<data name="button64.Text" xml:space="preserve">
<value>Vac break on(1-32)</value>
</data>
<data name="tabPage5.Text" xml:space="preserve">
<value>Socket</value>
<data name="groupBox11.Text" xml:space="preserve">
<value>T-Tray</value>
</data>
<data name="groupBox13.Text" xml:space="preserve">
<value>Socket</value>
<data name="tabPage4.Size" type="System.Drawing.Size, System.Drawing">
<value>942, 718</value>
</data>
<data name="tabPage4.Text" xml:space="preserve">
<value>Turnover module</value>
</data>
<data name="button62.Text" xml:space="preserve">
<value>Vac break off(1-16)</value>
@ -307,4 +523,19 @@
<data name="button60.Text" xml:space="preserve">
<value>Vac suction off(1-16)</value>
</data>
<data name="groupBox13.Text" xml:space="preserve">
<value>Socket</value>
</data>
<data name="tabPage5.Size" type="System.Drawing.Size, System.Drawing">
<value>942, 718</value>
</data>
<data name="tabPage5.Text" xml:space="preserve">
<value>Socket</value>
</data>
<data name="tabControlEx1.Size" type="System.Drawing.Size, System.Drawing">
<value>950, 756</value>
</data>
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
<value>950, 796</value>
</data>
</root>

File diff suppressed because it is too large Load Diff

@ -191,8 +191,7 @@ namespace Rs.MotionPlat.Flow
}
break;
case ETakeTrayFlowStep.:
if ((Ops.IsOn("上下气缸动位") && stopwatch.ElapsedMilliseconds < 5000) || (GlobalVar.VirtualAxis))
if(Ops.IsOn("上下气缸动位"))
{
logInfo = GetClassName() + $"检测上下气缸动位OK";
MessageQueue.Instance.Insert(logInfo);
@ -261,24 +260,21 @@ namespace Rs.MotionPlat.Flow
step = ETakeTrayFlowStep.;
break;
case ETakeTrayFlowStep.:
if (stopwatch.ElapsedMilliseconds < 10000)
if ((Ops.IsOn("上下气缸原位")) || (GlobalVar.VirtualAxis))
{
if ((Ops.IsOn("上下气缸原位")) || (GlobalVar.VirtualAxis))
{
logInfo = $"检测到上下气缸原位OK";
stopwatch.Restart();
//if(GlobalVar.TakeTrayDisableVac)
//{
// step = ETakeTrayFlowStep.到放料盘上方;
//}
//else
//{
//}
step = ETakeTrayFlowStep.;
}
logInfo = $"检测到上下气缸原位OK";
//stopwatch.Restart();
//if(GlobalVar.TakeTrayDisableVac)
//{
// step = ETakeTrayFlowStep.到放料盘上方;
//}
//else
//{
//}
step = ETakeTrayFlowStep.;
}
else
else if(stopwatch.ElapsedMilliseconds>50000)
{
//logInfo = "上下气缸原位异常,请处理后点击确定";
alarmEntity = AlarmCollection.Get(AlarmConstID.);
@ -454,61 +450,58 @@ namespace Rs.MotionPlat.Flow
}
break;
case ETakeTrayFlowStep.:
if (stopwatch.ElapsedMilliseconds < 5000)
if (Ops.IsOn("上下气缸动位") || GlobalVar.VirtualAxis)
{
if (Ops.IsOn("上下气缸动位") || GlobalVar.VirtualAxis)
logInfo = GetClassName() + "检测到上下气缸动位 OK";
MessageQueue.Instance.Insert(logInfo);
stopwatch.Stop();
switch (fromTray)
{
logInfo = GetClassName()+ "检测到上下气缸动位 OK";
MessageQueue.Instance.Insert(logInfo);
stopwatch.Stop();
switch (fromTray)
{
case ETrayType.Empty1:
CloseVacAndClamp(GlobalVar.Empty1TakeTrayMode,true);
break;
case ETrayType.Input:
CloseVacAndClamp(GlobalVar.InputTakeTrayMode, true);
break;
case ETrayType.Ok:
CloseVacAndClamp(GlobalVar.OkTakeTrayMode, true);
break;
case ETrayType.Ng:
CloseVacAndClamp(GlobalVar.NgTakeTrayMode, true);
break;
case ETrayType.Multi:
CloseVacAndClamp(GlobalVar.MultiTakeTrayMode, true);
break;
case ETrayType.Empty2:
CloseVacAndClamp(GlobalVar.Empty2TakeTrayMode, true);
break;
default:
break;
}
//if (!GlobalVar.TakeTrayDisableVac)
//{
// Ops.Off("夹爪真空吸");
// logInfo = GetClassName() + "夹爪真空吸 off";
// MessageQueue.Instance.Insert(logInfo);
// Thread.Sleep(10);
// Ops.On("夹爪真空破");
// logInfo = GetClassName() + "夹爪真空破 on";
// MessageQueue.Instance.Insert(logInfo);
// Thread.Sleep(200);
// Ops.Off("夹爪真空破");
// logInfo = GetClassName() + "夹爪真空破 off";
// MessageQueue.Instance.Insert(logInfo);
//}
//Ops.Off("夹爪气缸电磁阀");
//logInfo = GetClassName() + $"夹爪气缸off";
//MessageQueue.Instance.Insert(logInfo);
//Thread.Sleep(1000);
stopwatch.Restart();
step = ETakeTrayFlowStep.;
case ETrayType.Empty1:
CloseVacAndClamp(GlobalVar.Empty1TakeTrayMode, true);
break;
case ETrayType.Input:
CloseVacAndClamp(GlobalVar.InputTakeTrayMode, true);
break;
case ETrayType.Ok:
CloseVacAndClamp(GlobalVar.OkTakeTrayMode, true);
break;
case ETrayType.Ng:
CloseVacAndClamp(GlobalVar.NgTakeTrayMode, true);
break;
case ETrayType.Multi:
CloseVacAndClamp(GlobalVar.MultiTakeTrayMode, true);
break;
case ETrayType.Empty2:
CloseVacAndClamp(GlobalVar.Empty2TakeTrayMode, true);
break;
default:
break;
}
//if (!GlobalVar.TakeTrayDisableVac)
//{
// Ops.Off("夹爪真空吸");
// logInfo = GetClassName() + "夹爪真空吸 off";
// MessageQueue.Instance.Insert(logInfo);
// Thread.Sleep(10);
// Ops.On("夹爪真空破");
// logInfo = GetClassName() + "夹爪真空破 on";
// MessageQueue.Instance.Insert(logInfo);
// Thread.Sleep(200);
// Ops.Off("夹爪真空破");
// logInfo = GetClassName() + "夹爪真空破 off";
// MessageQueue.Instance.Insert(logInfo);
//}
//Ops.Off("夹爪气缸电磁阀");
//logInfo = GetClassName() + $"夹爪气缸off";
//MessageQueue.Instance.Insert(logInfo);
//Thread.Sleep(1000);
stopwatch.Restart();
step = ETakeTrayFlowStep.;
}
else
else if(stopwatch.ElapsedMilliseconds > 5000)
{
//logInfo = "上下气缸动位检测异常,请处理后点击确定";
//MessageQueue.Instance.Warn(GetClassName()+ logInfo);
@ -529,14 +522,11 @@ namespace Rs.MotionPlat.Flow
}
break;
case ETakeTrayFlowStep.:
if(stopwatch.ElapsedMilliseconds<5000)
if (Ops.IsOn("夹爪气缸原位") || GlobalVar.RunSpace)
{
if(Ops.IsOn("夹爪气缸原位") || GlobalVar.RunSpace)
{
step = ETakeTrayFlowStep.;
}
step = ETakeTrayFlowStep.;
}
else
else if(stopwatch.ElapsedMilliseconds > 5000)
{
//logInfo = "夹爪气缸原位检测异常,请处理后点击确定";
//MessageQueue.Instance.Warn(GetClassName() + logInfo);
@ -578,7 +568,6 @@ namespace Rs.MotionPlat.Flow
{
step = ETakeTrayFlowStep.;
}
}
break;
case ETakeTrayFlowStep.:

@ -80,6 +80,7 @@ namespace Rs.MotionPlat.Flow
|| StockManager.Instance.GetStock(ETrayType.Empty2).Status == EStockTrayStatus.Unloaded);
if (bInput && bOk && bNg && bMulti && bEmpty2)
{
DischargeFlow.Instance.ResetScanNum();
Ops.Stop();
break;
}

@ -31,6 +31,6 @@ using System.Runtime.InteropServices;
//
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
[assembly: AssemblyVersion("3.20.24.16")]
[assembly: AssemblyVersion("3.20.24.22")]
//[assembly: AssemblyVersion("1.0.0.0")]
//[assembly: AssemblyFileVersion("1.0.0.0")]

Loading…
Cancel
Save