CV closeloop CNC controller