In order to operate a gear motor with adjustable speed, the motor needs to be retrofitted with a frequency converter (FU). The frequency converter has a modular design so that it can be easily mounted on a leg set and connected to the motor by cable.