Hello,
First I just want to say I apologise if the answer to this question is incredibly obvious, I'm very new to VBA and to Visual Studio (although very familiar with software development and coding).
I would like to set up an alarm in AdvancedHMI, which will trigger an action - say an SMS or e-mail. For example, I have a Basic Indicator - how do I call a piece of code when this indicator turns to TRUE?
Secondary question, less important - my PLC holds alarms flags as an integer - is there a simple way to split this integer into the individal bits to display as Basic Indicators?
With many thanks in advance!