If a motor becomes defective, e.g. stops running, runs too slowly, or becomes
too hot, many customers demand the generation of an alarm signal, i.e. ask for
an alarm device provided on the motor. The following method is used for configuring
this alarm signal: At least one parameter for configuring the alarm device of the
motor is inputted via a input interface (80, 82); the at least one parameter
is stored in a parameter memory (74; 109); the execution of at least one
routine of the alarm device provided in the microprocessor (23) is influenced
by said stored parameter or by a parameter derived therefrom. The invention furthermore
concerns a motor for carrying out such a method. In a motor of this kind, the alarm
device can easily be configured in accordance with a customer's present needs.