The G40 with a "D#" is obviously redundant code.  I don't know of clean way to eliminate it, except don't use a "lead out" from your profile (line)(offset-none) unless you really need one.  The only time I do a lead-out (line) is if I am interpolating a "bore", and need to send the tool back to center to make a 'Z' move for another pass.

Most machine controls will accept an arc lead-out (not giving you the redundant D#), accepting the G40 on the "Z" move.  The exception will be Bridgeport and Dynapath controls, which are extremely picky with cutter comp - on and off.

Mark Chambers

I would like for my code generators to not output the compensation offset number when canceling cutter comp.

GO1 G40 X1.1 (CORRECT)
GO1 G40 D10 X1.1 (INCORRECT)
How can I fix this?
Thanks,

Reply via email to