When an electric motor driven machinery is slowing down, electric energy is generated. The motor acts as a generator. The braking energy must either go back into the power grid or be dissipated as heat. An external braking resistor is a compact, cost-effective method that burns the excess braking energy.