G52: Temporary Coordinate System
It is used to set the axes to the specified values. With this command, the shifted coordinate system shifts all workpiece zeros (G54 to G59.4). The shift values are not permanent and will be canceled when one of the G54 to G59.4 commands is given.
|
Format: |
G52 X_ Y_ Z_ A/B/C_ U/V/W_ |
X: The absolute coordinate to which the X axis is intended to be set
Y: The absolute coordinate to which the Y axis is intended to be set
Z: The absolute coordinate to which the Z axis is intended to be set
A/B/C: The absolute coordinate to which the A/B/C axis is intended to be set
U/V/W: The absolute coordinate to which the U/V/W axis is intended to be set
Example:
G00 G53 Z0. (Z AXIS REFERENCE)
M3 S1000 (SPINDLE CW ROTATION)
G90 G00 X150. Y50. (RAPID MOVEMENT TO X150 Y150 POINT)
G52 X100. Y100. (SHIFT THE COORDINATE SYSTEM)
G90 G00 Z10. (MOVE TO THE SAFE Z POSITION)
G01 Z-1. F500 (ENTER THE WORKPIECE AT F500)
Y550. F1000. (PERFORM CUTTING AT F1000 UNTIL Y550.)
X350. (PERFORM CUTTING AT F1000 UNTIL X350.)
Y100. (PERFORM CUTTING AT F1000 UNTIL Y100.)
X100. (PERFORM CUTTING AT F1000 UNTIL X100.)
G00 G53 Z0. (Z AXIS REFERENCE)
M5 (SPINDLE STOP)
