开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

CAM Generated code problem


Michael Abbott
 

Well I'm finally up to getting my CAD/CAM software working and just
using the example code built in I generated the G-Code to test Mach2
with.

I've run into a problem though with the G-Code It's generated and it
basically boils down to the following set of instructions:

G1 X15.346 Y0.471 F1
X15.448 Y0.571
Y0.368
X15.549 Y0.468
Y0.471
G3 X15.549 Y0.471 R-0.102

If I understand what it's trying to do is cut an arc that really
goes nowhere and is just decending into the part. I've tried
various decent strategies built into the software such as angular,
helical and linear and all of them help to a certain extent but
eventually the code eventually attempts to do basically the same
thing in the code snip above.

The CAD program is solidcam and the CAM is solidcam.

So the question is, what program is not working correctly.


Michael Abbott
 

I guess I should have said what the problems is, Mach2 is erroring
out saying the current point and the arc end point is the same.

Mike

--- In mach1mach2cnc@..., "Michael Abbott"
<abbottm@h...> wrote:
Well I'm finally up to getting my CAD/CAM software working and
just
using the example code built in I generated the G-Code to test
Mach2
with.

I've run into a problem though with the G-Code It's generated and
it
basically boils down to the following set of instructions:

G1 X15.346 Y0.471 F1
X15.448 Y0.571
Y0.368
X15.549 Y0.468
Y0.471
G3 X15.549 Y0.471 R-0.102

If I understand what it's trying to do is cut an arc that really
goes nowhere and is just decending into the part. I've tried
various decent strategies built into the software such as angular,
helical and linear and all of them help to a certain extent but
eventually the code eventually attempts to do basically the same
thing in the code snip above.

The CAD program is solidcam and the CAM is solidcam.

So the question is, what program is not working correctly.


Art
 

Hi:

Mach2, like many programs does not allow a R arc which is a complete
circle. Some program do allow this, some don't. There shoudl bea setting in
you CAM program to turn on IJ mode arc's instead. Try finding that setting
and all shoudl be well. R-0Arcs are often problematic due to the differetn
ways some programs interpret them, IJ's tend to be more standard.

Thanks,
Art
www.artofcnc.ca

----- Original Message -----
From: "Michael Abbott" <abbottm@...>
To: <mach1mach2cnc@...>
Sent: Sunday, August 08, 2004 12:31 PM
Subject: [mach1mach2cnc] CAM Generated code problem


Well I'm finally up to getting my CAD/CAM software working and just
using the example code built in I generated the G-Code to test Mach2
with.

I've run into a problem though with the G-Code It's generated and it
basically boils down to the following set of instructions:

G1 X15.346 Y0.471 F1
X15.448 Y0.571
Y0.368


typhoon1295
 

This happens when the machine is trying to command a full arc or
circle.

What you need the code to do is output 2 1/2 circles.

I have an option in Edgecam to force that, not sure on your software.

Computer is seeing your end point = current position and
saying "WAIT!"

We both know you want a full circle, machine does not.

Change code to this.

G1 X15.346 Y0.471 F1
X15.448 Y0.571
Y0.368
X15.549 Y0.468
Y0.471
G3 X15.753 R-.102
G3 X15.549 Y0.471 R-0.102

I think that is right, I never use negative radius's myself.

Jeff

--- In mach1mach2cnc@..., "Michael Abbott" <abbottm@h...>
wrote:
I guess I should have said what the problems is, Mach2 is erroring
out saying the current point and the arc end point is the same.

Mike

--- In mach1mach2cnc@..., "Michael Abbott"
<abbottm@h...> wrote:
Well I'm finally up to getting my CAD/CAM software working and
just
using the example code built in I generated the G-Code to test
Mach2
with.

I've run into a problem though with the G-Code It's generated and
it
basically boils down to the following set of instructions:

G1 X15.346 Y0.471 F1
X15.448 Y0.571
Y0.368
X15.549 Y0.468
Y0.471
G3 X15.549 Y0.471 R-0.102

If I understand what it's trying to do is cut an arc that really
goes nowhere and is just decending into the part. I've tried
various decent strategies built into the software such as
angular,
helical and linear and all of them help to a certain extent but
eventually the code eventually attempts to do basically the same
thing in the code snip above.

The CAD program is solidcam and the CAM is solidcam.

So the question is, what program is not working correctly.