Syntax
SETINT(<n>) PRIO=1 LIFTFAST
SETINT(<n>) PRIO=1 <NAME> LIFTFAST
Meaning
SETINT(<n>): Command: Assign input <n> to an interrupt routine. The assigned interrupt routine
starts when input <n> switches.
<n>: Parameter: Input number
Type: INT
Range of values: 1 ... 8
PRIO= : Defining the priority
<value>: Priority value
Range of values: 1 ... 128
Priority 1 corresponds to the highest priority.
<NAME>: Name of the subprogram (interrupt routine) that is to be executed.
LIFTFAST: Command: Fast retraction from the contour
ALF=… : Command: Programmable traverse direction (in motion block)
Regarding the possibilities of programming with ALF, refer to the subject "Travers‐
ing direction for fast retraction from the contour (Page 546)".
Supplementary conditions
Behavior for active frame with mirroring
When determining the retraction direction, a check is performed to see whether a frame with
mirror is active. In this case, for the retraction direction, right and left are interchanged referred
to the tangential direction. The direction components in tool direction are not mirrored. This
behavior is activated with the MD setting:
MD21202 $MC_LIFTFAST_WITH_MIRROR = TRUE
Example
A broken tool should be automatically replaced by a daughter tool. Machining is then continued
with the new tool.
Main program:
Main program Comment
N10 SETINT(1) PRIO=1 W_WECHS LIFTFAST ; When input 1 is switched, the
tool is immediately retracted from
the contour with fast retraction
(code no. 7 for tool radius compen-
sation G41). Then interrupt rou-
tine "W_WECHS" is executed.
N20 G0 Z100 G17 T1 ALF=7 D1
N30 G0 X-5 Y-22 Z2 M3 S300
N40 Z-7
Work preparation
3.3 Interrupt routine (ASUB)
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 545