586,103 active members*
3,667 visitors online*
Register for free
Login
Page 1 of 4 123
Results 1 to 20 of 64
  1. #1
    Join Date
    Apr 2007
    Posts
    52

    Thread milling problems and questions.

    Hello all I wrote my first g code program and it happens to be a thread milling one and I have a bit of trouble with it though. I called it up in Mazatrol as a sub program and when i tryed to run it, it says Soft Limit +Z error and the machine freezes? This is for a 1.25X11.5 NPT that is 1" deep. The tool has a diameter of 1.1024. Here is my program

    T31
    M06
    G90 G54 G00 X0 Y0 S1698 M3 T31
    G43 Z4.0 H02 M08 ( i didnt do the M08 because i was doing a dry run)
    Z-1.0
    G41 X0.6024 Y-0.0515 D52 ( heres where my problems may begin i dont know what a D52 does but it was in the book i was using to do this)
    G03 X0.5512 Y0 Z-0.9782 I0 J0.0515 F3
    Z-0.89125 I-.5512 J0
    X0.6024 Y-0.0515 Z-0.869515 I-0.0515 JO
    G40 G00 X0 Y0 M09
    G28 Z1.0 M05
    M30

    I took alot of this information of codes from a book but im not 100% sure of the purpose of all of them. Any help would be appreciated!!!!!

  2. #2
    Join Date
    Mar 2007
    Posts
    13
    d numbers are usually used for cutter compensation. you may want to check and see if you have anything set for d52 or if you need to set it for you diameter.
    Machinist77

  3. #3
    Join Date
    Apr 2007
    Posts
    52
    Ok thanks for the reply I'll check that out. I just got NCPlot and there is a problem in my 90 degree arc lead in. I must have done the math wrong somewhere. I'll check it out and post back thanks in advance!!!!!

  4. #4
    Join Date
    Jun 2006
    Posts
    478
    Try this:

    %
    O151
    (NO TOOL RADIUS COMPENSATION D1=0)
    N1T1M6
    G90G0G54G17G43H1X0.0000Y0.0000Z1.S1661M03
    G01Z-0.7179F196.8M08
    G91G01G41D1X0.1172Y-0.1172F4.7
    G03X0.1172Y0.1172Z0.0109I0.00000J0.11724F1.4
    G03X-0.2345Y0.2352Z0.0217I-0.23517J0.00000
    G03X-0.2358Y-0.2352Z0.0217I0.00000J-0.23584
    G03X0.2358Y-0.2365Z0.0217I0.23652J0.00000
    G03X0.2372Y0.2365Z0.0217I0.00000J0.23720
    G03X-0.1186Y0.1186Z0.0109I-0.1186J0.00000
    G01G40X-0.1186Y-0.1186F196.8
    G01Z1.0217
    X0.0000Y0.0000Z1.9685
    M30
    %


    This is programmed for Iscar thread mill no. MTSR1140J30 you'll find info for it the Iscar catalog. The cutting dia. is 1.14" and the prog uses cutter compensation so you can adj. as required. Use caution with this prog as it may not work with your perticular machine tools' control. Also notice that it is programmed incrementally after X, Y and Z are in position. It is also assumed that the hole is already in the part etc.
    A.J.L.

  5. #5
    Join Date
    Oct 2006
    Posts
    586
    Quote Originally Posted by magneto259 View Post
    Hello all I wrote my first g code program and it happens to be a thread milling one and I have a bit of trouble with it though. I called it up in Mazatrol as a sub program and when i tryed to run it, it says Soft Limit +Z error and the machine freezes? This is for a 1.25X11.5 NPT that is 1" deep. The tool has a diameter of 1.1024. Here is my program

    T31
    M06
    G90 G54 G00 X0 Y0 S1698 M3 T31
    G43 Z4.0 H02 M08 ( i didnt do the M08 because i was doing a dry run)
    Z-1.0
    G41 X0.6024 Y-0.0515 D52 ( heres where my problems may begin i dont know what a D52 does but it was in the book i was using to do this)
    G03 X0.5512 Y0 Z-0.9782 I0 J0.0515 F3
    Z-0.89125 I-.5512 J0
    X0.6024 Y-0.0515 Z-0.869515 I-0.0515 JO
    G40 G00 X0 Y0 M09
    G28 Z1.0 M05
    M30

    I took alot of this information of codes from a book but im not 100% sure of the purpose of all of them. Any help would be appreciated!!!!!
    well one thing your return is 4" above the part that may be something to look at,

    This is off a web site maybe it will help
    (THE START POINT FOR THE AMEC PROGRAM IS THE X, Y AND Z CENTER OF THE TOP OF THE HOLE.)
    (YOUR PROGRAM SHOULD CHANGE TO THE THREAD MILL TOOL AND MOVE IT INTO POSITION.)
    (INSERT THIS PROGRAM AT EACH LOCATION WHERE THE THREADMILL SEQUENCE IS DESIRED.)
    (THE AMEC PROGRAM WILL SWITCH THE MACHINE TO INCREMENTAL, MACHINE ONE THREAD,)
    (RETURN TO THE TOP/CENTER OF THE HOLE AND SWITCH THE MACHINE BACK TO ABSOLUTE.)

    (PROGRAM NAME: AMEC_TMNK1000-NPT_04182007_2242)
    (AMEC ACCUTHREAD 856 ITEM NUMBER: TMNK1000-NPT)
    (PROGRAM CREATOR VERSION 1.7.0)
    (THREAD TYPE: INTERNAL)
    (THREAD DIRECTION: RIGHT HANDED)
    (PIPE THREAD SIZE: 1-12 NPT)
    (MAJOR THREAD DIA.: 1.3050 INCH)
    (LENGTH OF THREAD: 0.6610 INCH)
    (TOOL DIAMETER: 0.6200)
    (THREADS PER INCH: 11.5 NUMBER OF FLUTES: 4)
    (MATERIAL: FREE MACHINING STEEL 110-150 BHN)
    (SPEED: 375 SFM FEED:0.0023 IN/TOOTH MAX RPM:10000)
    (NO. OF PASSES: 1)
    (PASS1:100 PERCENT )

    (INCREMENTAL PROGRAM)

    (1 PASS PROGRAM)
    S2310 M03
    M08
    G91 G01 Z-0.6719 F50.00
    G41 G01 X0.1712 Y0.1712 D1 F2.79
    G03 X-0.1712 Y0.1712 Z0.0109 I-0.1712 J0.0000 F11.16
    G03 X-0.3432 Y-0.3425 Z0.0218 I0.0000 J-0.3432
    G03 X0.3432 Y-0.3439 Z0.0218 I0.3439 J0.0000
    G03 X0.3445 Y0.3439 Z0.0218 I0.0000 J0.3445
    G03 X-0.3445 Y0.3452 Z0.0218 I-0.3452 J0.0000
    G03 X-0.1726 Y-0.1726 Z0.0109 I0.0000 J-0.1726 F22.31
    G40 G01 X0.1726 Y-0.1726 F50.00
    G00 Z0.5631
    G90
    individual who perceives a solution and is willing to take command. Very often, that individual is crazy.

  6. #6
    Join Date
    Apr 2007
    Posts
    52
    Cool thanks for the reply. I refigured my math and heres what i came up with
    T31
    M06
    G90 G54 G00 X0 Y0 S1698 M3 T31
    G43 Z4.0 H02 M08
    Z-1.0
    G41 X0.2756 Y-0.2756 D52
    G03 X0.5512 Y0 Z-0.9782 I0 J0.2756 F3
    Z-0.2756 I-0.5512 J0
    X0.2756 Y0.2756 Z-0.8695 I-0.2756 J0
    G40 G00 X0 Y0 M09
    G28 Z4.0 M05
    M30

    T31 picks up my thread mill and i have the tool finish 4 inches above the part so it dosen't hit the fixture as a starting point i will adjust accordingly.

    Please let me know what you think about this program. Any help is appreciated!!!

  7. #7
    Join Date
    Oct 2006
    Posts
    586
    Quote Originally Posted by magneto259 View Post
    Cool thanks for the reply. I refigured my math and heres what i came up with
    T31
    M06
    G90 G54 G00 X0 Y0 S1698 M3 T31
    G43 Z4.0 H02 M08
    Z-1.0
    G41 X0.2756 Y-0.2756 D52
    G03 X0.5512 Y0 Z-0.9782 I0 J0.2756 F3
    Z-0.2756 I-0.5512 J0
    X0.2756 Y0.2756 Z-0.8695 I-0.2756 J0
    G40 G00 X0 Y0 M09
    G28 Z4.0 M05
    M30

    T31 picks up my thread mill and i have the tool finish 4 inches above the part so it dosen't hit the fixture as a starting point i will adjust accordingly.

    Please let me know what you think about this program. Any help is appreciated!!!
    Well if your tool is 31 your D should be 31 as well, but it does not have to be just make sure you enter to diam. in D52 offset and i'm not sure of the rest it looks ok if it does not work try what i posted before read it cause i got it off off a site that programs there thread mills for you , just saves you time http://alliedmachine.com/Technical/ThreadMill/
    individual who perceives a solution and is willing to take command. Very often, that individual is crazy.

  8. #8
    Join Date
    Apr 2007
    Posts
    52
    Thanks for the post. Ok i'll change that D52 to D31 and give it a try. It looks good in NCPlot.

  9. #9
    Join Date
    Oct 2006
    Posts
    586
    Good deal lets know how it turns out
    individual who perceives a solution and is willing to take command. Very often, that individual is crazy.

  10. #10
    Join Date
    Oct 2006
    Posts
    586
    and yes i ran your program through my plot and it looked good
    individual who perceives a solution and is willing to take command. Very often, that individual is crazy.

  11. #11
    Join Date
    Mar 2007
    Posts
    13
    don't you need a G01 in there or am I missing something ?
    Machinist77

  12. #12
    Join Date
    Oct 2006
    Posts
    586
    Quote Originally Posted by machinist77 View Post
    don't you need a G01 in there or am I missing something ?
    Machinist77
    There is a G03 so it picks up feed as well.
    individual who perceives a solution and is willing to take command. Very often, that individual is crazy.

  13. #13
    Join Date
    Oct 2006
    Posts
    586
    Quote Originally Posted by machinist77 View Post
    don't you need a G01 in there or am I missing something ?
    Machinist77
    but i think you maybe right it may need a G01 on the G41 line not sure if it will effect it or not i dont think it will
    individual who perceives a solution and is willing to take command. Very often, that individual is crazy.

  14. #14
    Join Date
    Apr 2007
    Posts
    52
    I tried to run this program as a sub program inside of another program and when it gets to my sub it won't pick up my tool correctly. Im not sure if its my program or machine. The machine im trying to run this on is a Mazak FH-4000 with a 640M controller. Does anybody know the proper procedure for doing a tool change in g code? Is it machine specific or are there generic codes to use? Im going to tinker with the machine today to make sure the tool changer is working correctly. Any help would be appreciated. Thanks in advance.

  15. #15
    Join Date
    Oct 2006
    Posts
    586
    I'm not sure about Mazak, but are you getting an alarm?
    individual who perceives a solution and is willing to take command. Very often, that individual is crazy.

  16. #16
    Join Date
    Apr 2007
    Posts
    52
    Its a ATC sp/mag proximity malfunction. I didn't catch the acutal alarm number.

  17. #17
    Join Date
    Oct 2006
    Posts
    586
    Quote Originally Posted by magneto259 View Post
    Its a ATC sp/mag proximity malfunction. I didn't catch the acutal alarm number.
    and your running the same program as you posted?
    individual who perceives a solution and is willing to take command. Very often, that individual is crazy.

  18. #18
    Join Date
    Oct 2006
    Posts
    586
    can you post the program again with the tool before your sub program
    individual who perceives a solution and is willing to take command. Very often, that individual is crazy.

  19. #19
    Join Date
    Apr 2007
    Posts
    52
    I checked with the other gentleman I work with and he got it sorted out. It was a problem with the tool changer it self. For some reason it was wanting to put the current tool in a pocket that already had a tool, and when I tryied to fix it I didn't get everything back in the correct order so it could pickup another tool so it kept giving that alarm. I will try to run my program again later after production. Thanks for the replys.

  20. #20
    Join Date
    Apr 2007
    Posts
    52
    Well I tried running it and it will pick my tool up, start the spindle up, move to my work piece coordinates I chose in my Mazatrol program then it gives me a 105 soft limit +z alarm. In the mazak book it says "During NC operation the operator has attempted to input a parameter value greater than the upper limit of the z-axis parameter setings." In this machine the spindle moves in the Y and X axis and the pallet moves in Z. I can watch the machine go from the home zero position to the point where my program will begin and all the numbers are negative numbers but when it begins to make its Z-1 it says on the screen Z0.0302 and gives the error. I wonder if it matters what positioning I use absolute or incremental? Any help would be appreciated! Thanks in advance!

Page 1 of 4 123

Similar Threads

  1. Thread milling help!
    By asjad in forum CNC Machining Centers
    Replies: 5
    Last Post: 09-21-2008, 04:47 PM
  2. Thread milling
    By wjfiles in forum MetalWork Discussion
    Replies: 2
    Last Post: 01-08-2007, 11:13 PM
  3. Thread Milling 3/8-18 NPT
    By shawn in forum G-Code Programing
    Replies: 13
    Last Post: 08-26-2006, 02:24 PM
  4. Thread milling, can anyone help
    By jtrav in forum Uncategorised CAM Discussion
    Replies: 16
    Last Post: 03-06-2006, 09:25 PM
  5. Newb with thread milling questions using the helix(conversational)
    By metalbytch in forum MetalWork Discussion
    Replies: 4
    Last Post: 12-02-2005, 12:30 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
  •