Given those requirements, you're looking at 4-axis + the spindle. Depending on the motion controller, they may give a PWM option or dedicated 0-10V output, but if not, you'll need 5-axis combined...