Assign And Start Interrupt Routine (Setint, Prio, Blsync) - Siemens SINUMERIK 840D sl Programming Manual

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

Advertisement

Flexible NC programming
1.14 Interrupt routine (ASUB)
Example:
Program code
PROC LIFT_Z SAVE
N10 ...
...
N50 M17
Assign additional interrupt routines (SETINT)
SETINT instructions can be programmed within the interrupt routine (see "Assign and start
interrupt routine (SETINT)" (Page 126)) therefore activating additional interrupt routines.
They are triggered via the input.
References
You will find more information on how to create subprograms in Chapter "Subprograms,
Macros".
1.14.3

Assign and start interrupt routine (SETINT, PRIO, BLSYNC)

Function
The control has signals (inputs 1...8) that initiate that the program being executed is
interrupted and a corresponding interrupt routine can be started.
The assignment as to which input starts which program is realized in the part program using
the SETINT command.
If several SETINT instructions are in the part program and therefore several signals can be
simultaneously received, the assigned interrupt routines must be allocated priorities that
define the sequence in which the interrupt routines are executed: PRIO=<value>
If new signals are received while interrupt routines are being executed, the current interrupt
routines are interrupted by routines with higher priority.
126
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
Job Planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents