Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Sheldon Dingwall on July 22, 2009, 03:25:02 PM

Title: Unnecessary G40 and G42 codes in file
Post by: Sheldon Dingwall on July 22, 2009, 03:25:02 PM
I've been trying to track down random jerks in some files.  I noticed today on one file the cause was unnecessary G40 and G42 commands in the code.  I checked the tool path, fixed a broken line, re-posted and they are no longer there - which is good.  However there seem to be some random uses of G40 and G42 elsewhere.

Any ideas why?  What to look for?  How to remove other than find and delete?

Thanks.

PS: I'm using VectorCADCAM and using the iso post.
Title: Re: Unnecessary G40 and G42 codes in file
Post by: vmax549 on July 23, 2009, 10:36:01 AM
THe random use is not a random use. THe cam is seeing a break in the line AND appling a cancell comp G40 and a restart comp G42 at the line break which is what it is suppose to do.

AS you have seen IF you fix the line the problem goes away.

(;-) TP
Title: Re: Unnecessary G40 and G42 codes in file
Post by: Sheldon Dingwall on July 28, 2009, 05:47:51 PM
Not always. I'm finding G42 commands after every line that has a negative Z move and also sometimes where two arcs join (no evidence of a broken line here).
Title: Re: Unnecessary G40 and G42 codes in file
Post by: MarkC on July 28, 2009, 09:56:00 PM
Don't know anything about VectorCam, but is there a setting to "roll around corners"? That gave me fits in MasterCam, until I found about it

Mark