Author Topic: Only reading 1 array register  (Read 115 times)

FlippinBits

  • Newbie
  • *
  • Posts: 2
    • View Profile
Only reading 1 array register
« on: April 27, 2024, 02:59:02 PM »
I'm having a strange problem.  I have a page that just reads values from 2 PLCs.  One is ControlLogix which is working as expected.  The second is CompactLogix which has the problem. Using the same driver for both.
I am reading an array of values.  The displayed values are all the same as the first set in the array.  So, it reads the first row, then the second row is the same values as the first, 3rd same as first, 4th same as first.
I am just using the Basic Label addressed to each element.  The PLC address is correct in Properties, but that is not the value that is displayed.  Using version V399x Patched3 of Advanced HMI.
Any ideas?
TIA

FlippinBits

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Only reading 1 array register
« Reply #1 on: May 07, 2024, 09:53:36 AM »
No suggestions?  Just as well.
To follow up and for future readers.  This ended up not being an Advanced HMI issue, just appeared to be because some registers were not read properly.
This is with an AB CompactLogix 5380.  At the same time, I had a problem with not being able to save the PLC program to my laptop.  I don't have the exact message, but something about an offset being bad.  I had to do a download to the PLC to fix that, which it did.  At the same time, that also fixed my array displaying issue, that is now also working correctly again.
This is not the first time that I have had issues reading registers in AB ControlLogix PLCs that appeared in Advanced HMI.  In both times a download of the PLC program to the PLC fixed it.  Just something else to consider for others with similar issues.   :)

dmroeder

  • Global Moderator
  • Full Member
  • *****
  • Posts: 208
    • View Profile
Re: Only reading 1 array register
« Reply #2 on: May 07, 2024, 10:06:57 AM »
Thanks for the update FlippinBits.

This is a very interesting issue. There have been issues in v32+ where some corruption of the tag database occurs.  The result ends up being you cannot upload the program from the controller.  Only recourse is to download.  We've seen this a couple of times, luckily for us, it's just machines we are building, not in production environment.

Seems like a similar issue.  Curious, are these tags UDT members?  I think Rockwell has opened up some UDT editing (renaming maybe?) online, there are technotes about corruption happening in when doing this in some versions.  What firmware version are you using?