I'm trying to have the machine cut some custom spacer rings out of 1/4" micro plywood and getting the machine to cut the second circle is getting to be a challenge when writing it with the G code. I'm asking it to cut a .750 diameter circle out and then move to the outside of that circle and cut a 1.290 circle out. The part looks like a large washer in the end. I'm using a 1/8" diameter cutter and am using the cutter compensation to compensate for it, but for some reason I can't get the code to position and cut the second circle. They don't line up with each other and the two circles over lap each other. I could really use some help!!!
Here is a small sample of the code...
This is what I'm using right now, it works, but the second circle is a few thousands off from the first one and nothing adds up. To me " i " should be the same as the first circle, but that doesn't work at all so I messed with the numbers until it got close.
Thanks for the help! Dale P.
G20 G40 G49 G90 (Set up machine)
G0 X0 Y0 Z .100 (Zero out the axis)
M3 (Turn on the spindle)
G0 X .940 G42 D1 (Turn on cutter comp starting to the left along with the starting move for the cutter comp)
G1 Z -.100 (lower Z)
G1 X .750 Y0 i .375 j0 (Inner circle)
G0 Z .100 (Raise up Z)
G0 X .275 G41 D1 (Turn on cutter comp starting to the right along with the starting move for the cutter comp)
G1 Z -.100 (Lower Z)
G1 X .485 Y0 i .650 j0 (Outer circle) *** I know these numbers are wrong, but what I figured out to be correct don't work at all.
G0 Z .100 (Raise up Z)
M5 (Shut off Spindle)
G0 X0 Y0 (Re center each Axis)