Hello Guest it is December 12, 2019, 01:26:18 PM

Author Topic: ALT-S (STOP) Causes Mach3 to go into Reset Mode  (Read 4812 times)

0 Members and 1 Guest are viewing this topic.

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Re: ALT-S (STOP) Causes Mach3 to go into Reset Mode
« Reply #10 on: March 13, 2013, 06:56:49 AM »
So what is the counter macro? is it neeed? If so what is it doing?
Hood
Re: ALT-S (STOP) Causes Mach3 to go into Reset Mode
« Reply #11 on: March 13, 2013, 09:12:10 AM »
it's to count each Z step when cutting a pocket.
M1002 is to reset the counter. M1001 counts.
this is what i ended with. took the reset out cause i don't
know if i want it reset if i just stop the gcode to adjust.

If  IsMoving (  ) Then
GetUserDRO (1011)
Else
GetUserDRO (1011)
SetUserDRO (1011 , 0)
End  If
Kenneth
Re: ALT-S (STOP) Causes Mach3 to go into Reset Mode
« Reply #12 on: March 13, 2013, 12:25:43 PM »
i added to the file so want to share it here. when i clicked the button
with nothing running, i would get the error "nothing to feedhold"
so i ended up with. hope this is not creating as endless loop.
Thanks sterling


If IsMoving ( ) Then
DoOEMButton(1001 )
While IsMoving ( )
Wend
DoOEMButton(1003 )
While IsMoving ( )
Wend
Else
DoOEMButton(1003)
End If
Kenneth