AdvancedHMI Software

General Category => Support Questions => Topic started by: GraemeTownsend on April 08, 2018, 11:46:31 PM

Title: AdvancedHMIControls.CheckBox error Offset plus Number of Elements extends beyond
Post by: GraemeTownsend on April 08, 2018, 11:46:31 PM
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.
Title: Re: AdvancedHMIControls.CheckBox error Offset plus Number of Elements extends beyond
Post by: Archie on April 09, 2018, 01:49:45 AM
I would definitely start with testing it on version 3.99x because there have been a number of driver fixes since 3.99t
Title: Re: AdvancedHMIControls.CheckBox error Offset plus Number of Elements extends beyond
Post by: GraemeTownsend on April 09, 2018, 01:55:43 AM
Thanks Archie, I will.
Title: Re: AdvancedHMIControls.CheckBox error Offset plus Number of Elements extends beyond
Post by: GraemeTownsend on April 09, 2018, 08:08:54 AM
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
Title: Re: AdvancedHMIControls.CheckBox error Offset plus Number of Elements extends beyond
Post by: Archie on April 09, 2018, 08:17:15 AM
What element number of the BOOL array are you using? I will try to replicate today.
Title: Re: AdvancedHMIControls.CheckBox error Offset plus Number of Elements extends beyond
Post by: GraemeTownsend on April 09, 2018, 07:03:03 PM
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.