
13. Program Support Functions
13.6 G Command Mirror Image
369
13.6 G Command Mirror Image; G50.1, G51.1 / G62
Function and purpose
When cutting a shape that is symmetrical on the left and right, programming time can be shortened
by machining the one side and then using the same program to machine the other side. The mirror
image function is effective for this.
For example, when using a program as shown below to machine the shape on the left side, a
symmetrical shape can be machined on the right side by applying mirror image and executing the
program.
Base shape (program)
Shape when machining program
for left side is executed after the
mirror command.
Mirror axis
Y
X
Command format
(1) For G50.1, G51.1
G51.1 Xx1
Yy1 Zz1
;
G50.1 Xx2
Yy2 Zz2
;
Mirror image ON
Mirror image OFF
x1, y1, z1
: Mirror image center coordinates
(Mirror image will be applied regarding this position as a center)
x2, y2, z2
: Mirror image cancel axis
(The values of x2, y2, z2 will be ignored.)
Command these items with the absolute or incremental position.
(2) For G62
G62 X1
Y1 Z1
;
G62 X0
Y0 Z0
;
Mirror image ON
Mirror image OFF
G62
: Mirror image ON/OFF command
X1, Y1, Z1
: Mirror image applied with the position where the command is issued as a
center.
X0, Y0, Z0
: Set "0" to the axis that mirror image is to be canceled.