Originally Posted by
orizaba
G 52 resets the the part zero, I think. If wrong somebody let me know.
It does not reset it but adds to it.
For example you could have the G54 work zero set at X-8. Y-6. Z0.
Program:
G54 G00 X0. Y0. Z0.
And the machine moves to -8. on the X axis, -6. on the Y axis and stays at Z zero.
Now program:
G54 G52 X2. Y4. Z-8.
G00 X0. Y0. Z0.
And the machine will move to -6. on X, -2. on Y and -8. on Z.
As GAR says the machine adds the G52 values to any other work coordinate values.
You use G52 X0. Y0. Z0. to set the G52 values back to zero.
Very usefule for subroutines and fixtures holding multiple parts. A reference point on the fixture is located at G54 and all the parts have G52 coordinates calibrated from there.
Not really needed if all you have is two vises; just make one vise G54 and the other vise G55.
An open mind is a virtue...so long as all the common sense has not leaked out.