1. A computer numerical control unit for machining centers with learning ability and ability of automatic intelligent generation of control programs, comprising a neural network device, a modified microcomputer, a comparison unit, a position measuring module and an amplifier, the improvement comprising a neural network device that takes instructions from a neural network teaching module that is not a constituent part of the computer numerical control unit and operates independently taking as a basis for its operation a data package received from a conventional CAD&CAM system, in order to operate as an intelligent programming module after a teaching process is completed and to automatically generate the numerical control program adequate for a given part to be processed in the machining centers; the numerical control program being fed to the modified micro computer including an internal interface with its first output connected to a position memory and its second output connected to a function memory, which accepts also manual input commands fed through a manual input module and a decoding unit; the modified microcomputer further includes a function program module, with its module input connected to the function memory and its output connected to an adaptable interface system, and an interpolation program module with its input connected to the position memory and its output connected to the comparison unit which has its other input connected to the output of the position measuring module, to which the position data are fed from a position meter, while the output of the comparison unit is connected to an amplifier which feeds geometric data to a step motor.