1. G Function Description
Example 2: processing example
X=0 tool strating point after
mirror image
And X=0, Y=0 tool starting
point after mirror image
Y
Thickness
10mm
Program
zero point
Original interpolation path
Original tool starting
X point and
Y=0 tool starting
point after mirror
image
Program description: process a trough that flower shaped
N001 T1 S1000 M03//tool No.1(diameter 10mm), 1000rpm(CW)
N002 G41 D01//set cutter compensation left of tool No.1(D01 = 5)
N003 M98 H100//execute sub-program
N004 G51.1 X0.0//execute programmable mirror image at symmery
axis X=0
N005 M98 H100//execute sub-program
N006 G50.1//programmable mirror image cancel
N007 G51.1 X0.0 Y0.0// execute programmable mirror image at
symmery point X=0, Y=0
N008 M98 H100// execute sub-program
N009 G50.1// programmable mirror image cancel
N010 G51.1 Y0.0// execute programmable mirror image at symmery
axis Y=0
N011 M98 H100// execute sub-program
N012 G50.1// programmable mirror image cancel
N013 G40//cutter compensation cancel
N014 M05//spindle stops
N015 M30//program ends
Sub-program
N100sub-program list
G00 X58.0 Y0.0 Z10.0//positioning to the above of starting position
62
    "