12. PROGRAM COMMAND
B-64693EN-1/01
- 2154 -
-
Scaling along each axis at the same rate of magnification
Set bit 6 (XSC) of parameter No. 5400 to 0.
If the scaling magnification P is not specified, the magnification set in parameter No. 5411 is used.
Decimal point input is not accepted as the magnification P. If decimal point input is made, alarm PS0007,
“ILLEGAL USE OF DECIMAL POINT”, will occur.
A negative value cannot be specified as the magnification P. If a negative value is specified, alarm
PS0006, “ILLEGAL USE OF MINUS SIGN”, will occur.
The allowable magnification range is from 0.00001 to 9999.99999.
-
Scaling of each axis, programmable mirror image (negative magnification)
Each axis can be scaled by different magnifications. Also when a negative magnification is specified, a
mirror image is applied. The axis subject to the mirror image is the one that contains the scaling center.
Set a bit 6 (XSC) of parameter No. 5400 to 1 to validate each axis scaling (mirror image).
Using I, J, and K, specify the scaling magnifications for the basic 3 axes (X to Z axes). Use parameter No.
1022 to specify which axes to use as the basic 3 axes.
For those of the X to Z axes for which I, J, and K are not specified and for axes other than the basic 3
axes, the magnification set with parameter No. 5421 is used.
A value other than 0 must be set to parameter No. 5421.
Decimal point programming can not be used to specify the rate of magnification (I, J, K).
Magnification can be set within the range
±
0.00001
±
9999.99999.
CAUTION
Specifying the following commands at the same time causes them to be
executed in the order indicated below:
<1> Programmable mirror image (G51.1)
<2> Scaling (G51) (including a mirror image with a negative magnification)
<3> Mirror image due to the external switch of the CNC or the settings of the
CNC
In this case, the programmable mirror image is effective to the scaling center
and magnification as well.
To specify G51.1 and G51 at the same time, specify them in this order; to cancel
them, specify them in the reverse order.
Y axis
X axis
b
a
d
a/b
: Scaling magnification of X axis
c/d
: Scaling magnification of Y axis
0
: Scaling center
Programmed figure
Scaled figure
0
c
Fig. 12.13 (b) Scaling of each axis