diff --git a/Rs.DeweyTester/Flow/NormalFlow/DischargeFlow.cs b/Rs.DeweyTester/Flow/NormalFlow/DischargeFlow.cs index ef7935d..dd1269c 100644 --- a/Rs.DeweyTester/Flow/NormalFlow/DischargeFlow.cs +++ b/Rs.DeweyTester/Flow/NormalFlow/DischargeFlow.cs @@ -119,6 +119,10 @@ namespace Rs.MotionPlat.Flow /// //private int lastFixtureIndex = 0; List checkFixtureList = new List(); + /// + /// 从料仓到治具 + /// + string acrossAnthorSide = ""; public void Init() { mainTask = new Task(Run); @@ -486,6 +490,11 @@ namespace Rs.MotionPlat.Flow // DischargeModuleGoSafePosFlow.Instance.GoSafePostion(ESafePosSide.PlaceToFixture); //} ActionStart(); + acrossAnthorSide = ""; + if(Math.Abs(targetPosition.Y1-GlobalVar.FixtureSideY1)>50) + { + acrossAnthorSide = " (1)"; + } if(GroupAxisMove.XY1Y2MovePos(targetPosition, GlobalVar.WholeSpeed, EGoWhichSide.FixtureSide)) { AxisPosPrint.PrintXY1Y2TargetPos("到治具放料缓冲位,", targetPosition, GetClassName()); @@ -495,7 +504,7 @@ namespace Rs.MotionPlat.Flow case EDischargeFlowStep.等待到治具取料等待位: if(Ops.IsStop("LoadX","LoadY1","LoadY2")) { - ActionEnd("拾取器移动到另一个治具", "Picker move to another test cell (2nd)"); + ActionEnd("拾取器移动到另一个治具", $"Picker move to another test cell{acrossAnthorSide}"); AxisPosPrint.PrintXY1Y2CurrentPos("轴loadx,loady1,loady2已停止运动,",GetClassName()); if(AxisArrived.LoadXY1Y2IsArrived(targetPosition.X, targetPosition.Y1, targetPosition.Y2)) { diff --git a/Rs.DeweyTester/Flow/SubFlow/StockPlaceFlow.cs b/Rs.DeweyTester/Flow/SubFlow/StockPlaceFlow.cs index f133362..b00e54d 100644 --- a/Rs.DeweyTester/Flow/SubFlow/StockPlaceFlow.cs +++ b/Rs.DeweyTester/Flow/SubFlow/StockPlaceFlow.cs @@ -99,6 +99,7 @@ namespace Rs.MotionPlat.Flow.SubFlow TargetPosition targetPosition = new TargetPosition(); Nozzle curNozzle = NozzleManager.GetNozzle(nozzleIndex); TraySlot curPlaceSlot = null; + string acrossAnthorSide = ""; DischargeFlow.Instance.ActionStart(); while (!finished) { @@ -136,6 +137,10 @@ namespace Rs.MotionPlat.Flow.SubFlow //{ // DischargeModuleGoSafePosFlow.Instance.GoSafePostion(ESafePosSide.PlaceToStock); //} + if(Math.Abs(targetPosition.Y1-GlobalVar.StockSideY1)>50) + { + acrossAnthorSide = " (1)"; + } if (GroupAxisMove.XY1Y2MovePos(targetPosition, GlobalVar.WholeSpeed, EGoWhichSide.StockSide)) { AxisPosPrint.PrintXY1Y2TargetPos($"到{trayType}料仓拍照位上方,", targetPosition, GetClassName()); @@ -320,7 +325,7 @@ namespace Rs.MotionPlat.Flow.SubFlow case EStockPlaceFlowStep.放料完成: try { - DischargeFlow.Instance.ActionEnd("拾取器将 1 个 DUT 卸载到output托盘(OK/NG)", "Picker unload 1 DUT to output trav (OK/NG)"); + DischargeFlow.Instance.ActionEnd("拾取器将 1 个 DUT 卸载到output托盘(OK/NG)", $"Picker unload 1 DUT to output trav (OK/NG){acrossAnthorSide}"); if (curNozzle.Product != null) { curNozzle.Product.ToSlotIndex = curPlaceSlot.Index;