The earliest numerical control machines date to the 1940s when motors were first employed to control the movement of pre-existing tools. As technologies advanced, the mechanisms were enhanced with analog computers, and ultimately with digital computers, leading to the rise of CNC machining.
http://www.millingmachinecnc.c....om/cnc/cnc-machine-c