Hello Guest it is May 21, 2019, 11:37:09 PM

Author Topic: Is there a G-code that can pause Mach 3 while running a program?  (Read 3447 times)

0 Members and 1 Guest are viewing this topic.

Offline Hobie

*
  •  12 12
    • View Profile
Is there a G-code that can pause Mach 3 while running a program?
« 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

Offline BR549

*
  •  6,865 6,865
    • View Profile
Re: Is there a G-code that can pause Mach 3 while running a program?
« Reply #1 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

Offline Hobie

*
  •  12 12
    • View Profile
Re: Is there a G-code that can pause Mach 3 while running a program?
« Reply #2 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.

Offline BR549

*
  •  6,865 6,865
    • View Profile
Re: Is there a G-code that can pause Mach 3 while running a program?
« Reply #3 on: November 26, 2014, 09:45:15 AM »
THAT IS the pause command for Gcode

(;-) TP

Offline Hobie

*
  •  12 12
    • View Profile
Re: Is there a G-code that can pause Mach 3 while running a program?
« Reply #4 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