|
用FANUC系统编制的宏程序(精加工)
O0001;
S800M3T0101;
G0X100.Z100.;
G42G0X80.Z2.;
G1Z0F0.2;
#1=0;
N100#2=#1/10.;
#3=6.*COS[#1]+34.;
G1X[2.*#3]Z#2;
#1=#1-1.;
IF[#1GE-123.56]GOTO100;
G2X68.9Z-20.643R5.;
G1X80.;
Z-30.;
G0G40X100.;
Z100.;
M5;
M30;
[ 本帖最后由 shengliqiang 于 2009-2-28 00:01 编辑 ]
|
|