下面是我写的FIL,加入GPOST设置中的FIL,可以直接选用自己的后处理文件:
$$$$QAU INSERT 1 FOR PARTNO
CIMFIL/ON,PARTNO $$ starts on all PARTNO
DMY = POSTF(13) $$ process the PARTNO
QA = TEXT/CLW $$ get the name of the PARTNO
QA1 = TEXT/OMIT,QA,3 $$ Remove trailing blank
CIMFIL / OFF $$ End of macro on PARTNO
$$$QAU INSERT 2 FOR PARTNO & CURRENT TIME
CIMFIL/ON,MACHIN $$ starts on all MACHIN
QATIME=TEXT/TIMES $$ Extract the Current time
DMY = POSTF(13) $$ process the QATIME
INSERT/' ( QA_NAME: ',QA1,' )$' $$ insert the part name message
INSERT/' ( QA_TIME: ',QATIME,')$' $$ insert the qatime message.
CIMFIL / OFF
我觉得没有必要输出刀具号,因为调刀指令必在程序首! |