Jump to content

Gray code to binary from Absolute Encoder


Recommended Posts

Hello all,

I have an 11 bit absolute rotary encoder that outputs in gray code. Here is datasheet on it: https://cdn.automationdirect.com/static/specs/encodermda.pdf 

This is needed for determining the position of the shaft on an engine. I am fairly new to Unitronics and Visilogic. I have a V700 with the V200-18-E3XB snap on. I have looked at other answers on this topic and have created a ladder diagram based on this format:  http://www.plcdev.com/using_ladder_logic_for_gray_code_conversion 

However, I am still stuck when it comes to getting the binary to decimal and then being able to read the position output from the encoder on the HMI. 

I am a college student working on my senior capstone. Any and all help is appreciated. 

Thanks,
Robby

Link to comment
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
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.