Hello Guest it is March 28, 2024, 02:12:11 PM

Author Topic: Better way to stop axis movement  (Read 2340 times)

0 Members and 1 Guest are viewing this topic.

Better way to stop axis movement
« 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,
Re: Better way to stop axis movement
« Reply #1 on: August 20, 2012, 08:02:13 PM »
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.