Do you have the CAD program too? To help your CAM package with tangent arcs
to eliminate the unreachable corners.

The easier way would be to tell your CAM package to compensate for tool
diameter, it would create a tool path at the center of the tool, always
keeping the tool tangent to the feature shape you defined, staying out of
the corners you can't reach.
The CNC machine then is told the tool radius is zero. Cutter comp is
made/showing incrementally.

Point I am trying to make is, often code causes trouble with cutter comp if
you use what we call "radial comp", what is described above we call "center
comp".
Radial comp can be easier when programming manually, as you can use print
dimensions directly.
Center comp code is easier portable between machines for one, as you don't
get tripped up by different methods/types of error handling.

If you have a CAM package that can compensate for the tool diameter and
output a tool path along the center of the tool, I can only urge you to
start using it.

If your CAM package allows you to create arcs from 3 points you could
probably create arcs out of the many straights, picking the beginning and
end should be easy and pick the middle to create the arc.

If your CAM software really does not support this, maybe you can represent
the splines with blending arcs.

You could create 2 perpendicular lines through the center of the first and
the last segments, they should meet in the center of the arc they represent.
You should be able to create an arc from two points and the center. Enough
of those let's you represent a spline with few arcs instead of many lines.
Not sure what you cut, what tolerances you look at, since this is a little
"fudgy", this may or may not work for you.

I'd try to get the most out of my CAM before going this route.

On Aug 19, 2010 7:59 AM, "Viesturs Lācis" <viesturs.la...@gmail.com> wrote:

Hello, guys!

I have been running my waterjet cutting machine with EMC for a while
now (currently that is version 2.4.3.1) and I have gathered few
questions about the way, how EMC interprets the g-code.

The main issue is that sometimes I receive this error message:
"Arc move in concave corner cannot be reached by the tool without gouging"

It also indicates the number of the line in the g-code, which is near
the one, causing error. So I found that in the following piece of code
the G3 move was the problem:
G1 X+115.175 Y+245.013
G3 X+118.786 Y+245.339 I+1.484 J+3.720
G1 X+120.236 Y+246.394

I have G41/G42 tool diameter compensation commands included as well as
there is M6 T1 command in the beginning of the file and in the tool
table I have saved the size of the water jet as a tool number one, so
that EMC compensates the kerf size. The confusion is caused by the
fact that saved diameter is 1.1 mm and in the code above we can see
that radius of the G3 move is larger than half of the tool's diameter,
which has to be offsetted.


I just received also this error message:
"Straight feed in concave corner cannot be reached by the tool without
gouging"
It indicated that the error is around line 24, so here is the part of the
code:
G1 X+167.031 Y+46.741
G1 X+167.643 Y+46.983
G1 X+168.223 Y+47.330
G1 X+168.364 Y+47.433
G1 X+168.364 Y+23.726    <--line24
G1 X+147.289 Y+23.726
G1 X+147.289 Y+54.982

The code consists of very small G1 moves. Unfortunately the CAD
drawing consisted almost only of splines, which are not very welcome
by my CAM application, so it converted the splines in very small
straight segments. That is why that file consists of 16344 lines, so I
do not see an option of manual correction of the code.

Can anyone explain, what is that EMC does not like about the g-code
and what can I do to correct it?

Thank You in advance!

Viesturs

------------------------------------------------------------------------------
This SF.net email is sponsored by

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to