GENERIC HEIDENHAIN 3 AXIS POST
MP 9.0 For mastercam V 9.0 mill level 3 SP1
I vant the post to write the codes different. when I make a helix ramp the postprocessor write the codes in steps.
3 L Z+50 R F MAX M
4 L X+20 Y+0 R F MAX M03
5 L Z+10 R F MAX M8
6 L Z+0 R F60 M
7 CC X0. Y0.
8 CP IPA+360 Z-5 DR+ R F140 M
9 CC X0. Y0.
10 CP IPA+360 Z-10 DR+ R F M
11 CC X0. Y0.
12 CP IPA+360 Z-15 DR+ R F M
13 CC X0. Y0.
14 CP IPA+360 DR+ R F M
15 L Z+50 R F MAX M
I want the post to write the codes like this.
3 L Z+50 R F MAX M
4 L X+20 Y+0 R F MAX M03
5 L Z+10 R F MAX M8
6 L Z+0 R F60 M
7 CC X0. Y0.
8 CP IPA+1080 Z-15 DR+ R F140 M
9 CC X0. Y0.
10 CP IPA+360 DR+ R F M
11 L Z+50 R F MAX M
If I can get the name ? of the z depth variable (Z-15) in helix ramp and the variable for z step in this case 5 mm I think i can fix it like this.
#Circularinterpolation pcir
sweep = (z depth/step)*360
if z = z depth variable, n, strcc, xc, yc, e
if z = z depth variable, n, strc, sweep, z, *sgcode, pcc, pfr, pspdl
Please can somone help me??