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.
Open the initially created HMI project.
Select the Data Source Manager object.
Click
.⇒ 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.
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.
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.
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.
Now create your visualization as usual. Open the editor for the visualization and add the Trend element.
⇒ The Trend Configuration dialog opens.
Select a task for trend visualization.
Select the element.
Configure in the Properties view:
:
Data_Source_Trend
:
Application
Select the trend display and click
.Activate all actions and close the dialog.
⇒ Additional buttons are added to the trend recording.
See also