Jump to content

Adsolute Encoder to Unistream


Jose Gilberto

Recommended Posts

  • MVP 2023

That encoder has 8 data lines - you use digital input (not a high speed) module with npn inputs and decode the Gray code it outputs in your logic.

Unitronics does not have a built-in Gray Code decoder function that I'm aware of.  Here's link on how convert 4 bit Gray Code to binary-

http://www.plcdev.com/using_ladder_logic_for_gray_code_conversion

You can extrapolate this to handle 8 bits, and then use the Bits to Num function to turn that into a value.

What is your application that you need an absolute encoder?

Joe T.

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...