Depth of cut calculation (for G71 canned cycle)

 G0X17.34(ADJUST IF NECESSARY)Z1.

#110=#5001(ADDS CURRENT X-VALUE INTO MACRO)

#111=18.33(*LONGEST* DIAMETER TO MACHINE IN THE CANNED CYCLE CONTOUR)

#112=.065(MAX. DEPTH OF CUT)

#113=FUP[[#111-#110]/2/#112](CALCULATED NUMBER OF PASSES)

#114=[[#111-#110)]/2/#113+.0001](CALCULATED DEPTH OF CUT + .0001)

#115=[[ROUND[#114*10000]]/10000](ROUNDED DEPTH OF CUT TO BE USED IN FIRST LINE OF CANNED CYCLE)


G71U#115R.03

G71P.....


Comments

Popular posts from this blog

DN (Doosan) (S)MX error message: return B-axis

List of Macro Variables

Helical interpolation loop calculation