Interrupt Routine (Asub); Function Of An Interrupt Routine - 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)

1.14
Interrupt routine (ASUB)
1.14.1

Function of an interrupt routine

Note
The terms "asynchronous subprogram (ASUB)" and "interrupt routine" are used
interchangeably in the description below to refer to the same functionality.
Function
A typical example should clarify the function of an interrupt routine:
The tool breaks during machining. This triggers a signal that stops the current machining
process and simultaneously starts a subprogram – the so-called 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 (see " Repositioning to a contour
(REPOSA, REPOSL, REPOSQ, REPOSQA, REPOSH, REPOSHA, DISR, DISPR, RMI,
RMB, RME, RMN) [Page 486] ").
If a REPOS command has not been programmed in the subprogram, then the control goes to
the end point of the block that follows the interrupted block.
References
Function Manual, Basic Functions; BAG, Channel, Program Operation, Reset Response
(K1),Chapter: "Asynchronous subprograms (ASUBs), interrupt routines"
120
CAUTION
Programming Manual, 02/2011, 6FC5398-2BP40-1BA0
Job planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 828d

Table of Contents