|
发表于 2013-10-31 22:41:04
|
显示全部楼层
调用子程序(FANUC ,KND)系统用G50平移坐标系。三菱系统用G92平移
例:主程序
O0002;
M3 S2500;
T0101 M8;
G0 X50.0Z5.0;
Z0.3;(0.3的余量平头)
M10(夹头)
G98 P30001;
G50-30.0;(工件长度+割刀+余量)
M11
M30;
子程序:
O0001:
N1
M3 S2500;
T0101 M8;
G0X50.0 Z5.0;
N2 T0202;
N3 T0303;
GOX100.0 Z100.0;
G50 W10.0
(G92W10.0系统不一样)
M99;
|
|