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

FlippinBits

  • Newbie
  • *
  • Posts: 3
    • 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: 3
    • 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?

FlippinBits

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Only reading 1 array register
« Reply #3 on: Today at 11:08:37 AM »
Yes, this is the second time for an issue like this.  First was a ControlLogix V32.  I was not able to read several registers from an outside network and the HMI stopped reading from the PLC.  A download "fixed" that.  Rockwell recommended a firmware update, which I did.  Have not seen that one again.
Second is the one posted here, which I have already described.
This recent one with the 5380 is version 32.12.
I updated the ControlLogix L83ES to version 32.16.
Yes, at least some of the data was in a UDT.
I am in a production environment.  Luckily, it has only been informational data affected, machine performance, HMI display.  So didn't stop anything from running.  Other than the time to troubleshoot and fix...