13. Program Support Functions
13.20 Scaling; G50/G51
443
Detailed description
(1) Specifying the scaling axis, scaling center and its factor
Commanding G51 selects the scaling mode. The G51 command only specifies the scaling
axis, its center and factor, and does not move the axis.
Though the scaling mode is selected by the G51 command, the axis actually valid for scaling is
the axis where the scaling center has been specified.
(a) Scaling
center
•
Specify the scaling center in accordance with the then absolute/incremental mode
(G90/G91).
•
The scaling center must be specified also when the current position is defined as a
center.
•
As described above, the axis valid for scaling is only the axis whose center has been
specified.
(b) Scaling
factor
•
Use the address P or I, J, K to specify the scaling factor.
•
Minimum command unit : 0.000001
•
Command range: Either -99999999 to 99999999 (-99.999999 to 99.999999 times) or
-99.999999 to 99.999999 is valid, but the decimal point command is
valid only after the G51 command.
•
When the factor is not specified in the same block as G51, the factor set with the
parameter (#8072 SCALING P) is used.
•
When the address P and the address I, J, K are commanded in the same block, a
magnification specified by the address I, J, K is applied for the basic three axes. And a
magnification specified by the address P is applied for other axes.
•
If changed during the scaling mode, the value of this parameter is not made valid.
Scaling is performed with the setting value that was used when G51 was commanded.
•
When the factor is not specified in both the program and parameter, it is calculated as 1.
(c) A program error will occur in either of the following cases.
•
Scaling was commanded though there was no scaling specification. (Program error
(P350))
•
The upper limit of the factor specifying range was exceeded in the same block as G51.
(Program error (P 35))
(If the machining parameter scaling factor is used, the magnification is calculated as one
time in the following cases; -0.000001<magnification<0.000001, more than 99.999999,
or less than -99.999999.)
(2) Scaling
cancel
When G50 is commanded, scaling is canceled.