Haas Mill G52 Set Work Coordinate System

Haas G Codes Mill Reference

G52 Set Work Coordinate System (Group 00 or 12)

The G52 command works differently depending on the value of setting 33. Setting 33 selects the Fanuc, Haas, or Yasnac style of coordinates. If Yasnac is selected, G52 is a group 12 G-code. G52 works the same as G54, G55, etc. All of the G52 values will not be set to zero (0) when powered on, reset is pressed, at the end of the program, or by an M30. When using a G92 (Set Work Coordinate Systems Shift Value), in Yasnac format, the X, Y, Z, A, and B values are subtracted from the current work position, and automatically entered into the G52 work offset.

If Fanuc is selected, G52 is a group 00 G-code. This is a global work coordinate shift. The values entered into the G52 line of the work offset page are added to all work offsets. All of the G52 values in the work offset page will be set to zero (0) when powered on, reset is pressed, changing modes, at the end of the program, by an M30, G92 or a G52 X0 Y0 Z0 A0 B0. When using a G92 (Set Work Coordinate Systems Shift Value), in Fanuc format, the current position in the current work coordinate system is shifted by the values of G92 (X, Y, Z, A, and B). The values of the G92 work offset are the difference between the current work offset and the shifted amount commanded by G92.
If Haas is selected, G52 is a group 00 G-code. This is a global work coordinate shift. The values entered into the G52 line of the work offset page are added to all work offsets. All of the G52 values will be set to zero (0) by a G92. When using a G92 (Set Work Coordinate Systems Shift Value), in Haas format, the current position in the current work coordinate system is shifted by the values of G92 (X, Y, Z, A, and B). The values of the G92 work offset are the difference between the current work offset and the shifted amount commanded by G92 (Set Work Coordinate Systems Shift Value).


G52 Set Work Coordinate System