Delay stop command as function of error between reference and multiple of increments