What's new
What's new

G73 pattern repeat cycle question

8strings8rounds

Plastic
Joined
May 11, 2017
Quick question.
Can I use a G73 for milling on a lathe?
I'm cutting 12 spiral flutes fairly deep and need to make passes.. I'm no master programmer by any means and can usually get by writing things out the long way, but this is getting to be a ridiculously lengthy program..
Thanks

Sent from my VS990 using Tapatalk
 
I don't know about G73, but when I have multiple repetitive features
(4axis mill) I usually write a sub to move the rotary in G91 and switch back to G90 for the machining part and just loop to it however many times I need to.
 
Hello 8strings8rounds,
To expand on Booze Daily's suggestion, following is an example using Macro Statements to create a Loop for both the DOC and the Index for each Helix Start. The example is in mm.

Regards,

Bill

Code:
#1 = 100.0 (X Start Dia)
#2 = -3.0 (DOC - Radius Value)
#3 = 80.0 (X Final Depth Dia)
#4 = #1 (Working Copy of #1)
#5 = 8.0 (Tool Diameter)
#6 = 10.0 (Number of Starts)
#7 = 5.0 (X and Z Start Stand Off
#8 = 0.0 (C Axis Start Angle)

G00 X[#1 + #7 *2] Z[#5/2 + #7] C#8  (Initial Start Positioning)   

WHILE [#8 LE 360] DO1
  G00 C#8
  WHILE [#4 GT #3] DO2
    #4 = [#4 + #2*2]
    IF[#4 LT #3] TH #4=#3
    G98 G01 X#4 F1000.
    G01 Z-100.0 H120.0 F_ _  (Z and H Arguments Could also be Represented by Variables) 
    G01 X[#1 + #7 *2] F1000.
    G00 Z[#5/2 + #7]  H-120.0
  END2
  #8 = #8 + [360 / #6]
END1	 
Remainder of Program Starts Here
 
Awaiting the Kitten.

"When playing 12 flutes. Be sure to include the Oboe, otherwise french horn, won't be heard,"

The conductor will scream "palier desyncronization"

Apologize's to the O.P, Long standing internal joke. No offence on you.
 








 
Back
Top