Download ViewSE-UM006 - Literature Library

Transcript
Chapter 23
Setting up trends
Returning to a standard display
Create a trend template to use as a standard trend display.
Load the standard display template after an operator changes the trend chart
settings, and you want to return to the standard trend chart.
Saving pen attribute data
Create a trend template to save pen attribute data.
You can add a number of new pens at run time, create a template, and then
save pen attribute data with the template. The next time you run the trend, if
you want the same pen attribute data, you can load the template.
Loading trend templates
Load a template to return to the original trend settings, or to apply a
consistent trend appearance across applications.
To load a template:
1. In the Trend Properties dialog box, click the Template tab, and then
click Load template.
2. In the Component browser, find and select the template you want to
load, and then click OK.
Note: Saving, loading, or deleting a template takes effect
immediately, and cannot be undone. If you load a template at
run time, any existing pens in the trend are deleted and
replaced with the pens in the template.
Example: Using the Invoke command to load trend templates at run
time
A trend template named Isolated uses isolated graphing, and a template
named Non-isolated uses non-isolated graphing.
To provide an operator with a way to switch between the two templates at
run time, do the following in the trend’s graphic display:
1. For the isolated graphing template, create a button that runs the
following command as its press action:
Invoke Me.Trend1.LoadTemplate ("Isolated")
622
Rockwell Automation Publication VIEWSE-UM006J-EN-E