Author Topic: Alarm Display Creation using only Boolean Tags  (Read 5481 times)

jspfeiffer@gmail.com

  • Newbie
  • *
  • Posts: 8
    • View Profile
Alarm Display Creation using only Boolean Tags
« on: December 12, 2023, 12:47:18 AM »
I have been looking through all the forms trying to find the best way to have an alarm display using strictly boolean tags. The problem is I have 150 alarms I need to create. I dont know if I am using the MessageListByValue incorrectly or it simply will not work with that. Does anyone have any suggestions? I have already collected all the tags and wrote all the messages I want to display to the corresponding tag when true. Following that more than one condition can be true at a time so I would to show various Alarm messages at once.

I was curious if I could index my tags 1 -150 and then have the following messages be displayed when true.

Thanks in Advance
« Last Edit: December 12, 2023, 04:36:47 AM by jspfeiffer@gmail.com »

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Alarm Display Creation using only Boolean Tags
« Reply #1 on: December 12, 2023, 09:48:45 AM »
Are your alarm bits packed in a larger value type such as an INT or DINT?

jspfeiffer@gmail.com

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Alarm Display Creation using only Boolean Tags
« Reply #2 on: December 12, 2023, 10:09:39 PM »
The way it is written, all of the Data Types are Boolean and I do not see where it falls under a bigger structure as suggested. I'm very surprised their is not an easier option for just (true or false) or (on and off) besides trying to falling under specific bits or using integers as intended in the structure of the code. I'm pretty new to VB and understanding how the back end communication code works would probably be useful because I feel like I'm just trying to get this working in the dark. Simply put my goal is when this value in the PLC is true post this message and when it is not remove the message. For context I have worked/programmed on Siemens Desigo and Ignition's Scada.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Alarm Display Creation using only Boolean Tags
« Reply #3 on: December 13, 2023, 07:57:43 AM »
In version 3.99y there is a MessageListByItem that lets you select random booleans for message triggers.

jspfeiffer@gmail.com

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Alarm Display Creation using only Boolean Tags
« Reply #4 on: July 11, 2024, 03:56:09 AM »
Hey Archie, I'm going back through my HMIs I have created a want to integrate the MessageListByItem control tool without having to upgrade the entire project. Is their a simple way that I could just simply grab that specific tool and add it to my toolbox? Before that was created I essentially had to create a button/label in the background for every fault that could occur. This would would dramatically decrease the size of the application for me to do it with this tool.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Alarm Display Creation using only Boolean Tags
« Reply #5 on: July 11, 2024, 08:42:25 AM »
Hey Archie, I'm going back through my HMIs I have created a want to integrate the MessageListByItem control tool without having to upgrade the entire project. Is their a simple way that I could just simply grab that specific tool and add it to my toolbox? Before that was created I essentially had to create a button/label in the background for every fault that could occur. This would would dramatically decrease the size of the application for me to do it with this tool.
Unfortunately no easy way besides a full upgrade. What version are you currently using? Most upgrades are reasonably easy.