The basic idea of Computer Numerical Control (CNC) involves operating machine tools using commands formed from numbers, letters, and symbols. These commands are coded according to a specific logic and are used to control the part program, enabling precise and automated machining processes.