以下的FIL 是可以輸出:
換刀前
G5P0
G91G28Z0.
主軸轉速:
SxxxxxxM3
G5P10000
程式結束:
G5P0
M5
M9
G0G28Z0.
G28X0.Y0.
M30
$$ ****************************************************
$$ * L O A D T L S e c t i o n s *
$$ ****************************************************
CIMFIL/ON,LOADTL
rslt=POSTF(20) $$ Save current Record
INSERT/'G','5 ','P','0 ','$'
INSERT/'G','91 ','G','28 ','Z', '0 ','$'
rslt=POSTF(21) $$ Load the save Record
rslt=POSTF(13) $$ Process current CL
CIMFIL/OFF
$$ ------------------------------------------------------------------------------
$$ SPINDL
CIMFIL/ON,SPINDL
rslt=POSTF(13) $$ Process current Record
INSERT/'G','5 ','P','10000 ','$'
CIMFIL/OFF
$$ ------------------------------------------------------------------------------
$$ End Of Program
CIMFIL/ON,END $$ Endcode
INSERT/'G','5 ','P','0 ','$'
AUXFUN/5 $$ M05
AUXFUN/9 $$ M09
PREFUN/28,NEXT $$ G0
POSTN/IN,G,0,Z,0 $$ G28 Z0
POSTN/IN,G,28,X,0,Y,0 $$ G28 X0 Y0
AUXFUN/30 $$ M30
CIMFIL/OFF |