For my diploma thesis I created a learning model for performing simple tasks in the field of control systems. The learning model is based on a programmable logical controller Siemens SIMATIC S7-1200, it also contains the operator panel with the human-machine interface (HMI) and adapting circuit with a four-terminal box to simulate a real-world system (for example a 1st order element). In the central part of my thesis, I present the conceptual design of the learning model. For this I set the reference value of the process output and the type of controller and its parameters (with the help of the HMI) while the PLC executes the program for the control system with a negative feedback loop. I wrote the program code in the TIA Portal environment. The portal has pre-written code blocks for a PID controller with automatic parameter tuning capabilities. Due to the limitations of the pre-written code, I also wrote my own program for the PID controller and presented the comparison of the operation of both algorithms at the end of the thesis.