Method for controlling at least one servomotor (M, M1-M6) by means of a converter which comprises: - an input circuit connected to an electrical network, - a DC link which is able to be supplied with power from the input circuit, - a first switching apparatus (21, 21a) which is designed, in its switched-on state, to supply the DC link with electrical energy from the input circuit and, in its switched-off state, to prevent the DC link from being supplied with power from the electrical network such that no electrical energy from the electrical network reaches the DC link, - at least one inverter circuit which is able to be supplied with power from the DC link and which has actuatable power semiconductor switches (S1-S6) for electrically actuating the servomotor (M, M1-M6), characterized by - a second switching apparatus (22, 22a) which is designed, in its switched-on state, to supply the servomotor (M, M1-M6) with electrical energy from the inverter circuit in order to drive the servomotor (M, M1-M6) and, in its switched-off state, to prevent the servomotor (M, M1-M6) from being driven such that no electrical energy driving the servomotor (M, M1-M6) reaches the servomotor (M, M1-M6) from the inverter circuit, said method having the steps of: - monitoring whether an electrical current is flowing through a circuit of the DC link connected to the input circuit, - when a stop signal occurs, switching off the first switching apparatus (21, 21a) in order to terminate the supply of power from the electrical network to the DC link, - if, after the first switching apparatus (21, 21a) has been switched off, the monitoring determines that there is no electrical current flowing through the circuit of the DC link connected to the input circuit, braking the servomotor (M, M1-M6) by actuating the power semiconductor switches (S1-S6) of the inverter circuit in a regenerative braking mode or by short-circuit braking in order to reduce the speed of the servomotor (M, M1-M6), - if, after the first switching apparatus (21, 21a) has been switched off, the monitoring determines that there is an electrical current flowing through the circuit of the DC link connected to the input circuit, switching off the second switching apparatus (22, 22a) in order to prevent electrical energy from being supplied from the DC link to the servomotor (M, M1-M6). - an input circuit connected to an electrical network, - a DC link which is able to be supplied with power from the input circuit, - a first switching apparatus (21, 21a) which is designed, in its switched-on state, to supply the DC link with electrical energy from the input circuit and, in its switched-off state, to prevent the DC link from being supplied with power from the electrical network such that no electrical energy from the electrical network reaches the DC link, - at least one inverter circuit which is able to be supplied with power from the DC link and which has actuatable power semiconductor switches (S1-S6) for electrically actuating the servomotor (M, M1-M6), characterized by - a second switching apparatus (22, 22a) which is designed, in its switched-on state, to supply the servomotor (M, M1-M6) with electrical energy from the inverter circuit in order to drive the servomotor (M, M1-M6) and, in its switched-off state, to prevent the servomotor (M, M1-M6) from being driven such that no electrical energy driving the servomotor (M, M1-M6) reaches the servomotor (M, M1-M6) from the inverter circuit, said method having the steps of: - monitoring whether an electrical current is flowing through a circuit of the DC link connected to the input circuit, - when a stop signal occurs, switching off the first switching apparatus (21, 21a) in order to terminate the supply of power from the electrical network to the DC link, - if, after the first switching apparatus (21, 21a) has been switched off, the monitoring determines that there is no electrical current flowing through the circuit of the DC link connected to the input circuit, braking the servomotor (M, M1-M6) by actuating the power semiconductor switches (S1-S6) of the inverter circuit in a regenerative braking mode or by short-circuit braking in order to reduce the speed of the servomotor (M, M1-M6), - if, after the first switching apparatus (21, 21a) has been switched off, the monitoring determines that there is an electrical current flowing through the circuit of the DC link connected to the input circuit, switching off the second switching apparatus (22, 22a) in order to prevent electrical energy from being supplied from the DC link to the servomotor (M, M1-M6).