I am still stumped with my G90 code. I have written G91 code for so long it is hard for me to grasp this thing.
My machine is set up to touch a switch to set the tool length and the
retract to a point that is then reset to x0y0z0. I am carving rifle
stocks using a 4th axis. The starting point of all my programs for
the stocks once centered x and y over the workpiece is z-1.541"
My cam program writes the gcode for a ball nose cutter for the center
of the radius. Using the switch to set the tool is from the tip of
the ball. I use a .750" diam. cutter for all my carving and inletting
for all the round actions and what part of the barrel channel I can
get with it.
My question is: How do I write my programs? Do I have to redraw
everything with the xyz beginning cordinates and then change the
geometry fo using the tip of the tool, or can I do a Gz offset, which
I have tried and it didn't work, but that may have been because I
didn't get it right too.
It would be so easy for me to fix this in G91 by adding a G01z-.375
at the beginning and a .375 at the end. I can't use the G91 because
the cam program introduces serious step losses when in the 91 mode.
Mach2 controller (I have posted this there also)