Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Hobie on November 25, 2014, 11:48:36 PM

Title: Is there a G-code that can pause Mach 3 while running a program?
Post by: Hobie on November 25, 2014, 11:48:36 PM
I'm using a Sherline sensitive drilling tool to drill some small holes (lots of 0.022" dia holes). I can extract the drill hole location into a separate G-code file.  I need to pause the controller between each hole while I manually plunge the drill.  I did a search but was unable to find anything on point.  I hope that doesn't mean there is no way to pause a running program?

TIA,
Ken
Title: Re: Is there a G-code that can pause Mach 3 while running a program?
Post by: BR549 on November 26, 2014, 12:06:38 AM
M0  or M1   pauses the Gcode file and waits on a Cycle start to resume

code
code
code
M1
code
code
etc
Title: Re: Is there a G-code that can pause Mach 3 while running a program?
Post by: Hobie on November 26, 2014, 12:55:28 AM
M0 - program stop.  I guess that will work.  I'll have to check it in the morning.  I didn't think would work as I was looking for something lick a pause command.

Thanks.
Title: Re: Is there a G-code that can pause Mach 3 while running a program?
Post by: BR549 on November 26, 2014, 09:45:15 AM
THAT IS the pause command for Gcode

(;-) TP
Title: Re: Is there a G-code that can pause Mach 3 while running a program?
Post by: Hobie on November 26, 2014, 11:47:58 AM
It may be a pause command to you but from my thinking it's a stop command.  Any way it works like you stated and I'm on my way to drilling 48 tiny holes.  Just hit the button and push down on the plunger, on the next hole.  Step and repeat.

Thanks,
Ken