EasyManua.ls Logo

Siemens SINUMERIK 828D

Siemens SINUMERIK 828D
822 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Flexible NC programming
1.14 Interrupt routine (ASUB)
Job planning
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
115
Examples
Example 1: Assign interrupt routines and define the priority
Program code Comments
...
N20 SETINT(3) PRIO=1 ABHEB_Z ; If input 3 switches, then interrupt routine
"ABHEB_Z" should start.
N30 SETINT(2) PRIO=2 ABHEB_X ; If input 2 switches, then interrupt routine
"ABHEB_X" should start.
...
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 Comments
...
N20 SETINT(3) PRIO=2 ABHEB_Z ; If input 3 switches, then interrupt routine
"ABHEB_Z" should start.
N120 SETINT(3) PRIO=1 ABHEB_X ; Input 3 is assigned to a new interrupt
routine: Instead of "ABHEB_Z", "ABHEB_X"
should start if input 3 switches.

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Related product manuals