38
G50 and G51
Scaling
Format
G50
G51[X
x
][Y
y
][Z
z
][P
scale
]
Parameter
Function
Acceptable range
Effective range
x
Coordinate or movement distance (X axis)
Range 1
Maximum cutting range
y
Coordinate or movement distance (Y axis)
Range 1
Maximum cutting range
z
Coordinate or movement distance (Z axis)
Range 1
Maximum cutting range
scale
Scaling ratio
Range 2
0.00001—999.999
Description
G51 executes equal enlargement or reduction for each axis, referenced to the specified point. It is used for such application as the
creation of reduced-scale models. Because this instruction affects the entire program, G51is normally specified immediately after the
start of the program.
G50 cancels G51.
When enlargement or reduction has been specified with G51, it remains in effect until canceled with G50 or until another program is
executed.
The reference point for enlargement or reduction is specified with the addresses X, Y, and Z. When not specified, the current tool
position is used as the reference point.
scale is a numerical value specifying the ratio. Its effective range is a ratio of 0.00001 to a ratio of 999.999. A specified ratio less than
0.00001 is treated as a ratio of 0.00001, and a specified ratio larger than 999.999 is similarly taken to be a ratio of 999.999. When
P
scale
is not specified, the settings made on the PNC-3200 are used.
As an example, specifying a ratio of 0.5 produces the results shown below. If the length is a ratio of 0.5, the volume ratio becomes 0.125.
Ratio
Length
Volume
Ratio
Length
Volume
Reference point
Reference point
1.00
1.00
1.00
0.50
0.50
0.125