Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: ndiggity on March 04, 2016, 05:52:33 PM

Title: Problem using G41 (tool diameter offset) and G68 (Rotated Coordinate System)
Post by: ndiggity on March 04, 2016, 05:52:33 PM
Hello All,  I'm hoping someone more knowledgeable than I can help with how to implement both G41 and G68 at the same time in Mach3.  If the "Local System Rotated" is set to 0 in the MDI screen then the G41 (and accompanying lead in) work fine (pic attached).  Without the G41 command in the gcode the "Local System Rotated" works fine.  But when I use both the tool path gets goofy (pic attached).  I've tried outputting as both line segs and arcs but neither way works (gcode attached). 

I need to use G68 because I have to optically align to fiducial marks embedded in a substrate.  I want to use G41 because the size of that substrate changes and I don't want to have to make a new gcode file in our CAM software for each one but rather want to just use the scale feature in Mach3.  I would really appreciate any help.  Thank you very much :)

Title: Re: Problem using G41 (tool diameter offset) and G68 (Rotated Coordinate System)
Post by: ger21 on March 04, 2016, 06:15:06 PM
Did you actually try running it? Sometimes what you see may not be what you get.

If it does run like it looks, then it's probably just another in a long list of G1/G42 bugs.

Title: Re: Problem using G41 (tool diameter offset) and G68 (Rotated Coordinate System)
Post by: ndiggity on March 04, 2016, 06:40:14 PM
Thank you for replying.  Yep, it runs just like it looks.

Due to the need for optical alignment and path scaling I really need to do both G68 and G41 or something else that will get me there... Can you suggest any alternative methods or software?
Title: Re: Problem using G41 (tool diameter offset) and G68 (Rotated Coordinate System)
Post by: ndiggity on March 04, 2016, 08:50:01 PM
Does anyone know if this will work in Mach4?
Title: Re: Problem using G41 (tool diameter offset) and G68 (Rotated Coordinate System)
Post by: ndiggity on March 19, 2016, 11:14:17 PM
Just an update for anyone who finds this topic and has the same problem...  Mach3 works perfectly with tool offset, coordinate rotatation, and scaling at the same time if every line has an X, Y, and Z coordinate.  The omitted coordinates were causing a problem with the tool offset with a rotated coordinate system as illustrated above.  Now I just have to figure out how to make my post processor require X, Y, and Z coordinates on each line.