Electrical drive, comprising an actuator that can be moved in a forward movement between a starting point (SP) and an end point (EP), and in a return movement between the end point (EP) and the starting point (SP), comprising adjustable stop means, against which the actuator strikes at least one of a starting point (SP) and end point (EP), comprising an electrical motor for moving the actuator, comprising position measuring means for determining the position of the actuator, comprising a controller for controlling the motor depending on the signals from the position measuring means, characterized in that the controller is designed and equipped in such a way that the drive can be operated during operation.