
Variable Numeric Slot_M1_Destinat = 1
Variable Numeric Slot_M2_Destinat = 2			 'Breakpoint

Stop

Label Function1
	If 10 > 5
		
		
	Return
	
	
' ====================================================================
'   Wait until all motors are stopped
' ====================================================================
Label WaitAllMotors
	Wait Seconds 0.05
	Variable Numeric WM1
	For WM1 = 1 To 9e99
		If Abs(Slot(Slot_M1_Destinat + 1)) < 0.01
			If Abs(Slot(Slot_M2_Destinat + 1)) < 0.01
				'If Abs(Slot(Slot_M3_Destinat + 1)) < 0.01
				Exit
			    'EndIf
			EndIf
		EndIf
	EndIf
	Wait Seconds 0.001
Next
Return

'EndIf


'BOOKMARKS 

'EDITEDLINES 0 5 6 10 31 9 14 10 26 10 20 10 

