Precise and fast position tracking is essential for the correct operation of many industrial robots and CNC machine tools. This subject is also important in the control of the mount of the astronomical telescope, especially for the tracking of artificial satellites. As system parameters can change, a control method that is robust to changes in parameters must be used. Such a method is the sliding control, which, however, ensures the robustness only after reaching the sliding surface. Therefore, a new method was proposed in the paper, which eliminates the phase of reaching the sliding surface. The method consists of using a reference trajectory generator and determining the generalized error in relation to this trajectory. The procedure for designing the control system is presented. Next, the proposed method was verified on the laboratory stand. The described control method provides a robust system operation and can be easily implemented in the control system.