WIND TURBINE CONTROL METHOD, said turbine being of variable speed and comprising: • a rotor (1, 9), • a power train coupled to the rotor that transmits the mechanical power to an electric generator (3, 11), and • a converter (4, 12) connected to the generator, by means of which generator torque or power is controlled, and having • a control unit that calculates torque (Tref) or power instructions for the converter based on a method that comprises the following steps: - calculation of an initial torque instruction (Ti) or power instruction based on turbine operating state, - calculation of a torque (Taj) or power adjustment term to dampen the vibration modes of the transmission system, and - calculation of a final torque (Tref) or power instruction by applying the adjustment term to the initial instruction; characterised in that it also comprises the following steps: - estimation of a maximum evacuable active power (Pev) based on an electrical grid voltage (Vnet), being the maximum evacuable active power (Pev) defined as the maximum active power that can be evacuated to the electrical grid. - estimation of a maximum probable value for the adjustment term (Tajmax), - calculation of a limit value of the initial torque instruction (Timax) or power instruction based on the maximum evacuable power (Pev) and the maximum adjustment term value (Tajmax), and - application of said limit value (Timax) to the initial torque (Ti) or power instruction prior to applying the adjustment term (Taj) for calculating the final instruction, thereby reserving a margin so that the adjustment term dampens the vibrations of the transmission system. • a rotor (1, 9), • a power train coupled to the rotor that transmits the mechanical power to an electric generator (3, 11), and • a converter (4, 12) connected to the generator, by means of which generator torque or power is controlled, and having • a control unit that calculates torque (Tref) or power instructions for the converter based on a method that comprises the following steps: - calculation of an initial torque instruction (Ti) or power instruction based on turbine operating state, - calculation of a torque (Taj) or power adjustment term to dampen the vibration modes of the transmission system, and - calculation of a final torque (Tref) or power instruction by applying the adjustment term to the initial instruction; - calculation of an initial torque instruction (Ti) or power instruction based on turbine operating state, - calculation of a torque (Taj) or power adjustment term to dampen the vibration modes of the transmission system, and - calculation of a final torque (Tref) or power instruction by applying the adjustment term to the initial instruction; - estimation of a maximum evacuable active power (Pev) based on an electrical grid voltage (Vnet), being the maximum evacuable active power (Pev) defined as the maximum active power that can be evacuated to the electrical grid. - estimation of a maximum probable value for the adjustment term (Tajmax), - calculation of a limit value of the initial torque instruction (Timax) or power instruction based on the maximum evacuable power (Pev) and the maximum adjustment term value (Tajmax), and - application of said limit value (Timax) to the initial torque (Ti) or power instruction prior to applying the adjustment term (Taj) for calculating the final instruction, thereby reserving a margin so that the adjustment term dampens the vibrations of the transmission system.