Hey guys, new member here, trying to find a solution to my macro program (If its possible). Samsung SL-30 with the series 0i control. Boring out thin wall SS tubing, and I've already created a macro program to remove the chatter. Problem is between tool and part deflection I'm getting .001-.002" taper. Total size tolerance is +/- .0025", so often I'm cutting it close on tolerances. Here's the current program (the relevant portion). This program works great, awesome finish, but I'd really like to remove the taper if at all possible.
#100=9.6 (PART LENGTH)
#101=.005 (DISTANCE BEFORE SPEED CHANGE)
#103=650 (RPM 1)
#105=0 (COUNTER)
#106=750 (RPM 2)
G0 G28 U0
G0 G28 W0
G50 S1500
G0 G40 G96 G99 T0101 M4S#103
G0 X2.511
M8
G0 Z.25
G1 Z0 F.01
WHILE [#105LT#100] DO1
G99 G1 W-#101 F.001 S[#103]
#105=#105+#101
G99 G1 W-#101 F.001 S[#106]
#105=#105+#101
END1
G1 X 2.4
G0 Z.25