zlzl521521大哥
MODE/AUTO,PROG,MAN
DECL/COMMON,INTGR,i
DECL/COMMON,CHAR,20,K,TEMPSTRING
DO/i,1,100,1
k = assign/str(i)
tempstring = assign/concat('c',k)
F(@tempstring) = Feat/circle,outer,cart,0,0,0,0,0,1,25
MEAS/circle,F(@tempstring),4
GOTO/ 6.108895, 16.393941, 0.995139
PTMEAS/CART, 4.364709, 11.713211, -10.000000, 0.349177, 0.937057, 0.000000
GOTO/ -0.629806, 17.483799, -10.000000
GOTO/ -7.272626, 15.911908, -10.000000
GOTO/ -12.808253, 11.917573, -10.000000
PTMEAS/CART, -11.713211, 4.364709, -10.000000, -0.937057, 0.349177, 0.000000
GOTO/ -17.483799, -0.629806, -10.000000
GOTO/ -15.911908, -7.272626, -10.000000
GOTO/ -11.917573, -12.808253, -10.000000
PTMEAS/CART, -4.364709, -11.713211, -10.000000, -0.349177, -0.937057,$
0.000000
GOTO/ 0.629806, -17.483799, -10.000000
GOTO/ 7.272626, -15.911908, -10.000000
GOTO/ 12.808253, -11.917573, -10.000000
PTMEAS/CART, 11.713211, -4.364709, -10.000000, 0.937057, -0.349177, 0.000000
GOTO/ 16.393941, -6.108895, 0.995139
ENDMES
TEXT/OPER,'请换工件'
ENDDO
能否让它自动输出100个圆的直径呢?