Dzas Posted January 22 Share Posted January 22 Hello, I want to read position data on a quadrature encoder from my USB-1808X these seem to be all the options available, what configuration I have to choose to get angular position of the encoder? The encoder pins are connected to ENC0A and ENC0B. Best regards. Link to comment Share on other sites More sharing options...
0 Fausto Posted January 23 Share Posted January 23 Hello @Dzas. Copy the following settings to get angular position of your encoder. My encoder has a specification of 360 pulses per revolution. The Z-index mode is used to reset the (degrees) counter. Do you have a data sheet with specifications for your encoder? Regards, Fausto Link to comment Share on other sites More sharing options...
0 Dzas Posted January 23 Author Share Posted January 23 This is my encoder's data sheet and its model is 8235 shown in the image below. When I try to use the settings you have shown I only get some oscillation between 0 and some random value as shown in the image below. How do I get the count value to use for calculating how much the encoder has turned which is supposed to increase the count number in clockwise and decrease it ccw. Best regards OBSOLETE 835S (1) (1).pdf Link to comment Share on other sites More sharing options...
0 Fausto Posted January 24 Share Posted January 24 Hello @Dzas. If I'm reading your encoder's datasheet correctly, it would seem that the cycles per revolution spec is 22,500 pulses per revolution. Use that value in the MCC Counter Input module's Angular Scale - Pulses per Revolution field. If you have a wheel attached to the encoder's shaft, then you can calculate and verify distance traveled. Test the attached DASYLab 2022.1 (v16.1.0.665) worksheet. Enter the diameter of the wheel (inches) when the worksheet launches. Does the data agree with the expected distance traveled as a result of the shaft rotation(s)? USB1808X-encoder-position_v1.DSB Regards, Fausto Link to comment Share on other sites More sharing options...
Question
Dzas
Hello, I want to read position data on a quadrature encoder from my USB-1808X these seem to be all the options available, what configuration I have to choose to get angular position of the encoder? The encoder pins are connected to ENC0A and ENC0B.
Best regards.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now