You can configure a database on the runtime system and the data buffering.
In this task, the runtime system records the trend.
-
Double-click a Trend Recording object in the device tree.
The corresponding editor opens. In the tree view of the trend configuration, the top entry is selected, and on the right you see the current configuration in Record Settings.
-
In the Task list box, click the
symbol.The list box opens with all tasks that are available throughout the application.
-
Select a task for trend recording.
|
Tip |
|---|---|
|
In general, trend recording runs in the same task as the main program (for example, |
|
Important |
|---|---|
|
The number of variables is limited for trend recording. You can change this number in the Trend Storage dialog. |
-
Double-click a Trend Recording object in the device tree.
The corresponding editor opens. In the tree view of the trend configuration, the top entry is selected, and on the right you see the current configuration in Record Settings.
-
Right-click an entry in the tree view.
-
Click Add Variable.
added more variables. The blank settings open in the Variable Settings to the right of the tree view.
-
Select a valid IEC variable from the Variable field.
The IEC variable is configured for trend recording.
-
Configure how the variable is displayed in the trend diagram.
-
Configure how the alert color is displayed in the trend diagram.
-
Double-click a Trend Recording object in the device tree.
-
Click a variable in the tree view of the configuration.
-
Click Delete Variable or press Del.
You can configure conditional trend recording for execution. Configuration is not possible when depending on triggering. For that you need a Trace object.
-
Double-click a Trend Recording object in the device tree.
-
Click the top node in the tree view of the trend configuration.
The name of the trend configuration is selected and on the right you see the current configuration in Record Settings.
-
Assign a Boolean variable, an access to a bit, or a property to the Record condition field.
At application runtime, data is recorded only if the value is
TRUE.
-
Double-click a Trend Recording object in the device tree.
The corresponding editor opens. In the tree view of the trend configuration, the top entry is selected, and on the right you see the current configuration in Record Settings.
-
Right-click an entry in the tree view.
-
Click Add Variable.
inserts a new variable. The blank settings open in the Variable Settings to the right of the tree view.
-
Click the
symbol to the right of the Variable setting. -
Select Parameter from the list box.
-
Click
and select a parameter from the Input Assistant dialog. -
Configure how the parameter is displayed in the trend diagram.
-
Configure how the alert color is displayed in the trend diagram.
-
Double-click a Trend Recording object in the device tree.
The corresponding editor opens. In the tree view of the trend configuration, the top entry is selected, and on the right you see the current configuration in Record Settings.
-
Click Trend Storage.
The Trend Storage dialog opens.
-
Now you can change the settings.
-
Double-click a Trend Recording object in the device tree.
The corresponding editor opens. In the tree view of the trend configuration, the top entry is selected, and on the right you see the current configuration in Record Settings.
-
Click Advanced.
The Advanced Trace Settings dialog opens.
-
Now you can change the settings.
