Press ESC to close · Ctrl+K to open

AVEVA Intouch Read Alarms

AVEVA Intouch Read Alarms - PLC HMI SCADAS

Can we read alarms in AVEVA Intouch or System Platform?

The answer is that with a few lines of code we will add that functionality.

Search for the System.Speech Library

By default, we do not have the library we are interested in if we search for System.Speech

Searching for System.Speech in AVEVA Intouch

Locate the Library in the .NET Framework

You will have it installed on your operating system because it is part of the .NET Framework. You can search for it, as it will be the one we add.

Locating System.Speech in .NET Framework

Import the Library into the Environment

Once located, we will import the library into our environment. Once imported, if you want to know a little more, in this example, more information is added.

Importing System.Speech Library into AVEVA Environment

Enable the NewAlarm Event in AlarmClient

In our symbol where we have embedded the AlarmClient, we enable that every time an alarm is generated it triggers the NewAlarm event. To do this, when the symbol called MyAlarms is loaded, we will change the mode according to the following information, since by default it does not execute, its value is 0.

Configuring NewAlarm Event in AlarmClient

Trigger Internal Property in the Event

And in its event, we will trigger an internal property of our symbol.

Triggering Internal Property in NewAlarm Event

Demo Code

The following code only demonstrates its functionality and how we already have the library we imported. It would need to be worked on better to only read critical alarms and not all of them... but we will leave that for you to make sense of your SCADA.

Demo Code with System.Speech in AVEVA Intouch

Functionality Video

And now let's see its functionality ;-)

Demonstration: Reading Alarms in AVEVA Intouch with System.Speech