2020-08-23 08:40 PM
I use 2048 PPR encoder for speed control. It work well.
But if I change the motor mode from speed to position control,something goes wrong.
If we select Z signal for shaft zero alignment,the code after reset below
MC_StartMotor1();
while (MC_GetAlignmentStatusMotor1() !=TC_ALIGNMENT_COMPLETED);
it will get the motor speed to max
Anyone knows the reason why.
Thanks
Solved! Go to Solution.
2020-09-16 08:40 AM
I had a similar issue today, I assume you are trying to use the "follow mode" setting the duration to 0. If this is the case, most probably you are requesting a big change in position inside a while(1) loop which basically updates the new position at the cycle rate of the processor. Solution: decrease the position to 1/1000 or even more depending on the speed you need.
2020-09-14 02:13 AM
Dear LSHEN.1
Do you have still this problem to solve?
Best regards
Laurent Ca...
2020-09-14 09:11 AM
Dear Laurent:
We found the problem on Motor Workbench V5.4.3 and V5.4.4 .
And the problem still un-solve. It seems the torque command is
a little bit too large to start up the motor.
Best Regards,
Lin Shen Mao
2020-09-16 08:40 AM
I had a similar issue today, I assume you are trying to use the "follow mode" setting the duration to 0. If this is the case, most probably you are requesting a big change in position inside a while(1) loop which basically updates the new position at the cycle rate of the processor. Solution: decrease the position to 1/1000 or even more depending on the speed you need.
2024-05-30 01:25 AM
Problems solved