Siemens SINUMERIK 828D Programming Manual page 115

Hide thumbs Also See for SINUMERIK 828D:
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, 07/2010, 6FC5398-2BP40-0BA0
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", "ABHEB_X"
should start if input 3 switches.
Flexible NC programming
115

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents