youngling

Scaling question

3 posts in this topic

Have a DINT value for torque command said to be .001% of momentary max torque (9.55 nm). I divided this value by 1000 and got a number far too large.

I also tried taking input value and dividing it by the listed max value in parameters and then multiplying it by 9.55 nm  and that number was far too large as well?? 

very confused and new to scaling servos and would like to be able to monitor my torque value  any help would be greatly appreciated 

Edited by youngling
forgot to mention what I was trying to do

Share this post


Link to post
Share on other sites

please respect Sir Isaac Newton, unit is Nm (Newton-meter) not nm (nano-meter). in general units named after people are capitalized. :-)

 

what input did you use? was it DINT as well? show code...

Share this post


Link to post
Share on other sites

screenshot not available at the moment I am on a mac haha.

But i allocated DM200 as my input in PCU parameters

Made D208 a DINT and did /L  &1000 to look for my percent max torque

also my other attempt was D208 FLTL (32bit floating if thats not correct label)

and divid that floating by the max value and next multiplied by 9.55 Nm****

(edit a+8 and a+9 are defined in manual as my torque command value)

Edited by youngling
also forgot to add why D208

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now