Programming principles
1.2 Positional data
Turning Part 2: Programming (Siemens instructions)
Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0
33
1.2.6 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... Z... ; Programmable scaling factor, clears old instructions for offset,
rotation, scaling factor, mirroring
ASCALE X... Z... ; Programmable scaling factor, additive to existing instructions
SCALE ; Without values: clears old instructions for offset, rotation, scaling
factor, mirroring
The instructions that contain SCALE or ASCALE each require a separate block.
Notes
● For circles, the same factor should be used in both axes.
● If an ATRANS is programmed with SCALE/ASCALE active, these offset values are also
scaled.
:RUNSLHFH
=
:RUNSLHFH
;
:
:RUNSLHFHRULJLQDO
:RUNSLHFHHQODUJHGLQ;DQG=
Figure 1-5 example of a programmable scale factor
Programming example
N10 L10 ; Programmed contour original
N20 SCALE X2 Z2 ; contour in X and Z enlarged 2 times
N30 L10
N40 ATRANS X2.5 Z1.8
N50 L10
N60 M30
Subroutine call - see section "Subroutine technique (Page 94)"