cancel
Showing results for 
Search instead for 
Did you mean: 

Which error bits to read on Motor fault?

BTrem.1
Senior II

My code reads the motor state and faults after a start-up to ensure the motor is running correctly. I've been using MC_GetCurrentFaultsMotor1() for motor faults but it NEVER reports other than zero. I've primarily been using motor state and speed to determine if a fault occurred.

For example I may read FAULT_NOW (10) or FAULT_OVER (11) but the procedure noted always reports 0. Is there a procedure that reports the most recent fault, even if it has already been cleared?

Thkx

1 REPLY 1
TDK
Guru

Perhaps MC_GetCurrentFaultsMotor1 would provide more info.

0693W00000Dmt7AQAR.png 

https://www.st.com/resource/en/user_manual/dm00490980-stm32-motor-control-sdk-stmicroelectronics.pdf

Might also be that the control software is acknowledging and clearing fault bits. I'm guessing.

If you feel a post has answered your question, please click "Accept as Solution".