Machsupport Forum
G-Code, CAD, and CAM => G-Code, CAD, and CAM discussions => Topic started by: screwhead on February 02, 2010, 10:37:11 PM
-
I am not sure which lines in the attached example need to be removed in order to have the Z axis not go back "home" after completing G54 work offset.
I have three fixtures and I repeat the same code except for the work offset numbers, which I set up in Mach3.
Currently, when the Z axis is done doing its work with G54, it returns home and then proceeds to the next fixture.
In order to speed up my work, I would like the Z axis to keep on going until it's done with all three work offsets before returning "home".
thanks in advance.
tony
-
N198 G91 G28 Z0.
N199 G28 X0. Y0. A0.
(--- G55 Work Offset Was Added ---)
G55
%
O0000
It is the G91/G28 lines returning the tool home - G28 machine coordinates X,Y,Z zero's being machine home, you should make the tool safe before changing work offset, you could move absolute above the jobs rather than return to home.
-
thanks, Julian. I'll try it. In the past, speed was not an issue. But now, every( non essential) second counts.
tony