11
General Mach Discussion / need help with g code and cutter comp issue
« on: November 03, 2008, 01:27:00 PM »
i am trying to mill off a certain amount from the side of the part then adding a 2.5" radius arc into the side. my x0 and y0 is set at the bottom left corner of the part and the arc center is X-2.18 Y .66, i am removing .231 materail from x prior to cutting the arc. here is the code...
o1000
t1 m66 (1" end mill)
s600 M03
g00 g90 g55 x-2.0y-1.0
g43 h1 z3.0
g01 z0.0 f6.6
g01 x-1.0 g41 d1 f6.6
g1 x0.385 f6.6
y1.75
g00 x-3.0
y-.600
g1 x.077
y1.75
x-3.0
y-.6
x.1155
y1.75
x-3.0
y-.600
x.154
y1.75
x-3.0
y-.600
x.1925
y1.75
x-3.0
y-.600
x.231
y1.75
x-3.0
y-.600
x.231
y0.0
g03 x.231 y1.13 r2.5
g01 x-3.0 g40
g28 g91 z0 m05
g28 g91 y0 m09
m30
the arc is not cutting on the center of my part, for some reason its off on the Y.
thanks for the help
o1000
t1 m66 (1" end mill)
s600 M03
g00 g90 g55 x-2.0y-1.0
g43 h1 z3.0
g01 z0.0 f6.6
g01 x-1.0 g41 d1 f6.6
g1 x0.385 f6.6
y1.75
g00 x-3.0
y-.600
g1 x.077
y1.75
x-3.0
y-.6
x.1155
y1.75
x-3.0
y-.600
x.154
y1.75
x-3.0
y-.600
x.1925
y1.75
x-3.0
y-.600
x.231
y1.75
x-3.0
y-.600
x.231
y0.0
g03 x.231 y1.13 r2.5
g01 x-3.0 g40
g28 g91 z0 m05
g28 g91 y0 m09
m30
the arc is not cutting on the center of my part, for some reason its off on the Y.
thanks for the help