525,428 active members*
1,291 visitors online*
Register for free
Login
Results 1 to 7 of 7
  1. #1
    Junior Member
    Join Date
    Feb 2019
    Posts
    12

    Smile lathe live/driven angled tool macro program help

    Hi all
    this is my first post to this form (i joined yesterday) and i hope someone out there can help me with some macro programs.( i hope i posted in the right form)
    i only know a little about macro programs,i'm a g-code programmer.i searched the forms and found many macros,but they were all for milling machines or straight in machining....nothing going in on an angle in a lathe.i am machining a ....cone part!(nozzle tip)in the lathe and i need to put holes around the tip/cone
    on different angles/positions/hole diameters & different depths in the z-minus & x-minus directions(we do a lot of similar parts,macros will be the best).angle will be to the z axis.i will use one main program to turn the part and position for the macro with tool,spindle,coolant,start points ect already called up(radius comp either in the macro or call first?whats best?)i will then index my c axis and repeat for more holes,usually 1-3 holes per part.we have a nakamura sc 200 my machine with fanuc 21i-tb control.all of our programming is done in inches.i would like to have a drill peck cycle,helix mill cycle,and a circle mill cycle that can take multi-passes around arcing in and out of each cut.i would like to use rad comp on helix and circle.these are also small parts with hole sizes ranging from around .04"-.150",so there is not much room between the drill dia,e-mill dia & finish hole size.(example .047 dia. hole being drilled with .043 dia drill and milled to size with a .0394 dia e-mill.....just an example of one hole).i would like to have as many of the arguments met as possible that i will list in my g65 call.any help would be great...a complete working macro would be better.i am also new to these angled live holders,i am still waiting for my holders to come,but need to get the programming done ahead of time,so i'm ready to test when they get here.straight machining no problem but angled......gives me a problem.

    1)lathe angle drill macro:G65 P8800 A25. H.160 Q.043 F5.0
    (ALL ARGUMENTS ARE POSITIVE NUMBERS)
    (A=ANGLE IN Z PLANE)
    (F=FEED)
    (H=HYPOTENUSE LENGTH...DEPTH)
    (Q=PECK AMOUNT)
    (*****or a complete retract with reducing peck amounts would be better or both******)

    2)lathe angle circle mill macro:G65P8801D.0394X.1504Y0.K.160R.0472F2.5C.001A 25.S100.
    (ALL ARGUMENTS ARE POSITIVE NUMBERS)
    (D=DIA. OF E-MILL)
    (X=X START POINT..CENTER)
    (Y=Y START POINT..CENTER)
    (K=HYPOTENUSE LENGTH..LENGTH/DEPTH OF HOLE AT ANGLE)
    (R=DIA. OF HOLE)
    (F=FEED OF CIRCLE MILL)
    (C=DEPTH OF CUT or # OF PASSES OF CIRCLE MILL)
    (A=ANGLE = Z PLANE)
    (S=FEED INTO HOLE TO START CIRCLE MILL)(some holes are bigger than the e-mill but some are smaller)

    3)lathe angle helix mill macro:G65P8802K.0394X.1504Y0.Z.075E.0472F2.5Q.001A 25.W.08
    (ALL ARGUMENTS ARE POSITIVE NUMBERS)
    (K=DIA. OF E-MILL)
    (X=X START POINT..CENTER)
    (Y=Y START POINT..CENTER)
    (Z=HYPOTENUSE LENGTH..LENGTH/DEPTH OF HOLE AT ANGLE)
    (E=DIA. OF HOLE)
    (F=FEED )
    (Q=DEPTH OF CUT IN Z)
    (A=ANGLE = Z PLANE)

    Thanks...i will look for other threads on this form that i can help out with,like tooling,maintenance ect.these are more my areas.

    CNC-Lathe-Junkie

  2. #2
    Member
    Join Date
    Jun 2015
    Posts
    3143

    Re: lathe live/driven angled tool macro program help

    hy do you still need help with this ?
    Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg

  3. #3
    Junior Member
    Join Date
    Feb 2019
    Posts
    12

    Re: lathe live/driven angled tool macro program help

    hi,yes & no!
    i got a new post for mastercam and that did it for me long hand.but i would still like to have macro programs for these features if possible.its much faster to use macros than long hand with shorter programs.right now i am not working on these parts but soon they will be back again.my time is limited for posting to this site...but i will respond as soon as i can.thanks for any help you can give me....i have yet to receive any help with this matter. as a note i am not very good at macro programming.... i do all g code programs.

  4. #4
    Member
    Join Date
    Jun 2015
    Posts
    3143

    Re: lathe live/driven angled tool macro program help

    its much faster to use macros than long hand with shorter programs
    hy, as i can see, you found a solution it shouldn't be longer if you are using a cam; what's the holdback ?

    i used programs from cams, but mostly i write g-code, and sometimes i mix them ... file tranfer using network conection

    about your parts, i was thinking of generating the code for a hole that is among X axis, then rotate the coordinates at the intersection point between cone surface and real hole axis

    something like that

    is the cnc capable of cutting an arch that is tilted ? can you post the code from mastercam ? also, part drawing and tool dimension
    Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg

  5. #5
    Junior Member
    Join Date
    Feb 2019
    Posts
    12

    Re: lathe live/driven angled tool macro program help

    hi the machine cant change the plane....so it cant do a arc for the holes only straight lines...a lot of them to make a circle...if the machine could change planes then this would be easy.no hold up now as i can do with cad-cam but more work to draw,tool-paths and post.with macros i just change a little info and i'm on my way.this is one bored hole using cad-cam.(sub-program )i can't post part as my company wont allow.

    %
    :3857(3857)
    (BORE-CIRCLE MILLING SUB-PROGRAM #1)
    (MACRO #501=0:OFFSET PROGRAM)
    (TPM022-1,REV:4,OP#20)
    (NEW NAK)
    (AUG 2019)
    (NOT A)
    (PROVEN PROGRAM)

    G01 G98 X.2589 Z.05 F100.
    X-.0158 Z-.2446 F25.
    X-.0086 Z-.2462 F5.0
    X-.0108 Y.0022 Z-.2457
    X-.0154 Z-.2447
    X-.0176 Y0. Z-.2442
    X-.0154 Y-.0022 Z-.2447
    X-.0108 Z-.2457
    X-.0086 Y0. Z-.2462
    X-.0158 Z-.2446
    X-.0139 Z-.245
    X-.0068 Z-.2467
    X-.0091 Y.0027 Z-.2461
    X-.0145 Y.0034 Z-.2449
    X-.0188 Y.0015 Z-.2439
    Y-.0015
    X-.0145 Y-.0034 Z-.2449
    X-.0091 Y-.0027 Z-.2461
    X-.0068 Y0. Z-.2467
    X-.0139 Z-.245
    X-.013 Z-.2452
    X-.0059 Z-.2469
    X-.0086 Y.0031 Z-.2463
    X-.0147 Y.0039 Z-.2448
    X-.0196 Y.0017 Z-.2437
    Y-.0017
    X-.0147 Y-.0039 Z-.2448
    X-.0086 Y-.0031 Z-.2463
    X-.0059 Y0. Z-.2469
    X-.0086 Y.0031 Z-.2463
    X-.0147 Y.0039 Z-.2448
    X-.0196 Y.0017 Z-.2437
    Y-.0017
    X-.0147 Y-.0039 Z-.2448 F2.5
    X-.0086 Y-.0031 Z-.2463
    X-.0059 Y0. Z-.2469
    X-.013 Z-.2452
    X.2617 Z.0493 F25.
    M99
    %

  6. #6
    Member
    Join Date
    Jun 2015
    Posts
    3143

    Re: lathe live/driven angled tool macro program help

    i can't post part as my company wont allow
    ok, but i need at least a simple sketch with cone dimension, hole dimension, and hole axis position + tool geometry, so to develop from there

    shared code i use only as an example, not a baseline
    Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg

  7. #7
    Junior Member
    Join Date
    Feb 2019
    Posts
    12

    Re: lathe live/driven angled tool macro program help

    i took a screen shot...but how do i post it here

    - - - Updated - - -

    got it sorry

Similar Threads

  1. lathe live/driven angled tool macro program help
    By cnc-lathe-junkie in forum TURNING
    Replies: 16
    Last Post: 03-13-2020, 11:17 AM
  2. lathe live/driven angled tool macro program help
    By cnc-lathe-junkie in forum Turning Machines
    Replies: 0
    Last Post: 02-08-2019, 09:07 PM
  3. Alarm #2417 on live tool program
    By emsee in forum Okuma
    Replies: 4
    Last Post: 08-23-2011, 04:18 PM
  4. X in live tool program
    By emsee in forum Okuma
    Replies: 2
    Last Post: 08-18-2011, 06:03 AM
  5. Replies: 2
    Last Post: 12-10-2008, 07:39 PM

Tags for this Thread

Posting Permissions

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