switching between a number of discrete positions as a function of the applied signal