It is also an oscillator that produces the necessary pulses at a frequency that determines the speed of the stepper motor. When S1 is closed, C1 is put in the circuit, stepping down the frequency and the speed of the motor. P1 adjusts the speed range of the motor.
Figure 1 Step generator using the 4093 IC.