Siemens sinumerik 840d Programming Manual page 70

Hide thumbs Also See for sinumerik 840d:
Table of Contents

Advertisement

Flexible NC Programming
1
1.14 Interrupt routine
840D
840D
NCU 571
NCU 572
NCU 573
Assign and start interrupt routine, SETINT
The control has eight signals
(inputs 1...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: Priority levels PRIO 1 to
128 are available, 1 has top 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.
1-70
810D
840Di
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) − 04.00 Edition
0
SETINT (0) ...
1
SETINT (1) ...
2
SETINT (2) ...
3
SETINT (3) ...
 Siemens AG 2000. All rights reserved
02.98
1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik fm-ncSinumerik 840diSinumerik 810d

Table of Contents