This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi! I am not sure if I am doing it correctly. I am using lab05a as reference for my project. At the default state when I set IqRef_A to negative value the motor spins slowly and max rpms I get when the IqRef_A is positive. In order to change spin direction I have to set SpeedRef_krpm to negative value. But now the IqRef_A responds backwards - positive value for low speed, max krpm for negative speed. Is this correct? Am I doing it correctly or there is another approach in changing motor spin direction and rpm control respectively?
thanks!
Set the gMotorVars.IqRef_A to a positive value for forward rotation. Set the gMotorVars.IqRef_A to a negative value for reverse rotation. The reference speed will be set in updateIqRef() for the rotation direction automatically in lab05a.