Computer numerical control (CNC) is the automation of machine tools by means of computers executing per-programmed sequences of machine control commands. This is in contrast to machines that are manually controlled by hand wheels or levers, or mechanically automated by cams alone.