G04X0.4 M5 M46 G53G0X-2. G53G0Z-50. M05 M00 M99
O6(铣六边形主程序) G0G53X-2. G0G53Z-100. T0909 M45 S4000M13 G54 G98 G00Z5. X100. G28H0. G0C0. G1Z-10.F400. M98P0007L1. G1Z-15.F400. M98P0007L1. G1Z-21.F400. M98P0007L1. G53G0X-2. G53G0Z-100. M05 G99 M46 M05 M00 M99
O7(铣六边形子程序) G0C0.
X100. G112
G41G01C2.6F500. X62. X53. X25.C-21.65 X-25. X-50.C0. X-25.C21.65 X25. X53.C-2.6 G40G01X82. G113 M99
O8(加工侧面孔) G53G0X-2. G53G0Z-50. T1111 G54 M45 M13S3000 G98 G0Z-12.5 X65.
G87X31.3C90.R-5.Q3000F50 C210.Q3000 C330.Q3000 G80 M5 M46 G53G0X-2. G53G0Z-50. M05 M00 M99
O9(加工圆柱面槽)
G53G0X-2. G53G0Z-100. T1111 G54 M45
G97S2000M13 G28H0. G0C0. G00Z30. X80. Z-31.
G98G01X55.F200. G19W0.H0. G107C27.5 C81.67 G2Z-35.C90.R4. G1Z-37.
G3Z-41.C98.335R4. G1C261.67 G3Z-37.C270.R4. G1Z-35.
G2Z-31.C278.34R4. G1C360. G107C0. X60. G53G0X-2. G53G0Z-100. M05 M46 G18 G99 M05 M00 M99
O61(精加工六边形) G0G53X-2. G0G53Z-100.
T0909 M45 S4000M13 G54 G98 G00Z5. X100. G28H0. G0C0. G1Z-21.F400. M98P0007L1. G53G0X-2. G53G0Z-100. M05 G99 M46 M05 M00 M99