手工编程
主程序
%
G91G28Z0
T1M06
G90G54G0X0Y0S500M03
G43H1Z100.0
Z5.0
G01Z-11.8F50
D01M98P100F80(D01=8.2)
G0Z100.0
M05
G91G28Z0
T2M06
G90G54G0X0Y0S1000M03
G43H02Z100.0
Z5.0
G01Z-8.0F50
Y15.0F80
Y-15.0
Y0
D02M98P200F120(D02=5.2)
D03M98P200F120(D03=5.0)
G01Z-13.0F50
D04M98P100F120(D04=12.0)
D03M98P100F120
G0Z100.0
M05
M09
M30
%
子程序O100
%
G01G41X-5.0Y16.0
G03X-21.0Y0R16.0
G03I21.0J0
G03X-5.0Y-16.0R16.0
G01G40X0Y0
M99
%
子程序O200
%
G01G41X-5.0Y16.0
G03X-21.0Y0R16.0
G03X-14.0Y-15.6525R21.0
G02X-12.0Y-20.1246R6.0
G01Y-24.0
G03X-6.0Y-30.0R6.0
G01X6.0
G03X12.0Y-24.0R6.0
G01Y-20.1246
G02X14.0Y-15.6525R6.0
G03Y15.6525R6.0
G02X12.0Y20.1246R6.0
G01Y24.0
G03X6.0Y30.0R6.0
G01X-6.0
G03X-12.0Y24.0R6.0
G01Y20.1246
G02X-14.0Y15.6525R6.0
G03X-21.0Y0R21.0
G03X-5.0Y-16.0R16.0
G01G40X0Y0
M99
%