Siemens SINUMERIK 840D sl Programming Manual page 128

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

Advertisement

Flexible NC programming
1.14 Interrupt routine (ASUB)
Examples
Example 1: Assign interrupt routines and define the priority
Program code
...
N20 SETINT(3) PRIO=1 ABHEB_Z
N30 SETINT(2) PRIO=2 ABHEB_X
...
The interrupt routines are executed in the sequence of the priority values if the inputs
become available simultaneously (are energized simultaneously): First "ABHEB_Z", the
"ABHEB_X".
Example 2: Newly assign an interrupt routine
Program code
...
N20 SETINT(3) PRIO=2 ABHEB_Z
...
N120 SETINT(3) PRIO=1 LIFT_X
128
Comments
; If input 3 switches, then interrupt routine
"ABHEB_Z" should start.
; If input 2 switches, then interrupt routine
"ABHEB_X" should start.
Comments
; If input 3 switches, then interrupt routine
"ABHEB_Z" should start.
; Input 3 is assigned to a new interrupt
routine: Instead of "ABHEB_Z", "ABHEB_X"
should start if input 3 switches.
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
Job Planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents