hit counter script

Deactivating/Reactivating The Assignment Of An Interrupt Routine (Disable, Enable) - Siemens SINUMERIK 840D sl Programming Manual

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
1.14.4
Deactivating/reactivating the assignment of an interrupt routine (DISABLE,
ENABLE)
Function
A
SETINT
losing the input → interrupt routine assignment.
Syntax
DISABLE(<n>)
ENABLE(<n>)
Meaning
DISABLE(<n>)
ENABLE(<n>)
<n>:
Job Planning
Programming Manual, 03/2013, 6FC5398-2BP40-3BA1
instruction can be deactivated with
:
Command: Deactivating the interrupt routine assignment of input <n>
:
Command: Reactivating the interrupt routine assignment of input <n>
Parameter: Input number
Type:
Range of values: 1 ... 8
Comment
; If input 3 switches, then interrupt routine
"ABHEB_Z" should start.
; If input 2 switches, then interrupt routine
"ABHEB_X" should start.
Comment
; 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.
and reactivated with
DISABLE
INT
Flexible NC programming
1.14 Interrupt routine (ASUB)
without
ENABLE
125

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents

Save PDF