Programming
10.2 Positional data
Cylindrical grinding
Programming and Operating Manual, 07/2009, 6FC5398-4CP10-2BA0
247
10.2.7
Programmable mirroring (MIRROR, AMIRROR)
Function
MIRROR/AMIRROR can be used to mirror workpiece shapes on coordinate axes. All
traversing movements, which are programmed after the mirror call, e.g., in the subprogram,
are executed in the mirror image.
Programming
MIRROR X0 Y0 Z0
(substituting instruction programmed in a separate NC block)
Or
AMIRROR X0 Y0 Z0
(additive instruction programmed in a separate NC block)
Parameter
MIRROR
Absolute mirror image with reference to the currently
valid coordinate system set with G54 to G599
AMIRROR
Additive mirror image with reference to the currently
valid set or programmed coordinate system
X Y Z
Geometry axis whose direction is to be changed. The value
specified here can be chosen freely, e.g., X0 Y0 Z0.
Example of contour dressing
Program the contour shown here once as a subprogram You can generate the other
contours with a mirroring operation.
=
=
;
;
Figure 10-7 Example
N10 G18 G54
; Working plane X/Z
N20 L10
; produce contour 1
N30 MIRROR X0
; Mirror Z-axis (the direction is changed in
;Z)
N40 L10
; produce contour 2
N50 MIRROR
;Deactivate mirroring
N60 G0 X300 Z100 M30
;Retraction, end of program