Siemens Sinumerik 840D sl Programming Manual page 123

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

Advertisement

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 ABHEB_X
Job planning
Programming Manual, 02/2011, 6FC5398-2BP40-1BA0
1.14 Interrupt routine (ASUB)
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",
should start if input 3 switches.
Flexible NC programming
"ABHEB_X"
123

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 828d

Table of Contents