The goal of this bachelor thesis is to create sample control program executing sequence of robot movements and then its implementation on real robot IRB 120. For communication between robot and PLC was used program created in integrated development environment Microsoft Visual Studio. In the introduction are briefly described history of robotics and categories of robots. In the following chapters are described company ABB Group, its products and company B&R Automation and its products focused on control systems. Next chapters describe the solution of the given laboratory task and briefly explain settings of the individual programs. The thesis attachment contains video of the working project tested on real robot