程序参考:
AA409.MPF; (左端外轮廓主程序)
G90 G95 G40 G71;
T1D1;
M03 S600 F0.2;
G00 X148 Z2;
_CNAME=“BB409”; (子程序BB310采用横向、外部加工方式)
R105=10 R106=0.2 R108=1 R109=0 R110=0.5 R111=0.2 R112=0.1;
LCYC95;
G00 X200 Z100;
M30;
BB409.SPF; (横向、外部加工轮廓子程序)
G00 Z-34.05; (沿Z向切深)
G01 X146;
X80 Z-15;
X70;
Z2;
X148;
RET;
AA410.MPF; (右侧内轮廓主程序)
G90 G95 G40 G71;
T1D1;
M03 S600 F0.2;
G00 X38 Z2;
CNAME=“BB410”; (子程序BB310采用纵向、内部加工方式)
R105=11 R106=0.2 R108=1 R109=0 R110=0.5 R111=0.2 R112=0.1;
LCYC95;
G00 X100 Z100;
M30;
BB410.SPF; (纵向、内部加工轮廓子程序)
G00 X116 Z2; (沿X向切深)
G01 Z0;
X111.841 Z-25.994;
G03 X71.226 Z-48.571 CR=25;
G01 X59.781 Z-49.645;
G02 X55.067 Z-51.866 CR=3;
G01 X52.757 Z-56.485;
G03 X48.877 Z-58 CR=2;
G01 X46;
Z-81;
X38;
RET;