Spindle gear change

The following switches and variables are needed to set the spindle speed ranges and gear changes.

Gear changing is only possible for the main spindle.