Connecting with Alarm Management to Remote PLCs

 

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 HMI applications 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 data source type CODESYS Symbolic 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 connection type CODESYS V3 is preset.

  5. In Name or address of device, specify the network name of the active controller whose data should be visualized. 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 - Search data source variables 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 an alarm table visualization

  1. Now create your visualization as usual. Open the editor for the visu­alization and add the Alarm table element.

  2. Select the element.

  3. Configure in the Properties view:

    Data source : Data_Source_Alarm

    Application : Application

  4. Select the alarm table and click Visualization ‣ Add elements to alarm acknowledgement

    ⇒ The Alarm table wizard dialog opens.

  5. Activate all actions and close the dialog.

    ⇒ Additional buttons are added to the alarm table.

See also

Executing HMI applications

  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 symbol (_cds_icon_start.png).

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