|
|
|
@ -119,6 +119,10 @@ namespace Rs.MotionPlat.Flow
|
|
|
|
|
/// </summary>
|
|
|
|
|
//private int lastFixtureIndex = 0;
|
|
|
|
|
List<int> checkFixtureList = new List<int>();
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 从料仓到治具
|
|
|
|
|
/// </summary>
|
|
|
|
|
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))
|
|
|
|
|
{
|
|
|
|
|