Programming - Siemens SINUMERIK 840D sl Function Manual

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

Advertisement

K1: Mode group, channel, program operation, reset response
9.10 Asynchronous subprograms (ASUBs), interrupt routines
Lists Manual "Detailed Description of the Machines"
9.10.3

Programming

Assignment interrupt signal ↔ part program
The assignment interrupt signal ↔ part program is performed with the command SETINT.
Example:
Program code
...
N20 SETINT(3) ABHEBEN_Z
...
Together with SETINT additionally the following commands can be programmed:
● LIFTFAST
When the interrupt signal arrives, a "Fast retraction of the tool from the contour" is executed
before the interrupt routine starts. The motion direction for the fast retraction is specified
by the program instruction ALF.
● BLSYNC
Upon receiving the interrupt signal, the current program block is processed and only then
is the interrupt routine started.
Note
The assignment interrupt signal ↔ part program is cleared when the following happens:
● Channel in Reset state
● CLRINT instruction in part program
Priorities
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>
There are priorities from 1 to 128. Priority 1 corresponds to the highest priority.
Example:
Program code
...
N20 SETINT(3) PRIO=2 ABHEBEN_Z
N30 SETINT(2) PRIO=2 ABHEBEN_X
...
568
Comment
; If input 3 switches, then interrupt routine
"ABHEB_Z" should start.
Comment
; If input 3 switches, then interrupt routine
"ABHEB_Z" should start.
; If input 2 switches, then interrupt routine
"ABHEB_X" should start.
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Basic Functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents