Programming
10.2 Positional data
Cylindrical grinding
Programming and Operating Manual, 07/2009, 6FC5398-4CP10-2BA0
245
Programming example
N10 ...
N20 TRANS Z5
; programmable offset, 5 mm in Z-axis
N30 L10
; Subroutine call; contains the geometry to be offset
...
N70 TRANS
; offset cleared
...
Subroutine call - see Section "Subroutine technique "
10.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.