CIMFIL/ON,5,5 $$ GOTO RECORD
DMY=POSTF(20) $$ SAVE CL REC
IF(TCHG .EQ. 1) THEN $$ DUMP TOOL CHANGE BLOCK
TCHG=0
T1=TEXT/' TOOL DEF ',CONVI,TNUM,2 $$ TOOL DEF
IF(ABSF(TLEN) .GT. DV99) THEN
T2=TEXT/' L',CONVF,TLEN,8,4,1,0,1
ELSE
T2=TEXT/' L',CONVF,TLEN,7,4,1,0,1
ENDIF
T2=TEXT/MODIFY,T2,TEQL,TCMA,0
IF(ABSF(TRAD) .GT. DV99) THEN
T3=TEXT/' R',CONVF,TRAD,8,4,1,0,1
ELSE
T3=TEXT/' R',CONVF,TRAD,7,4,1,0,1
ENDIF
T3=TEXT/MODIFY,T3,TEQL,TCMA,0
T1=TEXT/T1,T2,T3
T1=TEXT/MODIFY,T1,TPNT,TCMA,0
T1=TEXT/MODIFY,T1,(TEXT/' '),(TEXT/' '),0
T1=TEXT/MODIFY,T1,(TEXT/' '),(TEXT/' '),0
T1=TEXT/MODIFY,T1,(TEXT/' '),(TEXT/' '),0
INSERT/T1,'$'
T1=TEXT/' TOOL CALL ',CONVI,TNUM,2 $$ TOOL CALL
T2=TEXT/' Z'
T3=TEXT/' S',CONVF,SRPM,10,3,0,0,3
T3=TEXT/MODIFY,T3,TEQL,TCMA,0
T1=TEXT/T1,T2,T3
T1=TEXT/MODIFY,T1,TPNT,TCMA,0
T1=TEXT/MODIFY,T1,(TEXT/' '),(TEXT/' '),0
T1=TEXT/MODIFY,T1,(TEXT/' '),(TEXT/' '),0
T1=TEXT/MODIFY,T1,(TEXT/' '),(TEXT/' '),0
INSERT/T1,'$'
T1=TEXT/' R0' $$ MAKE FEED TEXT
T2=TEXT/' F',CONVF,FIPM,10,0,0,0,3
T2=TEXT/MODIFY,T2,TEQL,TCMA,0
T3=TEXT/' M03'
T1=TEXT/T1,T2,T3
T1=TEXT/MODIFY,T1,(TEXT/' '),(TEXT/' '),0
T1=TEXT/MODIFY,T1,(TEXT/' '),(TEXT/' '),0
T1=TEXT/MODIFY,T1,(TEXT/' '),(TEXT/' '),0
TFED=TEXT/T1
ENDIF
DMY=POSTF(21) $$ LOAD SAVED GOTO REC
ICF=POSTF(1,1,455) $$ GET POST CIRCLE FLAG
$$ CIRCULAR MOVE
IF(ICF .EQ. 1)THEN $$ PROCESS CIRCLE
XP=POSTF(1,3,XX) $$ GET PREV
YP=POSTF(1,3,YY)
DMY=POSTF(2,1,1867,1) $$ SIMULATE ON
DMY=POSTF(13)
XC=POSTF(1,3,II) $$ GET CENTER
YC=POSTF(1,3,JJ)
X2=POSTF(1,3,XX) $$ GET PRES
Y2=POSTF(1,3,YY)
DMY=POSTF(2,1,1867,0) $$ SIMULATE OFF
T1=TEXT/' CEN ',XC,YC,Z2
INSERT/T1,'$'
ICG=POSTF(1,3,GG) $$ CURRENT G VALUE
T1=TEXT/' CCLW '
IF(ICG .EQ. 2) THEN $$ CLW
T1=TEXT/' CLW '
ENDIF
T1=TEXT/T1,X2,Y2,Z2
INSERT/T1,'$'
TFED=TEXT/' R0 F M'
DMY=POSTF(2,1,455,0) $$ KILL POST CIRCLE FLAG
JUMPTO/L590
ENDIF
$$ LINEAR MOVE
NW=POSTF(5) $$ GET NUMBER OF WORDS IN CLREC
DO/L510,I2=6,NW,MLTX
DMY=POSTF(21) $$ LOAD CLREC
X1=POSTF(7,I2)
Y1=POSTF(7,(I2+1))
Z1=POSTF(7,(I2+2))
XP=POSTF(1,3,XX) $$ GET PREV
YP=POSTF(1,3,YY)
ZP=POSTF(1,3,ZZ)
DMY=POSTF(2,1,1867,1) $$ SIMULATE ON
IF(MLTX .EQ. 3)GOTO/X1,Y1,Z1,ELSE,GOTO/X1,Y1,Z1,0,0,1
X2=POSTF(1,3,XX) $$ GET PRES
Y2=POSTF(1,3,YY)
Z2=POSTF(1,3,ZZ)
DMY=POSTF(2,1,1867,0) $$ SIMULATE OFF
IF(ABSF(X2) .GT. DV99) THEN
T2=TEXT/' L X',CONVF,X2,8,4,1,0,1
ELSE
T2=TEXT/' L X',CONVF,X2,7,4,1,0,1
ENDIF
T2=TEXT/MODIFY,T2,TEQL,TCMA,0
IF(ABSF(Y2) .GT. DV99) THEN
T3=TEXT/' Y',CONVF,Y2,8,4,1,0,1
ELSE
T3=TEXT/' Y',CONVF,Y2,7,4,1,0,1
ENDIF
T3=TEXT/MODIFY,T3,TEQL,TCMA,0
IF(ABSF(Z2) .GT. DV99) THEN
T4=TEXT/' Z',CONVF,Z2,8,4,1,0,1
ELSE
T4=TEXT/' Z',CONVF,Z2,7,4,1,0,1
ENDIF
T4=TEXT/MODIFY,T4,TEQL,TCMA,0
T1=TEXT/T2,T3,T4,TFED
T1=TEXT/MODIFY,T1,TPNT,TCMA,0
INSERT/T1,'$'
TFED=TEXT/' R0 F M'
L510)CONTIN
L590)CONTIN
DMY=POSTF(2,1,1867,1) $$ SIMULATE ON
CIMFIL/OFF |