The subject introduces the basics of automation and control of production machines. The main attention is given to positional servomechanisms (principles of execution, interpolation errors, static and dynamic characteristics) and peripheries that enable and influence CNC machine control (measuring elements, control systems, design principles). The design of control loops and verification of principles of position control is also based on computer simulations in SW Matlab - Simulink.