Programming
10.2 Positional data
Surface grinding
220
Programming and Operating Manual, 11/2012, 6FC5398-5CP10-3BA0
Programming example
N10 G17
; X/Y plane
N20 L10
; Programmed contour original
N30 SCALE X2 Y2
; Contour in X and Z 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 "
10.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.
Programming
MIRROR X0 Y0 Z0
; Programmable mirroring, clears old instructions for offset,
rotation, scaling factor, mirroring
AMIRROR X0 Y0 Z0
; Programmable mirroring, additive to existing instructions
MIRROR
; Without values: clears old instructions for offset, rotation,
scaling factor, mirroring
The instructions that contain MIRROR or AMIRROR each require a separate block. The axis
value has no influence. A value, however, must be specified.
Note
Any active tool radius compensation (G41/G42) is reversed automatically when mirroring.
The direction of rotation of the circle G2/G3 is also reversed automatically when mirroring.