FactoryTalk View Site Edition User's Guide


Add to my manuals
656 Pages

advertisement

FactoryTalk View Site Edition User's Guide | Manualzz

22

Setting up trends

This chapter describes:

 what trends are.

 how to create trends.

 the parts of a trend.

trend chart styles.

choosing colors, fonts, lines, and legends for a trend.

 using shading to compare pens.

using overlays to compare real-time and historical data.

using trend templates.

 working with trends at run time.

About trends

A trend is a visual representation, or chart, of current or historical tag values. A trend provides an operator with a way to track plant activity as it is happening.

In a trend, you can:

 plot data for as many as 100 tags or expressions.

 plot data over time, in a standard trend chart.

 plot one tag against another, in an XY Plot chart.

use shading to emphasize a comparison between two pens.

display isolated or non-isolated graphs.

In an isolated graph, each pen is placed in a separate band of the chart. In a nonisolated graph, pen values can overlap.

Charting current versus historical data

A trend can display:

 real-time data from a data server.

historical data from a data log model’s set of files.

 historical data from a historian site edition server.

22–1

F

ACTORY

T

ALK

V

IEW

S

ITE

E

DITION

U

SER

S

G

UIDE

In a network application, you can plot historical data from data log models in local or remote areas of the application. For more information about data log models, see

Chapter 21, Setting up data logging.

Creating trend objects

You can create a trend using the Trend drawing tool, or you can use the ready-made trend

chart in the Trend graphic library. For more information, see page 22-22.

The following illustration is of a FactoryTalk

®

View graphic display that contains two different trend displays.

22–2

22 • S

ETTING UP TRENDS

Trend tool

To create a trend object

1. In the Graphics editor, create a new graphic display, or open an existing one.

2. On the Objects menu, point to Advanced Objects, and then click Trend.

You can also click the Trend tool on the Objects toolbar.

3. On the graphic display, drag the mouse to create a box approximately the size you want the trend to be.

Providing a name for the trend

When you create a trend object, it is given a name by default. To change the name, rightclick the trend object, and then click Property Panel.

In the Properties tab, in the (Name) row, type the trend’s new name.

The name can contain letters, numbers, and the underscore character ( _ ) ; however, the first character must be a letter, and the name cannot contain spaces.

Setting up trend properties

The Trend Properties dialog box contains several tabs in which you can set up the trend’s data, appearance, and behavior:

In the

General

tab, set up the trend’s data server (real-time or historical polling), chart title, chart style, and update mode.

In the

Display

tab, set up the appearance of the trend display.

In the

Pens

tab, set up pen tags and expressions, and the appearance of pens in the trend.

In the

X-Axis

tab, set up the trend’s horizontal axis.

In the

Y-Axis

tab, set up the trend’s vertical axis.

In the

Overlays

tab, add or remove snapshots of historical data.

In the

Template

tab, set up properties for trend templates.

In the

Runtime

tab, set up ways to interact with the trend at run time.

In the

Common

tab, set up the trend’s size and position in the graphic display.

Once you have set up the trend, you can modify it as you would any other graphic object.

You can move it, resize it, attach animation to it, and so on.

You can also copy a trend object by dragging it from one graphic display to another.

22–3

F

ACTORY

T

ALK

V

IEW

S

ITE

E

DITION

U

SER

S

G

UIDE

For more information about working with graphic displays and objects, see Chapter 15,

Creating graphic displays, and Chapter 16, Creating graphic objects.

To open the Trend Properties dialog box

Double-click the trend object.

You can also right-click the object, and then click Properties.

22–4

For details about options in the Trend Properties dialog box, click Help.

Testing a trend

In FactoryTalk View Studio, in the Graphics editor, you can use Test Display mode to test a trend while you are setting it up.

If you have set up communications and there is data for the tags, the pens will plot values.

When you are finished testing, switch back to Edit Display mode to continue setting up trend properties.

22 • S

ETTING UP TRENDS

To switch between Test and Edit Display modes

In the Graphics editor, on the View menu, click Test Display or Edit Display.

You can also click the Test Display or Edit Display buttons on the toolbar.

Chart title

The parts of a trend

There are two trend chart styles—the standard chart, and the XY Plot chart.

The following illustration shows the parts of a standard trend chart with two pens and a three-minute time span.

Trend border

Chart

Pen with a square symbol pen marker

Pen icon

Y-axis

Y-axis legend

Pen without a pen marker

X-axis

X-axis legend

Line legend

Scrolling mechanism

Current value legend is displayed as a column in the line legend.

Chart

The chart contains the plotted trend data. The chart is bounded by the y-axis on the left, and the x-axis at the bottom.

Plotted data is shown using pen lines, pen markers, and grid lines.

22–5

F

ACTORY

T

ALK

V

IEW

S

ITE

E

DITION

U

SER

S

G

UIDE

Chart title

The chart title is the name you give to the trend chart. Naming the trend is optional.

X-axis

The x-axis is the bottom edge of the chart. It is also known as the horizontal axis, or the time axis.

X-axis legend

For standard charts, the x-axis legend indicates the time span covered by the trend.

For XY Plot charts, the x-axis legend shows the scale, or range, of values associated with the selected pen.

The number of timestamps or values shown depends on the size of the trend object and the number of vertical grid lines.

At run time, you can double-click the x-axis legend, to open the X-Axis tab of the Trend

Properties dialog box. You can set up a trend to exclude the x-axis legend.

Y-axis

The y-axis is the left edge of the chart. It is also known as the vertical axis.

Y-axis legend

The y-axis legend shows the scale, or range, of values for the pens. The minimum and maximum values for the scale can be:

 determined automatically (using the best fit for the current data).

 derived from a pen’s minimum and maximum values.

 constant values.

 controlled by tags.

All pens in the trend can use the same scale, or each pen can have its own scale on the yaxis. When the operator clicks a pen in the line legend, the vertical axis shows the selected pen’s scale.

For example, if Pen 1 has a minimum value of 10 and a maximum value of 100, the scale on the vertical axis is 10 to 100 when the pen is selected.

If Pen 2 has a minimum of -10 and a maximum of 50, the scale on the vertical axis changes to -10 to 50 when the operator selects the next pen in the line legend.

22–6

22 • S

ETTING UP TRENDS

At run time, you can double-click the y-axis legend, to open the Y-Axis tab of the Trend

Properties dialog box. The legend can also be used to pan data. For more information, see

“Panning the trend chart” on page 22-28.

You can set up a trend to exclude the y-axis legend.

Pens

Pens are the lines or symbols used to represent values on a trend chart. The values can be tags you are monitoring, expressions that manipulate tag values, or constant values.

To make it easier for an operator to distinguish one pen from another, use different colors, widths, and symbols (also called markers) for each pen.

For an example of how pen markers are used, see page 22-8.

Legends

There are four kinds of trend legends:

x-axis legend (described on page 22-6)

y-axis legend (described on page 22-6)

 line legend

 current value legend

The line legend shows the color, name, description, minimum value and maximum values for each pen line shown on the trend chart.

The current value legend shows the pen icon, current pen value, and current time for each pen line shown on the trend chart.

The position of the line legend determines where the current value legend is displayed on the chart. When the position of the line legend is set to:

Left, the line legend is on the left side of the chart, and the current value legend is on the right side.

Bottom, the current value legend is a column in the line legend.

For more information about the current value legend and the line legend, see page 22-14

and page 22-15.

22–7

F

ACTORY

T

ALK

V

IEW

S

ITE

E

DITION

U

SER

S

G

UIDE

Pen icons

Pen icons, if specified, are displayed at the right edge of the trend chart.

At run time, if a pen’s current value is within the scale shown on the vertical axis, the pen’s icon is displayed.

The position of the icon indicates the pen’s most recently recorded value, even if the trend is paused, or if the most recent value has not yet been plotted.

Pen markers

As shown in the next illustration, pen markers are symbols that indicate data points. A data point is the exact position of a value plotted on a trend chart.

You can use pen markers to show when data is sampled. For example, when the trend is updated as the value changes, the pen marker indicates when the trend is updated.

You can also use pen markers to read pen values at run time.

A ‘boxed’ pen marker

An ‘Up triangle’ pen marker

22–8

If data is plotted frequently, the markers might not display as distinct, separate symbols on the trend chart.

The value of each pen plotted on the trend chart at this position

The value bar

22 • S

ETTING UP TRENDS

Value Bar

The value bar marks the value of each pen in a trend, at the selected position on the trend chart, as shown in the following illustration.

You can position the value bar by clicking anywhere on the trend chart at run time.

If you position the value bar on a pen marker, it shows the value of the data point represented by the pen marker.

Trend chart styles

There are two trend chart styles—the standard chart, and the XY Plot chart.

You can set up the chart styles for a trend object in the General tab of the Trend Properties dialog box. For details about options in the General tab, click Help.

22–9

F

ACTORY

T

ALK

V

IEW

S

ITE

E

DITION

U

SER

S

G

UIDE

The Standard chart style

A standard chart plots tag values against time, as shown in the following illustration.

In a standard chart, the y-axis shows pen values …

… and the y-axis legend shows time values.

The XY Plot chart style

An XY Plot chart plots the values of one or more tags against another tag.

Use the XY Plot chart to plot one (or more) tag’s values against another tag’s values instead of plotting one tag’s values against time.

For example, you could plot the temperature of a tank against the pressure of the tank.

In the following illustration, the y-axis pen’s data is plotted as a diagonal line on the trend chart. The x-axis legend displays the scale for the x-axis pen. The time period covered by the chart is at the upper left.

22–10

22 • S

ETTING UP TRENDS

In an XY Plot, the y-axis shows pen values …

… and the x-axis legend shows pen values.

Isolated graphing

For charts with multiple pens, the pen values can overlap, or you can isolate each pen in its own horizontal band on the chart.

Use isolated graphing to view each pen individually on the trend chart.

The band is the area of the trend chart used by an isolated pen. Use the isolated graphing percentage to specify the space between each pen band.

With isolated graphing, a grid line is placed automatically above each pen’s band.

The following illustration shows isolated graphing, with 0% isolation between each pen’s band.

In the illustration, each pen has its own scale. Another option is to use the same scale for all pens in the trend.

22–11

F

ACTORY

T

ALK

V

IEW

S

ITE

E

DITION

U

SER

S

G

UIDE

22–12

Plotting a value across the full width of the chart

Use horizontal lines on a trend chart to provide an orientation for your tag data.

For example, you can define upper and lower limits for a tag’s value, and then show the limits as horizontal lines in the trend. When the value crosses one of the limits, the tag’s condition is obvious on the trend.

The vertical position the pen in the trend depends on value of the tag, expression, or constant used to define the pen. If the value changes, the position of the horizontal line also changes.

To plot a constant value across the chart’s full width

1. In the Trend Properties dialog box, click the Pens tab.

2. Add a pen with a constant value.

When values for the pen are plotted across the full width of the chart, the pen shows as a solid horizontal line.

To plot a tag or expression across the chart’s full width

1. In the Trend Properties dialog box, click the Pens tab.

2. Add a pen with a tag or expression that will determine the position of the pen line.

22 • S

ETTING UP TRENDS

3. In the Pen Attributes spreadsheet, in the Type column, select Full Width.

When the trend runs, the pen shows as a solid horizontal line across the full width of the chart.

Choosing trend colors, fonts, lines, and legends

In the Trend Properties dialog box, you can set up colors, fonts, lines, and markers for a trend chart and pens.

To set up this attribute

Chart background color

Text color for the x-axis legend

Text font, style, and size

Pen line, pen marker, pen icon, and text color for the y-axis legend

Pen line width

Pen line style

Pen marker

Color of vertical lines in the grid

Color of horizontal lines in the grid

In this tab

Display

Display

Display

Pens

Pens

Pens

Pens

X-Axis

Y-Axis

Click this box, button, or list

Background color

Text color

Font

Color

Width

Style

Marker

Grid color

Grid color

You can also set up these attributes in the Property Panel. To open the Property Panel, right-click the trend object, and then click Property Panel.

Changing the trend highlight color

The chart title, y-axis legend, x-axis legend, and line legend can have a highlight box at run time.

Whether these parts of the trend are highlighted, and in what color, is determined by settings for the graphic display that contains the trend. For more information about display

settings, see “Setting up the appearance and behavior of a graphic display” on page 15-37.

Changing the trend object background

The space behind and around the trend chart and legends is the background of the trend object (shown in the following illustration).

22–13

F

ACTORY

T

ALK

V

IEW

S

ITE

E

DITION

U

SER

S

G

UIDE

The shaded area is the background of the trend object.

You can change the color and style settings for the background using the WindowStyle and WindowColor options in the Property Panel. For details about using the Property

Panel, see page 15-5.

Displaying a current value legend

The current value legend can be displayed by itself or as part of the line legend, depending on the position of the line legend.

When the line legend is displayed to the left of the trend chart, the current value legend is displayed to the right of the trend, as shown in the following illustration.

Current time

Pen icon

Pen line color

Current pen value

22–14

22 • S

ETTING UP TRENDS

When the line legend is displayed at the bottom of the trend chart, the current value legend is displayed as a column in the line legend, as shown in the following illustration.

Pen caption Current value legend

Min/max values Engineering units

Displaying a line legend

The line legend shows the details of a pen line, including the line color, pen name, the minimum and maximum values, and the engineering units.

The line legend’s appearance differs depending on where it is located relative to the trend chart. The previous illustration shows the line legend as it appears at the bottom of the trend.

The following illustration shows the line legend as it appears to the left of the trend:

Pen caption

Engineering units Min/max values

Using shading to compare pens

To compare the values of two or more pens in a trend, use shading in the trend.

For example, you can set up Pen 1 to show a tag’s value, and Pen 2 to show a constant value that is an alarm threshold.

If Pen 2 is the upper boundary for Pen 1, the shading will indicate when the tag’s value exceeds the threshold, by filling in the area between the two pens with the line color for

Pen 1.

At least two pens must be set up for a trend, before you can use shading.

Set up shading in the Pens tab in the Trend Properties dialog box. For details about options in the Pens tab, click Help.

Shading is determined by the position of lines on the trend chart—not by the actual tag values.

22–15

F

ACTORY

T

ALK

V

IEW

S

ITE

E

DITION

U

SER

S

G

UIDE

The trend in the following illustration uses shading to indicate tag values in alarm. The difference between the tag’s value and the tag’s alarm level is shaded.

Shading between pen values

Upper-bound pen

Lower-bound pen

22–16

Example 1: Shading with three pens

The upper pen, Pen 2, has a constant value of 75 and the lower pen, Pen 3, has a constant value of 25.

Pen 1 represents the tag called VIN_LEVEL. The trend is shaded whenever Pen 1 goes above Pen 2 or below Pen 3. A plot for this trend looks like this:

Pen 1

Pen 2

Pen 3

22 • S

ETTING UP TRENDS

To produce the shading shown in the illustration, use the following settings:

Pen

Pen 1

Pen 2

Pen 3

Tag name or constant value

VIN_LEVEL

75

25

Shading

Upper Bound

Pen 2

Lower Bound

Pen 3

Example 2: Shading with two pens

Whenever Pen 1 goes above Pen 2, the trend is shaded like this:

Pen 1

Color 1

Pen 2

To produce the shading shown in the illustration, use the following settings:

Pen

Pen 1

Pen 2

Tag name or constant value

VIN_LEVEL

OIL_LEVEL

Shading

Upper Bound

Pen 2

Lower Bound

22–17

F

ACTORY

T

ALK

V

IEW

S

ITE

E

DITION

U

SER

S

G

UIDE

Example 3: Shading between two pens

Whenever Pen 1 goes above or below Pen 2, the trend is shaded like this:

22–18

Pen 1

Color 1

Pen 2

To produce the shading shown in the illustration, use the following settings:

Pen

Pen 1

Pen 2

Tag name or Constant value

VIN_LEVEL

OIL_LEVEL

Shading

Upper Bound

Pen 2

Lower Bound

Pen 2

Using overlays to compare real-time and historical data

You can layer a trend with a snapshot of previously charted data. This is called an overlay.

Use overlays to compare current charted data to a historical snapshot. For example, you might set up overlays to compare data for a particular shift or batch process.

Setting up snapshots and overlays

To create an overlay, create the data snapshot first, and then add the snapshot as an overlay, to the trend charting current data.

When you add a snapshot to a trend as an overlay, the pens from the snapshot are added automatically to the Pens tab in the Trend Properties dialog box. You can change the attributes of pens used in overlays, just as you can change the attributes of regular pens.

An operator can show or hide overlays on the trend chart at run time, using the trend’s

shortcut menu. For more information, see page 22-29.

Overlay time

Overlay pen

Currently plotting pen

22 • S

ETTING UP TRENDS

For information about setting up the trend’s run-time options, click Help in the Runtime tab of the Trend Properties dialog box.

To create a snapshot

1. Right-click the trend you want to get a data snapshot from, and then click Create

Snapshot.

2. In the Component Name dialog box, type a name for the snapshot, and then click OK.

To add a snapshot to the trend as an overlay

1. In FactoryTalk View Studio, open the graphic display containing the trend that will chart current data.

2. Double-click the trend. The Trend Properties dialog box opens.

3. In the Overlays tab, click Add.

4. In the Component browser, find and select the snapshot you want to add, and then click OK.

The following illustration is of a trend overlay.

Currently plotting pen

Overlay pen

22–19

F

ACTORY

T

ALK

V

IEW

S

ITE

E

DITION

U

SER

S

G

UIDE

Using trend templates

You can use a trend template to:

 apply a consistent appearance to trend charts.

 create a set of different views for the same data.

 return to a standard display after experimenting with display options.

 save pen attribute data.

Use the Trend Properties dialog box to create a trend template. For details about options in the dialog box, click Help.

Applying a consistent appearance to trend charts

Create a trend template to standardize a trend chart for all your applications.

Use a standard template when you have several different applications, and you need the trend chart to work the same way in each application.

When you have created and saved the template, load the template into each application’s trend chart.

Creating a set of different views for the same data

To assess the same data in different ways, create trend templates that provide different views of the data.

Load the trend templates at run time, to change the appearance of the trend

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.

22–20

22 • S

ETTING UP TRENDS

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.

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 Nonisolated 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”)

2. For the non-isolated graphing template, create a button that runs the following command as its press action:

Invoke Me.Trend1.LoadTemplate (“Non-Isolated”)

To load the templates at run time, the operator can press either button.

In the Invoke commands in this example, Trend1 is the default name of the trend object. Be sure to use the correct name of the trend in the Invoke command.

22–21

F

ACTORY

T

ALK

V

IEW

S

ITE

E

DITION

U

SER

S

G

UIDE

About the Trend graphic library

The Trend graphic library contains a real-time trend, and objects for controlling the trend.

You can use the trend and objects as they are, or you can modify them to suit your needs.

To use the objects, drag and drop them into a graphic display.

To open the Trend graphic library

1. In FactoryTalk View Studio, in the Explorer window, open the Graphics folder.

2. In the Libraries folder, right-click Trend, and then click Open.

Working with trends at run time

How you can interact with a trend at run time depends on the options you set up in the

Runtime tab of the Trend Properties dialog box.

You might be able to do some or all of the following:

View and modify trend properties.

Modify legend properties.

Pan or zoom on the trend chart.

Use the trend chart’s shortcut menu.

For details about options in the Runtime tab, click Help.

Collecting data in the background at run time

Real-time trends collect data only while the trend is displayed. This means that a real-time trend will not contain any data, when the graphic display opens.

This can be a problem if the trend chart is not open for the entire time the application is running, or if other graphic displays are opened before the trend display.

If you want a trend to contain data when the graphic display opens, you can use a data log model, or you can run startup macro, to load and update the display in the background.

This loads data into the data buffer for the trend.

You can run a startup macro when the HMI server runs. For information about setting up startup

components for an HMI server in a network and a local application, see Chapter 6, Working with

network applications and Chapter 7, Working with local applications, respectively.

22–22

22 • S

ETTING UP TRENDS

Example: Using a startup macro to load and update a trend in the background

1. Create a startup macro that includes this command:

Display Trend1 /ZA where Trend1 is the name of the graphic display containing the real-time trend, and

/ZA is the parameter for loading the trend data into the data buffer.

Trend data will remain in the cache, and continue to update, until you run the

FlushCache command, or until you stop running the application.

2. When you want the real-time trend to become visible, run the following command:

Display Trend1

When the graphic display opens, the trend will contain data.

22–23

F

ACTORY

T

ALK

V

IEW

S

ITE

E

DITION

U

SER

S

G

UIDE

Selecting pens at run time

To display details about a pen, select the pen by clicking it in the line legend. When a pen is selected, the vertical scale changes to reflect the scale of values for the pen.

The y-axis legend shows the minimum and maximum scale for a pen

… when you click the pen line in the line legend.

Modifying trend properties at run time

Changes made to trend properties at run time are not saved.

The changes affect the trend that is running, but as soon as the graphic display is changed or closed, the changes to the trend are lost.

To make permanent changes to a trend, open and modify it in FactoryTalk View Studio.

To open the Trend Properties dialog box at run time

Right-click the trend chart, and then click Chart properties.

At run time, the Trend Properties dialog box shows only the tabs specified in the Runtime tab, when you set up the trend. You can make changes only in the available tabs. The Runtime tab itself, is not available at run time.

To change the trend chart title

1. Double-click the trend chart title.

2. In the Graph title dialog box, type a name for the trend chart, and then click OK.

22–24

22 • S

ETTING UP TRENDS

To open the Y-Axis tab

1. Double-click the y-axis legend.

2. In the Y-Axis tab, make the desired changes, and then click OK.

To open the X-Axis tab

1. Double-click the x-axis legend.

2. In the X-Axis tab, make the desired changes, and then click OK.

To open the Pens tab

1. Double-click the line legend.

2. In the Pens tab, make the desired changes, and then click OK.

Scrolling the trend chart at run time

To view different areas of charted data, an operator can use the set of VCR-style buttons included with a trend. The following illustration describes the function of each button.

Oldest data

Backward

1 time span

Backward

½ time span

Pause Forward

½ time span

Forward

1 time span

Most recent data

To make the VCR-style buttons available at run time, in the Display tab of the Trend

Properties dialog box, select the check box, Display scrolling mechanism.

You can also use the buttons in the Trend graphic library. For information about the

library, see page 22-22.

22–25

F

ACTORY

T

ALK

V

IEW

S

ITE

E

DITION

U

SER

S

G

UIDE

Displaying the value of pens at various positions

The value bar displays the value of each pen in the trend, at the position you select on the trend chart.

Pen values

The value bar

22–26

The color of the value bar changes automatically, so it is visible for all background colors.

For example, if the trend background color is black, the value bar color will be white. If the trend background color is white, the value bar will be black.

A tilde ( ~ ) indicates an approximate value. An approximate values is displayed when there is no value for the pen at the exact time stamp of the value bar. The approximate value is based on the nearest available reading.

To show the value bar

Click the trend where you want the value bar to appear.

To hide the value bar

Click the trend’s vertical axis.

You can also right-click the trend, and then click Show value bar. A check mark indicates the value bar is visible. No check mark indicates the value bar is hidden.

The value bar

The value of the data point at the value bar’s position

The delta value bar

The difference between the value bar’s data point and the delta value bar’s data point

22 • S

ETTING UP TRENDS

Displaying the difference in pen values for two points

The delta value bar works with the value bar to show the difference in value between two x-axis points for standard and XY Plot chart types.

To show the delta value bar

1. Right-click the trend chart, select Active value bar, and then click Value.

2. Click the trend where you want the value bar to appear.

3. On the shortcut menu, click Active value bar, and then click Delta.

4. Click the trend where you want to see the difference between the value at the value bar’s data point and the value at the delta value bar’s data point.

To move the delta value bar

1. Right-click the trend, select Active value bar, and then click Delta.

2. Click the trend chart at the position where you want to know the difference between the value indicated by the value bar, and the value indicated by the delta value bar.

To remove the delta value bar

Right-click the trend, and then click Show value bar.

22–27

F

ACTORY

T

ALK

V

IEW

S

ITE

E

DITION

U

SER

S

G

UIDE

This removes both the value bar and the delta value bar from the trend. However, if you click Show value bar again, only the value bar will reappear.

Zooming the trend chart

Use zoom to view a selected area of the trend chart in more detail.

To zoom, use one of these methods:

Right-click and drag the y-axis to zoom vertically.

Right-click and drag the x-axis to zoom horizontally.

Left-click and drag the chart to zoom into the selected area.

To restore the original trend chart view

Right-click the trend chart, and then click Undo Zoom/Pan.

Panning the trend chart

Use pan to view areas of the trend chart that are outside the area of the chart you are viewing. You must pause the trend before you can pan to an area.

To pause the trend

Click the VCR-style pause button at the bottom of the trend.

To pause the trend, you can also right-click the trend chart, and then click Scroll.

To pan vertically

Click and then drag the y-axis legend.

To pan horizontally

Click and then drag the x-axis legend.

To restore the original trend chart view

Right-click the trend chart, and then click Undo Zoom/Pan.

22–28

22 • S

ETTING UP TRENDS

Using the arrow keys

You can use the arrow keys on the keyboard to perform some of the same functions as the mouse and VCR-style buttons.

To do this

Move back half a time span.

Move forward half a time span.

Pan up 10%.

Pan down 10%.

Move back a full time span.

Move forward a full time span.

Switch to the next pen’s y-axis.

Move the value bar to the next data point.

Pan up or down 10%.

Pause.

Switch to the next pen’s y-axis.

Press and hold this key

(none)

(none)

(none)

(none)

Shift

Shift

Shift

Ctrl

Ctrl

Shift and Ctrl

Shift and Ctrl

And then press this arrow key

Left

Right

Up

Down

Left

Right

Up or Down

Left or Right

Up or Down

Left or Right

Up or Down

Printing the trend chart

To print the trend chart

1. Right-click the trend, and then click Print Trend.

Using overlays at run time

Before you can use overlays at run time, a snapshot must be created and the overlay must be set up in the Overlays tab. For more information about snapshots and overlays, see

“Setting up snapshots and overlays” on page 22-18.

To align an overlay to the left of the trend chart

Right-click the trend chart, select Overlays, Align Left, and then click the name of the overlay to align to the left of the trend chart.

To relocate an overlay

Right-click the trend chart, select Overlays, Relocate, and then click the name of the overlay to relocate.

22–29

F

ACTORY

T

ALK

V

IEW

S

ITE

E

DITION

U

SER

S

G

UIDE

To show or hide an overlay

1. Right-click the trend chart, select Overlays, click Show/Hide, and then click the name of the overlay you want to show or hide.

A check mark beside the overlay name indicates it is visible on the trend chart. No check mark beside the overlay name indicates it is hidden.

To open the Overlays tab

1. Right-click the trend chart, select Overlays, and then click Properties.

Fixing run-time errors

If data for the trend is not available at run time due to communication errors, messages are sent to the Diagnostics List. For information about setting up FactoryTalk Diagnostics, see the FactoryTalk Help.

For information about troubleshooting common trend problems, see Help.

To view information in the Diagnostics List

In FactoryTalk View Studio, on the Tools menu, click Diagnostics Viewer.

You can also click Start > All Programs > Rockwell Software > FactoryTalk Tools, and then click Diagnostics Viewer.

22–30

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Questions & Answers

2024-05-18

Z Z F

How can I open a display using a tag?
You can create a display key with the `[tag]` parameter in the command specified for its press action.
How can I open a screen on the HMI using a tag?
You can create HMI tags by mapping tag names to data server or DDE addresses.
What are the steps involved in setting up HMI tags for an application in FactoryTalk View?
You can create the HMI tags by mapping tag names to data server or DDE addresses, or create HMI memory tags in the Tags editor.

Related manuals

advertisement

Table of contents