Machsupport Forum

Mach Discussion => FAQs => Topic started by: jsmithwe on March 14, 2009, 12:15:38 PM

Title: G81 canned drill routine too slow to position
Post by: jsmithwe on March 14, 2009, 12:15:38 PM
I am trying to figure out how to change the feedrate to rapid position between holes in a 28 hole g81 routine.  My code looks like this:

G81 x0 y0 z-0.9 ro.1 f5
x1.25
y0.75
x0
y1.5
and so on......

The feedrate f5 is great for drilling but way too slow when positioning.
Title: Re: G81 canned drill routine too slow to position
Post by: Chaoticone on March 14, 2009, 03:18:03 PM
G0 and G1 are modal. That is what it will do until told to do something else. G0 is Rapid and G1 is a feed.

G0 X0 Y0 
G1 F5 Z-0.9
G0 Z 1.25
X 1.25 Y 1.25
X -1.25
Y -1.25
G1 F5 X 1.25 Y 1.25
X -1.25
Y -1.25

If you have space, run this program and see the actions produced by each line. Then you can run it in single block to help even more. Run it slow and watch it good to make sure your not going to crash and be ceratin all is well.

Brett
Title: Re: G81 canned drill routine too slow to position
Post by: Chip on March 15, 2009, 10:32:23 PM
Hi,Jsmithwe

It looks like it's moving with a rapid between hole's hear, What version of mach3 are you running, Look under, Help, About.

G81 x0 y0 z-0.9 r0.1 f5
x1.25
y0.75
x0
y1.5

G80
M30
%

First pic is, Hole being drilled, Second is, Rapid between hole's

Chip
Title: Re: G81 canned drill routine too slow to position
Post by: jsmithwe on March 16, 2009, 03:48:40 PM
Thanks for making me look.  It DOES rapid between holes.  Nevermind but thanks.