Re: drilling help?
Originally Posted by
widget_maker
This is the code created by the "generic Tormach post" on hsmxpress. It works on the machine!
Trouble is, this post fails for general machining giving "radius too small" errors at certain points.
%
(DRILL1)
(T1 D=0.25 CR=0. TAPER=118DEG - ZMIN=-0.8651 - DRILL)
N10 G90 G54 G64 G50 G17 G40 G80 G94 G91.1 G49
N20 G20
N30 G28 G91 Z0.
N40 G90
(DRILL1)
N50 M998
N60 T1 G43 H1 M6
N70 S1000 M3
N80 G54
N90 G0 X-0.2865 Y0.
N100 M9
N110 G0 Z0.6
N130 G0 Z0.2
N140 G98 G73 X-0.2865 Y0. Z-0.8651 R-0.34 Q0.0625 F40.
N150 G80
N160 G0 Z0.6
N180 M9
N190 G28 G91 Z0.
N200 G28 X0. Y0.
N210 M30
(DRILL1)
(T1 D=0.25 CR=0. TAPER=118DEG - ZMIN=-0.8651 - DRILL)
N10 G90 G54 G64 G50 G17 G40 G80 G94 G91.1 G49
N20 G20
N30 G28 G91 Z0.
N40 G90
What the heck is G64, G94 and G94.1?
I know G20 is IPM, but in Mach, once you program a G20, it stays that way until you change it. I have been running my machine for nearly 4 years, an I have NEVER used G20. NOT EVER.
My drilling programs start out:
G54
S3500M3
T1M6
G90G0X1.0Y.5Z1.G43H1M8
Z.1
G83G99X1.Y.5R.1Q.15F15.
X2.
X3.
X4.
Y1.5
X3.
X2.
X1.
G80M9
M5
M998
T2M6
S3500M3
G90G0X1.0Y.5Z1.G43H2M8
Z.1
And so on for the rest of the program.
I don't use line numbers because in long programs, line numbers take up take up way too much program space and I have run programs on my machine that are as large as 300,000 lines long.
You can buy GOOD PARTS or you can buy CHEAP PARTS, but you can't buy GOOD CHEAP PARTS.