Jose Gilberto Posted November 18, 2019 Report Share Posted November 18, 2019 I need to connect a Rotary Encoder Absolute (Omron E6CP-AG5C-C) to the UniStream I plan to use high speed module, who has experience with this application Link to comment Share on other sites More sharing options...
MVP 2023 Joe Tauser Posted November 19, 2019 MVP 2023 Report Share Posted November 19, 2019 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now