Programmable Scale Factor Introduction
A scale factor can be programmed for all axes with SCALE/ASCALE. The path is enlarged or reduced by this factor in the axis specified. The currently set coordinate system is used as the reference for the scale change.
SCALE and ASCALE Codes Format
|SCALE X… Y… Z… ; Programmable scaling factor, clears the old instructions for offset, rotation, scaling factor, mirroring|
|ASCALE X… Y… Z… ; Programmable scaling factor, additive to existing instructions|
|SCALE ; Without values: clears the old instructions for offset, rotation, scaling factor, mirroring|
The instructions which contain SCALE or ASCALE each require a separate block.
Note: For circles, the same factor should be used in both axes.
If ATRANS is programmed with SCALE/ASCALE active, these offset values are also scaled.
Programmable Scale Factor Examples
SCALE CNC Program Example – 1
See the following illustration for example for scaling and offset:
N10 G17 ; X/Y plane
N20 L10 ; Programmed contour original
N30 SCALE X2 Y2 ; Contour in X and Y enlarged two times
N50 ATRANS X2.5 Y18 ; Offset values are also scaled