2022-02-18 03:15 AM
I tried to run my motor (PMSM) bit it doesn't run.
I used like reference the document:
I use:
Firstly, I generated a code in Motor Control Workbech. In this code, I wrote the next code to run my motor but it didn't work. I don't know why because it didn't have any errors.
At the same time, I used "MC_GetSTMStateMotor1();" which showed me that I have 2 faults.
I need help pls!!
Kind regards
My code:
You
Currocan see the state motor here:
2023-11-15 05:05 AM
Dear fpaga,
Firstly, we would like to sincerely apologize for the delay in replying to your post.
If your point is still pertinent, if motor state reports FAULT state, you can use MC_GetOccurredFaultsMotor1() api to get the error ID (definitions are in mc_type.h file). According to this error ID, please have a look to our FAQ page in order to handle it.