Flexible NC programming
1.14 Interrupt routine (SETINT, DISABLE, ENABLE, CLRINT)
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
1-45
1.14 1.14 Interrupt routine (SETINT, DISABLE, ENABLE, CLRINT)
Function
The relationships concerned with programming an interrupt routine will be illustrated using a
typical example:
The tool breaks during machining. This triggers a signal that stops the current machining
process and simultaneously starts a subroutine – this subroutine is called an interrupt
routine. The interrupt routine contains all the statements, which are to be executed in this
case.
When the interrupt routine has finished being executed and the machine is ready to continue
operation, the control jumps back to the main program and continues machining at the point
of interruption – depending on the REPOS command.
0DLQ
SURJUDP
LQWHUUXSWURXWLQH
5HWUDFWLRQIURPWKH
FRQWRXU
7RROFKDQJH
1HZFRUUHFWLRQ
YDOXHV
5HSRVLWLRQLQJ
For further information on REPOS, see "Repositioning".
Programming
SETINT(3) PRIO=1 NAME
SETINT(3) PRIO=1 LIFTFAST
SETINT(3) PRIO=1 NAME LIFTFAST
G… X… Y… ALF=…
DISABLE (3)
ENABLE (3)
CLRINT (3)