It would take almost 15 sec to make the CTRL from OffLine state to both the CTR and the EST OnLine state even the motor parameters have been loaded form users.h
Is there a reason for this?
Thanks.
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.
It would take almost 15 sec to make the CTRL from OffLine state to both the CTR and the EST OnLine state even the motor parameters have been loaded form users.h
Is there a reason for this?
Thanks.
you must have OffsetCalc and RsRecalc both enabled. This isn't mandatory.
I'd also look at your decimation section of user.h to see if your clocking makes sense.
I do have both flags turned off:
gMotorVars.Flag_enableRsRecalc = false;
gMotorVars.Flag_enableOffsetcalc = false;
The CTRL comes from offline to online and the Est from idle to Rs then to Online.
Those processes still take roughly 12 sec to have both state machine online.
-T
which lab are you running?
some of the labs (proj_lab02 for sure) don't actually set these flags into the controller, even if you set the gMotorVars status
most of the others do. and my system starts up instantly with both set to false.