在GPost FIL 加這個
CIMFIL/ON,PARTNO
PROMPT=TEXT/'ENTER PROGRAM NUMBER'
RSLT=FILEF(0,1,PROMPT)
STRNG=TEXT/READ,0
SCALR=SCALF(STRNG)
PRGNM=TEXT/CONVF,SCALR,4,0,0,1,1
PROMPT=TEXT/'ENTER THE TRANS X VALUE'
RSLT=FILEF(0,1,PROMPT)
STRNG=TEXT/READ,0
XVALUE=SCALF(STRNG)
PROMPT=TEXT/'ENTER THE TRANS Y VALUE'
RSLT=FILEF(0,1,PROMPT)
STRNG=TEXT/READ,0
YVALUE=SCALF(STRNG)
PROMPT=TEXT/'ENTER THE TRANS Z VALUE'
RSLT=FILEF(0,1,PROMPT)
STRNG=TEXT/READ,0
ZVALUE=SCALF(STRNG)
CIMFIL/OFF
當你執行後處理時, 除了問你 程序號, 還問你 X, Y, Z, 偏置值 後處理會將這些值 加入計算..:^) |