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)
...
Job Planning
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
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
; The SETINT instruction from N20 is
; The SETINT instruction from N20 is
1.14 Interrupt routine (ASUB)
"ABHEB_Z" should start.
deactivated.
reactivated.
Flexible NC programming
129