Local coordinate system setting
The G52.1 function allows a new (local) coordinate system to be established which corresponds to a translation of the current workpiece coordinate system (of G54 to G59, or G54.1 P1 to P300) according to the setting of parameter S27 (Offset amounts from the main spindle to the ram spindle). With the local coordinate system established, axis motion commands are all executed with respect to that system of coordinates. The ram spindle can be used for machining in two programming types which differ from each other only in that, as for the direction of workpiece axis, the preparatory positioning and the movement in the offset mode are to be programmed with axis names Z and W, respectively, or vice versa. Use the G52.2 function to cancel the local coordinate system established by G52.1. Whether or not the G52.1 coordinate system is cancelled by resetting, depends upon the setting of the following parameter: F34 bit 0: Cancellation of the G52.1 coordinate system by resetting 0: Invalid (G52.1 is not cancelled), 1: Valid.
G52 is one-shot (group 00) — it is valid only in the block where it is entered.
G52.1XYZ (or XYW) ...... The shifting amounts concerned on the three designated axes are in- cluded in the axis movement to be executed next. G52.1XYZ: W for preparatory positioning and Z for movement in the mode G52.1XYW: Z for preparatory positioning and W for movement in the mode G52.2 ............................. The shifting amounts concerned on the three designated axes are can- celled in the axis movement to be executed next.
- Note 1: Giving a G52.1 command without the required axis addresses will result in an alarm
- (807 ILLEGAL FORMAT).
- Note 2: Do not give a G52.1 command in the mode of three-dimensional coordinate conver-
- sion; otherwise an alarm will be caused (943 CONVERTING IN 3-D COORDINATES).
- Note 3: The ram spindle cannot be applied to synchronous tapping. Giving a synchronous
- tapping command in the G52.1 mode will result in an alarm.
- G52 can be used in place of G92 command. However, the distance through which
Mazak PROGRAMMING MANUAL for EIA/ISO PROGRAM, manual H747PB0030E, section 14-7 Selection of Local Coordinate System: G52, p. 3-11, 14-13, 14-14. Reference and explanation only — not a reproduction of the manual.