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

Flexible NC programming
1.14 Interrupt routine (ASUB)
1.14.4
Deactivating/reactivating the assignment of an interrupt routine (DISABLE,
ENABLE)
Function
A SETINT instruction can be deactivated with DISABLE and reactivated with ENABLE without
losing the input  →  interrupt routine assignment.
Syntax
DISABLE(<n>)
ENABLE(<n>)
Significance
DISABLE(<n>):
ENABLE(<n>):
<n>:
Example
Program code
...
N20 SETINT(3) PRIO=1 ABHEB_Z
...
N90 DISABLE(3)
...
N130 ENABLE(3)
...
124
Command: Deactivating the interrupt routine assignment of input <n>
Command: Reactivating the interrupt routine assignment of input <n>
Parameter: Input number
Type:
INT
Range of values: 1 ... 8
Comments
; If input 3 switches, then interrupt routine
"ABHEB_Z" should start.
; The SETINT instruction from N20 is
deactivated.
; The SETINT instruction from N20 is
reactivated.
Programming Manual, 02/2011, 6FC5398-2BP40-1BA0
Job planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 828d

Table of Contents