法拉克数控宏程序命令解答!

2025-04-06 04:39:29
推荐回答(1个)
回答1:

#1 =0;

#2 =1;
N10 G10 P0 L2 Z#1; (G10修改工件坐标系,P0对应的是外部坐标系,L2固定不变,Z#1Z=0)
M98 P154;(M98 P154 调用子程序O154)
#1 =#1-13;
#2 =#2+1;
IF [#2 LT 14] GOT010; (#2≥14 GOTO10 跳程序段N10)
G0 X100 Z200;
M30;