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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...