Connecting with Trend Recording to Remote PLCs

With an HMI project, you can display the trend recording of a remote PLC in the "trend" visualization element. Requirement: Trend recording is defined in the remote PLC and a symbol configuration is added.

Connecting HMI applications to a controller

  1. Open the initially created HMI project.

  2. Select the Data Source 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_Trend and click Add.

    ⇒ The Initialize Data Source Wizard - Provider Settings dialog opens.

    The connection type CODESYS V3 is preset.

  5. In Device name or device address, 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 trend recording, 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 trend recording visualization

  1. Now create your visualization as usual. Open the editor for the visualization and add the Trend element.

    ⇒ The Trend Configuration dialog opens.

  2. Select a task for trend visualization.

  3. Select the element.

  4. Configure in the Properties view:

    Data source : Data_Source_Trend

    Application : Application

  5. Select the trend display and click Visualization ‣ Add Elements for Controlling Trends .

  6. Activate all actions and close the dialog.

    ⇒ Additional buttons are added to the trend recording.

See also

Executing HMI applications

  1. Click the symbol.

    ⇒ The application is compiled.

  2. Click the symbol.

    ⇒ The application is downloaded to HMI device.

  3. Click the start symbol .

    ⇒ The HMI application is executed. The visualization starts.

    The trend element shows the trend recording of the remote PLC.