上海维宏电子科技股份有限公司
Weihong Electronic Technology Co., Ltd.
Specialized, Concentrated, Focused 15
G51 is scaling on, while G50 is scaling off (Default: G50).
The range of scaling: 0.000001-99.999999
For example:
I0.666666 denotes that X is scaled down to 0.666666 times of the original dimension, while J3
denotes that Y is scaled up to 3 times of the original dimension.
When using the scaling command, pay attention to the followings:
Don’t set the scale factor as 0, or else an alarm will appear.
Scaling function has no effect on compensation value.
When executing cutter radius compensation C, the scaling instruction (G51)
can’t be specified.
A canned cycle cannot be executed together with the scaling of Z-axis. If so, an alarm will appear.
These G codes cannot be used in the execution process of scaling function: G28, G29, G53, and
G92, or else the outcome may contain an error.
If there is G51 in the program without G50, the scaling function will be automatically closed at the
end of the program.
Programming Example:
N01 G00 X50.0 Y50.0
’rapid positioning
N02 G51 X100.0 Y80.0 P0.5
’specifying X100, Y80 as the scaling center, and 0.5 as scale value
N03 G01 Y150.0 F1000
’linear cutting with feed rate as 1000mm/min
N04 X175.0 Y50.0
N05 G90 X50.0
N06 G50
’scaling function off
N07 G00 X0.0 Y0.0
’returning rapidly
N08 M30
’end of the program
(50,150)
N07
(50,50)
N05
N03
N04
Real path-after scaling
Program path-before scaling
(175,50)
Y
X
N01
Fig. 4-7 Sketch Map of Scaling Function
G68/G69 Coordinate System Rotation Function
Command Format:
G68 X_Y_Z_R_
G69
Summary of Contents for Ncstudio
Page 74: ...RMB 21 00 ...