Danfoss VLT 5000 Series Manual page 79

Synchronizing and positioning option onizing and positioning option
Hide thumbs Also See for VLT 5000 Series:
Table of Contents

Advertisement

I I I I I DISABLE ... interrupts
DISABLE switches off all or explicitly specified
interrupts – apart from ON ERROR. If the function
DISABLE ... is used in the main program, it can
prevent interrupts of the corresponding type.
This is particularly useful if a variable, which is set
in an interrupt procedure, is used in in the main
program. To do this you should first switch off the
corresponding (or all) interrupts in the main
program DISABLE ... alter the variable and then
switch the corresponding (or all) interrupts back on
with ENABLE ...
Summary
Switches interrupts off
Syntax
DISABLE inttyp
NB!
DISABLE cannot be called up during
interrupt procedures. (The system automati-
cally switches back to enabled after an interrupt.)
Parameter
inttyp =
ALL
INT
COMBIT
STATBIT
PARAM
PERIOD
TIME
NB!
DISABLE ALL = all except ON ERROR
DISABLE INT = input interrupts are ignored
Command group
INT
Cross Index
ON INT, ON COMBIT, ON STATBIT, ON PARAM,
ON PERIOD, ON TIME, ENABLE .. Interrupts
Syntax example
DISABLE ALL
/* Switch off all interrupts */
DISABLE STATBIT
/* Switch off the interrupt for the status bit */
MG.10.J4.02 – VLT is a registered Danfoss trade mark
®
VLT
5000 SyncPos option
I I I I I ENABLE ... interrupts
ENABLE switches all or explicitly specified
interrupts on again.
Summary
Switches interrupts on
Syntax
ENABLE inttyp
NB!
ENABLE cannot be called up during
interrupt procedures. (The system
automatically switches back to enabled after an
interrupt.)
Parameter
inttyp =
ALL
INT
COMBIT
STATBIT
PARAM
PERIOD
TIME
Command group
INT
Cross Index
ON INT, ON COMBIT, ON STATBIT, ON PARAM,
ON PERIOD, ON TIME
Syntax example
ENABLE ALL
/* Switch on all interrupts */
ENABLE COMBIT
/* Switch on the interrupt for
the communication bit */
79

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents