Author Topic: MessageListByValue Setup  (Read 1332 times)

RoboKD

  • Newbie
  • *
  • Posts: 2
    • View Profile
MessageListByValue Setup
« on: July 08, 2015, 12:40:07 PM »
Hello!

So far I am really liking this product. I am using it currently with a ControlLogix system. I am trying to get this command to work, but whenever I run the application I get "Undefined Message for 1", in the "Collection" I have just one line entered; Test.

I have PLCAddressValue set to the DINT tag "SystemFaults1". Bit 0 is on.

What am I missing here?

Thank you,

Kevin

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5317
    • View Profile
    • AdvancedHMI
Re: MessageListByValue Setup
« Reply #1 on: July 08, 2015, 02:04:49 PM »
When you add a message, there is a Value property that will tell when to display the message. Since you are setting bit 1, then value of your DINT is 1. When it is unable to find a Message with an associated value of 1, it will give you and Undefined Message. For the message you added, make sure it's Value is 1 and not 0

RoboKD

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: MessageListByValue Setup
« Reply #2 on: July 09, 2015, 06:20:05 PM »
That did it!

AabeckControls

  • Full Member
  • ***
  • Posts: 193
    • View Profile
Re: MessageListByValue Setup
« Reply #3 on: July 09, 2015, 11:48:28 PM »
What I do in a MessageList is have a 0 entry even if not using it, either give it the data "Default" or "Off", and add one more after the last one I plan on using = "Too Much" - J.I.C.