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

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.