@ -74,15 +74,19 @@ namespace Rs.MotionPlat.Flow.NormalFlow
case EThreePointLocationFlowStep . 到 拍 照 位 :
sp = TrayPointManager . GetSlotPoint ( trayType , points [ 0 ] ) ;
targetPos . X = sp . X ;
targetPos . Y1 = GlobalVar . StockSideY1 ;
targetPos . Y2 = sp . Y ;
if ( GroupAxisMove . XY1Y2MovePos ( targetPos ) )
if ( sp ! = null )
{
logInfo = $"到拍照位,tloadx:{targetPos.X},tloady1:{targetPos.Y1},tloady2:{targetPos.Y2}" ;
MessageQueue . Instance . Insert ( logInfo ) ;
step = EThreePointLocationFlowStep . 等 待 到 拍 照 位 ;
targetPos . X = sp . X ;
targetPos . Y1 = GlobalVar . StockSideY1 ;
targetPos . Y2 = sp . Y ;
if ( GroupAxisMove . XY1Y2MovePos ( targetPos ) )
{
logInfo = $"到拍照位,tloadx:{targetPos.X},tloady1:{targetPos.Y1},tloady2:{targetPos.Y2}" ;
MessageQueue . Instance . Insert ( logInfo ) ;
step = EThreePointLocationFlowStep . 等 待 到 拍 照 位 ;
}
}
break ;
case EThreePointLocationFlowStep . 等 待 到 拍 照 位 :
if ( Ops . IsStop ( "LoadX" , "LoadY1" , "LoadY2" ) | | GlobalVar . VirtualAxis )