Flexible NC Programming
1
1.14 Interrupt routine
840D
840D
NCU 571
NCU 572
NCU 573
1.14
Interrupt routine
Programming
SETINT(3) PRIO=1 NAME
SETINT(3) PRIO=1 LIFTFAST
SETINT(3) PRIO=1 NAME
G... X... Y... ALF=...
DISABLE(3)
ENABLE(3)
CLRINT(3)
Explanation of the commands
SETINT(n)
PRIO=1
LIFTFAST
NAME
ALF=...
DISABLE(n)
ENABLE(n)
CLRINT(n)
Function
Example: The tool breaks during machining. This
triggers a signal that stops the current machining
process and simultaneously starts a subprogram this
subprogram – is called an interrupt routine. The
interrupt routine contains all the instructions 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.
For further information on REPOS, see Chapter 9,
Path Traversing Behavior, Repositioning.
1-68
810D
840Di
LIFTFAST
Start interrupt routine if input n is enabled, n (1...8) stands for the
number of the input
Define priority 1 to 128 (1 has top priority)
Fast lift from contour
Name of the subprogram to be executed
Programmable traverse direction (in motion block)
Deactivate interrupt routine number n
Reactivate interrupt routine number n
Clear interrupt assignments of interrupt routine number n
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) − 04.00 Edition
02.98
1
Interrupt routine
Withdraw from
contour
Tool change
New offset
values
Reposition
Main
program
Siemens AG 2000. All rights reserved