Author Topic: Alarm list in display  (Read 8162 times)

tommyqvist

  • Guest
Alarm list in display
« on: January 17, 2014, 08:05:28 PM »
Hello,

In Industrail HMIs there are always an alarmlist control to display and sort a list of activated alarms.

Has anyone any good Ideas how to make this for a Plus 1 Display.

Offline oiltronic

  • PLUS+1 Guru
  • *****
  • Posts: 170
  • Karma: +15/-0
Re: Alarm list in display
« Reply #1 on: January 25, 2014, 02:38:19 AM »
I use a "Text List" component from the screen library, where each item in the list is a unique error message.  I create the index for the list in another page that collects all the error flags from the program and encodes them all to one or more words (unsigned integer variables consisting of bit flags), where each bit in the word is represents a message to be displayed.  No bits means no message.  I then run the word through a "LSB #" component to get the index of the first set bit.  This becomes the index to the text list.  Only the highest-priority message gets displayed this way.  With this method, if there are multiple errors, the highest-priority (least significant bit) must be cleared before other messages are displayed.

I also group the messages into warnings, errors, and messages, and use comparators to set other signals that I use for changing message colors, flash lights, etc.

Finally, I latch some of the errors (e.g. low hydraulic fluid) so that the user must acknowledge the error message before it goes off the screen.  This prevents mystery shutdowns and machine behavior.