Frames
6.7 Programmable mirroring (MIRROR, AMIRROR)
Fundamentals
Programming Manual, 11/2006, 6FC5398-1BP10-2BA0
257
N20 L10
;Machine first contour, top right
N30 MIRROR X0
;Mirror X axis (the direction is changed in X)
N40 L10
;Machine second contour, top left
N50 AMIRROR Y0
;Mirror Y axis (the direction is changed in Y)
N60 L10
;Machine third contour, bottom left
N70 MIRROR Y0
;MIRROR cancels previous frames. Mirror Y axis (the direction is
;changed in Y)
N80 L10
;Machine fourth contour, bottom right
N90 MIRROR
;Deactivate mirroring
N100 G0 X300 Y100 M30
;Retraction, end of program
Example of rotating mirroring
The actual machining is stored as a subprogram and the execution at the respective spindles
is done by means of mirrorings and offsets.
=
:
=
0
:
0
;
;
6SLQGOH
6SLQGOH
N10 TRANS X0 Z140
;Zero offset to W
N.. ...
;Machine first side with spindle 1
N30 TRANS X0 Z600
;Zero offset to spindle 2
N40 AMIRROR Z0
;Mirroring of the Z axis
N50 ATRANS Z120
;Zero offset to W
1
N.. ...
;Machine second side with spindle 2
Substituting instruction, MIRROR X Y Z
The mirror is programmed by means of an axial change of direction in the selected working
plane.