Adding a danalock that was used with another controller

Is there a way to reset the security codes on de danalock. I keep getting errors: Problem with security code, please exclude and then try adding again.