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)
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.
Syntax
SETINT(<n>) PRIO=<value> <NAME>
SETINT(<n>) PRIO=<value> <NAME> BLSYNC
SETINT(<n>) PRIO=<value> <NAME> LIFTFAST
Significance
SETINT(<n>):
<n>:
PRIO= :
<value>:
<NAME>:
BLSYNC:
LIFTFAST:
122
Command: Assign input <n> to an interrupt routine. The assigned
interrupt routine starts when input <n> switches.
Note:
If an input that is already assigned is allocated to a new routine, then the
old assignment is automatically cancelled.
Parameters: Input number
Type:
INT
Range of values:
1 ... 8
Command: Defining the priority
Priority value
Type:
INT
Range of values:
1 ... 128
Priority 1 corresponds to the highest priority.
Name of the subprogram (interrupt routine) that should be executed.
If the SETINT operation is programmed together with BLSYNC, when the
interrupt signal is received the program block which is in progress will
continue to be processed; only once this is complete will the interrupt
routine be launched.
If the SETINT operation is programmed together with LIFTFAST, when
the interrupt signal is received a "fast retraction of the tool from the
contour" will be performed before the start of the interrupt routine (see
"Fast retraction from the contour (SETINT LIFTFAST, ALF) [Page 126]").
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