Download Print this page

Danfoss MCO 305 Design Manual page 111

Hide thumbs Also See for MCO 305:

Advertisement

MCO 305 Design Guide
ENABLE ... interrupts
Summary
Syntax
Parameter
Description
Command Group
Cross Reference
Syntax Examples
ERRCLR
Summary
Syntax
Description
Command Group
Cross Index
Syntax Example
Program Sample
__ Software Reference __
Enables locked interrupts.
ENABLE inttyp
NB!:
ENABLE cannot be called up during interrupt procedures. (The system automati-
cally switches back to enabled after an interrupt.)
inttyp = ALL
INT
COMBIT
STATBIT
PARAM
PERIOD
TIME
POSINT
(ON APOS, ON MAPOS, ON MCPOS)
ENABLE switches all or explicitly specified interrupts on again.
NB!:
During the execution of an interrupt subroutine at first a DISABLE ALL and at the
end an ENABLE ALL will automatically be done internally. Therefore the execution
of the commands DISABLE ALL and ENABLE ALL within an interrupt is not
necessary and not meaningful, too.
Please see the command DISABLE ...interrupts for more details about interrupt
blockings and how blocked interrupts are handled after the ENABLE command.
INT
ON INT, ON COMBIT, ON STATBIT, ON PARAM, ON PERIOD, ON TIME, DISABLE
...interrupts
ENABLE ALL
/* Switch on all interrupts */
ENABLE COMBIT
/* Switch on the interrupt for the communication bit */
Error cancellation
ERRCLR
The ERRCLR command should only be used in a subroutine for error handling (see
ON ERROR GOSUB).
NB!:
ERRCLR contains the command MOTOR ON, which automatically turns on the
control again. (The motor is position controlled at the current position.)
An option card error can be cleared via the ERRCLR command. However, the cause
of the error must be eliminated first; otherwise the same error alarm will occur
again. If, in the meantime, another un-corrected error occurs, then only the first
error will be canceled.
ERRCLR also resets FC 300 alarms by means of Bit 7 of the control word.
INI, CON
ON ERROR GOSUB, ERRNO, CONTINUE, MOTOR ON,
Warnings and Error Messages
ERRCLR
/* erase actual error alarm */
ERROR_01.M, IF_01.M, INDEX_01.M
®
MG.33.L4.02 – VLT
is a registered Danfoss trademark
111

Advertisement

loading