This bechelor thesis is aimed on the programming of CNC mechanics. It clarifies individual periods in development of digitally operated machines and is dedicated to principles of the managment of CNC machines. It also deals with division of digitally operated machines and defines basic terms in the fields such as programming, coordinate system, correction of tools or interpolation. It analyses principal CNC programming from of the program structure, describes important functions and methods of programming. It paints a pictures of development enviroments via dialog boxes, programming of machinery tools in CAD/CAM systems. It introduces examples of creation of the programs and comparation of the development environments.