Machsupport Forum
Mach Discussion => VB and the development of wizards => Topic started by: Nitromuse on August 10, 2012, 01:50:49 PM
-
Hello World,
Is there a better way to stop axis movement than say;
Dim L As Double
Code ("G01 G53 Z-12.160")
While IsMoving()
If IsActive(ThcDown) = True Then
DoOEMButton(1003)
End If
Wend
L = GetOEMDro(802)
When I use the (scripted) Stop button it curtails all other movement until I manually hit Reset,
or is there a way pragmatically to reset after calling Stop so I can do other things afterwards?
Thanks to all,
-
Depends on what else you want to do while stopped. Feedhold will stop the machine and allow you to jog. Pressing cycle start then resumes the program. I don't think you can just stop one axis whike the others continue running normally. The only think I can think of might to programmatically inhibit the axis you want to stop. Something tells me it won't work, but it's something to try.