The aim of this diploma thesis is to optimize the production process of the mechanical workshop for the company KNORR - BREMSE Systémy pro užitková vozidla ČR, s.r.o. The objective is to shorten the secondary production time periods and reduce the production area for individual workplaces. After the analysis of the existing state of the mechanical workshop, production was optimized by replacing the machines with new ones supplemented by the automatic rebuilding of technological pallets and partial automation of the production process by using robotic workstations. The new solutions were then critically evaluated in the final part of the thesis. The thesis includes drawings of the new plan of the mechanical workshop and the individual robot ...