In this paper, the design of the terminal continuous-time sliding mode controller is presented. The influence of the external disturbances is considered. The robustness for the whole regulation process is obtained by adapting the time-varying sliding line. The representative point converges to the demand state in finite time due to the selected shape of the nonlinear switching curve. Absolute values of control signal, system velocity and both of these quantities are bounded from above and considered as system constraints. In order to evaluate the dynamical performance of the system, the settling time is selected as a quality index and it is minimized. The approach presented in this paper is particularly suited for systems in which one state (or a set of states) is the derivative of the other state (or a set of states). This makes it applicable to a wide range of electromechanical systems, in which the states are the position and velocity of the mechanical parts.