一日一例——数铣子程序多重嵌套_子程序

刀具:8mm铣刀

系统:FANUC 0im

程序参考:

O1000;(主程序)

G54G90 G49 G40;

G00 G43 H01 Z50 M03 S800;

G00X-16.Y-5.Z2.;

G01Z0.F60;

M98P51001;

G91 G01 X0.Y-75.F150;

G90 G01 Z20.F60;

G91 G28 G49 G00 Z0.;

M05;

M30;

O1001;(Y向移位子程序)

G91 G01 Y15.F150;

M98 P31002;

G91 G01 X-90.Y0.F150;

M99;

O1002;(X向移位子程序)

G91 G01X30.F100;

M98 P51003;

G91G01Z10.F150;

M99;

O1003;(Z向进给子程序)

G91 G01 X30.F150;

M98 P51004;

G91 G01 Z10.F150;

M99;

O1004;(切削循环子程序)

G91 G01 X12 F150;

Z-1 F60;

X-12;

M99;