With an HMI project, you can display the alarms of a remote PLC in the "alarm table" visualization element. Requirement: Alarm management is defined in the remote PLC.
-
Open the initially created HMI project.
-
Select the Data Sources Manager object.
-
Click .
The Add Data Source dialog opens and helps you to configure the data source. The Symbolic data source type is set by default. You use this type if your control application has a symbol configuration.
-
Specify a name for the data source. Example:
Data_Source_Alarmand click Add.The Initialize Data Source Wizard – Provider settings dialog opens.
The
V3connection type is set by default. -
In Name or address of device, specify the network name of the active controller whose data should be displayed in a visualization. Example:
Device_AThe connection from the development system to the controller is established and the available variables are read. The Initialize Data Source Wizard – Browse data items dialog opens. The variables of the
Device_Acontroller that can be accessed are listed in a table. -
For the visualization of data from a remote alarm manager, you have to activate non-explicit variables. The required data is exchanged between the HMI and the remote device via internal communications services.
Click Finish.
The data source is created initially and inserted below the data source manager.
-
Now create your visualization as usual. Open the editor for the visualization and add the Alarm Table element.
-
Select the element.
-
Configure the following settings in the Properties view:
:
Data_Source_Alarm:
Application -
Select the alarm table and click .
The Alarm Table Wizard dialog opens.
-
Activate all actions and close the dialog.
Additional buttons are added to the alarm table.
-
Click the
symbol.The application is compiled.
-
Click the
symbol.The application is downloaded to HMI device.
-
Click the start
symbol.The HMI application is executed. The visualization starts.
The alarm table element shows the active alarms of the remote PLC. You can confirm the alarms and also switch to the "History" view.