UNCX01.F11 --我寫的FIL
Okuma OSP5020 post development 12/5/2000 SC @ DTS INC.
REDEF/ON $$ Allow variable redefinition
PRINT/ONRINT/ON,IN;rslt=POSTF(24,1) $$ Debugg commands
A=1;B=2;C=3;D=4;E=5;F=6;G=7;H=8;I=9;J=10;K=11;L=12;M=13;N=14 $$ Alphabet
O=15=16;Q=17;R=18;S=19;T=20;U=21;V=22;W=23;X=24;Y=25;Z=26
CIMFIL/ON,PARTNO
PROMPT=TEXT/'ENTER WORK OFFSET NUMBER'
RSLT=FILEF(0,1,PROMPT)
STRNG=TEXT/READ,0
WVALUE=SCALF(STRNG)
CIMFIL/OFF
CIMFIL/ON,MACHIN
RSLT=POSTF(13)
POSTN/IN,L,WVALUE
CIMFIL/OFF
$$ -----------------------------------------------------------------------
$$ TOOL PRE-SELECT
$$ -----------------------------------------------------------------------
1stc=0
CIMFIL/ON,LOADTL
rslt=POSTF(2,1,1867,1) $$ Set COMMAND value and let PP do the simulation mode
rslt=POSTF(13)
rslt=POSTF(2,1,1867,0) $$ Set back to PP Excution mode
tlnum=POSTF(7,4)
IF(1stc.EQ.0)THEN
1stn=POSTF(7,4)
1stc=1
ENDIF |