Generating PWM from 24 VDC Power Input
Use an LM122 configured as an oscillator. Tie the output as







simulate this circuit &ndash; Schematic created using CircuitLab

If you had a 12 volt supply, you could use a 555, but that won't work at 24 volts.