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