Programming and Operating Manual (Milling)
58
6FC5398-4DP10-0BA1, 01/2014
8.2.8
Programmable scaling factor: SCALE, ASCALE
Functionality
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.
Programming
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.
See the following illustration for example for scaling and offset:
Programming example
N10 G17
; X/Y plane
N20 L10
; Programmed contour original
N30 SCALE X2 Y2
; Contour in X and Y enlarged two times
N40 L10
N50 ATRANS X2.5 Y18
; Values are
also scaled
!
N60 L10
; Contour enlarged and offset
Subroutine call - see Section "Subroutine technique (Page 110)".
8.2.9
Programmable mirroring: MIRROR, AMIRROR
Functionality
MIRROR and AMIRROR can be used to mirror workpiece shapes on coordinate axes. All traversing motions of axes for
which mirroring is programmed are reversed in their direction.