advertisement
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
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
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
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
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Questions & Answers
Z Z F
How can I open a display using a tag?
How can I open a screen on the HMI using a tag?
What are the steps involved in setting up HMI tags for an application in FactoryTalk View?
Related manuals
advertisement
Table of contents
- 3 Contents
- 25 Getting started with FactoryTalk View SE
- 25 Welcome to FactoryTalk View Site Edition
- 25 About RSView Enterprise
- 26 About FactoryTalk systems
- 26 FactoryTalk Services Platform
- 27 Finding more information about FactoryTalk services
- 28 FactoryTalk View Site Edition software
- 29 FactoryTalk View SE features
- 30 Quick start: setting up the software you need
- 31 Step 1: Plan the layout of the network
- 31 Step 2: Install the FactoryTalk Services Platform
- 31 Step 3: Install FactoryTalk View SE
- 32 Step 4: Install the communications software
- 32 Step 5: Install the necessary activation keys
- 33 Step 6: Set up the FactoryTalk Directory
- 34 Exploring the Samples Water application
- 36 Creating a new FactoryTalk View SE application
- 36 Step 1: Create the application
- 37 Step 2: Create a graphic display
- 38 Step 3: Test run the application in FactoryTalk View SE Client
- 39 Exploring FactoryTalk View Studio
- 39 About FactoryTalk View Studio
- 39 About FactoryTalk Security permissions
- 40 Opening an application in FactoryTalk View Studio
- 40 Gaining access to the HMI Projects folder
- 41 Opening the Samples Water application
- 42 Parts of the FactoryTalk View Studio main window
- 42 Menu bar
- 42 Toolbars
- 43 Explorer
- 43 Workspace
- 43 Application tab
- 43 Communications tab
- 44 Diagnostics List
- 45 Status bar
- 45 Workbook mode
- 46 Showing and hiding items in the main window
- 46 Working in the Explorer window
- 47 Moving the Explorer window
- 48 Opening and closing folders
- 48 Opening component editors
- 50 Creating and modifying components
- 51 Adding components to an application
- 52 About component names
- 53 Deleting, removing, and renaming components
- 53 To restore a component after changing the physical file name
- 54 Techniques for working in editors
- 54 Gaining quick access to common operations
- 54 Browsing lists and components
- 54 Supplying tag names
- 55 Selecting and building commands
- 55 Building expressions
- 56 Printing from FactoryTalk View SE
- 56 Selecting a printer
- 56 Printing at run time
- 59 Planning an application
- 59 Understanding the process you are automating
- 60 Planning the layout of the network
- 60 Choose a Windows domain or workgroup
- 60 Determine which computers you’ll need
- 62 Planning communications
- 63 Determine how to access data
- 63 Planning how to monitor and control alarms
- 63 Planning an alarm monitoring and control system
- 64 Advantages of using Alarms and Events services
- 65 About traditional HMI tag alarms
- 65 Deciding when to use HMI tags
- 65 Design the HMI tag database
- 66 Designing a dependable control system
- 66 Plan how to secure the system
- 67 Plan to use built-in system availability features
- 68 Setting up the run-time application
- 68 Develop a hierarchy of graphic displays
- 69 Create templates to ensure consistency
- 69 Apply visual design principles
- 70 Plan how to use trends
- 70 Plan run-time language switching
- 71 Designing a system that is easy to deploy and maintain
- 71 Design the application for multiple users
- 71 Integrating with other applications and customizing the system
- 73 Setting up the FactoryTalk Directory
- 73 About FactoryTalk Directory
- 74 The FactoryTalk Directory in a networked system
- 75 FactoryTalk Directory in a FactoryTalk View SE application
- 76 About local applications
- 76 Running network applications
- 76 Specifying the location of the FactoryTalk Directory server
- 79 Setting up FactoryTalk Directory for a local application
- 79 What happens if the Network Directory server is unavailable
- 79 Monitoring Network Directory status
- 81 Setting up security
- 81 About FactoryTalk Security services
- 82 About the FactoryTalk Directory
- 82 Finding more information about FactoryTalk Security
- 83 Gaining initial access to a FactoryTalk system
- 84 Logging users on to and off from FactoryTalk View SE
- 84 Logging on to the FactoryTalk Directory
- 86 Logging on to FactoryTalk View Studio
- 86 Logging on to a FactoryTalk View SE Client
- 88 Deciding how to secure a FactoryTalk View SE application
- 89 Securing FactoryTalk View SE applications at run time
- 90 Securing FactoryTalk system resources
- 91 Setting up FactoryTalk accounts in FactoryTalk View SE
- 91 Setting up accounts in the Runtime Security editor
- 93 Example – Setting up run-time access to HMI components
- 94 Removing All Users from the Runtime Security list
- 95 Specifying login and logout macros
- 96 Removing Runtime Security accounts
- 96 Setting up run-time security for HMI project components
- 96 Assigning security codes to commands and macros
- 98 Assigning security codes to graphic displays
- 98 Assigning security codes to OLE objects
- 99 Assigning security codes to HMI tags
- 100 Other ways to control run-time access to an application
- 100 Lock operators into the run-time environment
- 101 Use the signature button to control user actions
- 101 About FactoryTalk Security accounts
- 102 About the All Users account
- 102 Specifying which users can set up security
- 103 Choosing the types of accounts to use
- 104 Organizing users in groups
- 105 Setting up user and computer accounts
- 106 Creating computer accounts for a network application
- 107 Setting up system-wide policies
- 109 Setting up security for FactoryTalk system resources
- 109 Modifying FactoryTalk Security settings
- 111 Specifying which actions users can perform
- 112 Organizing actions into groups
- 113 Understanding inherited permissions
- 113 Breaking the chain of inheritance
- 114 Using explicit permissions to override inheritance
- 115 Performing secured tasks in FactoryTalk View SE
- 118 Example – Using the Common actions to set up security for user groups in a FactoryTalk View SE network application
- 121 Working with network applications
- 121 About FactoryTalk View Site Edition network applications
- 122 Parts of a network application
- 123 About FactoryTalk systems
- 123 Finding more information about FactoryTalk services
- 123 Key network application concepts
- 123 FactoryTalk Network Directory
- 124 FactoryTalk Security
- 124 HMI servers
- 125 HMI projects
- 125 HMI clients
- 125 Areas
- 126 Absolute and relative references
- 127 Example: Absolute and relative references to tags in the same graphic display
- 127 Example: Using absolute and relative references with the Display command
- 128 System availability
- 129 Language switching
- 129 Creating network applications
- 130 Adding areas and servers to a network application
- 130 Adding and deleting areas
- 130 Adding an HMI server
- 132 Adding a data server
- 132 Adding a Tag Alarm and Event Server
- 132 Deciding when to use multiple servers
- 133 Running multiple HMI servers
- 134 Monitoring disk space on HMI servers
- 134 Setting up HMI server properties
- 135 Changing the name of the host computer
- 135 Specifying how the server starts up
- 136 Setting up HMI server redundancy
- 137 Selecting startup and shutdown components
- 138 Starting and stopping HMI server components manually
- 139 Monitoring the status of an HMI server
- 139 Deleting HMI servers
- 139 Deleting HMI server project files
- 140 Renaming and deleting network applications
- 141 About backing up and restoring network applications
- 143 Working with local applications
- 143 About FactoryTalk View SE local applications
- 143 Parts of a local application
- 144 About FactoryTalk systems
- 145 Finding more information about FactoryTalk services
- 145 Key local application concepts
- 145 FactoryTalk Local Directory
- 146 FactoryTalk Security
- 146 HMI servers
- 146 HMI projects
- 147 HMI clients
- 147 Relative references
- 147 Language switching
- 147 Creating local applications
- 148 Importing a project into a new application
- 148 Adding servers to a local application
- 149 Adding a Tag Alarm and Event Server
- 149 Setting up HMI server properties
- 150 Selecting startup and shutdown components
- 150 Monitoring the status of an HMI server
- 151 Renaming, deleting, and copying local applications
- 152 About backing up and restoring local applications
- 153 Setting up communications
- 153 About data servers
- 154 Overview of data server communications
- 155 Using multiple data servers in an application
- 156 Setting up communications in FactoryTalk View SE
- 157 About FactoryTalk Security permissions
- 157 Adding RSLinx Enterprise data servers to an application
- 157 Setting up general properties
- 158 Setting up RSLinx Enterprise data server redundancy
- 160 Setting up support for alarms and events
- 160 Deleting an RSLinx Enterprise data server
- 160 Setting up communications for RSLinx Enterprise
- 160 About the Primary and Secondary tabs
- 161 Adding OPC data servers to an application
- 162 Setting up general properties
- 162 Setting up OPC data server redundancy
- 163 Setting up advanced properties
- 164 To synchronize a data server’s cache
- 165 Deleting an OPC data server
- 167 Working with tags
- 167 About data server tags and HMI tags
- 168 Using direct referencing to eliminate duplication
- 168 Using the extended capabilities of HMI tags
- 169 Using tag data in a FactoryTalk View SE application
- 170 Setting up data server tags
- 170 Setting up HMI tags
- 171 Specifying tag names where tag data is needed
- 171 Logging tag values
- 171 Observing tag-related limits
- 172 About tag references
- 172 Absolute references
- 172 Relative references
- 173 The home area
- 173 Parts of the Tag Browser
- 175 Viewing tags in folders
- 175 Showing server names
- 175 Finding tags in the home area
- 175 Searching for and selecting tags
- 176 Selecting folders instead of individual tags
- 177 Displaying a tag’s properties
- 177 Filtering tags
- 178 Creating, modifying, and importing HMI tags
- 179 Browsing for offline tags
- 179 Browsing for offline tags from RSLinx Enterprise
- 179 Browsing for offline tags from RSLinx Classic
- 180 Browsing for offline tags from other OPC servers
- 180 Working with HMI tags
- 180 HMI tag types
- 181 Data sources for HMI tags
- 181 Organizing HMI tags
- 182 Naming HMI tags
- 182 Grouping HMI tags in folders
- 183 Viewing tag statistics
- 183 Parts of the Tags editor
- 184 Accept and Discard buttons
- 184 Form and spreadsheet
- 185 Query box
- 185 Folder hierarchy
- 185 Creating, modifying, and deleting HMI tags
- 187 Selecting a data source for an HMI tag
- 187 Getting HMI tag data from a device
- 188 Getting HMI tag data from memory
- 188 Creating HMI tags without using the Tags editor
- 188 Creating tags in a third-party application
- 189 Creating tags in other FactoryTalk View editors
- 189 Importing and exporting tags
- 189 Importing tags from a PLC database
- 190 Defining alarm conditions for HMI tags
- 191 Modifying HMI tag and alarm properties at run time
- 193 Setting up HMI tag alarms
- 193 About HMI tag alarms
- 194 HMI tag alarm features
- 194 About FactoryTalk Alarms and Events
- 195 Key HMI tag alarms concepts
- 195 Alarm thresholds for analog tags
- 195 Example: Alarm thresholds
- 198 Alarm states for digital tags
- 198 Alarm severity
- 199 Alarm messages
- 199 Alarm log file
- 199 HMI tag alarm displays
- 202 Alarm acknowledgment
- 202 Alarm suppression
- 203 Alarm functions in expressions
- 204 Acknowledge bit
- 205 Handshake bit
- 205 Summary of steps for setting up HMI tag alarms
- 206 Setting up general HMI tag alarm behavior
- 207 Setting up alarm monitoring
- 208 Setting up alarm severities
- 209 Setting up alarm messages
- 210 Example: Message placeholders
- 211 Setting up alarm conditions for HMI tags
- 212 Setting up alarms for HMI analog tags
- 212 Setting up alarms for HMI digital tags
- 212 Modifying HMI tag and alarm properties at run time
- 213 About FactoryTalk View SE alarm events
- 215 Setting up HMI tag alarm logging
- 216 Specifying where log files are stored or printed
- 217 Specifying when log files are created and deleted
- 217 Setting up periodic logging to a central ODBC database
- 218 Exporting alarm log files manually to ODBC format
- 218 Example: Exporting alarm log files to ODBC format on demand
- 218 ODBC database schemas for HMI alarm logging
- 220 Viewing HMI tag alarm log files
- 221 Alarm log file names
- 222 Example: HMI tag alarm log file name
- 222 Adding remarks to the alarm log file at run time
- 222 Suppressing alarm logging
- 223 Suppressing alarm printing
- 224 Creating an HMI tag alarm summary
- 225 The parts of an HMI tag alarm summary
- 225 Inserting headings
- 226 Choosing fonts
- 226 Choosing colors and blink styles
- 227 Selecting buttons
- 228 Choosing the data to display
- 228 Examples: Using area and tag names in filters
- 229 Sorting and filtering at run time
- 229 Using tag placeholders to specify alarm information sources
- 230 Examples: Using tag placeholders to specify areas and tags
- 230 Running commands or custom programs for selected alarms
- 230 Using the Execute button to run commands or programs
- 231 Example: Using AlarmLogRemark with the Execute button
- 233 Using the Identify button to run commands or programs
- 233 Starting and stopping HMI tag alarm monitoring
- 233 Ways to start HMI tag alarm monitoring
- 234 Ways to stop HMI tag alarm monitoring
- 235 Setting up FactoryTalk alarms
- 235 About FactoryTalk Alarms and Events
- 236 Advantages in using Alarms and Events services
- 238 About traditional HMI tag alarms
- 238 Finding more information about Alarms and Events
- 240 Key FactoryTalk Alarms and Events concepts
- 240 Alarms and events
- 240 Alarm servers
- 241 Level alarms
- 241 Example: Alarm limits
- 243 Deviation alarms
- 244 Digital alarms
- 244 FactoryTalk alarm and event displays
- 245 Alarm priority and severity
- 246 Alarm class
- 247 Alarm states
- 247 Alarm tags
- 248 Alarm status tags
- 248 Alarm messages
- 248 Alarm audit, diagnostic, and history logs
- 249 Summary of basic steps for setting up FactoryTalk alarms
- 250 Setting up system-wide alarm and event policies
- 251 Securing access to FactoryTalk alarm information
- 252 Working with Rockwell Automation Device Servers
- 253 Setting up support for Alarms and Events
- 254 Specifying a device-based alarm source
- 254 Working with Tag Alarm and Event Servers
- 255 Setting up alarm priorities and history logging
- 256 Setting up FactoryTalk tag-based alarms
- 256 Creating tag-based digital alarms
- 257 Creating tag-based level alarms
- 259 Creating tag-based deviation alarms
- 260 Viewing all tag-based alarms
- 260 Setting up status tags for tag-based alarms
- 261 Setting up tag-based alarm messages
- 262 Adding variables to alarm messages
- 263 Specifying tag update rates
- 264 Setting up alarm and event history logging
- 264 Defining an alarm and event log database
- 265 Enabling alarm and event history logging
- 265 Setting up alarm and event displays
- 266 About the Alarm and Event graphic library
- 266 Setting up an alarm and event summary
- 268 Setting up an alarm and event banner
- 270 About the alarm and event banner at run time
- 271 Example: Docking an alarm banner when the FactoryTalk View SE Client starts up
- 271 Using an alarm summary to monitor and respond to alarms
- 272 The parts of an alarm and event summary
- 273 Acknowledging alarms
- 274 Resetting latched digital alarms
- 275 Suppressing and disabling alarms
- 275 Unsuppressing and enabling alarms
- 276 Working with alarm sources in the Alarm Status Explorer
- 277 The parts of an alarm status explorer
- 278 Viewing alarm details
- 279 Unsuppressing and suppressing alarms
- 279 Disabling and enabling alarms
- 280 Viewing alarm and event history logs
- 280 The parts of an alarm and event log viewer
- 282 Using tags to interact with alarms or obtain their status
- 283 Example: Using alarm tags to acknowledge an alarm
- 284 Using FactoryTalk alarm functions in expressions
- 284 Retrieving information about the severity of alarms
- 285 Retrieving information about the number of alarms
- 286 Specifying the FactoryTalk alarm source in an expression
- 288 What happens if the alarm source becomes unavailable
- 289 Importing and exporting alarms
- 290 About import and export formats
- 291 Setting up language switching
- 291 About language switching
- 292 Text strings you can view in different languages at run time
- 292 Text strings you cannot view in different languages
- 295 Summary of steps for setting up language switching
- 295 About FactoryTalk Security permissions
- 296 Setting up font support for Windows languages
- 296 Enabling font support for additional Windows languages
- 296 Selecting a language for a new FactoryTalk View application
- 297 About the current application language
- 297 Adding languages to an application
- 298 Setting up a default application language
- 299 Displaying undefined text strings in the default language
- 300 Exporting application text strings
- 301 Troubleshooting export problems
- 301 Export file formats
- 302 Working with text strings exported to an Excel spreadsheet
- 303 Maintaining the format of the spreadsheet
- 304 Modifying or translating text strings
- 305 Working with duplicate text strings
- 305 Working with strings exported to a Unicode text file
- 306 File name and format
- 306 Opening a Unicode text file in Microsoft Excel
- 306 Saving a Unicode text file in Microsoft Excel
- 307 Differences in format for Unicode files saved in Excel
- 307 Saving a Unicode text file in Notepad
- 307 File schema
- 308 Working with pairs of double quotes
- 308 Working with backslashes and new-line characters
- 309 Importing translated or modified text strings
- 310 Troubleshooting import problems
- 314 Setting up run-time language switching
- 314 Using the Language command to switch languages
- 315 Support for multiple languages in the graphic libraries
- 315 Language support in new graphic libraries
- 316 Using the graphic libraries in a multi-language application
- 317 Setting up FactoryTalk system availability
- 317 FactoryTalk features that maximize system availability
- 318 Finding more information about system availability
- 318 Monitoring the status of application servers
- 320 States for non-redundant and redundant servers
- 321 States for redundant servers only
- 322 What happens if a non-redundant HMI server fails
- 323 Monitoring the status of the Network Directory server
- 324 What happens if the Network Directory server is unavailable
- 324 Redundancy as part of a system availability strategy
- 325 Planning the layout of a redundant system
- 325 Example: An application with two redundant HMI server pairs
- 327 About FactoryTalk View SE system limits
- 328 Activating FactoryTalk View SE in a redundant system
- 328 Setting up redundant servers in FactoryTalk View SE
- 329 Setting up a redundant HMI server pair
- 329 Specify the Network Directory on the secondary computer
- 330 Copy HMI project files to the secondary computer
- 331 Set up HMI server redundancy options
- 332 Replicate changes to the secondary HMI server
- 333 Determining the Active HMI server in a redundant pair
- 334 When an HMI server is ready to be active or standby
- 334 Specifying On Active and On Standby macros
- 335 What happens if both servers become active
- 336 Switching the Active and Standby servers manually
- 337 About FactoryTalk Security permissions
- 337 What happens when the primary HMI server fails
- 337 Failing over to the Standby secondary server
- 338 Switching back to primary, or staying with the Active server
- 339 Notifying clients when switching back to the primary
- 339 Modifying HMI tag and alarm properties at run time
- 339 Modifying HMI tag properties
- 342 Modifying HMI tag alarm properties
- 343 Example: Modifying HMI tag alarms in a redundant HMI server pair
- 345 Managing HMI data in an online redundant system
- 345 Synchronize time clocks on redundant computers
- 346 Centralize storage of diagnostic and alarm log data
- 346 Determine which server will run events
- 347 Synchronize derived tags and data log files
- 347 Monitoring network client and server connections
- 348 About network glitches
- 351 Logging system activity
- 351 About FactoryTalk Diagnostics
- 351 Summary of steps for setting up Diagnostics
- 352 Finding more information about FactoryTalk Diagnostics
- 352 Key FactoryTalk Diagnostics concepts
- 352 Destinations
- 352 Message routing
- 353 Message categories
- 354 Setting up FactoryTalk Diagnostics in FactoryTalk View
- 355 Setting up message routing
- 355 Logging to a central database
- 357 Tracking system events in the Diagnostics List
- 357 Working with the Diagnostics List
- 358 Viewing messages in the Diagnostics List
- 359 Viewing FactoryTalk Diagnostics logs
- 361 Creating graphic displays
- 361 About graphic displays
- 362 Importing and exporting graphic display XML files
- 362 About global object displays
- 363 Parts of the Graphics editor
- 364 Viewing display contents in the Object Explorer
- 365 Viewing object properties in the Property Panel
- 366 Techniques for working in graphic displays
- 366 Zooming in and out
- 367 Setting up a display grid
- 367 Using the toolbars
- 368 Selecting objects
- 368 Using shortcut menus to perform actions quickly
- 368 Techniques for working with graphic objects
- 369 Duplicating objects
- 369 Resizing and reshaping objects
- 370 Arranging objects
- 374 Flipping objects
- 375 Rotating objects
- 375 Grouping objects
- 376 Ungrouping objects
- 377 Modifying grouped objects
- 377 Applying colors
- 378 Applying pattern styles and colors
- 379 Changing line properties
- 379 Naming graphic objects
- 380 Assigning tags and expressions to objects
- 381 Adding tooltips to graphic objects
- 381 Using tag substitution to replace text strings
- 382 Creating a background for a display
- 383 Testing graphic displays
- 383 Testing the appearance of objects in different states
- 384 Creating and working with global object displays
- 384 Creating global object displays
- 385 Adding standard displays that contain reference objects
- 385 About global object displays at run time
- 386 Adding process faceplates to an application
- 386 Working with faceplates in the Graphics editor
- 387 Using objects from the graphic libraries
- 387 Location of library files
- 387 Importing graphic files from third-party applications
- 388 Using bitmaps in a FactoryTalk View application
- 389 When to use a bitmap
- 389 Using the Image Browser to import images
- 390 To open the Image Browser, use one of these methods
- 391 Using placeholders to specify tag values
- 391 Creating a tag placeholder
- 392 Replacing tag placeholders using parameter files
- 392 Example: Replacing tag placeholders using a parameter file
- 393 Replacing tag placeholders using parameter lists
- 393 Example 1: Replacing tag placeholders with a list of tag names
- 393 Example 2: Replacing tag placeholder with a list of folder names
- 393 Setting up tag placeholders for global objects
- 394 Defining tag placeholders for use in reference objects
- 395 Example: Assigning different values to the same placeholder in two global reference objects
- 396 Modifying global objects that use tag placeholders
- 397 Setting up the appearance and behavior of a graphic display
- 397 Setting up the properties of a graphic display
- 402 Setting up the run-time behavior of a graphic display
- 405 Setting up displays to open more quickly
- 406 Changing the default display settings
- 407 Docking displays to the FactoryTalk View SE Client window
- 407 Display command parameters for docking displays
- 407 Example: Using the Display command to dock a display after the FactoryTalk View SE Client starts up
- 408 About the appearance and behavior of docked displays
- 409 Closing docked displays
- 409 Example: Closing an individual docked display
- 410 Example: Closing all docked displays
- 410 Printing displays at run time
- 411 Creating graphic objects
- 411 Types of graphic objects in FactoryTalk View SE
- 412 About global objects
- 412 Setting up the properties of graphic objects
- 413 Setting up properties common to all objects
- 414 Creating the different types of drawing objects
- 414 Drawing a rectangle or square
- 414 Drawing a rounded rectangle
- 415 Drawing a polyline or polygon
- 415 Drawing an ellipse or circle
- 416 Drawing an arc or wedge
- 416 Changing the properties of drawing objects
- 417 Creating text objects
- 418 Creating a panel
- 418 Adding images into graphic displays
- 418 Placing images in graphic displays
- 418 Adding images to an application
- 419 Importing images into graphic displays
- 419 Pasting images into graphic displays
- 419 Techniques for working with objects that use data
- 419 Specifying tag names
- 420 Determining which objects have input focus
- 420 Using the keyboard to select objects that can take focus
- 421 Removing objects from the tab sequence
- 421 Creating the different types of push buttons
- 422 Creating button push buttons
- 423 Creating momentary push buttons
- 424 Creating maintained push buttons
- 425 Creating latched push buttons
- 426 Creating multistate push buttons
- 427 About the run-time error state
- 427 Creating interlocked push buttons
- 428 Creating ramp push buttons
- 429 Creating the different types of data display and input objects
- 430 Using input objects to retrieve and send data
- 432 Shortcut keys for retrieving and sending data
- 433 FactoryTalk View commands for retrieving and sending data
- 433 Parts of the on-screen keyboard
- 434 Creating numeric and string display objects
- 435 Creating numeric and string input objects
- 435 Creating the different types of indicators
- 435 Setting up states for indicators
- 436 Setting up connections for indicators
- 436 Creating multistate indicators
- 436 Creating symbols
- 437 Creating list indicators
- 437 Creating the different types of gauges and graphs
- 437 Using gauges to show limits
- 438 Using graphs to compare values
- 439 Creating gauges
- 439 Creating bar graphs
- 439 Creating scales
- 439 Using key objects to simulate keyboard functions
- 440 Creating the different types of key objects
- 441 Using the same set of keys with different graphic objects
- 441 Creating the different types of advanced objects
- 442 Creating arrows
- 442 Creating tag labels
- 443 Creating time and date displays
- 443 Creating display list selectors
- 444 Providing operator instructions in local message displays
- 444 Setting up local messages
- 445 Creating local message displays
- 445 Example: Setting up local messages
- 446 Creating and restoring recipes
- 446 Creating a recipe object
- 446 Restoring and saving recipe values at run time
- 448 Example: Creating a recipe file at run time
- 449 Creating control list selectors
- 449 Selecting states in a control list selector
- 449 Using keys to scroll the list
- 450 Setting the Value tag
- 450 Creating control list selectors
- 451 Creating piloted control list selectors
- 451 Selecting states in a piloted control list selector
- 452 Using keys to scroll the list
- 453 Setting the Value tag
- 454 Creating piloted control selectors
- 454 Specifying the text and value for each state
- 455 Setting up connections for a piloted control list selector
- 456 Creating the Alarm and Event objects
- 456 Creating global objects
- 457 Creating reference objects
- 458 Using placeholders to specify values for global objects
- 458 Adding global objects into the graphic libraries
- 458 Setting up the link properties of reference objects
- 459 LinkAnimation
- 460 LinkConnections
- 460 LinkSize
- 460 LinkToolTipText
- 461 LinkBaseObject
- 461 Link properties of grouped reference objects
- 461 Breaking links between reference and base objects
- 462 Working with OLE objects
- 462 Creating OLE objects
- 462 Converting OLE objects
- 463 Working with ActiveX objects
- 463 Attributes of ActiveX objects
- 464 Creating ActiveX objects
- 464 Setting up ActiveX objects to interact with FactoryTalk View
- 465 Setting up tools in the ActiveX toolbox
- 466 Deploying ActiveX components automatically at run time
- 466 Working with Symbol Factory
- 466 To open Symbol Factory:
- 467 To select a graphic:
- 467 Manipulating the graphic:
- 467 Using electronic signatures to authorize run-time changes
- 468 Securing tag writes, commands, and downloads
- 469 Creating signature buttons
- 469 Securing objects in graphic displays
- 470 Tracking changes using FactoryTalk Diagnostics
- 471 Animating graphic objects
- 471 About animation in FactoryTalk View
- 472 Setting up animation for FactoryTalk View graphic objects
- 473 Linking animation to tag values
- 473 Linking animation to expressions
- 473 Linking animation to actions
- 474 Determining start and end points for a range of motion
- 474 Defining the range of motion
- 475 Example: Using Object Smart Path to define a range of motion for a horizontal slider
- 475 Applying animation to object groups
- 476 Testing animation
- 476 Viewing the animation applied to objects
- 476 Copying or duplicating objects with animation
- 477 About global objects and animation
- 477 Creating effects using the different types of animation
- 478 Showing and hiding objects
- 478 Changing an object’s color
- 479 Example 1: Creating text that blinks
- 479 Example 2: Creating an object that changes color as the fill level changes
- 480 To set up the color for the normal state
- 480 To set up the color for the first warning
- 480 To set up the color for the second warning
- 481 Changing the level of fill in an object
- 481 Moving an object horizontally in a display
- 481 Moving an object vertically in a display
- 482 Rotating objects
- 483 Changing the width of an object
- 484 Changing the height of an object
- 484 Setting up touch zones
- 484 Creating a horizontal slider
- 484 Creating a vertical slider
- 485 Animating OLE verbs
- 485 Using index numbers to navigate to objects in a display
- 485 Checking an object’s index number
- 486 How tab index numbers work
- 487 Creating a tab sequence
- 487 Changing index numbers
- 488 Associating objects and displays with keys
- 488 Setting up object keys
- 489 Example: Using object keys to open and close valves
- 489 Setting up display keys
- 490 Example: Using a display key to open a menu
- 490 Viewing the key list at run time
- 491 Setting up object-specific commands using keys
- 492 Example 1: Creating display-wide keys to open and close valves
- 492 Example 2: Opening object-specific Help
- 493 Example 3: Opening an object-specific HMI tag alarm summary
- 493 Animating ActiveX objects
- 494 Connecting tags to an ActiveX object’s properties
- 496 Connecting tags to an object’s methods
- 496 Connecting tags to an ActiveX object’s events
- 499 Setting up navigation
- 499 Designing a display hierarchy for an application
- 500 Setting up ways to move among displays
- 500 Using commands to open, close, and switch displays
- 502 Example: Setting up navigation using keyboard operation
- 503 Example 2: Setting up navigation using mouse and touch screen operation
- 503 Choosing display types with navigation in mind
- 504 Reducing display call-up time
- 504 Setting up keys to run FactoryTalk View commands
- 505 General rules governing precedence
- 505 Precedence and the F1 key
- 505 Precedence and embedded ActiveX objects
- 506 Precedence and embedded OLE objects
- 506 Keyboard shortcuts
- 509 Creating expressions
- 509 About expressions
- 509 Where you can use expressions in FactoryTalk View SE
- 510 Working in the Expression editor
- 511 Expression components
- 512 Checking the syntax of an expression
- 512 Cutting, copying, and pasting expressions
- 512 Formatting expressions
- 512 Example: Formatting an expression
- 513 Using tag names and tag placeholders in expressions
- 513 Specifying the area with a tag name
- 513 Using tag placeholders to specify tag values
- 513 Using constants in expressions
- 514 Using operators to modify values in expressions
- 514 Arithmetic operators
- 515 Relational operators
- 515 Logical operators
- 516 Bitwise operators
- 517 Example: Bitwise operators
- 517 Evaluation order of operators
- 518 Examples: Evaluation order
- 519 Using built-in functions in expressions
- 519 Math functions
- 520 File functions
- 521 Time functions
- 521 Example 1: Specific time parameters
- 522 Example 2: Less specific time parameters
- 522 Example 3: Time and interval functions
- 523 Tag functions
- 525 Example: HMI tag alarm functions
- 525 Security functions
- 526 Language function
- 526 FactoryTalk alarm functions
- 527 Using if -then-else logic in expressions
- 528 Nested if - then - else
- 528 Example 1: Nested if - then- else
- 529 Example 2: Nested if – then – else
- 531 Creating embedded variables
- 531 About embedded variables
- 532 Inserting embedded variables
- 533 Creating numeric embedded variables
- 534 Example: Numeric embedded variable using a tag
- 535 Example: Numeric embedded variable using a literal number
- 535 Creating string embedded variables
- 536 Example: String embedded variable using a tag
- 537 Example: String embedded variable using a literal string
- 537 Creating time and date embedded variables
- 538 Example: Time and date embedded variable
- 538 How embedded variables are displayed at run time
- 539 Numeric embedded variables
- 539 String embedded variables
- 539 Time and date embedded variables
- 540 How embedded variables are updated at run time
- 541 Setting up data logging
- 541 About data logging
- 541 Gathering tag data in data log models
- 542 Data log storage formats
- 543 Example: Parts of a data log long file name
- 543 ODBC database storage format and schemas
- 545 Creating data log models
- 546 Specifying the storage format
- 547 Setting up log paths
- 547 Setting up and managing data log files
- 548 Specifying when to log data
- 548 Choosing the data to be logged
- 549 Logging data to ODBC data sources
- 549 Logging data to an existing ODBC data source
- 549 Creating a new ODBC data source
- 550 Setting up security to log data to a remote computer
- 550 Creating new files at run time
- 550 Using the DataLogNewFile command
- 551 Switching log paths at run time
- 551 Setting up switching options
- 552 Switching back manually to the primary path
- 552 Moving data from the secondary path
- 553 Logging on demand
- 553 Using the DataLogSnapshot command
- 554 Example: Creating an event for on-demand logging
- 554 Combining logging
- 554 Modifying existing data log models
- 555 Changing log paths in the SE Administration Console
- 555 Making run-time changes without modifying the model
- 555 Starting and stopping data logging
- 556 Ways to start data logging
- 556 Ways to stop data logging
- 559 Setting up trends
- 559 About trends
- 559 Charting current versus historical data
- 560 Creating trend objects
- 561 Providing a name for the trend
- 561 Setting up trend properties
- 562 Testing a trend
- 563 The parts of a trend
- 563 Chart
- 564 Chart title
- 564 X-axis
- 564 X-axis legend
- 564 Y-axis
- 564 Y-axis legend
- 565 Pens
- 565 Legends
- 566 Pen icons
- 566 Pen markers
- 567 Value Bar
- 567 Trend chart styles
- 568 The Standard chart style
- 568 The XY Plot chart style
- 569 Isolated graphing
- 570 Plotting a value across the full width of the chart
- 571 Choosing trend colors, fonts, lines, and legends
- 571 Changing the trend highlight color
- 571 Changing the trend object background
- 572 Displaying a current value legend
- 573 Displaying a line legend
- 573 Using shading to compare pens
- 574 Example 1: Shading with three pens
- 575 Example 2: Shading with two pens
- 576 Example 3: Shading between two pens
- 576 Using overlays to compare real-time and historical data
- 576 Setting up snapshots and overlays
- 578 Using trend templates
- 578 Applying a consistent appearance to trend charts
- 578 Creating a set of different views for the same data
- 578 Returning to a standard display
- 578 Saving pen attribute data
- 579 Loading trend templates
- 579 Example: Using the Invoke command to load trend templates at run time
- 580 About the Trend graphic library
- 580 Working with trends at run time
- 580 Collecting data in the background at run time
- 581 Example: Using a startup macro to load and update a trend in the background
- 582 Selecting pens at run time
- 582 Modifying trend properties at run time
- 583 Scrolling the trend chart at run time
- 584 Displaying the value of pens at various positions
- 585 Displaying the difference in pen values for two points
- 586 Zooming the trend chart
- 586 Panning the trend chart
- 587 Using the arrow keys
- 587 Printing the trend chart
- 587 Using overlays at run time
- 588 Fixing run-time errors
- 589 Adding logic and control
- 589 About logic and control
- 589 Creating and using derived tags
- 589 Parts of the Derived Tags editor
- 591 How to use derived tags
- 591 Creating a derived tags component
- 593 Starting and stopping derived tags processing
- 595 Setting up FactoryTalk View SE events
- 595 Parts of the Events editor
- 597 Creating an events component
- 598 Starting and stopping events processing
- 600 Creating and using macros
- 600 Macro syntax
- 601 Example 1: A macro called Factory
- 601 Example 2: A macro using placeholders in commands
- 602 Specifying parameters in a macro
- 602 Example 3: Factory macro with two parameters
- 602 Typing macro names that contain spaces
- 602 Example 4: Macro name with spaces and parameters
- 603 Nesting macros
- 603 Example 5: Nesting macros
- 603 Running macros
- 604 Specifying user login and logout macros
- 604 Creating client keys
- 605 Running client key components
- 607 FactoryTalk View commands
- 607 Using commands in a FactoryTalk View SE application
- 607 How to use commands
- 608 Using tag placeholders in commands
- 608 Example 1: A macro using tag placeholders in commands
- 609 Example 2: Ensuring that the tag value is evaluated as expected
- 609 Where commands run
- 611 Using absolute and relative references
- 611 How relative references are resolved
- 612 Creating symbols
- 613 Example: The Define command
- 613 Example: Undefining symbols
- 613 Important guidelines
- 614 Running and building commands
- 617 Setting up DDE communications for HMI tags
- 617 Overview of DDE communications
- 618 Setting up an HMI server as a DDE client
- 618 Creating an HMI tag that uses DDE
- 618 Specifying Device as the data source
- 619 Syntax for DDE addresses
- 619 Scanning for new tag values
- 621 Using the SE Client object model and display code
- 621 Customizing applications using VBA with FactoryTalk View
- 622 Summary of basic steps
- 622 About procedures
- 623 How VBA code runs
- 623 Parts of the VBA integrated development environment
- 624 FactoryTalk View SE Client object model
- 627 Viewing the objects
- 628 Finding information about FactoryTalk View SE Client objects
- 628 Finding information about VBA
- 629 Importing and exporting XML files
- 629 About XML
- 629 Exporting graphics data to an XML file
- 630 Modifying exported XML files
- 630 Saving XML files in Notepad
- 630 Testing XML files
- 631 Importing XML files
- 631 Error log file
- 631 Importing graphic display XML files
- 632 Graphic display XML file structure
- 635 Index