You are on page 1of 10

Section 2 – ActiveFactory Trend 4-19

Target Region tab


A target region can be defined to provide a visual indicator that tag values are outside of the
specified region. Two or more points must be defined to utilize this feature.
To add region items manually:
a. Click Add. A new item appears in the list. Add the time, and low and high tag values to define
each point for the target region. The points will be connected to define the Target Region.
To load region items from a CSV file:
a. Click Load file. A standard Open dialog box appears.
b. Select the desired file and click Open. The list is populated with the entries from the CSV file.
The CSV file must be formatted as follows:
Each row must contain a region item composed of three values: the time offset, the low value, and
the high value. The format of the time offset is the same as for time offsets in relative time mode.
For more information, see the Online Help topic: Time Offset Formats.
The Trend application tries to determine the CSV delimiter and the decimal and time separators
automatically. If one of the values contains a delimiter or separator character, that value must be
enclosed in double quotation marks.

Wonderware System Platform Course - Part 2


4-20 Module 4 – ActiveFactory Trend

Retrieval tab
To have the tag use the same retrieval settings as specified in the trend options, click Style
selected at option level in the Retrieval style list. This is the default setting when you add a tag to
a trend.
To use a predefined retrieval style, click its name in the Retrieval style list.
To use custom retrieval settings, click Custom style in the Retrieval style list, and specify any
additional settings required.
If you are using custom retrieval settings, select a retrieval mode and specify all the settings that
are relevant to it. For more information, see the Online Help topic: Understanding Retrieval Modes.
If you are using one of the predefined styles, you can edit all settings that are not covered by the
style definition. For information on which settings are covered by style definitions, see the Online
Help topic: Working with Retrieval Styles. Because a style definition can contain multiple sets of
retrieval settings with different retrieval modes, some of the settings available for editing here may
turn out to be irrelevant for the retrieval mode that actually gets used for a given query. However,
because there is no way to know in advance which retrieval mode will be used, the settings are still
available for editing.

Live Mode

a. Click the Enable or disable live or replay mode button to view the tags in live mode.
Live data is data that is being retrieved continuously in real time.

Add an Annotation
An annotation can be added to any tag’s trend display and is associated with the selected tag’s
value where the mouse button is clicked.
a. Right-click near a tag on the Trend.
b. From the sub-menu, select Add Annotation.

Wonderware Training
Section 2 – ActiveFactory Trend 4-21

c. Enter an annotation in the Text: field of the Annotation dialog box and click OK.

An annotation can be Private (visible only to you) or Public (visible to all ActiveFactory users).
d. Click OK to add the annotation to the trend field.
The annotation appears on the trend graph as a blue dot.
e. Pass the cursor over the blue dot to view the annotation text:

f. Select View/Annotation List… from the Trend menubar:

z The annotations can be saved, deleted, and/or printed. The time, text, and visibility can
also be edited by clicking Annotations / Edit.
z Annotations do not appear in the Annotation List unless they are included within the Trend
Graph’s current time span.

Zooming

a. To zoom in or out or the trend graph, use the Zoom In or Zoom Out buttons in the
Scaling toolbar.

Wonderware System Platform Course - Part 2


4-22 Module 4 – ActiveFactory Trend

Scale the Tags

Scaling a tag up reduces the current scale range of the vertical axis (Y-axis) by half.
For example, a trend tag has a minimum Y-axis value of 0 and a maximum Y-axis value of 10, for a
total range of 10.
When the tag is scaled up, the range for the trend tag becomes 5, where 0 is the minimum Y-axis
value and 5 is the new maximum Y-axis value.
Scaling can be set for a single tag, or for all of the tags in a trend by using the appropriate Scaling
Toolbar button.
Scale a Single Tag
b. Select the tag to be scaled in the Tag List.
c. Select the Scale Type you wish to apply to the tag.
The Scale Tag buttons for individual tags are (in order):

z Scale the current tag to its original scale


z Auto scale the current tag
z Scale the current tag up
z Scale the current tag down
Scale All Tags
a. Select the Scale Type you wish to apply to the tag.
The Scale Tag buttons for all tags are (in order):

z Scale all tags to their original scale


z Auto scale all tags
z Scale all tags up
z Scale all tags down
Automatic Scaling When automatic scaling is applied on a selected tag or all tags in a trend
graph, the scale will be based on the tag having the smallest minimum Y-axis value and the tag
with the largest maximum Y-axis value. The Y-axis scale for a particular tag is always displayed
along the Y-axis. That is, when scrolling through tags, the Y-axis always displays the scale of the
selected tag.
a. Click the Auto scale all tags button.

Rubber Band Scaling


Rubber band scaling enables selection of an area of the trend graph using the mouse cursor and
automatically sets the scaling based on the area that you selected. Rubber band scaling can be

enabled for a single tag, or for all tags .

Wonderware Training
Section 2 – ActiveFactory Trend 4-23

Cursor
Red and blue cursors display at either end of the trend. Moving either cursor will cause the value
for the tag where the cursor and the tag curve meet to display.
a. Ensure View / Time Axis Cursors is checked.
b. Click a tagname in the Tag List.
c. Move a cursor (red line on left or blue line on right) to see the tag value change.

Wonderware System Platform Course - Part 2


4-24 Module 4 – ActiveFactory Trend

Trend Options
Several options can be configured for a Trend by clicking on Tools / Options menu within Trend:
Retrieval tab: set the retrieval options for the Trend
Retrieval style: automatically switches retrieval modes for trend tags based on the trend
duration and/or tag type
Main options tab within the Retrieval tab:
Query row limit: set the number of rows to retrieve in the query results
Cyclic attributes: Set the Interpolation type to Stairstep, Linear, or to the default Tag
setting
Delta retrieval deadbands: Set the time and Value % for delta retrieval deadbands

Wonderware Training
Section 2 – ActiveFactory Trend 4-25

Other tab within the Retrieval tab:


History Version: The Historian supports versioning on the data in its extension tables. It
supports 2 versions for each data point:
z Latest: The Latest value is the most recent update made to that data point.
z Original: The Original value is the first value entered for a given data point (typically
the value acquired from an I/O Server).
Rules: Set the Time stamp and Quality rules for retrieval
State retrieval: Set the state parameter for retrieval

Note: These settings do not apply when Trend is in Live Mode. In Live Mode, Trend always
uses Delta retrieval.

Wonderware System Platform Course - Part 2


4-26 Module 4 – ActiveFactory Trend

Colors tab:
Allows selection of default tag trace colors, and also allows you to enable or disable usage of
colors.

Time Zones tab:


Allows selection of the time zone on the computer running Trend, as well as the time zone of the
Historian Trend is connected to.

Wonderware Training
Section 2 – ActiveFactory Trend 4-27

Miscellaneous tab:
Always on top: The Trend application is always displayed “in front” of other applications that
are active on the Trend node.
Display all tag timestamps in all data logs: Displays all tag timestamps in all data logs.
Display actual numeric values: Displays the values of discrete tags in the discrete data log
in numerical format (0 or 1).
Display associated messages: Displays the messages associated with the values of
discrete tags in the discrete data log. For example, ON or OFF.
Decimal Places: Indicate how many decimal places should be displayed.
Format: Format of the tag values (decimal/scientific).
Open documents on start up: By default when you start Trend it automatically reopens the
Trend files that were open when it was last closed. Clear the checkbox to disable this
behavior.

Wonderware System Platform Course - Part 2


4-28 Module 4 – ActiveFactory Trend

Other tab:
In the Source area, specify the Historian tables from which data will be retrieved.
Manual history tables: Normal SQL Server tables that are used to store data. These are the
ManualAnalogHistory and ManualDiscreteHistory tables.
Extension tables: Logical tables that are populated from the Historian data files. These tables
support the Historian time domain extensions for handling data.
Both: Select this option to retrieve data from both the manual and extension
Legacy retrieval
In the Legacy retrieval area, specify the retrieval mode for data that is retrieved from a Historian
with a version earlier than 9.0.
Use Delta retrieval for less than specified intervals: Enables retrieval of only data that has
changed (delta retrieval mode). By checking this box, Trend will retrieve Analog and Discrete Tags
in Delta retrieval mode for periods less than entered. For periods greater, Cyclic retrieval is used.
Interval for Analogs: The time period, in minutes, for which delta values are retrieved for analog
tags. For greater time periods, cyclic retrieval is used instead. Valid values are 0 to 10,000. The
default is 15.
Interval for Discretes: The time period, in minutes, for which delta values are retrieved for analog
tags. For greater time periods, cyclic retrieval is used instead. Valid values are 0 to 10,000. The
default is 15.
Maximum values to retrieve per tag: Limits the number of tags retrieved in Delta mode for a
given period. The maximum number of values to return per tag. Valid values are 0 to 30,000. The
default is 10,000.

Wonderware Training

You might also like