Quote:
Originally Posted by RyanN
S4T is the model... nothing interesting there.
120 is the Counts Per Revolution (CPR). That's the resolution of the encoder per 360 degrees of rotation. So it will provide 120 counts/pulses/ticks per 360 degrees... or one count per every 3 degrees.
I'm not sure what language you're using, but I'm only familiar with the LabVIEW libraries.
The getRate() function will provide you with a counts / second value while getPeriod() will return the inverse, seconds / count. I imagine get() returns the total counts since the encoder count value was reset. The setDistancePerPulse() function should take in either degrees or radians equal to 3 degrees.
Finally, 250 is rather boring to this control mentor. It's just the shaft size, 250 mils or 1/4" shaft diameter.
|
I am using Java but this information was very helpful. I wan't able to find whether or not the code used counts per second, per minuet, or anything.
Thank you for replying.