587,747 active members*
2,840 visitors online*
Register for free
Login
Results 1 to 18 of 18
  1. #1
    Join Date
    Dec 2008
    Posts
    441

    Red face How to program thread milling?

    Hello.

    I have now recieved a threadmill from Iscar but i don`t actually know how i use it.

    From the reseller i get a code like this.....

    G90 G0 G54 G43 G17 H1X0 Y0 Z10 S1320
    G0 Z-25
    G01 G91 G41 D1X 4.75 Y-4.75 Z0 F41
    G03 X4.75 Y4.75 R4.75 Z0.25
    G03 X0 Y0 I-9.5 J0 Z2.0
    G03 X-4.75 Y4.75 R4.75 Z0.25
    G01 G40 X-4.75 Y-4.75 Z0
    G90 G0 X0 Y0 Z0
    M30
    %

    Can someone explain these codes for me? i know several, but not all.
    And what code do i need to change if i want to mill a bigger diameter, more/less pitch, and so on.....

    I don`t understand this text actually...
    Look at side C119 http://www.rinos06.ru/doc/ISCAR_rezb_frez.pdf

    I run a fadal machine..


    Greetings from Robert.
    My second homebuilt cnc machine cnczone.com/forums/norwegian_club_house/123977-ombygget_cnc_-_gecko_540_a.html

  2. #2
    Join Date
    Jul 2005
    Posts
    12177
    Thread milling is just the same as interpolation with a Z movement included; helical interpolation.

    The code you show is for doing an internal thread.

    The first line sets the tool on center 10mm above the work. The work zero has to be at the center of the part.
    G90 G0 G54 G43 G17 H1X0 Y0 Z10 S1320

    This line moves the tool down 25mm for the start of the thread. It will be cutting a righthand thread using G03 (climb milling) so the tool has to 'screw' itself out of the hole.
    G0 Z-25

    This line changes to incremental and starts tool compensation with a move that only takes the tool halfway to the thread diameter.
    G01 G91 G41 D1X 4.75 Y-4.75 Z0 F41

    This line does an incremental arc to bring the tool into the cutting position. Notice Z moves up slightly because now the tool is starting the thread. The reason the tool arcs into the cut is to make the entry gradual.
    G03 X4.75 Y4.75 R4.75 Z0.25

    This line does a full circle to complete the thread. The Z movement is the pitch of the thread.
    G03 X0 Y0 I-9.5 J0 Z2.0

    This line does another arc to move away from the thread.
    G03 X-4.75 Y4.75 R4.75 Z0.25

    This line cancels tool compensation.
    G01 G40 X-4.75 Y-4.75 Z0

    This line takes the tool back to center and lifts it to Z0 in absolute coordinates.
    G90 G0 X0 Y0 Z0

    For different diameters the X and Y moves would be larger or smaller and the R in the arc would change to match them. Also the I value would change to match.

    For different pitches the Z moves would change.
    An open mind is a virtue...so long as all the common sense has not leaked out.

  3. #3
    Join Date
    Dec 2008
    Posts
    441
    Hello agian, and thanks for the explanation.

    On the fadal isn`t the G43 like others (radius compensation into a line..), on the fadal is it "G43 Tool Length Compensation Positive" What is that mean?, and is it a code on the fadal to radius comensation into a line?


    Thanx.


    Robert.
    My second homebuilt cnc machine cnczone.com/forums/norwegian_club_house/123977-ombygget_cnc_-_gecko_540_a.html

  4. #4
    Join Date
    Feb 2006
    Posts
    1792
    G43/G44 are for setting Z0 at a desired height with a desired tool. This is needed because every tool may have different lengths. Hence the name: length compensation.

    G41/G42 are for invoking radius compensation. The program is written as if the radius of the tool is zero. Since the actual tool will have some radius, and every tool will have different radii, radius compensation is needed. You just need to specify different radius values in the offset table, and call G41/G42 with appropriate offset number (e.g., G41 D10). All the calculations are done by the control.

  5. #5
    Join Date
    Dec 2008
    Posts
    441
    I mill threads with a program like this...

    G0 Z-10
    G1 F300
    G1 X-10
    G3 X10 Y0 R10 Z-9.5
    G3 X-10 Y0 R10 Z-9
    G0 X0 Y0
    G0 Z10
    (End Program)

    But i know i can use a easyer method. with using I and J.....
    But how do i program it that way, and what are I and J

    I=X ?
    J=Y ?

    I and J is if i want to move the from my fixture offset?

    Can someone explain a little bit how this work?


    Greetings from Robert.
    My second homebuilt cnc machine cnczone.com/forums/norwegian_club_house/123977-ombygget_cnc_-_gecko_540_a.html

  6. #6
    Join Date
    Sep 2010
    Posts
    1230
    Quote Originally Posted by Vegabond View Post
    I mill threads with a program like this...

    G0 Z-10
    G1 F300
    G1 X-10
    G3 X10 Y0 R10 Z-9.5
    G3 X-10 Y0 R10 Z-9
    G0 X0 Y0
    G0 Z10
    (End Program)

    But i know i can use a easyer method. with using I and J.....
    But how do i program it that way, and what are I and J

    I=X ?
    J=Y ?

    I and J is if i want to move the from my fixture offset?

    Can someone explain a little bit how this work?


    Greetings from Robert.
    I and J are code addresses used in conjunction with G02/G03 (circular interpolation addresses) in the X Y plane, describing the location of the arc center being programmed. In most controls, I and J are incremental values relating to the arc center relative to the start coordinate of the arc. In some controls, I and J indicate the absolute value of the arc center coordinates. I relates to the X axis and J to the Y axis.

    Given the I and J values, that are effectively two sides of a triangle constructed between the arc start and center, the control software can calculate the radius of the arc (the hypotenuse of the triangle). Error checking can be performed to determine if the programmed end point is on the theoretically correct arc based on the center location described by the I and J values. In contrast, when using the R address in circular interpolation, the end point can be incorrect (within reason) without and error being generated. In this case, the control calculates the arc center based on the arc start, end coordinates and the R value programmed. Accordingly, incorrect geometry can be programmed without being aware of it. Full circles (360 degrees) can't be programmed using the R address.

    Regards,

    Bill

  7. #7
    Join Date
    Jul 2010
    Posts
    104
    With all due respect to salesmen who try to push their "thread milling software" onto machinists, they really have little clue as to what works consistently and reliably. The salesman's job is to sell tools, not to tell you how to produce a quality thread nor to tell you how to make your tooling hold up the best.

    Thread milling is best done from the top down using conventional milling, not from the bottom up using climb milling. All too often there is insufficient clearance for coolant or chip evacuation and the tool is subject to a massive amount of tool pressure. Mr. Iscar doesn't care. He can sell more inserts that way.

    Try to follow the example below. Depending on your control, you can likely macro the toolpath very easily, or simply cut and paste for multiple holes:

    O0001(1"-8 THREADMILL)
    T1M6
    G0G90G54X0.Y0.S2400M3
    G43H1Z1.
    M8
    X2.5Y2.5 (POSITION CENTER OF HOLE)
    Z.1 (CLEARANCE PLANE)
    G1Z0.F100. (FEED TO FACE)
    G91G42X.5D1F24. (ACTIVATE INCREMENTAL MODE AND RH COMP)
    G2I-.5Z-.125 (HELICAL CUT CLOCKWISE, .125 PITCH)
    I-.5Z-.125
    I-.5Z-.125
    I-.5Z-.125
    I-.5Z-.125
    I-.5Z-.125
    I-.5Z-.125
    I-.5Z-.125 (FINAL HELICAL CUT .875 DEEP)
    G1G40X-.5 (ESCAPE)
    G0G90Z1. (ABSOLUTE MODE, RETURN ABOVE PART)

    From this point, you could continue on to another hole or end your program or whatever you wish. It is so simple to program thread milling this way, not to mention accurate and quick.

    Good luck!

  8. #8
    Join Date
    Sep 2010
    Posts
    1230
    Quote Originally Posted by ad64075 View Post
    With all due respect to salesmen who try to push their "thread milling software" onto machinists, they really have little clue as to what works consistently and reliably. The salesman's job is to sell tools, not to tell you how to produce a quality thread nor to tell you how to make your tooling hold up the best.

    Thread milling is best done from the top down using conventional milling, not from the bottom up using climb milling. All too often there is insufficient clearance for coolant or chip evacuation and the tool is subject to a massive amount of tool pressure. Mr. Iscar doesn't care. He can sell more inserts that way.

    Try to follow the example below. Depending on your control, you can likely macro the toolpath very easily, or simply cut and paste for multiple holes:

    O0001(1"-8 THREADMILL)
    T1M6
    G0G90G54X0.Y0.S2400M3
    G43H1Z1.
    M8
    X2.5Y2.5 (POSITION CENTER OF HOLE)
    Z.1 (CLEARANCE PLANE)
    G1Z0.F100. (FEED TO FACE)
    G91G42X.5D1F24. (ACTIVATE INCREMENTAL MODE AND RH COMP)
    G2I-.5Z-.125 (HELICAL CUT CLOCKWISE, .125 PITCH)
    I-.5Z-.125
    I-.5Z-.125
    I-.5Z-.125
    I-.5Z-.125
    I-.5Z-.125
    I-.5Z-.125
    I-.5Z-.125 (FINAL HELICAL CUT .875 DEEP)
    G1G40X-.5 (ESCAPE)
    G0G90Z1. (ABSOLUTE MODE, RETURN ABOVE PART)

    From this point, you could continue on to another hole or end your program or whatever you wish. It is so simple to program thread milling this way, not to mention accurate and quick.

    Good luck!
    Let me first qualify my comments by stating that I'm not a salesman, nor do I have a vested interest in any tooling company.

    Although there are limited situations where threading from the top is more acceptable, but generally speaking I don't agree that this is the best method. Whether, the cutting tool being used is a multi-toothed thread hob or a single toothed insert, when starting from above the hole, effectively all of the machining will be done with one tip, the leading tip in the case of the multi-toothed tool.

    In the example given, this single point would have done the same amount of work threading the single hole, as a mult-toothed tool would have done machining eight holes. Threading from the top, using conventional milling, will take eight times longer than a multi-toothed tool starting at the bottom of the hole, and four times as long if a roughing and finishing cut is made using the multi-toothed cutter.

    More tool wear and poorer surface finish will be experienced employing conventional milling.

    Regards,

    Bill

  9. #9
    Join Date
    Jul 2005
    Posts
    12177
    Quote Originally Posted by angelw View Post
    ......Whether, the cutting tool being used is a multi-toothed thread hob or a single toothed insert, when starting from above the hole, effectively all of the machining will be done with one tip, the leading tip in the case of the multi-toothed tool......

    .......More tool wear and poorer surface finish will be experienced employing conventional milling.

    Regards,

    Bill
    In as nice a manner as possible I disagree.

    It is possible to use a multi-tooth cutter for an internal thread by conventional milling simply by starting the cut part way down the hole. Of course to do this you do need to do a "tangential entry" so the cutter enters the work gently.

    And in my experience conventional milling gives a better surface finish than climb milling both with single point tools and multi-point tools. I had actually started a thread on this topic but not received much feedback.

    http://www.cnczone.com/forums/haas_m...ventional.html
    An open mind is a virtue...so long as all the common sense has not leaked out.

  10. #10
    Join Date
    Sep 2010
    Posts
    1230
    Quote Originally Posted by Geof View Post
    In as nice a manner as possible I disagree.

    It is possible to use a multi-tooth cutter for an internal thread by conventional milling simply by starting the cut part way down the hole. Of course to do this you do need to do a "tangential entry" so the cutter enters the work gently.

    And in my experience conventional milling gives a better surface finish than climb milling both with single point tools and multi-point tools. I had actually started a thread on this topic but not received much feedback.
    It was my comprehension from your penultimate post that you advocated milling from the top to avoid the "massive amount of tool pressure" the tool will be subjected to due to starting down the hole and milling out. In fact, by starting part way down a hole, and using climb milling, will result in more pressure than climb milling starting at the same point.

    When conventional milling, the chip thickness starts at zero and progressively increases until the cutter exits the cut. This action requires that sufficient pressure must be reached before the cutting edge penetrates the work piece surface. Until that happens, the cutting insert slides across the work surface. This rubbing effect provoked by the chip beginning at minimum thickness results in:
    1. greater power consumption,
    2. increased heat,
    3. an uneven cut surface
    4. increased work hardening in susceptible material
    5. and reduced tool life of up to 50% compared to climb milling.
    There have been many documented tests carried out to establish these facts and have been well accepted for many years.

    Regards,

    Bill

  11. #11
    Join Date
    Feb 2006
    Posts
    1792
    Any example where conventional is better than climb milling?

  12. #12
    Join Date
    Dec 2008
    Posts
    3135
    Bugger those 2, they can compare their nut sizes between themselves

    Here is a link to a few wizards from SECO -- the threading wizard links are down the RH side

  13. #13
    Join Date
    Dec 2008
    Posts
    441
    Hello Superman!

    Do you know, does iscar have that program?


    Greetings from Robert.
    My second homebuilt cnc machine cnczone.com/forums/norwegian_club_house/123977-ombygget_cnc_-_gecko_540_a.html

  14. #14
    Join Date
    Dec 2008
    Posts
    3135
    Never seen it on ISCAR, & never suggested by their reps

    The usage would be the same, no matter who supplied the application
    just cut & paste into the NC program

  15. #15
    Join Date
    Feb 2006
    Posts
    338
    Quote Originally Posted by Superman View Post
    Bugger those 2, they can compare their nut sizes between themselves

    Here is a link to a few wizards from SECO -- the threading wizard links are down the RH side
    lol (flame2)
    That said I generally prefer climb cutting. There are reasons to conventional cut and/or single point from the top of the hole, but that would not be my general practice.

    Thread milling really isn't that complex. In fact it is almost identical to milling a drilled hole out bigger but with a z move also.

    Start at the center. A line move so you can activate cutter comp. Arc into the final diameter to minimize cutter shock and flex. A circle at the final diameter. Then lead out like you led into it.

    if R = the radius of the final cut, and the center is at X0 Y0.
    G0 X0 Y0
    G1 Z(full hole depth)
    G1 G41 X(1/2R) Y(1/2R)
    G3 X(R) Y0 J(1/2R)
    G3 I(-R)
    G3 X(1/2R) Y(1/2R) I(-1/2R)
    G1 G40 X0 Y0
    G0 Z(clear)

    Add your Z's to that and you have a thread mill path. I use 1 pitch in Z for the full arc, and 1/8 pitch for the lead in and out arcs.

    G0 X0 Y0
    G1 Z(full hole depth)
    G1 G41 X(1/2R) Y(1/2R)
    G3 X(R) Y0 Z(up 1/8P) J(1/2R)
    G3 I(-R) Z(up 1P)
    G3 X(1/2R) Y(1/2R) Z(up 1/8P) I(-1/2R)
    G1 G40 X0 Y0
    G0 Z(clear)

  16. #16
    Join Date
    Dec 2008
    Posts
    441

    Red face

    Thank you, im going to try that. Easy explaining, i like that


    Greetings from Robert.




    Quote Originally Posted by dpuch View Post
    lol (flame2)
    That said I generally prefer climb cutting. There are reasons to conventional cut and/or single point from the top of the hole, but that would not be my general practice.

    Thread milling really isn't that complex. In fact it is almost identical to milling a drilled hole out bigger but with a z move also.

    Start at the center. A line move so you can activate cutter comp. Arc into the final diameter to minimize cutter shock and flex. A circle at the final diameter. Then lead out like you led into it.

    if R = the radius of the final cut, and the center is at X0 Y0.
    G0 X0 Y0
    G1 Z(full hole depth)
    G1 G41 X(1/2R) Y(1/2R)
    G3 X(R) Y0 J(1/2R)
    G3 I(-R)
    G3 X(1/2R) Y(1/2R) I(-1/2R)
    G1 G40 X0 Y0
    G0 Z(clear)

    Add your Z's to that and you have a thread mill path. I use 1 pitch in Z for the full arc, and 1/8 pitch for the lead in and out arcs.

    G0 X0 Y0
    G1 Z(full hole depth)
    G1 G41 X(1/2R) Y(1/2R)
    G3 X(R) Y0 Z(up 1/8P) J(1/2R)
    G3 I(-R) Z(up 1P)
    G3 X(1/2R) Y(1/2R) Z(up 1/8P) I(-1/2R)
    G1 G40 X0 Y0
    G0 Z(clear)
    My second homebuilt cnc machine cnczone.com/forums/norwegian_club_house/123977-ombygget_cnc_-_gecko_540_a.html

  17. #17
    Join Date
    Apr 2008
    Posts
    29
    I have thread milled thousands of parts mostly out of 316 st. st., Inconel and Hastaloy anywhere from 3/8" UN to 3/4" NPT thread depths yp to 4 diameters. I always start at the bottom of the hole, climb mill and I take two passes. the thread will not vary and the tools will not break. Depending on what manufactor I am milling with is the software that I use, just because it will give me the best tool for the application I am using at the time. They all will give you the software for free when you buy their tools.

  18. #18
    Join Date
    May 2011
    Posts
    27
    Quote Originally Posted by Daleb View Post
    I have thread milled thousands of parts mostly out of 316 st. st., Inconel and Hastaloy anywhere from 3/8" UN to 3/4" NPT thread depths yp to 4 diameters. I always start at the bottom of the hole, climb mill and I take two passes. the thread will not vary and the tools will not break. Depending on what manufactor I am milling with is the software that I use, just because it will give me the best tool for the application I am using at the time. They all will give you the software for free when you buy their tools.
    I have also started at the bottom and climb milled with the same exotics for over 20 years. Works for me. I might add that I prefer solid carbide thread mills vs insert thread mills. (works much better)

Similar Threads

  1. Need help with thread milling program
    By Lukema in forum G-Code Programing
    Replies: 4
    Last Post: 10-18-2009, 05:10 PM
  2. Thread Milling - Cnc Program Developer - New Release
    By John Walker in forum News Announcements
    Replies: 0
    Last Post: 02-09-2009, 12:18 AM
  3. 1/4 NPT External thread program
    By JerryH in forum G-Code Programing
    Replies: 5
    Last Post: 08-28-2008, 01:37 PM
  4. need help on program 1/2-4 2 star thread
    By plast744 in forum Haas Lathes
    Replies: 1
    Last Post: 12-04-2007, 07:30 PM
  5. 2-1/2 - 8 NPT Thread Mill Program
    By wesleybridgepor in forum MetalWork Discussion
    Replies: 2
    Last Post: 11-30-2006, 11:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •