Devices for preselecting speed in gear boxes of lathes