0.5nptprogram

2
(TURN_TO) (X.8022) (X.84W.6062(or A1.78333)) T0101G97S980 G0X.9355Z.05 G4U.5 G76P010015Q.003R.001 G76X.7479Z.5337P.0438Q.013F.07142R-.0182 G0X.9355 The first G76 isn't needed but is recommended. - G76 P Q R P010010 sets 3 things - first 2 digits is the amount of finish passes - 01 - second 2 digits is % of the lead or pullout exiting the thread- 00 00 = almost no angle at pullout and 99 = 9.9 leads away start out - third 2 digits are the angle of infeed - 10 0-99 are usable Q.002 sets the minimum cut amount during threading R.0005 sets the cut amount of the last pass The second G76 cuts the thread. -G76 X.1876 Z.3 P.0302 Q.01 F.05 (R-.002) FOR 1/4-20 X.1876 =Minor Dia. of thread Z.3 or (W) =The ending Z of the thread P.0302 =Height of thread in radius (Maj-Min)/2 Q.01 =Amount of the first cut. All the rest of the cuts are calculated. F.05 =Feed-rate 20 TPI 1/20=.05 R = R is optional for tapered threading. R is the amount of

Upload: rsaimahesh

Post on 08-Nov-2015

215 views

Category:

Documents


2 download

DESCRIPTION

1/2" NPT CNC Program

TRANSCRIPT

(TURN_TO)(X.8022)(X.84W.6062(or A1.78333))

T0101G97S980G0X.9355Z.05G4U.5G76P010015Q.003R.001G76X.7479Z.5337P.0438Q.013F.07142R-.0182G0X.9355

The first G76 isn't needed but is recommended.- G76 P Q R

P010010 sets 3 things- first 2 digits is the amount of finish passes - 01

- second 2 digits is % of the lead or pullout exiting the thread- 0000 = almost no angle at pullout and 99 = 9.9 leads away start out

- third 2 digits are the angle of infeed - 100-99 are usable

Q.002 sets the minimum cut amount during threading

R.0005 sets the cut amount of the last pass

The second G76 cuts the thread.-G76 X.1876 Z.3 P.0302 Q.01 F.05 (R-.002) FOR 1/4-20

X.1876 =Minor Dia. of thread

Z.3 or (W) =The ending Z of the thread

P.0302 =Height of thread in radius (Maj-Min)/2

Q.01 =Amount of the first cut. All the rest of the cuts are calculated.

F.05 =Feed-rate 20 TPI 1/20=.05

R = R is optional for tapered threading. R is the amount ofdifference in X from start to finish in Z. When cutting threadsmoving Z and X in a positive direction R is a negative value.

Here is the format we use for OD NPT threads. You can use Hu's info above. This example is for a 1" - 11 1/2 NPT.

T0900G97S1800M03(THREAD)G00G40X1.375Z.3T0909G76P020160M08G76X1.1219Z-.60R0.0231P570Q130F0.08696M24Z0.3G00G28U0Z1.0M05M01