Ok, so I'm starting to get the hang of using tool compensation for milling, but iIm coming up with some strange issues, and I am completely lost.
Below is the program I've got written up, makes 2 parts, angle cut on the right side (from operator position), and puts 2 radii on the back side (as well as trimming to length between the radii). Also drills a .531 hole on the top left of the part.
Problem #1. for some reason the radius is...strange. I'm getting a slight angle leading in from the front followed by a partial radius, and a similar pattern on the back radius (as if my math was wrong on the entry or exit from the rad.)
Problem #2, and this isn't even remotely because of the compensation, but the holes' X location is off by .080. I could see this being so far off if the part was also .080 off in length, but it is within .003 of 16.607, as such, I'm confused.
Anyhow, here's the program. Keep in mind, I am self-tought, no schooling, and have been programming for only a little over a year. I welcome any criticism, but chances are, trolling won't phase me a lot.
%
O3534(13534 MBS)
(SUB P#O0034)
(T#18 H#18/0.5 EM)
(T#19 H#19/0.531 CARBIDE DRILL)
(X0.0 RIGHT SIDE OF THE PART)
(Y0.0 IS THE CENTER OF THE PART)
#502=[[#3001*0.001]/60]
#503=[#502-#501]
#3001=0
N1(60 DEG CUT)
G00G80G90
T18M6(EM)
S2000M3
G58X-1.5Y1.95M7
G04X1.5(COOLANT PAUSE)
G43Z1.0H18
M98P34
/G00G80G90
/Z1.0
/G59X-1.5Y1.95
/G43Z0.1
/M98P34
G00G80G91G28Z0.0M5
G90G49M9
N2(DRILL)
T19M6
G00G80G90
S1580M3
G58X-15.732Y0.5M8
G43Z1.0H19
G98G81Z-0.91R0.2F18.
/G59X-15.732Y0.5
M5
G00G80G91G28Z0.0M9
G90G49
G53X-6.0Y-0.25
T18M6
#501=[[#3001*0.001]/60]
M30
%
%
O0034
Z0.1
G1Z-0.375F40.
G41D68X-1.58Y1.52F15.
X0.Y0.65
G40X0.25Y0.88
G0Z0.3
X-1.5Y1.85
Z0.1
G1Z-0.8F40.
G41D68X-1.58Y1.52F15.
X0.Y0.65
G40X0.25Y0.88
G42D68X0.Y0.63F20.
X-1.58Y1.5
G40X-1.5Y1.85
G0Z0.5
X-15.977Y-1.85
Z0.1
G1Z-0.8F40.
G41D68X-16.227Y-1.5F20.
G2X-16.607Y-1.12R0.38
G1Y1.12
G2X-16.227Y1.5R0.38
G1G40X-15.987Y1.85
M99
%