Creating An Interrupt Routine - Siemens SINUMERIK 840D sl Programming Manual

Job planning
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

1.14.2

Creating an interrupt routine

Create interrupt routine as subprogram
The interrupt routine is identified as a subprogram in the definition.
Example:
Program code
PROC LIFT_Z
N10 ...
...
N50 M17
Save modal G functions (SAVE)
The interrupt routine can be designated by defining with
The
routine and are re-activated after the end of the interrupt routine (see "Subprograms with
SAVE mechanism (SAVE) (Page 166)").
This means that it is possible to resume processing at the interruption point after the interrupt
routine has been completed.
Example:
Program code
PROC LIFT_Z SAVE
N10 ...
...
N50 M17
Assign additional interrupt routines (SETINT)
SETINT
interrupt routine (SETINT)" (Page 124)) therefore activating additional interrupt routines.
They are triggered via the input.
References
You will find more information on how to create subprograms in Section "Subprograms,
Macros".
Job Planning
Programming Manual, 03/2013, 6FC5398-2BP40-3BA1
Comment
; Program name "ABHEB_Z"
; The NC blocks then follow:
; At the end, the end of the program and return to the main
program.
attribute means that the active modal G functions saved before calling the interrupt
SAVE
instructions can be programmed within the interrupt routine (see "Assign and start
Flexible NC programming
1.14 Interrupt routine (ASUB)
.
SAVE
123

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents