the_real_jat
New member
wasup
I have a question. I am trying to modify the FIL file for my HAAS machine. I have been able to add the safe start and stop. My G-code somehow doesn't write commands for spindle stop and coolant stop before changing to next tool. Can anyone help me on this. Here is what i have in the loadtool section
$$ ****************************************************
$$ * L O A D T L S e c t i o n s *
$$ ****************************************************
CIMFIL/ON,LOADTL
DMY=POSTF(20) $$ save current CL record
INSERT/'G91G28Z0.G49$'
$$SEQNO/ON MODIFIEDDDDDDDDDDDDDDD remove $$ signs
DMY=POSTF(21) $$ restore saved record
$$ Add offset number if not programmed
NBEL=POSTF(5) $$ Number of word
IF (NBEL.EQ.4) THEN
$$ Only the tool number has been programmed
$$ Add ADJUST, Offset number=tool
DMY=POSTF(9,5,(ICODEF(ADJUST)))
DMY=POSTF(10,6,(POSTF(7,4)))
$$ Increase number of word
DMY=POSTF(12,6)
ENDIF
$$ Process record
DMY=POSTF(13)
SEQNO/OFF
CIMFIL/OFF
thanks
~JAT
I have a question. I am trying to modify the FIL file for my HAAS machine. I have been able to add the safe start and stop. My G-code somehow doesn't write commands for spindle stop and coolant stop before changing to next tool. Can anyone help me on this. Here is what i have in the loadtool section
$$ ****************************************************
$$ * L O A D T L S e c t i o n s *
$$ ****************************************************
CIMFIL/ON,LOADTL
DMY=POSTF(20) $$ save current CL record
INSERT/'G91G28Z0.G49$'
$$SEQNO/ON MODIFIEDDDDDDDDDDDDDDD remove $$ signs
DMY=POSTF(21) $$ restore saved record
$$ Add offset number if not programmed
NBEL=POSTF(5) $$ Number of word
IF (NBEL.EQ.4) THEN
$$ Only the tool number has been programmed
$$ Add ADJUST, Offset number=tool
DMY=POSTF(9,5,(ICODEF(ADJUST)))
DMY=POSTF(10,6,(POSTF(7,4)))
$$ Increase number of word
DMY=POSTF(12,6)
ENDIF
$$ Process record
DMY=POSTF(13)
SEQNO/OFF
CIMFIL/OFF
thanks
~JAT