Hello Guest it is August 10, 2020, 06:45:04 PM

Author Topic: Problem using G41 (tool diameter offset) and G68 (Rotated Coordinate System)  (Read 1853 times)

0 Members and 1 Guest are viewing this topic.

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 :)

Offline ger21

*
  • *
  •  6,282 6,282
    • View Profile
    • The CNC Woodworker
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.

Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
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?
Does anyone know if this will work in Mach4?
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.