21
CS-Lab / Re: Rigid tapping with IP-A
« on: May 24, 2013, 06:10:16 PM »
Here is a code snippet, BTW.
I have different tool numbers, so Mach should stop. I have it set that way in the general settings.
N1980 (Operation: Drill, SPRING_HOLE, T12: Drill, 0.0938 in diameter, 0.28 in Deep)
N1990 S500 G00 Z0.1000
N2000 M09 (Coolant off)
N2010 M05
N2020 Z3.5000
N2030 (Drill, 0.0938 in diameter)
N2040 T12 M06 G43 H12
N2050 M08 (Flood coolant on)
N2060 S500 M03
N2070 G00 X-0.4675 Y-0.4661 Z0.1000
N2080 Z0.0197
N2090 G01 Z-0.070 F3.0
N2100 G00 Z0.1000
N2110 Z-0.0503
N2120 G01 Z-0.140
N2130 G00 Z0.0700
N2140 Z-0.1203
N2150 G01 Z-0.210
N2160 G00 Z0.0000
N2170 Z-0.1903
N2180 G01 Z-0.280
N2190 G00 Z0.1000
N2510 (Operation: Tap, TAP_1, T11: Rigid tap, 0.167 in x 32 TPI, 0.5 in Deep)
N2520 S150 G00 Z0.1000
N2530 M09 (Coolant off)
N2540 M05
N2545 Z3.5000
N2550 (Rigid tap, 0.167 in x 32 TPI)
N2610 G00 X-0.2027 Y-0.7467 Z0.1000
N2615 Z0.0394
M98 P10000
Z.5
This is the code at the end of the program.
O10000 ( S/R Tap 32TPI .5" Deep )
M49
F 200 ( Arbitrary Feed Rate USE F200 )
G91 ( Switch to Incremental Mode )
G1 Z-0.5 A16 ( Plunge 1/2", Rotate Spindle 16 Times CW )
G1 Z 0.5 A-16 ( Retract 1/2", Rotate Spindle 16 Times CCW )
G0 Z 0.1 ( Raise Spindle 0.1" )
G90
M48
M99 ( End Subroutine )
%
I have different tool numbers, so Mach should stop. I have it set that way in the general settings.
N1980 (Operation: Drill, SPRING_HOLE, T12: Drill, 0.0938 in diameter, 0.28 in Deep)
N1990 S500 G00 Z0.1000
N2000 M09 (Coolant off)
N2010 M05
N2020 Z3.5000
N2030 (Drill, 0.0938 in diameter)
N2040 T12 M06 G43 H12
N2050 M08 (Flood coolant on)
N2060 S500 M03
N2070 G00 X-0.4675 Y-0.4661 Z0.1000
N2080 Z0.0197
N2090 G01 Z-0.070 F3.0
N2100 G00 Z0.1000
N2110 Z-0.0503
N2120 G01 Z-0.140
N2130 G00 Z0.0700
N2140 Z-0.1203
N2150 G01 Z-0.210
N2160 G00 Z0.0000
N2170 Z-0.1903
N2180 G01 Z-0.280
N2190 G00 Z0.1000
N2510 (Operation: Tap, TAP_1, T11: Rigid tap, 0.167 in x 32 TPI, 0.5 in Deep)
N2520 S150 G00 Z0.1000
N2530 M09 (Coolant off)
N2540 M05
N2545 Z3.5000
N2550 (Rigid tap, 0.167 in x 32 TPI)
N2610 G00 X-0.2027 Y-0.7467 Z0.1000
N2615 Z0.0394
M98 P10000
Z.5
This is the code at the end of the program.
O10000 ( S/R Tap 32TPI .5" Deep )
M49
F 200 ( Arbitrary Feed Rate USE F200 )
G91 ( Switch to Incremental Mode )
G1 Z-0.5 A16 ( Plunge 1/2", Rotate Spindle 16 Times CW )
G1 Z 0.5 A-16 ( Retract 1/2", Rotate Spindle 16 Times CCW )
G0 Z 0.1 ( Raise Spindle 0.1" )
G90
M48
M99 ( End Subroutine )
%