Hello Guest it is May 19, 2019, 03:00:37 AM

Author Topic: Unnecessary G40 and G42 codes in file  (Read 2317 times)

0 Members and 1 Guest are viewing this topic.

Unnecessary G40 and G42 codes in file
« 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.

vmax549

*
Re: Unnecessary G40 and G42 codes in file
« Reply #1 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
Re: Unnecessary G40 and G42 codes in file
« Reply #2 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).

Offline MarkC

*
  •  94 94
    • View Profile
Re: Unnecessary G40 and G42 codes in file
« Reply #3 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
Mark