A taper thread milling Custom Macro

by Mitchell Callan of Fuller precision Inc.


I have written a macro that machines a taper thread with a single point thread milling cutter. This will help anyone that doesn't have a true pipe thread mill. Also, it forms a spiral motion, which is necessary for taper thread milling even if a true taper thread mill is used. It will cut any pitch or size of pipe threads


In main program:

  • G65 P9000 U0. W0. A.375 R5. E10. Z-.5 V18. F10.

Custom macro:

  • O9000 (PIPE THREADS)

  • (U IS X LOCATION)

  • (W IS Y LOCATION)

  • (A=STARTING RADIUS)

  • (R=NUMBER OF MOVES PER CIRCLE)

  • (Z=DEPTH)

  • (E=NUMBER OF PASSES [thickness / pitch])

  • (V=THREADS PER INCH)

  • (F=FEED)

  • #3=0.0

  • #10=360 / #18

  • #109=#10

  • #110=1 / #22

  • #111=0.0625 / #22

  • #3=#18

  • G00 X#21 Y#23

  • G01 Z#26 F#9

  • #19=#1 + #21

  • G01 X#19 Y#23 F#9

  • N2 #26=#26 + #110 / #109

  • #24=COS[ #3 ] * #1

  • #25=SIN[ #3 ] * #1

  • #24=#24 + #21

  • #25=#25 + #23

  • G01 X#24 Y#25 Z#26 F#9

  • #3=#3 + #18

  • #1=#1 + #111 / #109

  • IF [ #3 LE 360.00000 * #8 ] GOTO2

  • G01 X#21 Y#23 F10.

  • G00 Z1. M09

  • M99

614 views0 comments

Recent Posts

See All

Tapping on a turning center (without canned cycles)

Unless your Fanuc controlled turning center came with live tooling, it’s likely that you don’t have canned cycles (G80-G89) like those you find on machining centers. You might have G74 and G75, the mu

Can you speed up your tool change time?

Machining centers, of course, have automatic tool changing devices to automate the tool changing process. Current models boast very fast tool changing times and you may be quite satisfied with tool ch