cancel
Showing results for 
Search instead for 
Did you mean: 

Function Return Value/Unit in Motor Control Code

Texram
Associate III

Hi,

I'm using 6 Step Motor Control and wonder what's the unit of the returned value from STC_GetDutyCycleRef() in speed_ctrl.c?

I set the reference speed to 1000rpm. After I started running a motor, I saw the returned value from STC_GetDutyCycleRef(), ramping up to 3200 from 0.

I would expect the returned value from STC_GetDutyCycleRef() to be 0 - 100 (%).

What's the unit of the returned value from STC_GetDutyCycleRef() ?

 

Texram_0-1721250679388.png

Thanks

 

0 REPLIES 0