1. G Function Description
1.2.22 G51/G50: SCALING
Command form:
X_ Y_ Z_
I_J_K_
P_
X, Y, Z: center coordinate value of scaling
I, J, K: scaling magnification for X axis Y axis and Z axis
respectively
P: scaling magnification for X axis Y axis and Z axis are the same
magnification
Description: G51 let the tool path magnify and reduce at our own
choose.
G50: scaling cancel.
Example:
Y
(100, 150) (150, 150)
N005
Program path-before scaling
N004
N006
Actual path-after scaling
(50, 70)
N003
(125, 90)
center of scaling
N002
(50, 50)
N009
N008
(200, 70)
N007
(200, 50)
X
Program description:
N001 G00 X50.0 Y50.0//positioning
N002 G51 X125.0 Y90.0 P0.5//decide center of scaling X125,Y90
scaling magnification value 0.5, do scaling to steps N003~N009
N003 G01 Y70.0 F1000//linear interpolation, feedrate 1000mm/min
56
    "