Connecting to the Alarm Management of a Remote PLC

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.

Connecting an HMI application to a controller
  1. Open the initially created HMI project.

  2. Select the Data Sources Manager object.

  3. Click Add Object → Data Source.

    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.

  4. Specify a name for the data source. Example: Data_Source_Alarm and click Add.

    The Initialize Data Source Wizard – Provider settings dialog opens.

    The V3 connection type is set by default.

  5. In Name or address of device, specify the network name of the active controller whose data should be displayed in a visualization. Example: Device_A

    The 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_A controller that can be accessed are listed in a table.

  6. 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.

Creating a visualization of an alarm table
  1. Now create your visualization as usual. Open the editor for the visualization and add the Alarm Table element.

  2. Select the element.

  3. Configure the following settings in the Properties view:

    Data Source: Data_Source_Alarm

    Application: Application

  4. Select the alarm table and click Visualization → Add Elements to Alarm Acknowledgment.

    The Alarm Table Wizard dialog opens.

  5. Activate all actions and close the dialog.

    Additional buttons are added to the alarm table.

Running the HMI application
  1. Click the _cds_icon_build.png symbol.

    The application is compiled.

  2. Click the _cds_icon_login.png symbol.

    The application is downloaded to HMI device.

  3. Click the start _cds_icon_start.png 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.