g.mccormick
Lifetime Supporting Member
I've never really thought about these before, but a potential use in knowing the angle of a table has me looking at them. I don't really konow anything about gray code, but seemingly you have gray code from the encoder. You convert the gray code to binary, then the binary to decimal.
So if an encoder was 1024 ppr, and the decimal value of the current position is 512, you would know the encoder is at 180 degrees correct?
Looking at automation direct, the 1024 ppr encoder is a 10bit gray code.
How would I convert the gray code into binary?
So if an encoder was 1024 ppr, and the decimal value of the current position is 512, you would know the encoder is at 180 degrees correct?
Looking at automation direct, the 1024 ppr encoder is a 10bit gray code.
How would I convert the gray code into binary?