Siemens SINUMERIK 840D sl Programming Manual page 63

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

Advertisement

Assign and start interrupt routine, SETINT
The control has signals (inputs 1 to 8)
to interrupt the program run and start the corresponding interrupt routine.
The assignment of input to program is made in the main program.
Example:
N10 SETINT(3) PRIO=1 LIFT_Z
When input 3 is enabled, routine LIFT_Z is started immediately.
Start several interrupt routines, define the priority, PRIO=
If several SETINT instructions are programmed in your NC program and several signals can
therefore occur at the same time, you must assign the priority of the interrupt routines to
determine the order in which they are executed: PRIO 1 to 128, 1 has highest priority.
Example:
N10 SETINT(3) PRIO=1 LIFT_Z
N20 SETINT(2) PRIO=2 LIFT_X
The routines are executed successively in the order of their priority if the inputs are enabled
at the same time. First SETINT(3), then SETINT(2).
If new signals are received while interrupt routines are being executed, the current interrupt
routines are interrupted by routines with higher priority.
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
1.14 Interrupt routine (SETINT, DISABLE, ENABLE, CLRINT)
Flexible NC programming
1-49

Advertisement

Table of Contents
loading

Table of Contents