Computer numerical control (CNC) is a method for automating control of machine tools through the use of software embedded in a microcomputer attached to the tool. ... Mills, lathes, routers, grinders and lasers are common machine tools whose operations can be automated with CNC.