RE: [CAD_CAM_EDM_DRO] Thoughts on Gcode interpreters and CNC controls....
Posted by
Kevin P. Martin
on 2000-09-08 07:27:01 UTC
The problem with saying that a system does 2 (or 5 or 50...) lines of lookahead,
is that this is essentially meaningless, unless you also state what the
lookahead accomplishes. In some sense almost *any* PC-based controller does
"lookahead" merely by the fact that it does block reads of its input file. But
that really can't be considered to be a useful form of lookahead.
One of the things that can be usefully done during lookahead is toolpath offset
calculation. I gather that this is the feature that Ahha has (had?) problems
with, although I am not certain why they seem like simple enough calculations.
As someone mentioned, if your controller has problems with this, you can
preprocess your G-code to give the tool centerline path instead of the cutting
path, and run the controller without the offset calculation.
The other thing that can be usefully done during lookahead is the elimination of
the decelerate/dead stop/accelerate between each move. If (and only if) the end
of one move and the start of the next have a common tangent (in 3-D) it is not
necessary to stop, or even to slow down, between the moves. In order to
implement this, however, the controller must lookahead not a specific number of
lines, but a specific distance of overall motion. If it has a limit on the
lookahead lines, it must assume that a dead stop is required at the lookahead
horizon, and possibly start decelerating several lines before that point to make
sure that the (assumed) dead stop is possible.
As someone alluded to, another thing lookahead can do is buffer up lower-level
commands to some form of programmable pulse generator.
-Kevin Martin
is that this is essentially meaningless, unless you also state what the
lookahead accomplishes. In some sense almost *any* PC-based controller does
"lookahead" merely by the fact that it does block reads of its input file. But
that really can't be considered to be a useful form of lookahead.
One of the things that can be usefully done during lookahead is toolpath offset
calculation. I gather that this is the feature that Ahha has (had?) problems
with, although I am not certain why they seem like simple enough calculations.
As someone mentioned, if your controller has problems with this, you can
preprocess your G-code to give the tool centerline path instead of the cutting
path, and run the controller without the offset calculation.
The other thing that can be usefully done during lookahead is the elimination of
the decelerate/dead stop/accelerate between each move. If (and only if) the end
of one move and the start of the next have a common tangent (in 3-D) it is not
necessary to stop, or even to slow down, between the moves. In order to
implement this, however, the controller must lookahead not a specific number of
lines, but a specific distance of overall motion. If it has a limit on the
lookahead lines, it must assume that a dead stop is required at the lookahead
horizon, and possibly start decelerating several lines before that point to make
sure that the (assumed) dead stop is possible.
As someone alluded to, another thing lookahead can do is buffer up lower-level
commands to some form of programmable pulse generator.
-Kevin Martin
Discussion Thread
Matt Shaver
2000-09-07 18:49:32 UTC
Re: [CAD_CAM_EDM_DRO] Thoughts on Gcode interpreters and CNC controls....
dougrasmussen@c...
2000-09-07 19:25:41 UTC
Re: Thoughts on Gcode interpreters and CNC controls....
ptengin@a...
2000-09-07 20:18:13 UTC
Re: [CAD_CAM_EDM_DRO] Thoughts on Gcode interpreters and CNC controls....
Hugh Currin
2000-09-07 20:44:59 UTC
Re: Thoughts on Gcode interpreters and CNC controls....
JanRwl@A...
2000-09-07 20:49:53 UTC
Re: [CAD_CAM_EDM_DRO] Thoughts on Gcode interpreters and CNC controls....
Kevin P. Martin
2000-09-08 07:27:01 UTC
RE: [CAD_CAM_EDM_DRO] Thoughts on Gcode interpreters and CNC controls....