Slightly corrected version. With the original, I always was starting at 1000rpm. Not quite what we're looking for when our router/spindle's slowest speed is 3000. So I corrected the While loop to start at the requested startRPM and then increment by the step increment over the time specified. This version goes one increment over the requested max rpm