Author Topic: AdvancedHMIControls.CheckBox error Offset plus Number of Elements extends beyond  (Read 1698 times)

GraemeTownsend

  • Newbie
  • *
  • Posts: 29
    • View Profile
Hi,

I am getting the following error on an AdvancedHMIControls.CheckBox

"General Error: Offset plus Number of Elements extends beyond the end of the requested tag."

The comms method is EthernetIPforCLXCom, and works fine for all else.

The PLC tag in question is a type of BOOL. (Set up in an array as BOOL[100]), PLC is a L27 Compact Logix

The Advanced HMI check box control has the same PLC tag set in both:
PLCAddressCheckChanged
PLCAddressChecked

It works fine, as expected, however the error flashes on and off continually. I can turn the error off using SuppressErrorDisplay = true. But I would still like to know what is happening?

I am using AdvancedHMI version: 3.99(t)

Thanks,
Graeme.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
I would definitely start with testing it on version 3.99x because there have been a number of driver fixes since 3.99t

GraemeTownsend

  • Newbie
  • *
  • Posts: 29
    • View Profile
Thanks Archie, I will.

GraemeTownsend

  • Newbie
  • *
  • Posts: 29
    • View Profile
Hi Archie,

Upgraded to v3.99x, issue is still the same.

Happy to do any tests you may want.

Again, SuppressErrorDisplay gets me out of trouble.

Cheers,
Graeme

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
What element number of the BOOL array are you using? I will try to replicate today.

GraemeTownsend

  • Newbie
  • *
  • Posts: 29
    • View Profile
Hi Archie,

There is a BOOL array set up of [100].
I actually have 36 Check Boxes setup, consecutive, starting at Bit[40].

All display the same behaviour.

Thanks.