JustAnotherEngineer

MrPLC Member
  • Content count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

About JustAnotherEngineer

  • Rank
    Hi, I am New!

Profile Information

  • Country United States
  1. Referencing I/O as Integers

    I will attach the strip of tags below for one of the cards I will be referring to. What I'm after is being able to access the .Data from that card as an integer so that I can just swap out the old Integer grouping that is being used on the RIO. Not sure a better way to describe it. I will also attach the format of the data that's coming in via RIO. It is labeled _001:I.Data and then each card on that rack will have an integer set under that with each bit being an input. I'm looking to see if the IO cards on the CompactLogix (5069 series) can be referenced in such a way that would format the data points into an integer array so all i would have to do is swap the tag in the move command that is currently moving the data from say _001:1.Data[0] into an integer array that is being used in the program. I[8] from the earlier post. Is that a possibility or am I just hoping for a function that isn't available. My goal is to avoid having a rung for moving each individual data point which over the span of 2 full 16 slot racks will really draw out the ladder program and make it a pain to read and navigate. I'd like to move all the data from each card as a set of integers but i don't know if that's a thing or how to do it if it is. Thanks,        
  2. Referencing I/O as Integers

    I guess what I'm asking is can you reference the IO cards on a CompactLogix as such. Such as Local:2:1:Pt01.Data through Local:2:1.Pt15.Data. This would make the conversion 10x easier but currently i can't think of a better way to reference it as an array/integer set. I'm sure I'm missing something but perhaps the only solution is to move the data for each individual point rather than a mass move. Thanks,
  3. I'm doing a PLC upgrade and the system currently has a ControlLogix controlling various other racks. Some have been updated to ControlLogix, some to CompactLogix and some still remain on PLC5 racks. We are upgrading from the PLC5 to a CompactLogix in the cabinet we're working on. The program currently moves INT values from an RIO to a different integer. To keep the conversion as simple as possible i was wondering if I can reference the I/O cards as an INT set so that i can just easily swap them out. Attached is a picture of how they're doing it. Simple move command but I would love to see if there was an easy way to swap them out without writing hundreds of lines of code. For reference this is 2 full 16 card racks. Thank you,