Browse Source

revise robot cycle align

niuyx 3 weeks ago
parent
commit
16a43eee57
1 changed files with 5 additions and 1 deletions
  1. 5 1
      CyberX8_RT/Modules/EFEM/RobotCycleMoveRoutine.cs

+ 5 - 1
CyberX8_RT/Modules/EFEM/RobotCycleMoveRoutine.cs

@@ -78,7 +78,11 @@ namespace CyberX8_RT.Modules.EFEM
                     return _efemPlaceRoutine.Start(placeMoveItems) == RState.Running;
                 case "Align":
                     _currentRoutine = _efemAlignRoutine;
-                    return _efemAlignRoutine.Start(action.Parameter)==RState.Running;
+                    object[] alignerParamater = new object[3];//初始化Align参数
+                    alignerParamater[0] = ModuleName.Aligner1;
+                    alignerParamater[1] = 0;
+                    alignerParamater[2] = action.Parameter;
+                    return _efemAlignRoutine.Start(alignerParamater) ==RState.Running;
 
             }
             return false;