EasyManuals Logo

Danfoss VLT5000 SyncPos User Manual

Danfoss VLT5000 SyncPos
236 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
Page #111 background imageLoading...
Page #111 background image
Programmable SyncPos motion controller
MG.10.J8.02 – VLT is a registered Danfoss trade mark
110
Software Reference
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 pre-
vent interrupts of the corresponding type.
This is particularly useful if a variable, which is set in
an interrupt procedure, is used in the main program.
To do this you should first switch off the correspon-
ding (or all) interrupts in the main program
DISABLE.. alter the variable and then switch the cor-
responding (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 automatically swit-
ches back to enabled after an interrupt.)
Parameter
inttyp = ALL
INT
COMBIT
STATBIT
PARAM
PERIOD
TIME
POSINT
NB!
DISABLE ALL = all except ON ERROR:
in addition the pending interrupts are execu-
ted after the release with ENABLE ALL.
NB!
If an interrupt is disabled it still exist, but is not
processed anymore (Exception: DISABLE
ALL).
The detection is still running in the background and
the interrupt is captured in case of a non (!) edge-
sensitive or a message-oriented interrupt (ON
PERIOD, ON APOS, ON PARAM etc.). If the interrupt
is ENABLEd again and there was a captured (non
edge-sensitive) interrupt before, this interrupt is pro-
cessed immediately.
In case of edge-sensitive interrupts (e.g. ON INT, ON
COMBIT, ON STATBIT), all interrupts, which take
place during the DISABLEd phase are not proces-
sed, even not after switching on ENABLE again.
These interrupts have no memory in case of
DISABLEd state. Edge-sensitive interrupts which take
place after the anew ENABLEing are still processed
again.
NB!
Exception: DISABLE ALL
In opposite to the selective disabling of edge-
sensitive interrupts (e.g. DISABLE INT) – these will
be ignored and not executed after enabling – in
case of DISABLE ALL the request is stored (edge-
sensitive interrupts too) and the interrupt are still
executed after enabling (ENABLE ALL)!
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 */

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Danfoss VLT5000 SyncPos and is the answer not in the manual?

Danfoss VLT5000 SyncPos Specifications

General IconGeneral
CategoryController
Frequency50/60 Hz
SeriesVLT5000
Control MethodVector control
CommunicationCANopen
Enclosure RatingIP20
Storage Temperature-25°C to 70°C
AltitudeUp to 1000m above sea level
Humidity5% to 95% (non-condensing)

Related product manuals