手工编程
主程序
%
O0001
G91G28Z0
T1M06
G90G54G028.0Y35.0S500M03
G43H01Z100.
Z5.0
G01Z-12.0F50
G01Y24.0F80
X35.0
Y-24.0
X28.0
Y-40.0
X-28.0
Y-24.0
X-35.0
Y24.0
X-28.0
Y40.0
X28.0
G0Z20.0
X51.0Y0
Z5.0
G01Z-3.8F50
D01M98P100F80(D01=8.2)
G0Z100.0
M05
G91G28Z0
T2M06
G90G54X51.0Y0S1000M03
G43H02Z100.0
Z5.0
G01Z-4.0F50
D02M98P100F120(D02=5.0)
G01Z-11.8F50
D03M98P200F50(D03=5.2)
G01Z-12.0F50
D02M98P200F120
G0Z100.0
M05
M09
M30
%
子程序O100
%
G01G41Y30.0
G03X21.0Y0R30.0
G02I-21.0J0
G03X51.0Y-30.0R30.0
G01G40Y0
M99
%
子程序O200
%
G01G41Y30.0
G03X21.0Y0R30.0
G02X14.0Y-15.6525R21.0
G03X12.0Y-20.1246R6.0
G01Y-24.0
G02X6.0Y-30.0R6.0
G01X-6.0
G02X-12.0Y-24.0R6.0
G01Y-20.1246
G03X-14.0Y-15.6525R6.0
G02Y15.6525R21.0
G03X-12.0Y20.1246R6.0
G01Y24.0
G02X-6.0Y30.0R6.0
G01X6.0
G02X12.0Y24.0R6.0
G01Y20.1246
G03X14.0Y15.6525R6.0
G02X21.0Y0R21.0
G03X51.0Y-30.0R30.0
G01G40Y0
M99
%