Machsupport Forum
G-Code, CAD, and CAM => G-Code, CAD, and CAM discussions => Topic started by: jeffpower14 on August 08, 2006, 09:03:05 AM
-
I was wondering if anyone could tell me anything about writing g-codes for drilling with mach3. I read the post about peck drilling, but what about the code for other types of drilling? Can mach 3 do helical drills?
I need this because I am trying to make a postprocessor for PMPost to generate g code from powermill. Is anyone else here using powermill or PMPost? Does anyone already have a postprocessor for PMPost?
-
We only do helical Milling ...
You can have up to 6 axis at the same time...
-
So what does a line of g-code to do a helical drill look like? I don't see it in the Mach manual or in the list of g-codes in mach3.
-
Just a series of G2 or G3's. Here's a 1/4" hole using a 1/8" tool. 1/8" depth of cut perr pass. 1/2" deep.
G0 Z0.1250
G0 X0.1250 Y0.1875 Z0.1250
G1 X0.1250 Y0.1875 Z0.0000 F10
G2 X0.1250 Y0.1875 Z-0.1250 I0.0000 J-0.0625 F20
G2 X0.1250 Y0.1875 Z-0.2500 I0.0000 J-0.0625
G2 X0.1250 Y0.1875 Z-0.3750 I0.0000 J-0.0625
G2 X0.1250 Y0.1875 Z-0.5000 I0.0000 J-0.0625
G2 X0.1250 Y0.1875 Z-0.5000 I0.0000 J-0.0625
G0 X0.1250 Y0.1875 Z0.1250
G0 Z0.25
-
To drill a single peck hole I write
g81 x~ y~ z~ r~
x and y the point, z the depth and r the clear plane height.
Is there an equivalent for helical drills? a helical drill canned cycle? I don't think there is, I'm just looking to confirm my suspicions.
Thanks for the replies
-
I don't think so. All the supported codes are in the manual.
http://www.machsupport.com/documentation/M3M1_84-A2.pdf
-
What do you class as a helical drill?.
What is the application?.
post a picture or a web link of the tool you are talking about.
Graham.