AdvancedHMI Software

General Category => Support Questions => Topic started by: andreaboschetti71 on May 11, 2015, 09:53:53 AM

Title: MessageDisplayByBit with "Undefined message for bit 62" and message empty
Post by: andreaboschetti71 on May 11, 2015, 09:53:53 AM
I use 4 messagedisplaybybit in each page and I always have "Undefined message for bit 62" and some message aren't displayed
Title: Re: MessageDisplayByBit with "Undefined message for bit 62" and message empty
Post by: andreaboschetti71 on May 11, 2015, 09:56:42 AM
I'm sorry I miss the version that is 398g, last one
Title: Re: MessageDisplayByBit with "Undefined message for bit 62" and message empty
Post by: Archie on May 11, 2015, 10:12:09 AM
How many bits wide is the tag you are setting PLCAddressValue to?
Title: Re: MessageDisplayByBit with "Undefined message for bit 62" and message empty
Post by: Archie on May 11, 2015, 10:59:21 AM
Also can you add a BasicLabel with the same PLCAddressValue to see what value the HMI is seeing for the tag.
Title: Re: MessageDisplayByBit with "Undefined message for bit 62" and message empty
Post by: andreaboschetti71 on May 12, 2015, 09:17:04 AM
Each associated variable is a DINT. Now I try to add basic label and I keep you updated
Title: Re: MessageDisplayByBit with "Undefined message for bit 62" and message empty
Post by: andreaboschetti71 on May 12, 2015, 10:31:12 AM
I send you a screenshot. As you see on top I have 4 Messagedisplaybybit and the variables values are ALLARMI1 ALLARMI2 ALLARMI3 and ALLARMI4
Title: Re: MessageDisplayByBit with "Undefined message for bit 62" and message empty
Post by: Archie on May 12, 2015, 07:03:07 PM
I haven't been able to reproduce this yet. In design view, what do you have in DefaultMessage, Text, and Value properties?
Title: Re: MessageDisplayByBit with "Undefined message for bit 62" and message empty
Post by: andreaboschetti71 on May 14, 2015, 05:06:38 AM
DefaultMessage is left blank, text is left blank and value is 0
Title: Re: MessageDisplayByBit with "Undefined message for bit 62" and message empty
Post by: Archie on May 17, 2015, 08:15:49 PM
Test this out with version 3.98j. I did all my testing with that version and can't seem to reproduce it, so maybe it has been fixed. Version 3.98j has some major changes to the ControlLogix driver so there may be a new bug or so in the driver. This new driver has shown up to 20x performance gains. You can set the PollRateOverride to 0 to get maximum update rate which should be between 4ms and 20ms depending on the number and type of tags.
Title: Re: MessageDisplayByBit with "Undefined message for bit 62" and message empty
Post by: Archie on July 26, 2015, 09:35:28 PM
I just came across a problem with MessageDisplayByBit that may be related. When using the highest bit number for eample bit 31 in a DINT, it will return a negative number. The MessageDisplayByValue does not know the bit width, so it converts everything to 64 bit. The side effect is that a negative number will produce a lot of errors and even and exception.