Programming
8.2 Positional data
8-144
SINUMERIK 802D sl Operation and Programming Nibbling (BP-N), 06/2006 Edition
6FC5 398-3CP10-0BA0
Programming
SCALE X... Y... ; Programmable scaling factor; clears old instructions for
offset, rotation, scaling factor and mirroring
ASCALE X... Y... ; Programmable scaling factor, additive to the existing
instructions
SCALE ; Without values: clears old instructions for offset, rotation,
scaling factor, mirroring
The instructions with SCALE, ASCALE always require a seprate block.
Information
S For circles, the same factor should be used in both axes.
S If ATRANS is programmed with SCALE/ASCALE active, these offset values are also
scaled.
Y
X
Workpiece
Workpiece
ATRANS X... Y...
36
5
SCALE X2 Y2
N40
Original
N60
W
Fig. 8-9 Example for scaling and offset
Programming example
N10 G17 ; X/Y plane
N20 L10 ; Programmed original contour
N30 SCALE X2 Y2 ; Contour in X and Y enlarged twice
N40 L10
N50 ATRANS X2.5 Y18 ; Values are also scaled!
N60 L10 ; Contour enlarged and offset
Subroutine call – see Section 8.9 “Subroutine technique”