You are not registered yet. Please click here to register!

plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
Try our online PLC Simulator- FREE.  Click here now to try it.

New Here? Please read this important info!!!

Go Back - Interactive Q & A > - Interactive Q & A > LIVE PLC Questions And Answers

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old August 4th, 2022, 12:33 PM   #1

Ugsomania is offline
Join Date: Aug 2022
Location: Cambridge
Posts: 6
Gray Code encoder to Ethernet help!!!

Hey guys,

Although I've poured through this forum for help in the past this is my first post.

I am looking at replacing obsolete Baumer IVO Parallel encoders. It is a PLC 5 platform currently. I have installed a logix chassis for a previous upgrade and have a 1756-RIO card in that chassis as an adapter to get data back and forth between logix and PLC5. I'm going to be using an 842E-M encoder from AB for this upgrade. My plan is to RIO the encoder data from Logix to the PLC 5. Currently the encoder data is brought into the PLC in gray code via a 16 bit flex io input card. My plan is to set up more RIO racks and just change the current PLC logic to accept the data from my ethernet encoder rather than the flex IO input.

I have two questions.

1)My encoder data on the logix side is stored in a DINT. PLC5 works in 16bit words (INTs). But my encoders are all scaled where they don't exceed a maximum 16 bit value of 65536. Am I able to move this data to the PLC5 without any further manipulation?

2)With a 1756-RIO card in Adapter mode, am I able to move across data or am I limited to strictly inputs and outputs on the PLC5 side? I realize its ALL data technically on the logix side, but I'm under the impression I have no choice here but to land my data FROM Logix into the input data table on the PLC side. Am I correct here? So that being said I'll have to move my raw encoder position on the logix side into a DINT I would have set up to be my RIO rack and that will land in the corresponding input table in PLC5? Is there a way to move data into an integer file for example?

Thanks in advance for the assist on this.
  Reply With Quote
Jump to Live PLC Question and Answer Forum


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
How to calculate absolute encoder position? g.mccormick LIVE PLC Questions And Answers 20 May 22nd, 2018 05:51 AM
SLC 505 ethernet code sample for pwerflex drives. mmiles LIVE PLC Questions And Answers 4 December 5th, 2009 10:13 AM
Gray code encoder on SLC 5/05 Joe Smalling LIVE PLC Questions And Answers 4 June 5th, 2006 12:38 PM
Gray encoder pauly LIVE PLC Questions And Answers 10 May 11th, 2006 04:38 AM
AB Encoder Code Steve_D LIVE PLC Questions And Answers 4 August 19th, 2002 09:52 AM

All times are GMT -4. The time now is 07:01 AM.