how does a braking resistor work?
 It is activated by a sensor which is monitoring the voltage level of the DC bus and switching on the braking resistor when this voltage rises above some preset trigger level as a result of the reverse power flowing into the drive. 