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 Quote Link to comment Share on other sites More sharing options...
MVP 2022 Joe Tauser Posted November 19, 2019 MVP 2022 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.