手工编程
主程序
%
O0001
G91G28Z0
T1M06
G90G54G00Y0S500M03
G43H01Z100.0M08
X60.0Y0
Z2.0
G01Z-10.0F50
D01M98P100F80(D01=19.0)
D02M98P100F80(D02=8.2)
G0Z100.0
M05
G1G28Z0
T2M06
G90G54G00Y0S1100M03
G43H02Z100.0M08
X60.0Y0
Z2.0
G01Z-10.0F50
D03M98P200F120(D03=4.2)
D04M98P200F120(D04=4.0)
G0Z20.0
X0Y0
G01Z-10.0F50
D03M98P300F120(D03=4.2)
D04M98P300F120(D04=4.0)
G0Z100.0
M05
M09
M30
%
子程序O100
%
G01G41Y30.0
G03X30.0Y0R30.0
G01Y-8.0
X8.0Y-30.0
X-8.0
X-30.0Y-8.0
Y8.0
X-8.0Y30.0
X8.0
X30.0Y8.0
Y0
G03X60.0Y-30.0R30.0
G40Y0
M99
%
子程序O200
%
G01G41Y30.0
G03X30.0Y0R30.0
G01Y-4.0
G02X26.0Y-8.0R4.0
G01X20.7846
G03X17.3205Y-10.0R4.0
G02X10.0Y-17.3205R20.0
G03X8.0Y-20.7846R4.0
G01Y-26.0
G02X4.0Y-30.0R4.0
G01X-4.0
G02X-8.0Y-26.0R4.0
G01Y-20.7846
G03X-10.0Y-17.3205R4.0
G02X-17.3205Y-10.0R20.0
G03X-20.7846Y-8.0R4.0
G01X-26.0
G02X-30.0Y-4.0R4.0
G01Y4.0
G02X-26.0Y8.0R4.0
G01X-20.7846
G03X-17.3205Y10.0R4.0
G02X-10.0Y17.3205R20.0
G03X-8.0Y20.7846R4.0
G01Y26.0
G02X-4.0Y30.0R4.0
G01X4.0
G02X8.0Y26.0R4.0
G01Y20.7846
G03X10.0Y17.3205R4.0
G02X17.3205Y10.0R20.0
G03X20.7846Y8.0R4.0
G01X26.0
G02X30.0Y4.0R4.0
G01Y0
G03X60.0Y-30.0R30.0
G40Y0
M99
%
子程序O300
%
G01G41X-4.0Y8.0
G03X-12.0Y0R8.0
G01Y-8.0
G03X-8.0Y-12.0R4.0
G01X8.0
G03X12.0Y-8.0R4.0
G01Y8.0
G03X8.0Y12.0R4.0
G01X-8.0
G03X-12.0Y8.0R4.0
G01Y0
G03X-4.0Y-8.0R8.0
G40Y0
M99
%