Commit 4680b92b 刘韬

1

1 个父辈 8e960c4a
...@@ -302,11 +302,11 @@ namespace DeviceLibrary ...@@ -302,11 +302,11 @@ namespace DeviceLibrary
} }
else else
{ {
Msg.add("", MsgLevel.info, ErrInfo.X09_Clear); Msg.add("", MsgLevel.info, ErrInfo.X09_Clear);
IgnoreX09 = false; IgnoreX09 = false;
MoveInfo.NextMoveStep(MoveStep.StoreTS16); MoveInfo.NextMoveStep(MoveStep.StoreTS16);
MoveInfo.log($"{storeMoveType}:安全检查"); MoveInfo.log($"{storeMoveType}:安全检查");
InOutEndProcess(StoreMoveType.InStore, To.posid);
} }
break; break;
case MoveStep.StoreTS16: case MoveStep.StoreTS16:
...@@ -333,7 +333,6 @@ namespace DeviceLibrary ...@@ -333,7 +333,6 @@ namespace DeviceLibrary
MoveInfo.EndMove(); MoveInfo.EndMove();
ErrMsgTxt = ""; ErrMsgTxt = "";
To.posid = ""; To.posid = "";
InOutEndProcess(StoreMoveType.InStore, To.posid);
storeMoveType = StoreMoveType.None; storeMoveType = StoreMoveType.None;
break; break;
case MoveStep.StoreTS_WaitOutProcess: case MoveStep.StoreTS_WaitOutProcess:
......
...@@ -104,8 +104,9 @@ namespace DeviceLibrary ...@@ -104,8 +104,9 @@ namespace DeviceLibrary
break; break;
case MoveStep.ReelClamp_04: case MoveStep.ReelClamp_04:
ClampMoveInfo.NextMoveStep(MoveStep.ReelClamp_05); ClampMoveInfo.NextMoveStep(MoveStep.ReelClamp_05);
ClampMoveInfo.log($"检测盘宽"); int width = GetWidth();
ClampMoveInfo.MoveParam.PlateW = GetWidth(); ClampMoveInfo.log($"检测盘宽={width}");
ClampMoveInfo.MoveParam.PlateW = width;
break; break;
case MoveStep.ReelClamp_05: case MoveStep.ReelClamp_05:
ClampMoveInfo.NextMoveStep(MoveStep.ReelClamp_WaitGaugeHeight); ClampMoveInfo.NextMoveStep(MoveStep.ReelClamp_WaitGaugeHeight);
...@@ -114,6 +115,7 @@ namespace DeviceLibrary ...@@ -114,6 +115,7 @@ namespace DeviceLibrary
ClampErrorCount++; ClampErrorCount++;
ClampMoveInfo.MoveParam.IsNg = true; ClampMoveInfo.MoveParam.IsNg = true;
ClampMoveInfo.MoveParam.NgMsg = crc.GetString(L.not_detect_reel_height, "未检测到盘宽"); ClampMoveInfo.MoveParam.NgMsg = crc.GetString(L.not_detect_reel_height, "未检测到盘宽");
ClampMoveInfo.log($"未检测到盘宽");
ReelGetted(false); ReelGetted(false);
//RobotManage.UserPause("未检测到盘", true); //RobotManage.UserPause("未检测到盘", true);
} }
......
...@@ -242,7 +242,7 @@ namespace DeviceLibrary ...@@ -242,7 +242,7 @@ namespace DeviceLibrary
StringMoveInfo.NextMoveStep(MoveStep.StringLoad_03); StringMoveInfo.NextMoveStep(MoveStep.StringLoad_03);
break; break;
case MoveStep.StringReelGetFail: case MoveStep.StringReelGetFail:
StringMoveInfo.log($"料取走失败,料盘下降"); StringMoveInfo.log($"料取走失败,料盘下降");
ReelGetFail++; ReelGetFail++;
StringMoveInfo.NextMoveStep(MoveStep.StringReelGet); StringMoveInfo.NextMoveStep(MoveStep.StringReelGet);
var tpos1 = Batch_Axis.GetAclPosition() - Config.Batch_PoToMM * 20; var tpos1 = Batch_Axis.GetAclPosition() - Config.Batch_PoToMM * 20;
......
...@@ -44,9 +44,9 @@ namespace TheMachine ...@@ -44,9 +44,9 @@ namespace TheMachine
this.cylinderButton4.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cylinderButton4.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.cylinderButton4.IO_HIGH = "Clamping_Work"; this.cylinderButton4.IO_HIGH = "Clamping_Work";
this.cylinderButton4.IO_LOW = "Clamping_Relax"; this.cylinderButton4.IO_LOW = "Clamping_Relax";
this.cylinderButton4.Location = new System.Drawing.Point(566, 284); this.cylinderButton4.Location = new System.Drawing.Point(566, 395);
this.cylinderButton4.Name = "cylinderButton4"; this.cylinderButton4.Name = "cylinderButton4";
this.cylinderButton4.Size = new System.Drawing.Size(224, 23); this.cylinderButton4.Size = new System.Drawing.Size(224, 45);
this.cylinderButton4.TabIndex = 1; this.cylinderButton4.TabIndex = 1;
this.cylinderButton4.Tag = "not"; this.cylinderButton4.Tag = "not";
this.cylinderButton4.Text = "Clamping_Work"; this.cylinderButton4.Text = "Clamping_Work";
...@@ -58,9 +58,9 @@ namespace TheMachine ...@@ -58,9 +58,9 @@ namespace TheMachine
this.cylinderButton7.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cylinderButton7.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.cylinderButton7.IO_HIGH = "Device_Led"; this.cylinderButton7.IO_HIGH = "Device_Led";
this.cylinderButton7.IO_LOW = ""; this.cylinderButton7.IO_LOW = "";
this.cylinderButton7.Location = new System.Drawing.Point(566, 168); this.cylinderButton7.Location = new System.Drawing.Point(566, 155);
this.cylinderButton7.Name = "cylinderButton7"; this.cylinderButton7.Name = "cylinderButton7";
this.cylinderButton7.Size = new System.Drawing.Size(224, 23); this.cylinderButton7.Size = new System.Drawing.Size(224, 45);
this.cylinderButton7.TabIndex = 1; this.cylinderButton7.TabIndex = 1;
this.cylinderButton7.Tag = "not"; this.cylinderButton7.Tag = "not";
this.cylinderButton7.Text = "Device_Led"; this.cylinderButton7.Text = "Device_Led";
...@@ -72,9 +72,9 @@ namespace TheMachine ...@@ -72,9 +72,9 @@ namespace TheMachine
this.cylinderButton6.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cylinderButton6.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.cylinderButton6.IO_HIGH = "Camera_Led"; this.cylinderButton6.IO_HIGH = "Camera_Led";
this.cylinderButton6.IO_LOW = ""; this.cylinderButton6.IO_LOW = "";
this.cylinderButton6.Location = new System.Drawing.Point(566, 197); this.cylinderButton6.Location = new System.Drawing.Point(566, 215);
this.cylinderButton6.Name = "cylinderButton6"; this.cylinderButton6.Name = "cylinderButton6";
this.cylinderButton6.Size = new System.Drawing.Size(224, 23); this.cylinderButton6.Size = new System.Drawing.Size(224, 45);
this.cylinderButton6.TabIndex = 1; this.cylinderButton6.TabIndex = 1;
this.cylinderButton6.Tag = "not"; this.cylinderButton6.Tag = "not";
this.cylinderButton6.Text = "Camera_Led"; this.cylinderButton6.Text = "Camera_Led";
...@@ -86,9 +86,9 @@ namespace TheMachine ...@@ -86,9 +86,9 @@ namespace TheMachine
this.cylinderButton1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cylinderButton1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.cylinderButton1.IO_HIGH = "NGDoor_Open"; this.cylinderButton1.IO_HIGH = "NGDoor_Open";
this.cylinderButton1.IO_LOW = "NGDoor_Close"; this.cylinderButton1.IO_LOW = "NGDoor_Close";
this.cylinderButton1.Location = new System.Drawing.Point(566, 226); this.cylinderButton1.Location = new System.Drawing.Point(566, 275);
this.cylinderButton1.Name = "cylinderButton1"; this.cylinderButton1.Name = "cylinderButton1";
this.cylinderButton1.Size = new System.Drawing.Size(224, 23); this.cylinderButton1.Size = new System.Drawing.Size(224, 45);
this.cylinderButton1.TabIndex = 1; this.cylinderButton1.TabIndex = 1;
this.cylinderButton1.Tag = "not"; this.cylinderButton1.Tag = "not";
this.cylinderButton1.Text = "NGDoor_Open"; this.cylinderButton1.Text = "NGDoor_Open";
...@@ -112,9 +112,9 @@ namespace TheMachine ...@@ -112,9 +112,9 @@ namespace TheMachine
this.cylinderButton2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cylinderButton2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.cylinderButton2.IO_HIGH = "BatchDoor_Open"; this.cylinderButton2.IO_HIGH = "BatchDoor_Open";
this.cylinderButton2.IO_LOW = "BatchDoor_Close"; this.cylinderButton2.IO_LOW = "BatchDoor_Close";
this.cylinderButton2.Location = new System.Drawing.Point(566, 255); this.cylinderButton2.Location = new System.Drawing.Point(566, 335);
this.cylinderButton2.Name = "cylinderButton2"; this.cylinderButton2.Name = "cylinderButton2";
this.cylinderButton2.Size = new System.Drawing.Size(224, 23); this.cylinderButton2.Size = new System.Drawing.Size(224, 45);
this.cylinderButton2.TabIndex = 1; this.cylinderButton2.TabIndex = 1;
this.cylinderButton2.Tag = "not"; this.cylinderButton2.Tag = "not";
this.cylinderButton2.Text = "BatchDoor_Open"; this.cylinderButton2.Text = "BatchDoor_Open";
...@@ -126,9 +126,9 @@ namespace TheMachine ...@@ -126,9 +126,9 @@ namespace TheMachine
this.cylinderButton3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cylinderButton3.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.cylinderButton3.IO_HIGH = "ClampingDisc_Up"; this.cylinderButton3.IO_HIGH = "ClampingDisc_Up";
this.cylinderButton3.IO_LOW = "ClampingDisc_Down"; this.cylinderButton3.IO_LOW = "ClampingDisc_Down";
this.cylinderButton3.Location = new System.Drawing.Point(566, 313); this.cylinderButton3.Location = new System.Drawing.Point(566, 455);
this.cylinderButton3.Name = "cylinderButton3"; this.cylinderButton3.Name = "cylinderButton3";
this.cylinderButton3.Size = new System.Drawing.Size(224, 23); this.cylinderButton3.Size = new System.Drawing.Size(224, 45);
this.cylinderButton3.TabIndex = 1; this.cylinderButton3.TabIndex = 1;
this.cylinderButton3.Tag = "not"; this.cylinderButton3.Tag = "not";
this.cylinderButton3.Text = "ClampingDisc_Up"; this.cylinderButton3.Text = "ClampingDisc_Up";
......
...@@ -5,11 +5,11 @@ using System.Runtime.InteropServices; ...@@ -5,11 +5,11 @@ using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下 // 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改 // 控制。更改这些特性值可修改
// 与程序集关联的信息。 // 与程序集关联的信息。
[assembly: AssemblyTitle("MIMO_PLUS")] [assembly: AssemblyTitle("MIMO")]
[assembly: AssemblyDescription("")] [assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("上海挚锦科技有限公司")] [assembly: AssemblyCompany("上海挚锦科技有限公司")]
[assembly: AssemblyProduct("MIMO_PLUS")] [assembly: AssemblyProduct("MIMO")]
[assembly: AssemblyCopyright("Copyright © 2022")] [assembly: AssemblyCopyright("Copyright © 2022")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!