Getting Started with Trend Recording¶
To execute trend recording on a runtime system, you need an application with a TrendRecordingManager object that contains at least one TrendRecording object. Then you can configure a database on the runtime system and the data buffering.
Add a TrendRecordingManager object below your application.
Select the TrendRecordingManager object and click . Type a name in the Add Trend recording dialog box.
- ⇒
CODESYS creates the object. The editor opens.
Type a task in Record Settings.
Click Add variable.
- ⇒
CODESYS adds another 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.
Build the application.
Download the application to the controller and click Start.
- ⇒
The application records data in runtime mode and saves it to a database.
See also
- Object ‘Trend Recording’
- Getting Started with Trend: Getting Started with Trend Visualization