Commit 050b231d 张东亮

存储机构-出库到缓存区时分两步,先松压紧轴再下降

1 个父辈 ebce9d59
...@@ -319,9 +319,13 @@ namespace OnlineStore.DeviceLibrary ...@@ -319,9 +319,13 @@ namespace OnlineStore.DeviceLibrary
/// </summary> /// </summary>
SO_17_InOutToBuff, SO_17_InOutToBuff,
/// <summary> /// <summary>
/// 料仓出库:放松料盘
/// 2. A/B面移栽压紧轴到P2压紧前点
/// </summary>
SO_18_ReleaseReel,
/// <summary>
/// 料仓出库:把料盘放下 /// 料仓出库:把料盘放下
/// 1. 移栽升降轴到A/B下暂存区放料低点 /// 1. 移栽升降轴到A/B下暂存区放料低点
/// 2. A/B面移栽压紧轴到P2压紧前点
/// </summary> /// </summary>
SO_18_PutReel, SO_18_PutReel,
/// <summary> /// <summary>
......
...@@ -246,12 +246,16 @@ namespace OnlineStore.DeviceLibrary ...@@ -246,12 +246,16 @@ namespace OnlineStore.DeviceLibrary
} }
break; break;
case StepEnum.SO_17_InOutToBuff: case StepEnum.SO_17_InOutToBuff:
MoveInfo.NextMoveStep(StepEnum.SO_18_ReleaseReel);
LogInfo($"出库 {MoveInfo.SLog}:松开料盘,移栽压紧轴到压紧前点P2");
ComAxis_To_P2();
break;
case StepEnum.SO_18_ReleaseReel:
MoveInfo.NextMoveStep(StepEnum.SO_18_PutReel); MoveInfo.NextMoveStep(StepEnum.SO_18_PutReel);
LogInfo($"出库 {MoveInfo.SLog}:放料盘,移栽升降轴到下暂存区放料低点P5/P11,移栽压紧轴到压紧前点P2"); LogInfo($"出库 {MoveInfo.SLog}:放料盘,移栽升降轴到下暂存区放料低点P5/P11");
executeTime = (DateTime.Now - startTime).TotalSeconds.ToString("f2"); executeTime = (DateTime.Now - startTime).TotalSeconds.ToString("f2");
SetBoxStatus(DeviceStatus.OutStoreBoxEnd, RunStatus.Busy, MoveInfo.MoveParam.PosInfo.PosId); SetBoxStatus(DeviceStatus.OutStoreBoxEnd, RunStatus.Busy, MoveInfo.MoveParam.PosInfo.PosId);
UpdownAxisTo_P5_P11(); UpdownAxisTo_P5_P11();
ComAxis_To_P2();
break; break;
case StepEnum.SO_18_PutReel: case StepEnum.SO_18_PutReel:
MoveInfo.NextMoveStep(StepEnum.SO_19_InOutBackFromBuff); MoveInfo.NextMoveStep(StepEnum.SO_19_InOutBackFromBuff);
......
...@@ -103,6 +103,7 @@ ...@@ -103,6 +103,7 @@
this.button10 = new System.Windows.Forms.Button(); this.button10 = new System.Windows.Forms.Button();
this.btnStartVision = new System.Windows.Forms.Button(); this.btnStartVision = new System.Windows.Forms.Button();
this.groupBox1 = new System.Windows.Forms.GroupBox(); this.groupBox1 = new System.Windows.Forms.GroupBox();
this.chkCloseOutStoreCheck = new System.Windows.Forms.CheckBox();
this.lblResult = new System.Windows.Forms.Label(); this.lblResult = new System.Windows.Forms.Label();
this.chkBoxCloseCam = new System.Windows.Forms.CheckBox(); this.chkBoxCloseCam = new System.Windows.Forms.CheckBox();
this.checkBoxOpenAuto = new System.Windows.Forms.CheckBox(); this.checkBoxOpenAuto = new System.Windows.Forms.CheckBox();
...@@ -111,7 +112,6 @@ ...@@ -111,7 +112,6 @@
this.radioButton2 = new System.Windows.Forms.RadioButton(); this.radioButton2 = new System.Windows.Forms.RadioButton();
this.radioButton1 = new System.Windows.Forms.RadioButton(); this.radioButton1 = new System.Windows.Forms.RadioButton();
this.timer1 = new System.Windows.Forms.Timer(this.components); this.timer1 = new System.Windows.Forms.Timer(this.components);
this.chkCloseOutStoreCheck = new System.Windows.Forms.CheckBox();
this.tableLayoutPanel1.SuspendLayout(); this.tableLayoutPanel1.SuspendLayout();
this.tabControl1.SuspendLayout(); this.tabControl1.SuspendLayout();
this.tabPage1.SuspendLayout(); this.tabPage1.SuspendLayout();
...@@ -890,10 +890,21 @@ ...@@ -890,10 +890,21 @@
this.groupBox1.TabStop = false; this.groupBox1.TabStop = false;
this.groupBox1.Text = "操作"; this.groupBox1.Text = "操作";
// //
// chkCloseOutStoreCheck
//
this.chkCloseOutStoreCheck.AutoSize = true;
this.chkCloseOutStoreCheck.Location = new System.Drawing.Point(568, 22);
this.chkCloseOutStoreCheck.Name = "chkCloseOutStoreCheck";
this.chkCloseOutStoreCheck.Size = new System.Drawing.Size(147, 21);
this.chkCloseOutStoreCheck.TabIndex = 9;
this.chkCloseOutStoreCheck.Text = "关闭出库前的碗里检查";
this.chkCloseOutStoreCheck.UseVisualStyleBackColor = true;
this.chkCloseOutStoreCheck.CheckedChanged += new System.EventHandler(this.chkCloseOutStoreCheck_CheckedChanged);
//
// lblResult // lblResult
// //
this.lblResult.AutoSize = true; this.lblResult.AutoSize = true;
this.lblResult.Location = new System.Drawing.Point(563, 49); this.lblResult.Location = new System.Drawing.Point(565, 58);
this.lblResult.Name = "lblResult"; this.lblResult.Name = "lblResult";
this.lblResult.Size = new System.Drawing.Size(0, 17); this.lblResult.Size = new System.Drawing.Size(0, 17);
this.lblResult.TabIndex = 8; this.lblResult.TabIndex = 8;
...@@ -974,17 +985,6 @@ ...@@ -974,17 +985,6 @@
this.timer1.Interval = 1000; this.timer1.Interval = 1000;
this.timer1.Tick += new System.EventHandler(this.timer1_Tick); this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
// //
// chkCloseOutStoreCheck
//
this.chkCloseOutStoreCheck.AutoSize = true;
this.chkCloseOutStoreCheck.Location = new System.Drawing.Point(569, 45);
this.chkCloseOutStoreCheck.Name = "chkCloseOutStoreCheck";
this.chkCloseOutStoreCheck.Size = new System.Drawing.Size(147, 21);
this.chkCloseOutStoreCheck.TabIndex = 9;
this.chkCloseOutStoreCheck.Text = "关闭出库前的碗里检查";
this.chkCloseOutStoreCheck.UseVisualStyleBackColor = true;
this.chkCloseOutStoreCheck.CheckedChanged += new System.EventHandler(this.chkCloseOutStoreCheck_CheckedChanged);
//
// FrmAutoFindPos // FrmAutoFindPos
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F); this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!