Preventing damage to the motor, e.g. setting individual current limits for different drive conditions