Motor gives error 128 (ERROR_MODULATION_MAGNITUDE)

Good morning,

I’m working on a mechanical setup built a couple of years ago by a colleague.
It runs with:

  • Odrive V3.5
  • Firmware 0.4.11
  • One BLDC motor on Axis 1

After successfully running the motor and the setup for a day or so, a failure (?) suddenly occurred. The motor axis and motor errors now return:

  • odrv0.axis1.error = 64
  • odrv0.axis1.motor.error = 128

I looked up what these meant in the source code of firmware 0.4.11, and I see

  • odrv0.axis1.error = 64 → ERROR_MOTOR_FAILED
  • odrv0.axis1.motor.error = 128 → ERROR_MODULATION_MAGNITUDE

What does it mean? How could I fix it?

Thanks in advance. Best regards,
Nicola

Nevermind… It was actually a signal modulation setpoint error from my side. The error code was right, and more accurately than I could figure.