PROGRAMMING
B–63844EN/02
14. COMPENSATION FUNCTION
279
A programmed figure can be magnified or reduced (scaling).
The dimensions specified with X_, Y_, and Z_ can each be scaled up or
down with the same or different rates of magnification.
The magnification rate can be specified in the program.
Unless specified in the program, the magnification rate specified in the
parameter is applied.
Y
X
P
4
P
4
’
P
1
P
1
’
P
3
’
P
2
’
P
2
P
3
P
0
P
0
:Scaling center
0
Fig. 14.7 (a) Scaling(P
1
P
2
P
3
P
4
³P
1’
P
2’
P
3’
P
4’
)
G51X_Y_Z_P_ ; Scaling start
Scaling is effective.
(Scaling mode)
Format Meaning of command
X_Y_Z _ : Absolute command for
center coordinate value
of scaling
P_ : Scaling magnification
G50 ; Scaling cancel
SCALING UP OR DOWN ALONG ALL AXES
AT THE SAME RATE OF MAGNIFICATION
G51_X_Y_Z_I_J_K_;Scaling start
X_Y_Z_ Absolute command for
center coordinate value
of scaling
I_J_K_ Scaling magnification for
X axis Y axis and Z axis
respectively
G50 Scaling cancel
Format Meaning of command
Scaling is effective.
(Scaling mode)
Scaling up or down along each axes at a different
rate of magnification (mirror image)
WARNING
Specify G51 in a separate block. After the figure is enlarged
or reduced, specify G50 to cancel the scaling mode.
14.7
SCALING
(G50, G51)
Format