Re: [CAD_CAM_EDM_DRO] High Speed Machining Look ahead EMC
Posted by
Jon Elson
on 2003-05-03 14:46:52 UTC
Leslie M. Watts wrote:
stage, and is supposed
to have a horizon of 200 blocks of G-code, although the complexity of
the blocks
may cause the horizon to become a little shorter under some conditions.
What it does
is reduce the feedrate in advance of a move where a sharp change in
direction is
required, so that it can make the move without exceeding the
acceleration of the machine.
EMC cannot produce precisely sharp corners when the blend mode (G64) is
on. It begins
interpolating in the next move when the current move reaches the
deceleration point.
If you use G61 (exact stop) then it will come to a full stop on each
move before starting
the next one.
or G03) move?
It really shouldn't stutter even on a string of G01 moves, though. I
don't see that on my
servo system. If the moves are insanely short, however, like .0001"
then it may have
so many blocks to process before a decent move that the progress through
the blocks
is slower than the mechanical movement. That is essentially bad G-code
produced by
the CAM package. I have a freebie engraving package that makes rounder
letters like
that, and you have to tune the step resolution to make it perform properly.
and fits circular
arcs to them where possible, reducing an arbitrary number of G01 moves
to a single arc
move. As long as n points lie on a circle within a settable tolerance,
then if the next point
also lies on that circle, just keep moving the endpoint of the arc move
to that point.
This would be a really neat program to have for this kind of cleanup.
(Sorry you couldn't make NAMES, but there's always next year! Hope your
recovery
is going well.)
Jon
>Does EMC have look ahead? Well, it's supposed to. It has a cubicThe program is supposed to reduce feedrates in the trajectory planning
>interpolator which should require a 4 position look ahead. Paul
>Corner and I had a look at the source code and I can't really say
>I know exactly what it is doing. There are many different ways to
>interpolate and it may be optimized for relatively low speeds.
>
>
stage, and is supposed
to have a horizon of 200 blocks of G-code, although the complexity of
the blocks
may cause the horizon to become a little shorter under some conditions.
What it does
is reduce the feedrate in advance of a move where a sharp change in
direction is
required, so that it can make the move without exceeding the
acceleration of the machine.
EMC cannot produce precisely sharp corners when the blend mode (G64) is
on. It begins
interpolating in the next move when the current move reaches the
deceleration point.
If you use G61 (exact stop) then it will come to a full stop on each
move before starting
the next one.
>These smooth corners are a string of G01 moves, not a circular arc (G02
>This I think is a trajectory planning issue, not a servo loop one.
>Note that EMC does circular motion G2/G3 commands totally smoothly
>at any speed. Trajectory planning can be causal however; since the
>machine code is known it can be done independently of servo calcs,
>and perhaps is.
>
>For the time being I will watch the machine sometimes stutter around smooth
>corners sounding like a machine gun even though it could be perfectly
>smooth. The machine can do it. It probably puts unnecessary
>wear on some of the components though.
>
>
or G03) move?
It really shouldn't stutter even on a string of G01 moves, though. I
don't see that on my
servo system. If the moves are insanely short, however, like .0001"
then it may have
so many blocks to process before a decent move that the progress through
the blocks
is slower than the mechanical movement. That is essentially bad G-code
produced by
the CAM package. I have a freebie engraving package that makes rounder
letters like
that, and you have to tune the step resolution to make it perform properly.
>Although accused sometimes of writing c code I am mostly a math guyWell, how about writing a C program that accepts strings of G01 moves
>and could easily generate some equations for what I have mentioned.
>It's not complicated. I'm sure others on the list could do this as well.
>I do need to know what's going on in the interpolator source code though.
>
>
and fits circular
arcs to them where possible, reducing an arbitrary number of G01 moves
to a single arc
move. As long as n points lie on a circle within a settable tolerance,
then if the next point
also lies on that circle, just keep moving the endpoint of the arc move
to that point.
This would be a really neat program to have for this kind of cleanup.
(Sorry you couldn't make NAMES, but there's always next year! Hope your
recovery
is going well.)
Jon
Discussion Thread
byron@w...
2003-05-02 23:24:33 UTC
High Speed Machining Look ahead EMC
Leslie M. Watts
2003-05-03 06:06:06 UTC
RE: [CAD_CAM_EDM_DRO] High Speed Machining Look ahead EMC
Fred Smith
2003-05-03 14:04:03 UTC
Re: High Speed Machining Look ahead EMC
Jon Elson
2003-05-03 14:46:52 UTC
Re: [CAD_CAM_EDM_DRO] High Speed Machining Look ahead EMC
Keith Rumley
2003-05-03 22:09:48 UTC
Re: [CAD_CAM_EDM_DRO] High Speed Machining Look ahead EMC
Bob Simon
2003-05-05 08:02:59 UTC
Re: [CAD_CAM_EDM_DRO] Re: High Speed Machining Look ahead EMC
Jon Elson
2003-05-05 09:24:08 UTC
Re: [CAD_CAM_EDM_DRO] Re: High Speed Machining Look ahead EMC
Chris L
2003-05-05 10:23:31 UTC
Re: [CAD_CAM_EDM_DRO] Re: High Speed Machining Look ahead EMC
Fred Smith
2003-05-05 18:35:57 UTC
Re: High Speed Machining Look ahead EMC
Les Watts
2003-05-06 07:35:25 UTC
Re: [CAD_CAM_EDM_DRO] High Speed Machining Look ahead EMC
IMService
2003-05-06 14:35:33 UTC
Re: Re: High Speed Machining Look ahead EMC
Les Watts
2003-05-06 16:12:31 UTC
Re: [CAD_CAM_EDM_DRO] Re: Re: High Speed Machining Look ahead EMC
Raymond Heckert
2003-05-06 17:38:46 UTC
Re: [CAD_CAM_EDM_DRO] Re: High Speed Machining Look ahead EMC