The minicomputer or the microcomputer is the control unit of the CNC machine. NC machine uses punch cards. CNC machines take directions via small cards like conventional keyboards. CNC machines’ programs are saved in the computer memory.