RSView SEUsers 2
RSView SEUsers 2
Copyright Notice © 2007 Rockwell Automation Technologies Inc. All rights reserved. Printed in USA.
This document and any accompanying Rockwell Software products are copyrighted by Rockwell
Automation Technologies Inc. Any reproduction and/or distribution without prior written consent
from Rockwell Automation Technologies Inc. is strictly prohibited. Please refer to the license
agreement for details.
Trademark Notices Allen-Bradley, ControlLogix, FactoryTalk, PLC-2, PLC-3, PLC-5, Rockwell Automation, Rockwell
Software, RSLinx, RSView, the Rockwell Software logo, and VersaView are registered trademarks of
Rockwell Automation, Inc.
The following logos and products are trademarks of Rockwell Automation, Inc.:
RSMACC, RSLogix, Data Highway Plus, DH+, RSView, FactoryTalk View, RSView Studio,
FactoryTalk View Studio, PanelBuilder, PanelView, RSView Machine Edition, RSView ME Station,
and WINtelligent.
FactoryTalk Activation, FactoryTalk Administration Console, FactoryTalk Alarms and Events,
FactoryTalk Automation Platform, FactoryTalk Services Platform, FactoryTalk Diagnostics,
FactoryTalk Directory, FactoryTalk Live Data, RSAssetSecurity, and FactoryTalk Security.
PanelView, RSLinx Classic, RSLinx Enterprise, SLC 5, and SLC 500
Other Trademarks ActiveX, Microsoft, Microsoft Access, SQL Server, Visual Basic, Visual C++, Visual SourceSafe,
Windows, Windows ME, Windows NT, Windows 2000, Windows Server 2003, and Windows XP are
either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other
countries.
Adobe, Acrobat, and Reader are either registered trademarks or trademarks of Adobe Systems
Incorporated in the United States and/or other countries.
ControlNet is a registered trademark of ControlNet International.
DeviceNet is a trademark of the Open DeviceNet Vendor Association Inc. (ODVA)
Ethernet is a registered trademark of Digital Equipment Corporation, Intel, and Xerox Corporation.
OLE for Process Control is a registered trademark of the OPC Foundation.
Oracle, SQL*Net, and SQL*Plus are registered trademarks of Oracle Corporation.
All other trademarks are the property of their respective holders and are hereby acknowledged.
Warranty This product is warranted in accord with the product license. The product’s performance may be
affected by system configuration, the application being performed, operator control, maintenance,
and other related factors. Rockwell Automation is not responsible for these intervening factors. The
instructions in this document do not cover all the details or variations in the equipment, procedure, or
process described, nor do they provide directions for meeting every possible contingency during
installation, operation, or maintenance. This product’s implementation may vary among users.
This document is current as of the time of release of the product; however, the accompanying
software may have changed since the release. Rockwell Automation, Inc. reserves the right to change
any information contained in this document or the software at anytime without prior notice. It is your
responsibility to obtain the most current information available from Rockwell when installing or
using this product.
Doc ID VIEWSE-UM005E-EN-E
August 2007
2
Contents
Preface
About RSView Enterprise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P-1
About the FactoryTalk View SE documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . P-2
What’s in this manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P-2
Finding information about FactoryTalk View SE . . . . . . . . . . . . . . . . . . . . . . . . . . . P-3
Try the User’s Guide and Help first . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P-3
Finding information on the Internet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P-3
Contacting Rockwell Automation Technical Support . . . . . . . . . . . . . . . . . . . . P-4
i
• • • • •
3 • Planning an application
Understanding the process you are automating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Planning the layout of the network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
Choose a Windows domain or workgroup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
Determine which computers you’ll need . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
Planning communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
Determine how to access data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
Planning how to monitor and control alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
Planning an alarm monitoring and control system . . . . . . . . . . . . . . . . . . . . . . . . 3-5
Advantages of using Alarms and Events services . . . . . . . . . . . . . . . . . . . . . . . . 3-6
About traditional HMI tag alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-7
ii
• • • • •
CONTENTS
5 • Setting up security
About FactoryTalk Security services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
About the FactoryTalk Directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2
Finding more information about FactoryTalk Security . . . . . . . . . . . . . . . . . . . . 5-2
Gaining initial access to a FactoryTalk system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3
Logging users on to and off from FactoryTalk View SE. . . . . . . . . . . . . . . . . . . . . . . 5-4
Logging on to the FactoryTalk Directory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-4
Logging on to FactoryTalk View Studio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-6
Logging on to a FactoryTalk View SE Client . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-6
Deciding how to secure a FactoryTalk View SE application . . . . . . . . . . . . . . . . . . . 5-8
Securing FactoryTalk View SE applications at run time . . . . . . . . . . . . . . . . . . . 5-9
Securing FactoryTalk system resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-10
Setting up FactoryTalk accounts in FactoryTalk View SE . . . . . . . . . . . . . . . . . . . . 5-11
Setting up accounts in the Runtime Security editor . . . . . . . . . . . . . . . . . . . . . . 5-11
iii
• • • • •
iv
• • • • •
CONTENTS
v
• • • • •
8 • Setting up communications
About data servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-1
Overview of data server communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2
Using multiple data servers in an application. . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-3
Setting up communications in FactoryTalk View SE . . . . . . . . . . . . . . . . . . . . . . . . . 8-4
About FactoryTalk Security permissions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-5
Adding RSLinx Enterprise data servers to an application . . . . . . . . . . . . . . . . . . . . . . 8-5
Setting up general properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-6
Setting up RSLinx Enterprise data server redundancy . . . . . . . . . . . . . . . . . . . . . 8-7
Setting up support for alarms and events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-8
Deleting an RSLinx Enterprise data server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-8
Setting up communications for RSLinx Enterprise . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-8
About the Primary and Secondary tabs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-9
Adding OPC data servers to an application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-9
Setting up general properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-10
Setting up OPC data server redundancy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-10
Setting up advanced properties. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-11
Deleting an OPC data server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-13
vi
• • • • •
CONTENTS
vii
• • • • •
viii
• • • • •
CONTENTS
ix
• • • • •
x
• • • • •
CONTENTS
xi
• • • • •
xii
• • • • •
CONTENTS
xiii
• • • • •
xiv
• • • • •
CONTENTS
xv
• • • • •
xvi
• • • • •
CONTENTS
xvii
• • • • •
xviii
• • • • •
CONTENTS
xix
• • • • •
22 • Setting up navigation
Designing a display hierarchy for an application. . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-1
Setting up ways to move among displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-2
Using commands to open, close, and switch displays . . . . . . . . . . . . . . . . . . . . 22-2
Choosing display types with navigation in mind . . . . . . . . . . . . . . . . . . . . . . . . 22-5
Reducing display call-up time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-6
Setting up keys to run FactoryTalk View commands . . . . . . . . . . . . . . . . . . . . . . . . 22-6
General rules governing precedence. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-7
Precedence and the F1 key. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-7
Precedence and embedded ActiveX objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-7
Precedence and embedded OLE objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-8
Keyboard shortcuts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-8
Creating client keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-10
Running client key components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-11
23 • Creating expressions
About expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-1
Where you can use expressions in FactoryTalk View SE . . . . . . . . . . . . . . . . . 23-1
Working in the Expression editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-2
Expression components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-3
Checking the syntax of an expression . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-4
Cutting, copying, and pasting expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-4
Formatting expressions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-4
Using tag names and tag placeholders in expressions . . . . . . . . . . . . . . . . . . . . . . . . 23-5
Specifying the area with a tag name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-5
Using placeholders to specify tag values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-5
Using constants in expressions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-6
Using operators to modify values in expressions. . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-6
Arithmetic operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-6
Relational operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-7
Logical operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-7
Bitwise operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-8
Evaluation order of operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-9
Using built-in functions in expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-11
xx
• • • • •
CONTENTS
xxi
• • • • •
26 • Setting up trends
About trends . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-1
Charting current versus historical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-1
Creating trend objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-2
Providing a name for the trend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-3
Setting up trend properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-3
Testing a trend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-4
The parts of a trend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-5
Chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-5
Chart title . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-5
X-axis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-6
X-axis legend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-6
Y-axis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-6
Y-axis legend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-6
Pens. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-7
Legends. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-7
Pen icons. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-7
Pen markers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-8
Value Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-9
Trend chart styles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-9
The Standard chart style . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-10
The XY Plot chart style. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-10
Isolated graphing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-11
Plotting a value across the full width of the chart . . . . . . . . . . . . . . . . . . . . . . 26-12
Choosing trend colors, fonts, lines, and legends . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-13
Changing the trend highlight color . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-13
Changing the trend object background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-13
Displaying a current value legend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-14
Displaying a line legend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-15
xxii
• • • • •
CONTENTS
27 • Creating macros
About macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27-1
Macro syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27-1
Specifying parameters in a macro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27-3
Typing macro names that contain spaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27-3
Nesting macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27-4
Running macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27-4
Specifying a macro to run when an HMI server starts . . . . . . . . . . . . . . . . . . . 27-5
Specifying user login and logout macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27-5
xxiii
• • • • •
29 • Using events
About events in FactoryTalk View Site Edition . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-1
Parts of the Events editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-1
Accept and Discard buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-2
Form and spreadsheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-2
Checking the syntax of an expression . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-3
Creating an events component . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-3
About the maximum update rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-4
Using multiple events components. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-4
Modifying existing event components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-4
Starting and stopping events processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-4
Ways to start events processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-5
Ways to stop events processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-5
APPENDICES
xxiv
• • • • •
CONTENTS
Index
xxv
Preface
FactoryTalk® View Site Edition is an integrated software package for developing and
running human-machine interface (HMI) applications that involve multiple users and
servers, distributed over a network.
A member of the FactoryTalk family of products, FactoryTalk View Site Edition (also
called FactoryTalk View SE) provides all the tools you need to create powerful,
dependable process monitoring and supervisory control applications.
FactoryTalk View SE software is designed for use with Microsoft® Windows® Server
2003, Windows XP, and Windows 2000 operating systems.
RSView name (CPR 7 and earlier) FactoryTalk View name (CPR 9 and later)
RSView Enterprise FactoryTalk View
RSView Supervisory Edition (SE) FactoryTalk View Site Edition (SE)
RSView SE Distributed FactoryTalk View SE (Network)
RSView SE Stand-alone FactoryTalk View SE (Local)
RSView Studio FactoryTalk View Studio
P1
• • • • •
P2
• • • • •
• PREFACE
If you are having trouble opening the User’s Guide, you might need to install Adobe Reader.
You can do this from the FactoryTalk View Site Edition installation CD. For details, see the
FactoryTalk View Site Edition Installation Guide.
P3
• • • • •
To connect to any Web site, you must have a web browser installed on the computer, and you
must have an active Internet connection.
P4
• • • • •
• PREFACE
P5
19 Creating graphic displays
19 • Placeholder
This chapter describes:
what graphic displays are.
parts of the Graphics editor.
techniques for working in graphic displays.
techniques for working with graphic objects.
testing graphic displays.
creating and working with global object displays.
adding process faceplates to an application.
using objects from the graphic libraries.
importing graphic files from third-party applications.
using placeholders to specify tag values.
setting up tag placeholders for global objects.
setting up the appearance and behavior of graphic displays.
docking displays to the FactoryTalk® View SE Client window.
printing graphic displays at run time.
19-1
• • • • •
19-2
• • • • •
19 • CREATING GRAPHIC DISPLAYS
19 • Placeholder
Use the Graphics editor to create and modify standard graphic displays, global object
displays, and graphic libraries. Where you open the Graphics editor determines the type of
display you create.
Menu bar
Docked
toolbar
Display area
Floating
toolbar
Diagnostics
List
Status bar
19-3
• • • • •
The Object Explorer does not show wallpaper objects, or the objects within ActiveX composite
objects.
You can keep the Object Explorer open while you work on different objects, and in
different displays.
You can also use the Object Explorer to highlight specific types of objects, and objects
that have animation, or a tag or expression assigned to them.
19-4
• • • • •
19 • CREATING GRAPHIC DISPLAYS
19 • Placeholder
Click the + icon to view
the objects and grouped
When you right-click an
objects within a group.
object in the Object
Explorer, the object’s
shortcut menu opens,
as it does when you right-
click the object in the
graphic display.
19-5
• • • • •
You can keep the Property Panel open as you work in the Graphics editor, and you can
drag the panel’s borders to make it larger or smaller.
19-6
• • • • •
19 • CREATING GRAPHIC DISPLAYS
If the Size property is set to Use Current Size, Zoom to Fit behaves in the same way as
Cancel Zoom; it returns a display to its original size.
19 • Placeholder
Setting up a display grid
To size and position objects precisely, use the grid items on the View menu. You can
change the grid settings any time during the drawing process.
Use the grid to simplify aligning and sizing objects. When the grid is on, all objects you
draw or place are aligned to the grid automatically.
If you select Snap to Grid, the grid is activated, and the next object you draw or position
will be pulled to the closest grid point. Turning on the grid does not affect the placement
of existing objects.
If you clear Snap to Grid, the grid is passive, and does not affect the position of objects.
Turn off the grid to draw or position an element between the grid lines.
19-7
• • • • •
Selecting objects
To work with an object in a graphic display, first you must select it.
To select a single object in a display, click on the object using the left mouse button.
Handles appear along the edges of a selected object.
To select several objects, click in the graphic display at one corner of the group, and then
drag the mouse diagonally, to draw a bounding box around the objects. When you release
the mouse button, all the objects within the bounding box are selected.
You can also select a group of objects by holding down the Ctrl key while you click each
individual object.
To cancel selection of an object or a group of objects, click in a part of the graphic display
that does not contain any objects.
When you
right-click an
object …
… the shortcut
menu opens.
The shortcut
menu contains
items for working
with the selected
object.
The items on the shortcut menu depend where you click: when you right-click an object,
the menu contains items relevant to the object; when you right-click a display, the menu
contains items relevant to the display.
19-8
• • • • •
19 • CREATING GRAPHIC DISPLAYS
Duplicating objects
19 • Placeholder
When you duplicate graphic objects in a display, you also duplicate actions.
For example, if you duplicate an object, move it, and then duplicate it again, the second
duplicate action copies and moves the object, in one step. This is useful for creating a
series of objects with an equal distance between them.
When an object is duplicated, any animation attached to the object is also duplicated.
If an object group is duplicated, the new copy of the group can be ungrouped into
individual objects. For more information about grouping objects, see page 19-15.
To duplicate an object
Right-click the object in a display, and then click Duplicate.
Duplicate works until the object is no longer selected.
19-9
• • • • •
You can reshape some objects using the object’s editing tool. To do this, right click the
object, and then click Edit. The tool varies depending on the object that has been selected.
If you attempt to resize a global reference object with its LinkSize property set to True, the object
will snap back to its original size. For more information about the LinkSize property, see “Setting
up the link properties of reference objects” on page 20-48.
Arranging objects
You can arrange objects in a graphic display in a number of ways, using the Arrange menu
or buttons on the toolbar. You can:
stack objects by moving them in front of or behind other objects.
align objects with each other.
space objects horizontally or vertically.
flip objects horizontally or vertically.
rotate objects around an anchor point.
combine several objects into a group that behaves as a single object.
separate a grouped object into its component objects.
Stacking objects
Objects in a graphic display are stacked in the order they are created, with the most
recently created object on top.
19-10
• • • • •
19 • CREATING GRAPHIC DISPLAYS
To change the order, move objects to the front or back of the stack.
19 • Placeholder
Use Send to Back to move the selected object to the bottom of the stack:
Aligning objects
To line up the tops, bottoms, or sides of objects in a display, align the objects with each
other, or with the display grid.
To do this Click this button or menu item
Align the selected object (or objects) with the left-
Align Left
most selected object.
Align the selected object (or objects) with the Align Center
horizontal center of the largest selected object.
Align the selected object (or objects) with the Align Right
right-most selected object.
Align the selected object (or objects) with the top- Align Top
most selected object.
Align the selected object (or objects) with the Align Middle
vertical center of the largest selected object.
19-11
• • • • •
Align top
Align middle
Align bottom
19-12
• • • • •
19 • CREATING GRAPHIC DISPLAYS
19 • Placeholder
Select objects Align center
Spacing objects
To create an equal amount of space between the center points of objects in a graphic
display, space the objects vertically or horizontally.
Centers are
separated by an
equal vertical
distance.
19-13
• • • • •
Centers are
separated by an
equal horizontal
distance.
Flipping objects
To move an object in a graphic display to a position that is a mirror image of its original
position, flip the object vertically or horizontally.
Flip the selected object (or objects) left to right Flip Horizontal
19-14
• • • • •
19 • CREATING GRAPHIC DISPLAYS
Rotating objects
19 • Placeholder
To rotate an object or group of objects around an anchor point, use the Rotate tool. The
anchor point is represented by a crosshair, as shown in the following illustrations:
You can also use the Rotate tool when attaching rotation animation to a graphic object.
For details, see “Rotating objects” on page 21-11.
You cannot rotate OLE objects, ActiveX objects, bitmaps, text, or panel objects.
Grouping objects
Grouping combines several objects into one so you can manipulate them as a single
object. Grouping is useful for keeping objects in the same position relative to each other.
You can cut, copy, and paste groups, arrange the group as a single object relative to other
objects, and apply the same properties to all the members of the group at once.
19-15
• • • • •
You can attach animation to a group and preserve any animation attached to the objects
that make up the group.
Group animation generally takes precedence over the animation attached to individual
objects. For more information, see “Applying animation to object groups” on page 21-5.
Deleting a group deletes all individual objects in the group. Changing the color or pattern
style of the group changes the color or pattern style of all individual objects in the group.
Ungrouping objects
When you disconnect a group of objects, the individual objects in the group are selected in
the graphic display.
Ungrouping deletes animation attached to the group, because the group no longer exists.
However, any animation attached to the individual objects remains active.
19-16
• • • • •
19 • CREATING GRAPHIC DISPLAYS
19 • Placeholder
You can modify a group of objects without breaking up the group. This is particularly
useful when animation is attached to the group, because ungrouping deletes the animation.
Modify grouped objects using:
the Property Panel, to apply shared properties to all members of the group at the same
time. For example, change the line width of all objects in the group to 2 pixels.
toolbars, to apply the same pattern style, background style, foreground colors, and
background colors to all members of the group.
the States toolbar, to cycle through the states and apply the same properties to them,
for all members of the group at the same time.
When you select a group containing objects with states, only the states shared by all objects
in the group are displayed in the toolbar. For information about using the States toolbar, see
“Testing the appearance of objects in different states” on page 19-23.
To modify the objects within a group, double-click the group. A rope-like border indicates
that the group is in edit mode.
Click inside the box to select individual objects or other groups within the group. You can
also add new objects to the group.
To see which objects are selected, look in the Object Explorer or the FactoryTalk View
Studio status bar. For information about using the Object Explorer, see page 19-4.
To cancel group edit mode, click outside the group border.
Applying colors
The color palettes contain a range of colors that you can apply to graphic objects. You can
select colors before you draw an object, or you can apply them to an existing object.
To show and hide the color palettes, click their names on the View menu.
19-17
• • • • •
Pattern styles apply to the interior of objects. Closed objects such as rectangles, circles,
polygons, text objects, and wedges are completely filled.
Open or partially open objects, such as polylines or freehand objects, can also take a
pattern style. The Graphics editor draws an imaginary line from the start and end points,
and then fills the object as a closed object.
The pattern color is not determined by the foreground or background color selected for an
object. Instead, you must apply pattern colors separately.
19-18
• • • • •
19 • CREATING GRAPHIC DISPLAYS
19 • Placeholder
Dash
Dot
Dash-Dot
Dash-Dot-Dot
Line style uses both the foreground color and background color attributes. Foreground
color applies to the line, and background color applies to the spaces in the line.
For example, to obtain the dash-dot line, choose black as the foreground color, and choose
white as the background color. Black is applied to the dots and dashes and white is applied
to the spaces between the dots and dashes.
For trend objects, you can customize line width and color in the Pens tab of the Trend
Properties dialog box. For more information, see Chapter 26, Setting up trends.
19-19
• • • • •
An object’s name is used when logging events for the object. It is also used with
commands. For example, when using the Invoke command to call a method, you must
specify the name of the object in which the method is implemented.
The object’s name is also displayed in the Object Explorer. For more information, see
page 19-4.
The Connections tab is blank, if multiple objects are selected. You can only assign a tag or
expression to one object at a time.
The arrows beside the connection names indicate the direction data flows between the tag
or expression and the object:
A right arrow indicates that data flows from the object to the tag or expression only. In
other words, the object can write to the tag or expression.
A left arrow indicates that data flows from the tag or expression to the object only. In
other words, the object can read from the tag or expression.
19-20
• • • • •
19 • CREATING GRAPHIC DISPLAYS
A double arrow indicates that data flows in both directions. In other words, the object
can write to, or read from, the tag or expression.
19 • Placeholder
Adding tooltips to graphic objects
To provide information about a graphic object to an operator, add a tooltip to the object.
By default, an object has no tooltip. If you add a tooltip, it shows at run time, when the
operator positions the pointer over the object for a few seconds.
You can create a tooltip for an object in the Property Panel, or in the Common tab of the
object’s Properties dialog box.
Tooltips can consist of a single line or multiple lines of text.
19-21
• • • • •
You can find and replace text strings in tag names, expressions, and FactoryTalk View
commands.
You cannot use tag substitution to replace text created using the Text tool.
19-22
• • • • •
19 • CREATING GRAPHIC DISPLAYS
19 • Placeholder
You can test the objects in a graphic display quickly, by switching to test display mode in
the Graphics editor.
Test Display
tool
When you are finished testing, to continue working on the display, switch back to edit
display mode. To switch between test and edit modes, use the buttons on the toolbar or the
items on the View menu.
Edit Display Testing a graphic display in FactoryTalk View Studio is not the same as running the
tool display in the FactoryTalk View SE Client.
Test display mode does not change the appearance or position of the display, as set up in
the Display Settings dialog box, and you cannot switch between open displays.
In addition, some FactoryTalk View commands are ignored when run in test display
mode. For a complete list of these commands, see Appendix A in Volume 1 of the
FactoryTalk View Site Edition User’s Guide.
If objects in a graphic display are connected to tags in devices, to fully test the display you must
set up communication with the devices or data servers.
Before you deploy an application, it is recommended that you test it in the FactoryTalk View
SE Client, to verify that everything works as intended.
19-23
• • • • •
19-24
• • • • •
19 • CREATING GRAPHIC DISPLAYS
where <HMI Project Name> is the name of the HMI server in the Explorer window.
19 • Placeholder
The number of global object displays you create in an application does not count toward the
maximum allowed by the activation licenses you have purchased and installed.
Existing reference objects with broken links are always deleted, whether you add them within the
same HMI server, or to a different one.
19-25
• • • • •
However, you can run a global object display in test display mode, when developing an
application in FactoryTalk View Studio.
To improve performance, minimize the number of global object displays that must be loaded in
the background at run time, by storing the base objects used in an application on as few global
object displays as possible.
You can also add the process faceplates later, after you create the application or HMI
server. To do this, right-click the HMI server, and then click Add Process Faceplates.
If you added a display previously, you can either replace the existing display or remove it
from the list of displays.
Adding faceplate displays to an application affects the license count. Each added faceplate
display (.gfx file) counts as one display for activation purposes. The corresponding global object
display (.ggfx file) is not included in the count.
19-26
• • • • •
19 • CREATING GRAPHIC DISPLAYS
19 • Placeholder
The faceplate displays you selected are added to the Graphics folder, under the Displays
and Global Objects icons.
Like the graphics libraries installed with FactoryTalk View SE, you can use the process
faceplates displays in an application as they are, or you can copy and then paste the
faceplates into existing standard and global objects displays.
For more information about faceplates, see the FactoryTalk View Site Edition Help.
For Windows XP or Windows Server 2003, library files are stored in the folder:
\Documents and Settings\All Users\Shared Documents\RSView Enterprise\
SE\Libraries
You can change the folder where library files are located. For details, see the FactoryTalk
View Site Edition Help.
19-27
• • • • •
*FactoryTalk View does not import AutoCAD 13 or later .dxf files. To import a graphic file
created in AutoCAD 13 or later, export the graphic file as a .wmf file in AutoCAD, and
then open the.wmf file in FactoryTalk View.
Before importing files, set up the computer’s display properties to display more than 256
colors. This will ensure that imported objects are the same colors as the original objects.
When you import objects, you can convert them to FactoryTalk View objects. This offers
the following advantages:
Graphic display files are smaller.
Objects are groups of objects rather than a single object. This means you can modify
the individual parts of the object, including attaching animation to individual parts.
19-28
• • • • •
19 • CREATING GRAPHIC DISPLAYS
To match palettes, use a bitmap-oriented graphical tool that lets you match palettes.
19 • Placeholder
Palette matching is an issue only for 256-color video adapters. 24-bit color systems do not
match palettes and 16-color systems dither colors (that is, alternate pixels of different
colors to approximate another color).
19-29
• • • • •
When the display runs, the placeholders must be replaced with actual tag names.
You can do this using a parameter file, or by specifying the tag names as parameters of the
Display command.
You can refine the tag placeholder, by specifying portions of the complete tag name.
For example, if you are specifying an HMI tag, you can add a folder name (or names) to
the placeholder, as in the following entry:
#1\PV
To specify the full tag name at run time, you would only have to provide the folder name.
Only HMI tag alarm summaries support tag placeholders that use wildcard characters. For
example, is #1\PV* a valid placeholder for an alarm summary, but not for other graphic objects.
19-30
• • • • •
19 • CREATING GRAPHIC DISPLAYS
When the display opens, #1 will be replaced with the tag named corn/weight.
19 • Placeholder
Only HMI tag alarm summaries support parameter file entries that use wildcard characters. For
example, a parameter file containing the entry #1 = bean_* would display alarms associated with
all tags beginning with bean_, only if the file is loaded with an alarm summary display.
Corn\Weight Bean\Weight
Corn\Level Bean\Level
Corn\Temp Bean\Temp
19-31
• • • • •
Wherever the tags are needed, the placeholder #1 is used for the folder name, as follows:
#1\Weight, #1\Level, or #1\Temp.
To run the display named Canning with the tags in the Corn folder, you would type:
Display Canning /TCorn
To run the display named Canning with the tags in the Bean folder, you would type:
Display Canning /TBean
19-32
• • • • •
19 • CREATING GRAPHIC DISPLAYS
You can assign a unique value to the same tag placeholder, for each different reference
object. For an example, see page 19-34.
19 • Placeholder
To define tag placeholders for the global base object
1. Right-click the global base object (or group), and then click Global Object Parameter
Definitions.
2. In the Global Object Parameter Definitions dialog box, specify a tag placeholder name
(#1, for example) and optional description, as shown in this illustration:
You can define multiple tag placeholders for a single global object or group.
For grouped objects, the placeholder defined for the top-level object applies to all
objects in the group.
For details about options in the Global Object Parameter Definitions dialog box, click
Help.
If there are no tag placeholders defined for the linked base object, the Global Object
Parameter Values dialog box is not available.
The Global Object Parameter Values dialog box displays the Name and Description of
all tag placeholders defined for the global base object. as shown in the following
illustration.
2. In the Value column, specify a value for each tag placeholder, either by typing in the
box or by clicking Tag to browse for and select a tag.
For details about options in the Global Object Parameter Values dialog box, click Help.
19-33
• • • • •
If you select any of the individual objects in a group object, the Global Object Parameter
Definitions dialog box is not available.
2. In the Global Object Parameter Definitions dialog box, provide a tag placeholder
name. For this example, use #1.
3. Type a description for the tag placeholder, that indicates what type of value to assign
to the placeholder.
4. Right-click the global base object, and then click Global Object Defaults.
5. In the Global Object Defaults dialog box, ensure that these options are selected:
For the LinkAnimation default, select Link with expressions.
For the LinkConnections default, select True.
Click OK.
6. Create a global reference object, by copying the base object and then pasting it into a
standard graphic display (in the Displays folder).
7. Duplicate the reference object.
8. Right-click the first reference object, and then click Global Object Parameter Values.
The Global Object Parameter Values dialog box displays the tag placeholder name and
description you set up for the global base object.
9. In the Value column beside tag placeholder #1, type a tag name, or click the Tag
button (. ..) to browse for and select a tag. Click OK.
10. Repeat steps 8 and 9 for the second reference object. To assign a unique value, select a
different tag.
19-34
• • • • •
19 • CREATING GRAPHIC DISPLAYS
19 • Placeholder
Modifying a global object that uses tag placeholders has various effects, depending on the
type of modification.
19-35
• • • • •
the display’s size and position, and whether it can be resized at run time.
run-time security for the display.
the display’s background color.
In the Properties
tab, secure the
display and set
up how it looks
and performs at
run time.
19-36
• • • • •
19 • CREATING GRAPHIC DISPLAYS
For overlay displays, you can select the check box, Keep at Back, if you want the display
always at the back. However, it is recommended that you use the On Top display type to
19 • Placeholder
control the layering of displays.
Overlay displays always appear behind On Top displays, and are replaced by Replace
displays. Use Overlay with care, because keeping multiple displays open can affect
system performance adversely.
On Top graphic displays will stay on top at all times, even if another display has focus.
Use this option if you want the display to always appear on top.
If more than one graphic display of the On Top type is open at once, the display that
appears on top is the one that has focus, or the one that had focus most recently.
You can use the PullForward, PushBack, and SetFocus commands to cycle through
multiple On Top and Overlay displays at run time. For more information about these
commands, see the FactoryTalk View Site Edition Help.
To run multiple copies of displays without using the Allow Multiple Running Copies option, use
the Display command with different parameter files, for each copy of the display you want to run.
For more information, see “Replacing tag placeholders using parameter files” on page 19-30.
19-37
• • • • •
Caching displays
Placing a graphic display in the cache makes the display appear more quickly at run time,
every subsequent time it is opened, because it does not have to be read from disk.
You can have up to 40 graphic displays in the cache. Place large or complex displays in
the cache, to minimize the use of system resources.
The Always Updating option allows a cached display to keep up to date, even when it is
not visible. Use this option to update trend data continuously, or to run VBA code in the
background.
The Always Updating option affects the behavior of the display’s startup and shutdown
commands. For more information, see “Specifying startup and shutdown commands” on
page 19-41.
Title bar
19-38
• • • • •
19 • CREATING GRAPHIC DISPLAYS
19 • Placeholder
the size of the FactoryTalk View SE Client main window. When resized, the display is
panned or scaled, depending on which option you selected.
FactoryTalk View graphics are resolution independent. This means that no matter what
resolution you use to create graphic displays, they are resized automatically to suit the
monitor on which they are displayed at run time.
The last acquired value can be displayed for HMI tags only. For other kinds of tags, the last value
cannot be retained.
19-39
• • • • •
To minimize the need for scroll bars, the FactoryTalk View SE Client tries to position all
graphic displays within its main window, unless this placement is explicitly overridden by
the /X and /Y parameters of the Display command.
To prevent scroll bars, create all graphic displays smaller than the working area in the
FactoryTalk View SE Client main window.
Keep in mind that the size of the working area depends on several factors: the monitor’s
display resolution, whether the display has a title bar, the size of the client window, and
whether the client shows the Diagnostics List.
To ensure that the FactoryTalk View SE Client main window never has scroll bars, for
large displays, select the option, Size to Main Window at Runtime.
For smaller graphic displays not meant to fill the client window, do not use Size to Main Window
at Runtime, to avoid scroll bars. Instead, position smaller displays so that they are completely
visible within the client window.
19-40
• • • • •
19 • CREATING GRAPHIC DISPLAYS
19 • Placeholder
In the Behavior
tab, set up how
objects in the
display behave
at run time, and
specify startup
and shutdown
commands.
19-41
• • • • •
For details about the FlushCache command, see the FactoryTalk View Site Edition Help.
The startup command runs before the display opens, so commands such as UploadAll or
RecipeRestore will not work as startup commands or in a startup macro.
The shutdown command runs after the display closes, so commands such as DownloadAll or
RecipeSave will not work as shutdown commands or in a shutdown macro.
19-42
• • • • •
19 • CREATING GRAPHIC DISPLAYS
The following illustration shows what the two types of highlight might look like in a
graphic display.
19 • Placeholder
This interactive
object is highlighted
because the pointer
is resting on it.
When selecting highlight colors, be sure to pick colors that stand out from the background
of the display.
19-43
• • • • •
/Z loads the graphic display into the cache without opening it. When the display is
called up subsequently, it opens quickly.
/ZA loads the display into the cache and continually updates the values in the
display, even when the display is not visible.
For details about the Display command, see the FactoryTalk View Site Edition Help.
When you make certain changes, the Set as Default button changes to Apply. This lets you
apply the changes to the current display without closing the Display Settings dialog box.
It does not affect the default display settings.
2. Click OK to save the changes and to close the Display Settings dialog box.
3. Open the Display Settings dialog box again, and then click Set as Default at the
bottom of the dialog box.
The values selected for the previous display become default settings for new displays.
19-44
• • • • •
19 • CREATING GRAPHIC DISPLAYS
19 • Placeholder
At run time, graphic displays can be docked to an edge of the FactoryTalk View SE Client
window, allowing an operator to gain access to certain displays at all times.
For example, you might consider docking:
navigational menus, that allow the operator to move among displays in an application.
headers or banners, that provide specific information to the operator, such as the
current user’s name and area, or information about alarms.
control panels, that contain standard buttons for special purposes, such as changing
users, closing open windows, or sending information to a maintenance team.
To let an operator dock a graphic display, provide a button object in another display, that
uses the Display command with one of the docking parameters as its press action.
In the FactoryTalk View SE Client Wizard, you can also specify a docking parameter for
the initial display that runs when the client starts up.
The Display command parameters /B, /Min., /Max, /X, and /Y are ignored, if specified with one of
the docking parameters. For more information, see the FactoryTalk View Site Edition Help.
When the operator presses the button, the display will attach to the top edge of the client
window.
19-45
• • • • •
Changing the width of the client window changes the width of displays docked at the top or
bottom of the window. Changing the height of the window changes the height of displays
docked at the left or right.
If a graphic display is set up to pan or scale, to allow multiple running copies, or to cache
after displaying, these settings will still apply when the display is docked.
19-46
• • • • •
19 • CREATING GRAPHIC DISPLAYS
19 • Placeholder
The menu at the top
was docked initially,
when the FactoryTalk
View SE Client started.
Docked displays, along with any other running displays, will also close when the Logout
command is run, or when the FactoryTalk View SE Client logs off automatically.
When the operator presses the button, the Menu display will close.
19-47
• • • • •
When the operator presses the key, all running displays will close.
The Abort command’s /D parameter, which closes any docked displays, is valid only when used
with Abort *.
19-48
20 Creating graphic objects
20 • Placeholder
This chapter describes how to use, create, and set up the graphic objects available in
FactoryTalk® View Site Edition (also called FactoryTalk View SE).
For information about using the Graphics editor, and creating and setting up graphic
displays, see Chapter 19, Creating graphic displays.
20-1
• • • • •
Alarm and Event objects such as the alarm and event summary and the alarm status
explorer, allow FactoryTalk View SE users to monitor and control FactoryTalk Alarms
and Events.
For information about the Alarm and Event objects, see Chapter 12, “Setting up
FactoryTalk alarms,” in Volume 1 of the FactoryTalk View Site Edition User’s Guide.
OLE objects such as spreadsheets, charts, or text, are produced by other Windows®
applications. The OLE objects that are available depend on the software installed on the
system. For information, see “Working with OLE objects” on page 20-51.
ActiveX® objects such as gauges, or sliders, can be created using a tool like Visual
Basic®, or purchased from a third-party vendor. They allow an external action, such as a
mouse click, to initiate an action in FactoryTalk View.
For more information, see “Working with ActiveX objects” on page 20-53, and
“Animating ActiveX objects” on page 21-22.
20-2
• • • • •
20 • CREATING GRAPHIC OBJECTS
The following illustration shows the Properties dialog box for a polygon object.
20 • Placeholder
In the Properties dialog box, the features of the object are organized in tabs. The number
of tabs and their contents depend on the type of object. For details about options in any
Properties dialog box, click Help.
20-3
• • • • •
To draw a square
Press Ctrl while you drag the Rectangle tool.
20-4
• • • • •
20 • CREATING GRAPHIC OBJECTS
20 • Placeholder
A polyline is a series of connected line segments. A polygon is a closed polyline shape.
Polyline tool
Polygon tool
Polyline Polygon Filled
To draw a circle
Press Ctrl while you drag the Ellipse tool.
20-5
• • • • •
Wedge tool
You can also use the Arc and Wedge tools to reshape existing arcs, ellipses, or wedges.
.
To draw the arc or wedge in 45-degree increments, press Ctrl while you draw.
20-6
• • • • •
20 • CREATING GRAPHIC OBJECTS
20 • Placeholder
Use the Text tool to draw a text object. You can then create the text and set up its
appearance in the Text Properties dialog box.
Text tool
Choosing text fonts
You can choose a font before or after you create text, and change the font of any object,
including objects that display data or have captions.
When choosing a font, style, size, and color for text, keep the following design principles
in mind:
Choose a font that was designed for on-screen viewing. Examples include Arial, Arial
Narrow, Trebuchet MS, and Verdana. You can download these and other fonts free of
charge, from the Microsoft® Typography web site.
TrueType™ and OpenType® fonts are recommended because they can be resized
easily, without losing text quality.
Choose only one or two fonts, and use them for all the graphic displays in an
application.
Choose a font size that can be read easily. Test the font size, and adapt it to the screen
resolution the operator will see at run time.
To save screen space, use a condensed font such as Arial Narrow, that fits more
characters per line, rather than reducing the font size.
Sans-serif typefaces are easier to read at small sizes and lower resolutions on the
screen than serif typefaces. For example, for normal text use Arial rather than Times
New Roman.
Use high-contrast color combinations, such as yellow on blue, rather than low-
contrast combinations like black on green.
Use colors with recognizable meanings. For example, in some countries the colors red
and green mean stop and start.
Keep color meanings consistent by assigning red only to Stop buttons, and green only
to Start buttons.
Ensure that the fonts used in graphic displays are installed on all computers where the
displays will run.
If a font is not installed, Windows substitutes one that is installed, possibly with
unsatisfactory results.
20-7
• • • • •
Creating a panel
Use the Panel tool to draw rectangles and squares that have borders.
The panel object supports visibility animation. You can also set up panel objects to blink
Panel tool
at run time. For details, click Help in the Panel Properties dialog box.
20-8
• • • • •
20 • CREATING GRAPHIC OBJECTS
20 • Placeholder
FactoryTalk View can read .bmp and JPEG (.jpg, .jpeg, .jpe, .jif, .jfif) files in their
original format, without requiring conversion.
When you import an image, FactoryTalk View converts .gif, .tif, .pcx, and .jpg images to
the Windows .bmp format. Vector images in .dxf and .wmf formats are converted to
FactoryTalk View graphic objects.
For details, see “Importing graphic files from third-party applications” on page 19-27.
For information about bitmap files, and about choosing graphic file formats for best
performance, see page 19-28.
20-9
• • • • •
To do this Press
Move from the upper left to the lower right Tab
Move from the lower right to the upper left Shift+Tab
Move left, right, up, or down Ctrl+arrow key
When a graphic display opens, of the objects that can have input focus, the object that has
a tab index of 1 is selected initially.
If all of the objects in a display are continuously updating input objects, none of the objects will
receive initial focus. Instead, the operator must select an input object to give it focus. For more
information, see “Updating tag values continuously” on page 20-21.
20-10
• • • • •
20 • CREATING GRAPHIC OBJECTS
20 • Placeholder
By default, you can use the Tab and arrow keys to navigate to objects that can have input
focus in a graphic display.
You can also turn off key navigation for objects that take input focus, except for push
buttons, recipe objects, input objects, and HMI tag alarm summaries.
When an object’s key navigation is turned off, an operator can still select the object using
a mouse or touch screen, if one is available.
20-11
• • • • •
Latched push buttons lock in the on position, and must be unlocked by another button or
process to return to the off position. This type of button is useful for starting a machine or
process.
Multistate push buttons allow an operator to cycle through multiple options
consecutively, using a single button that displays the current state of a process or
operation. Each state can be represented by a different color, caption, or image.
Interlocked push buttons work in groups, and share the same tag. The buttons work
together like the preset station selector buttons on a car radio: pressing one button cancels
another. Although interlocked push buttons work as a group, you add them to the display
one at a time.
Ramp push buttons increase or decrease the value of a tag by either an integer or floating
point value. You can use two ramp buttons together to create an increase/decrease control,
for example for the speed of a motor.
For details about setting up a push button, click Help in the object’s Properties dialog box.
Never use push buttons for emergency stops. Always hard-wire emergency stop buttons.
20-12
• • • • •
20 • CREATING GRAPHIC OBJECTS
20 • Placeholder
Creating momentary push buttons
Use the Momentary Push Button tool to create a button that starts a process or action.
A momentary push button changes a tag to one value when pressed, and to another value
Momentary
Push Button
when released. You can specify values for the press and release actions, or the momentary
tool push button can have these states:
Normally open means the released state of the button is off: when the button is
pressed, the tag’s value is set to 1; when the button is released, the tag’s value is set to
zero. Pressing the button completes the circuit.
Normally closed means the released state of the button is on: when the button is
pressed, the tag’s value is set to 0; when the button is released, the tag’s value is set
to 1. Pressing the button breaks the circuit.
20-13
• • • • •
in the States tab, specify the appearance and behavior of the button for each state,
when it is pressed and released.
in the Connections tab, specify the tags or the expression the button will use for
transferring data.
20-14
• • • • •
20 • CREATING GRAPHIC OBJECTS
20 • Placeholder
in the General tab, specify the general appearance and touch margins of the button,
how it changes states, and whether an audio signal is produced when it is pressed.
in the States tab, specify the appearance and behavior of the button for each state,
when it is pressed and released.
in the Connections tab, specify the tags or the expression the button will use for
transferring data.
20-15
• • • • •
20-16
• • • • •
20 • CREATING GRAPHIC OBJECTS
20 • Placeholder
in the General tab, specify the general appearance and touch margins of the button,
how it changes states, and whether an audio signal is produced when it is pressed.
in the States tab, specify what the button does when it is pressed and released.
in the Timing tab, set up whether the button is to repeat automatically when the
operator presses and holds it down. You can also set up repeat rate for the button.
in the Connections tab, specify the tags or the expression the button will use for
transferring data.
20-17
• • • • •
20-18
• • • • •
20 • CREATING GRAPHIC OBJECTS
in the Timing tab, set up whether the button action will repeat automatically, when
the operator holds the button down. You can also set up the repeat rate.
20 • Placeholder
in the Connections tab, specify the tags or the expression the button will use for
transferring data.
20-19
• • • • •
An input object can also be set up to display a tag’s current value, when the object is not
being used to download or upload data.
This eliminates the need to create separate input and display objects for a single tag. For
more information, see “Updating tag values continuously” on page 20-21.
For details about setting up a data display or input object, click Help in the object’s
Properties dialog box.
12345
12345
If a graphic display contains several input objects, the operator can select a single object
and then read or write a value, or read or write values for all objects in the display at once.
20-20
• • • • •
20 • CREATING GRAPHIC OBJECTS
The operator can also retrieve a series of values from a recipe file, change them, write the
changed values back to the programmable controller, and then save them to a recipe file.
20 • Placeholder
For more information about recipes, see “Creating and restoring recipes” on page 20-36.
Tag-related limits
Each graphic display in an application can contain up to 3000 references to expressions
or tags (HMI tags and data server tags). This limit includes the tags contained in
embedded variables.
The limit also includes duplicate references. For example, one display can contain only
3000 numeric inputs that refer to tags, even if all 3000 objects refer to the same tag.
20-21
• • • • •
If all the input objects in the display are set to update continuously, none of the objects
will receive initial focus. Instead, the operator must select an object to give it focus.
After selecting an input object, the operator can upload a value or restore a recipe into the
object. If an upload fails because of a communication error, the input object appears in
outline form.
To return to the input object to display mode, press ESC.
In the Displays Settings dialog box, you can select the colors input objects will become
when operator input errors occur. For more information, see “Setting up the run-time
behavior of a graphic display” on page 19-40.
Alternatively, you can use the graphic Display object’s event BeforeInputFieldDownload,
to validate input objects before downloads occur. For information about VBA and the
Display object, see the FactoryTalk View Site Edition Help.
20-22
• • • • •
20 • CREATING GRAPHIC OBJECTS
Enter downloads the contents of the selected input object to the value table
20 • Placeholder
If the graphic display is set up to use the on-screen keyboard, pressing Enter brings up
the on-screen keyboard.
To prevent an operator from using Enter to download values, or to open the on-screen
keyboard, use the /E parameter with the Display command to open the graphic display.
This turns off the Enter key.
PgUp uploads all values from the value table and then displays them in the input
objects in the graphic display.
Ctrl+PgUp uploads a value from the value table for the selected input object.
Tab moves among input objects.
20-23
• • • • •
Characters typed in the on-screen keyboard are transferred to the selected input object
when the operator presses Update Field or Download in the on-screen keyboard, or
presses Enter on a hardware keyboard.
To do this Press
Close the on-screen keyboard and store the new value in the Update Field
input object for a subsequent download.
For numeric and string input objects, close the on-screen Download
keyboard and download the value or text the operator typed.
For recipe objects, close the on-screen keyboard, open the
Recipe dialog box, and insert the text the operator typed, into the
Recipe File box.
Close the on-screen keyboard and discard the operator’s Cancel
changes.
For more information about the on-screen keyboard, see “Setting up the run-time behavior
of a graphic display” on page 19-40.
20-24
• • • • •
20 • CREATING GRAPHIC OBJECTS
20 • Placeholder
Use the Numeric Input and String Input tools to create objects that allow an operator to
enter data for tags that accept numeric values, or text.
Numeric and
String Input In the Numeric Input or String Input Properties dialog box, specify the tag that the
tools operator is to interact with at run time, the appearance of the input object, and whether the
object will continuously update the tag’s value.
For details about options in the Properties dialog box, click Help.
The List indicator has no error state. If the value of the Indicator tag does not match an available
state, none of the states is highlighted.
Set up states for an indicator object in the Connections tab of the Properties dialog box.
20-25
• • • • •
Creating symbols
Use the Symbol tool to create an indicator that displays a monochrome image that
changes color to match the state of a process or operation. This allows the operator to see
Symbol the status of a process or operation at a glance.
Indicator tool
In the Symbol Properties dialog box, specify state values for the symbol indicator, and the
image to be displayed for each state. For details about options in the Properties dialog
box, click Help.
At run time, the symbol indicator displays the state whose value matches the Indicator tag
or expression’s value.
20-26
• • • • •
20 • CREATING GRAPHIC OBJECTS
20 • Placeholder
Use the List Indicator tool to create an indicator that displays a list of states for a process
or operation, and highlights the current state.
List
Indicator tool Each state is represented by a caption in the list. This type of indicator is useful to let an
operator view the current state and also see the other possible states. For sequential
processes, the list can inform the operator about what happens next.
In the List Indicator Properties dialog box, specify state values for the list indicator. For
details about options in the Properties dialog box, click Help.
At run time, the list indicator highlights the state whose value matches the Indicator tag or
expression’s value.
20-27
• • • • •
If you use colored fills on a gauge, make sure enough of the fill is visible when an
abnormal condition occurs, to allow the operator to recognize the condition.
Some people are color blind to red and green, so don’t rely on color alone to establish meaning.
20-28
• • • • •
20 • CREATING GRAPHIC OBJECTS
Creating gauges
20 • Placeholder
Use the Gauge tool to represent a numeric value using a needle on a dial.
In the Gauge Properties dialog box, specify the maximum and minimum values of the
Gauge tool
gauge, and the tag or expression the gauge is connected to. For details about options in the
Properties dialog box, click Help.
At run time, the gauge indicates the value of the tag or expression in relation to the
gauge’s minimum and maximum values.
Creating scales
Use the Scale tool to create a scale for a bar graph.
In the Scale Properties dialog box, specify the appearance of the scale. For details about
Scale tool
options in the Properties dialog box, click Help.
To place values on the scale as a legend, use text objects. Because the scale doesn’t
change at run time, you don’t need to connect it to a tag.
20-29
• • • • •
Keys are graphic objects you place on a display to simulate the functions of keyboard
keys. This type of key can only be used with control list selectors, piloted control list
selectors, display list selectors, and trends.
In the Properties dialog box, the various features of the object are organized in tabs. For
details about options in each tab, click Help.
20-30
• • • • •
20 • CREATING GRAPHIC OBJECTS
20 • Placeholder
up, move down, page up and page down keys can be set up to auto-repeat.
In the Timing tab, set up whether the key press repeats automatically when the operator
presses and holds down the key. You can also set up the rate at which the key repeats. For
details, click Help.
20-31
• • • • •
Creating arrows
Use the Arrow tool to create arrows that move based on a tag value or the result of an
expression. Arrows can move vertically or horizontally.
Arrow tool
Vertical arrows move up or down, and horizontal arrows move left or right, in relation to a
tag’s Low or High EU (Engineering Units).
For HMI tags, arrows can move in relation to the tag’s minimum and maximum values,
or values specified in the General tab of the Arrow Properties dialog box. For data server
tags, values must be specified in the General tab.
For vertical arrows, if the value is less than or equal to the minimum value, the arrow is at
the bottom of its range. If the value is equal to or greater than the maximum value, the
arrow is at the top.
For horizontal arrows, if the value is less than or equal to the minimum value, the arrow is
at the left of its range. If the value is equal to or greater than the maximum value, the
arrow is at the right.
20-32
• • • • •
20 • CREATING GRAPHIC OBJECTS
20 • Placeholder
This tag label tag property HMI tag And displays
Contact Value Status Digital The current status of a tag. When the tag value is 1,
‘On Label’ is displayed. When the tag value is 0, ‘Off
Label’ is displayed.
Engineering Units (EU) Units Analog A tag’s Units label
Tag Name Name All types A tag’s name
Tag Description Description All types A tag’s description
Contact Open Label Off Label Digital A tag’s Off label
Contact Close Label On Label Digital A tag’s On label
For network applications, display list selectors work with graphic displays located in the home
area only. For more information about the home area, see Chapter 6, “Working with network
applications,” in Volume 1 of the FactoryTalk View Site Edition User’s Guide.
20-33
• • • • •
20-34
• • • • •
20 • CREATING GRAPHIC OBJECTS
The Value tag or expression is rounded to the nearest integer. If the value does not
match any of the trigger values in the message file, the local message display is filled
20 • Placeholder
with question marks (?).
If the message is too long to fit in the list, the last displayed character is replaced with
an asterisk (*).
When the Value tag or expression’s value is 0, the local message display is cleared.
2. In the Local Messages editor, create the following messages with 5 trigger values, to
match the values of the Hoist_Status tag:
20-35
• • • • •
20-36
• • • • •
20 • CREATING GRAPHIC OBJECTS
The operator can also upload values from a network device or server into input objects,
and then save those values to a recipe file. If an upload fails because of a communication
20 • Placeholder
error, the input object appears in outline form.
To use a recipe object in a graphic display, do one of the following:
Double-click the recipe object to open the Recipe dialog box, and then save or restore
the recipe file.
Press Ctrl+R to move to the object, and then press Enter to restore the contents of the
recipe file.
Press Ctrl+W to move to the object, and then press Enter to save the recipe file.
If the display is set up to use the on-screen keyboard, selecting the recipe object and
pressing Enter opens the keyboard. To open the Recipe dialog box, press Download in the
on-screen keyboard.
If you don’t know the name of the recipe file, just click in the recipe object, and then press
Enter.
If you didn’t specify a recipe file name, select a recipe file first, and then click
Restore.
You can also use the RecipeRestore command to restore values from a recipe file. For
details, see the FactoryTalk View Site Edition Help.
20-37
• • • • •
Numeric input
boxes
Recipe object
20-38
• • • • •
20 • CREATING GRAPHIC OBJECTS
2. In the recipe object, type the name of the recipe file, and then press Enter.
20 • Placeholder
If you don’t know the name of the recipe file, just click in the recipe object, and then press
Enter.
If you didn’t specify a recipe file name, select a recipe file first, and then click Save.
You can also use the RecipeSave command to save values to a recipe file. For details, see
the FactoryTalk View Site Edition Help.
20-39
• • • • •
The operator presses the keys to scroll up or down the list, or to make selections from the
list. The keys can be set up to work with the control list selector that has focus, or with a
specific control list selector.
For more information about keys, see “Using key objects to simulate keyboard functions”
on page 20-29.
20-40
• • • • •
20 • CREATING GRAPHIC OBJECTS
When the control list selector is in its last state and the operator presses the key, the
control list selector returns to its first state.
20 • Placeholder
Creating piloted control list selectors
Piloted control list selectors allow an operator or remote device to scroll through and
select from a list of states for a process. A highlight in the list indicates the current state.
20-41
• • • • •
The filled cursor means the The hollow cursor means the
operator can select this state. operator cannot select this state.
20-42
• • • • •
20 • CREATING GRAPHIC OBJECTS
When an operator or remote device selects a state, the value assigned to the selected state
is written to the piloted control list selector’s Value tag. If the state is turned off, the state’s
20 • Placeholder
value is not written to the Value tag.
If the operator attempts to select a state that is remote controlled, the state’s value is not
written to the Value tag.
Enter key handshaking can be used only if the piloted control list selector is operator controlled
and if the check box, Write on enter, is selected.
20-43
• • • • •
3. If the Enter Handshake tag is assigned, the Enter tag remains set until the Enter key
handshake time expires or until it is reset by the Enter Handshake control, whichever
happens first.
If the Enter Handshake tag is not assigned, the Enter tag remains set until the Enter
key hold time expires.
4. The Enter tag is reset to 0.
20-44
• • • • •
20 • CREATING GRAPHIC OBJECTS
You can set up 255 states for a piloted control list selector. This provides the operator with
up to 255 selections in the list.
20 • Placeholder
Setting up connections for a piloted control list selector
To connect with a network device such as a programmable controller, piloted control list
selectors use tags or expressions. You set up these tags or expressions in the Connections
tab of the Properties dialog box.
Piloted control list selectors have seven tags for sending and receiving data:
The Value tag receives the value of the currently selected state. You can use this value
to trigger an action, for example, to set a motor’s speed to low, medium, or high.
The Indicator tag selects an item in the list if the piloted control list selector is being
controlled remotely, for example, by a network device.
The Remote Access tag or expression determines whether the piloted control list
selector can be operated by the operator or remotely, for example, by a network
device.
If the remote access tag has a value of zero, or is not assigned, the operator can select
states in the list. If the remote access tag has a non-zero value, the selected state is
determined by the value of the Indicator tag or expression.
The Top Position tag receives the value of the state that is the first item in the list
whenever the list scrolls.
The Visible States tag receives the values of all the states visible in the list
whenever the list scrolls. The tag must support arrays, and the arrays must have as
many elements as the number of items visible in the piloted control list selector.
For example, if the piloted control list selector has 5 visible states, and the state values
are written to network device addresses N7:0 through N7:4 using RSLinx Enterprise,
the Visible States tag should be an array tag with the following address:
::[RSLinx Device Shortcut]N7:0,L5
where L5 indicates that the tag writes values to five addresses in the array.
The Enter tag allows a network device to confirm a selection after the Value tag is
written. The Enter tag is set for as long as is specified in the Timing tab.
The Enter handshake tag or expression resets the Enter tag, using the Handshake
reset type option specified in the Timing tab.
20-45
• • • • •
20-46
• • • • •
20 • CREATING GRAPHIC OBJECTS
For more information about creating global object displays, see Chapter 19, Creating
graphic displays.
20 • Placeholder
Creating reference objects
After creating a global object (or group of objects), you can copy it for use in standard
displays throughout an application.
When you copy a global object into a standard graphic display (in the Displays folder), the
copy is called a reference object. The original global object (in the Global Objects folder)
becomes the copy’s base object.
Reference objects have special properties that allow them to link to the original, base
objects. When you modify properties of a base object, the changes are copied to all
reference objects linked to the base object.
You can produce an unlimited number of reference objects from a single base object.
However, reference objects can only link to a base object within the same application or,
in a network application, within the same HMI server.
If you add a global object display into the Displays folder in a different HMI server, the global
objects are converted to standard graphic objects, rather than reference objects.
20-47
• • • • •
20-48
• • • • •
20 • CREATING GRAPHIC OBJECTS
20 • Placeholder
For details about options in the Global Object Defaults dialog box, click Help.
If you change the properties of a linked reference object, you might lose the original settings.
For example, if you change a reference object’s LinkConnections property from False to True,
any connections previously assigned for the reference object are deleted. To restore the original
connections, click Undo on the Edit menu.
LinkAnimation
The LinkAnimation property determines whether the reference object uses the animation
set up for its base object.
Set up the LinkAnimation property of the reference object by selecting:
Link with expressions, to use the animation, including expressions, set up for the
base object.
Link without expressions, to use the animation, excluding expressions, set up for
the base object. This means you can set up the expressions for the reference object
separately.
Do not link, to set up animation and expressions for the reference object separately.
For a Button push button object, the LinkAnimation property determines whether the
reference object uses the press, release, or repeat actions set up for the base object. This is
true when you select either Link with expressions or Link without expressions.
20-49
• • • • •
LinkConnections
The LinkConnections property determines whether the reference object uses the
connections set up for its base object.
Set up the LinkConnections property of the reference object by selecting:
True, to use the connections assigned to the base object.
False, to set up connections for the reference object separately.
In FactoryTalk View Site Edition, a reference object that is a tag label, trend, or Button push
button with an action other than Command, always uses the connections assigned to its base
object. You cannot set up connections for these reference objects separately.
LinkSize
The LinkSize property determines whether the reference object uses the height and width
set up for its base object.
Set up the LinkSize property of the reference object by selecting:
True, to use the height and width set up for the base object.
False, to set up the height and width of the reference object separately.
If you attempt to resize a reference object with its LinkSize property set to True, the object will
snap back to its original size.
LinkBaseObject
The LinkBaseObject property specifies the name and location of the base object the
reference object is linked to.
You cannot modify the LinkBaseObject property. If the specified global object display or
base object does not exist, the reference object will appear in red outline, with a red cross
on a white background.
To restore the reference object, you must recreate the global object with the same name,
on the same global object display.
20-50
• • • • •
20 • CREATING GRAPHIC OBJECTS
20 • Placeholder
Grouped reference objects use the same properties as individual reference objects, to link
to their grouped base objects. For grouped reference objects, you can set up:
LinkBaseObject only for the group, not for individual objects within the group.
LinkConnections only for individual objects within the group.
LinkAnimation for the group and for individual objects within the group.
LinkSize only for the group, not for individual objects within the group.
When the Link properties apply to grouped reference objects, the word Group is added to
the property name in the Property Panel.
If you delete an object that is part of a grouped based object, the corresponding object in the
grouped reference object is also deleted, instead of being treated as a broken link.
20-51
• • • • •
If you move an application, remember to move, copy, or update the link for the source
file to the new location.
embedding pastes the object into the graphic display and allows it to be modified. If
the source file is changed, the object in the display is not affected.
When you double-click an embedded OLE object to modify it, the Graphics editor’s
toolbar is replaced by the application’s toolbar. A border appears around the object to
indicate that it can be modified. This is called in-place editing.
If you move an HMI project, embedded OLE objects are moved automatically, with
the HMI project files.
FactoryTalk View is an OLE client application. This means FactoryTalk View cannot be
embedded in other Windows applications.
20-52
• • • • •
20 • CREATING GRAPHIC OBJECTS
20 • Placeholder
ActiveX objects are software components supplied by products independent from
FactoryTalk View, such as Microsoft® Office 2003, Visual Basic®, and many other third-
party applications.
For example, you can embed the Microsoft Forms ActiveX objects in an FactoryTalk
View graphic display.
By embedding an ActiveX object in a FactoryTalk View display, and then assigning
properties or specifying handlers for the object’s events, the object can interact with
FactoryTalk View.
Data is passed between an ActiveX object and FactoryTalk View using tags.
If you attach a tag to an ActiveX object’s Value property, the object’s behavior changes as
the tag’s value changes.
FactoryTalk View supports the use of windowed ActiveX controls only. You cannot use
windowless ActiveX controls in an FactoryTalk View graphic display.
20-53
• • • • •
A call to a method might be made in response to events from other controls and could
trigger other events.
You can use the FactoryTalk View Invoke command as the external event that calls a
method. For more information about the Invoke command, see the FactoryTalk View
Site Edition Help.
20-54
• • • • •
20 • CREATING GRAPHIC OBJECTS
For information about adding objects to the toolbox, see the FactoryTalk View Site
Edition Help.
20 • Placeholder
The ActiveX toolbox cannot be docked to the FactoryTalk View Studio workspace.
20-55
• • • • •
If the operator is a Windows-linked user that does not belong to the current Windows domain,
include the domain name with the user name, using the syntax domain\user name. For more
information about Windows-linked users, see Chapter 5, “Setting up security,” in Volume 1 of the
FactoryTalk View Site Edition User’s Guide.
20-56
• • • • •
20 • CREATING GRAPHIC OBJECTS
In addition, the signature button can be set up to require authorization by another person,
such as a supervisor, before the operation can be carried out.
20 • Placeholder
For added security, in the Connections tab of the signature button’s Properties dialog box,
use the security function CurrentUserHasCode in an expression assigned to the button’s
Enabled property.
This checks whether the current user has the security code assigned to the graphic display.
For more information about securing graphic displays, see page 5-18 in Volume 1 of the
FactoryTalk View Site Edition User’s Guide.
20-57
• • • • •
20-58
21 Animating graphic objects
21 • Placeholder
This chapter describes:
what FactoryTalk® View animation is.
setting up animation for FactoryTalk View graphic objects.
creating effects using the different types of animation.
using index numbers to navigate to objects in a display.
associating objects and displays with keys.
animating ActiveX objects.
21-1
• • • • •
Check marks
indicate which
types of animation
are applied to the
selected object.
Animation tabs
Expression area
Range of values
through which
the object is
animated
Expression range
options
To set up key animation, open the Object Key or the Display Key dialog box, from the Graphics
editor’s Edit menu. For more information about key animation, see “Associating objects and
displays with keys” on page 21-17.
While working in a graphic display, you can leave the Animation dialog box open and
move it around. This means you only have to open the dialog box once, to apply
animation to different objects in the display.
It also means you can use Object Smart Path to set the range of motion for an object,
rather than needing to know and then to type the number of pixels you want the object to
move. For more information, see “Defining the range of motion” on page 21-4.
21-2
• • • • •
21 • ANIMATING GRAPHIC OBJECTS
21 • Placeholder
2. On the View menu, click Animation, and then click the type of animation you want to
apply.
If the selected object doesn’t allow certain types of animation, the types will not be
available on the Animation menu.
21-3
• • • • •
With the Read from tags option, the minimum and maximum values are read only the first
time animation is started for the object. For example, the values are read when the display
containing the object is run.
Visibility, color, and touch animation do not use a range of motion, because these types of
animation represent a change of state, not a range of values.
21-4
• • • • •
21 • ANIMATING GRAPHIC OBJECTS
21 • Placeholder
the object on the graphic display. The following example shows how this feature works.
21-5
• • • • •
To apply animation to individual objects in a group, use the group edit feature. For details
about this feature, see “Modifying grouped objects” on page 19-17.
Combining different types of animation can produce unexpected results. Be sure to test group
animation, to ensure that the animation achieves the effect you want.
Testing animation
To test the animation applied to objects in a graphic display quickly, switch to test display
mode in the Graphics editor.
Test Display
tool When you are finished testing, switch back to edit display mode to continue working on
the display. To switch between test and edit modes, use the buttons on the toolbar or the
items on the View menu.
Edit Display Testing a display in FactoryTalk View Studio is not the same as running the display in the
tool
FactoryTalk View SE Client.
Test display mode does not change the appearance or position of the display, as set up in
the Display Settings dialog box, and you cannot switch between open displays.
In addition, some FactoryTalk View commands are ignored when run in test display
mode. For a complete list of these commands, see Appendix A in Volume 1 of the
FactoryTalk View Site Edition User’s Guide.
If the animation applied to objects in a graphic display uses device tags, to test the animation,
you must set up communications with the devices or data servers. Before deploying an
application, test it in a FactoryTalk View SE Client, to verify that everything works as intended.
21-6
• • • • •
21 • ANIMATING GRAPHIC OBJECTS
21 • Placeholder
When you copy or duplicate objects that have animation, the animation is copied or
duplicated with the object.
If you copy or duplicate an object group, the copy can be ungrouped, just like the original
object.
You can also copy animation without copying the original object, and then paste the
animation onto another object. If the original object has more than one type of animation,
all the types will be copied and pasted.
21-7
• • • • •
The following sections provide an overview of the animation types available in the
Animation dialog box. For details about each type, click Help in the dialog box.
For information about how to apply animation, see “Setting up animation for FactoryTalk
View graphic objects” on page 21-2.
Color animation does not affect string input, numeric input, or recipe objects. Color for these
objects is defined in the Display Settings dialog box.
For details about Color options in the Animation dialog box, click Help.
21-8
• • • • •
21 • ANIMATING GRAPHIC OBJECTS
21 • Placeholder
This example describes how to create text that blinks between two colors. In this example,
the expression is simply a constant value that matches the value for the selected threshold.
1. Using the Text tool, create a text object. For details, page 20-7.
2. In the Text Properties dialog box, type some text, and then click OK.
3. Select the text object, open the Animation dialog box, and then click the Color tab.
4. In the Expression box, type 0. (Zero is the default value for threshold A.)
5. In the list, click threshold A. Leave the value in the Value box as 0.
6. For the foreground color, click Blink. (Only foreground color affects text.)
7. For each blink color, open the color palette, and then click a color.
8. Click Apply, and then close the Animation dialog box.
Use the Test Display tool to test the animation in this example. The text will blink
between the colors you selected.
21-9
• • • • •
21-10
• • • • •
21 • ANIMATING GRAPHIC OBJECTS
21 • Placeholder
Use fill animation to change the level of fill in an object, based on the result of an
expression or a tag value, in relation to the specified minimum and maximum values.
The object’s fill level is proportional to the value of the expression. For example, if the
value of the expression is halfway between the minimum and maximum values, the object
will be half full.
Fill animation does not affect string input, numeric input, or recipe objects, or push button
objects. It also does not affect transparent objects or line objects, even if those objects are
grouped into a single object.
For details about Fill options in the Animation dialog box, click Help.
Rotating objects
Use rotation animation to rotate an object around an anchor point, based on the result of
an expression or a tag value, in relation to the specified minimum and maximum values.
The degree of rotation is proportional to the value of the expression. For example, if the
value of the expression is halfway between its minimum and maximum values, the object
will rotate half the specified rotation range.
21-11
• • • • •
Panel and image drawing objects, the button object, advanced objects (except arrows),
OLE objects, ActiveX objects, and bitmaps cannot be rotated.
For details about Rotation options in the Animation dialog box, click Help.
Tag values 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
21-12
• • • • •
21 • ANIMATING GRAPHIC OBJECTS
21 • Placeholder
Use width animation to change an object’s width, based on a tag value or the result of an
expression or a tag value, in relation to the specified minimum and maximum values.
The object’s width is proportional to the value of the expression. For example, if the value
of the expression is halfway between its minimum and maximum values, the object will
be half its full width.
For details about Width options in the Animation dialog box, click Help.
Do not create momentary push buttons using drawing objects with touch animation. Instead,
create a momentary push button object, or a button object with a momentary action. For more
information about creating buttons, see page 20-11.
For details about Touch options in the Animation dialog box, click Help.
21-13
• • • • •
21-14
• • • • •
21 • ANIMATING GRAPHIC OBJECTS
The index number increases, each time you create another of these objects in the display.
For example, if you create a numeric input object, followed by a button object and a string
21 • Placeholder
input object, the objects will have index numbers 1, 2, and 3.
FactoryTalk View also gives index numbers to objects that support key navigation, such
as display list selectors. To allow an operator to navigate to these objects using the
keyboard, the object’s KeyNavigation property must be set to True.
The Properties
dialog box for the
selected input
object shows the
object has tab
index number 1.
You can also check the tab index number using one of these methods:
Right-click the object, click Property Panel, and then check the value of the TabIndex
property.
For objects with object key animation, right-click the object, click Object Keys, and
then check the number in the Tab index box.
21-15
• • • • •
The circled
numbers above
the objects show
each object’s
index number.
The grouped
drawing objects
have object key
animation.
21-16
• • • • •
21 • ANIMATING GRAPHIC OBJECTS
Press the Shift-Tab keys to move through the objects from the highest index number to
the lowest index number.
21 • Placeholder
Changing index numbers
Once you have created two or more objects that have index numbers, you can change the
index numbers.
For example, if you have created four input objects, you can modify the fourth object to
have index number 1. However, you cannot change the fourth object to have index
number 5, because there are only four input objects in the display.
When you change an index number, other index numbers are adjusted automatically, so
that no two objects in the display have the same index number, and so that there are no
gaps in the numbering.
If you type an index number that is too high, FactoryTalk View changes it to the highest
available number. If you type a number that is in use, FactoryTalk View renumbers other
objects in the display, changing the tab sequence.
21-17
• • • • •
For example, if you connect a rectangle to the F4 key, at run time, when the rectangle has
input focus, the operator can press F4 to perform the key’s press, repeat, or release action.
Use the Object Keys dialog box to set up keys, assign an index number to the object, and
specify whether the object has a highlight box when it is selected at run time.
For details about options in the Object Keys dialog box, click Help.
21-18
• • • • •
21 • ANIMATING GRAPHIC OBJECTS
21 • Placeholder
Use display keys to connect a graphic display with one or more keys.
Display keys are similar to object keys, except you don’t have to select an object in the
display, for a display key to respond.
For example, you could connect a display to the F6 key. At run time, when the display is
open, the operator can press F6 to perform the key’s press, repeat, or release action.
Whenever the operator presses Home, the active graphic display closes and the Main
Menu display opens.
If the Main Menu display is of the Overlay type, you must use the Abort command to close the
active display.
For details about how keys and other interactive objects work at run time, see “Specifying
the behavior of interactive objects” on page 19-42.
21-19
• • • • •
Label
Modifiers
Key
The key list shows all the object keys set up for the selected object first, followed by all
display keys. Key labels are as specified in the Object Keys or Display Keys dialog box.
The key list does not separate the two types of keys because this distinction does not matter to
an operator. The operator only needs to know what will happen a key is pressed.
Then, you would set up object keys for the different graphic objects in the display, using
the Current [Tag] parameter as a placeholder for a tag name (or any character string).
At run time, when an object is selected and the display key is pressed, the contents of the
Current [tag] box replace [tag] in the FactoryTalk View command.
The following three examples show how you can use the Current [tag] parameter.
21-20
• • • • •
21 • ANIMATING GRAPHIC OBJECTS
21 • Placeholder
Imagine you have a graphic display containing 20 valves and you want the operator to be
able to open and close all the valves with the same two keys, F2 and F3, respectively.
Instead of specifying the tag name for each valve, use the [tag] parameter with display
keys. Set this up as follows:
1. In the Display Keys dialog box, assign the F2 and F3 keys.
2. For the F2 key’s press action, type Set [tag] 1.
3. For the F3 key’s press action, type Set [tag] 0.
4. For each valve object, open the Object Keys dialog box, and type the tag name in the
Current [tag] box.
At run time, the operator can select any valve object and press F2 to open the valve, or
press F3 to close the valve.
21-21
• • • • •
21-22
• • • • •
21 • ANIMATING GRAPHIC OBJECTS
You can also change an ActiveX object’s properties without using tags. If you choose this
method, the object’s properties do not change dynamically at run time.
21 • Placeholder
You make static changes to an ActiveX object’s properties just as you do for any other
graphic object—in the Properties tab in the Property Panel. For more information, see
“Viewing object properties in the Property Panel” on page 19-5.
The run-time behavior of ActiveX objects depends on the vendor’s implementation. Before
making your application available to users, test ActiveX objects thoroughly to ensure they behave
as desired.
CheckBox1 is the
default name of this
object.
For information about a property, select the property, and then click Help.
21-23
• • • • •
For details about options in the Object Methods dialog box, click Help.
21-24
• • • • •
21 • ANIMATING GRAPHIC OBJECTS
21 • Placeholder
A method is an action the ActiveX object can perform.
Methods are part of the object. You can:
view a list of the object’s methods.
find documentation for the object’s methods.
use the Invoke command to call the object’s methods.
To use the Invoke command to interact with an ActiveX object, the object must have a name.
21-25
• • • • •
Click here
to open the
Command
Wizard.
For details about options in the ActiveX Control Events dialog box, click Help.
21-26
22 Setting up navigation
22 • Placeholder
This chapter describes:
what a display hierarchy is.
setting up ways to move among displays in an application.
setting up keys to run FactoryTalk® View commands.
creating and running client key components.
22-1
• • • • •
Main Menu
Graphic Display
For a live example of a display hierarchy that involves different navigation methods, run the
FactoryTalk View SE Samples application. To do this, on the Windows Start menu, select
Programs, Rockwell Software, FactoryTalk View, and then click Samples Water.
22-2
• • • • •
22 • SETTING UP NAVIGATION
Use the commands in macros, or as actions specified for touch zones, buttons, display
keys, or object keys in a graphic display.
22 • Placeholder
To do this Run this command
Open the specified graphic display. Display
If the specified display is already open and it allows
multiple running copies (set up in the Display Settings
dialog box), the Display command opens another copy
of the display and makes it active.
If the specified display is already open and it does not
allow multiple running copies, the Display command
makes the display active.
A display of type:
Replace opens on top of other open displays,
and closes the ones it overlaps.
Overlay opens on top of any open displays, but
does not close them.
On Top opens on top of any open displays and
remains in the foreground.
Close the active or specified graphic display. Abort
Use the Abort command when you cannot use a display
of type Replace to close other running displays.
Pull the specified graphic display in front of other open PullForward
displays.
If the specified display is of type Replace or Overlay, the
PullForward command gives the display focus, and
positions it behind any On Top display that is open.
Push the specified graphic display behind other open PushBack
displays.
If the specified display is of type On Top, the PushBack
command positions the display behind any other open
On Top displays, but in front of any open Replace or
Overlay displays.
The PullForward and PushBack commands provide quick display changes because displays are
already open. However, the more displays you have open, and the more complex the displays
are, the more memory and CPU are used.
Commands for opening, closing, and switching displays run only at the FactoryTalk View
SE Client. Attempting to run these commands at a FactoryTalk View SE Server (for
example, in a server startup macro) or in FactoryTalk View Studio, will result in errors.
22-3
• • • • •
For more information about where commands run, see Appendix A in Volume 1 of the
FactoryTalk View Site Edition User’s Guide.
To create this display, the designer assigned various FactoryTalk View commands to keys
using the three types of key definitions: object, display, and client. In all cases, keys (not
mouse buttons) were defined to run commands.
Object keys and display keys are set up in the Graphics editor. For more information, see
Chapter 21, Animating graphic objects.
Client keys are created in the Client Keys editor. For more information, see “Creating
client keys” on page 22-10.
22-4
• • • • •
22 • SETTING UP NAVIGATION
22 • Placeholder
operation
The graphic display in this example contains buttons that an operator can click using a
mouse, or press on a touch screen, to open detail displays. This display acts as a menu and
presents information.
To create the buttons, the designer used the Button drawing tool in the Graphics editor.
The buttons can be selected with a mouse or by pressing a touch screen. For information
about creating buttons, see “Creating the different types of push buttons” on page 20-11.
22-5
• • • • •
Or use the Replace option if you want a display to replace any open displays that it covers
or touches, when it opens.
You select a type for a graphic display in the Display Settings dialog box. For more
information, see “Specifying the display type” on page 19-36.
Displays that you want to run in a fixed position, for example, menus or banners, can be docked
to the inside of the FactoryTalk View SE Client window. For more information, see “Docking
displays to the FactoryTalk View SE Client window” on page 19-45.
22-6
• • • • •
22 • SETTING UP NAVIGATION
22 • Placeholder
You can assign a single key to one or more of the three types of key definitions—object,
display, or client.
For example, you could assign the F2 key to open a valve when the valve object has input
focus, close a popup display that has focus, and, as a client key, to open a graphic display
containing a process overview.
When a single key has more than one definition, the following rules of precedence apply:
When a graphic display is active and an object has input focus, object keys have
precedence over display keys and client keys.
When a graphic display is active, display keys have precedence over client keys.
For example, if you assign the F2 key as a display key in some graphic displays in an
application, and you assign F2 as a client key in the same application, F2 will only
work as a client key if the active display does not also use F2 as a display key.
When designing an application, pay particular attention to the keys used by embedded
objects.
Object keys and display keys generally have precedence over keys used by embedded
objects (for example, ActiveX®, or OLE objects).
However, keys used by OLE objects that are not part of FactoryTalk View (for example,
an Excel worksheet), have precedence over object or display keys. For details, see the
pages that follow.
22-7
• • • • •
an object key to jog the motor’s position, pressing F2 when the slider has input focus will
always jog the motor’s position, instead of increasing the motor’s speed.
However, if a key that triggers an action in an embedded ActiveX object is also defined as
a client key, pressing that key will trigger both the action defined for the embedded object
and the action defined for the client key.
For example, if the F2 key for an ActiveX gauge object increases a motor’s speed, and F2
is also defined as a client key to print the current graphic display, each time the operator
presses F2, the motor’s speed will be increased, and the graphic display will be printed.
Keyboard shortcuts
The following keyboard shortcuts are normally reserved for use by Windows® and
FactoryTalk View SE.
Move focus to the object with the next highest index Tab
number.
Move focus to the object with the next lowest index Shift+Tab
number.
Move focus to the next object, in the direction the Ctrl+Up Arrow,
arrow key points. Ctrl+Left Arrow,
Ctrl+Down Arrow,
Ctrl+Right Arrow
Move focus to the next window. Ctrl+F6
Move focus to the previous window. Ctrl+Shift+F6
Close the active window. Ctrl+F4 or
Ctrl+Shift+F4
22-8
• • • • •
22 • SETTING UP NAVIGATION
22 • Placeholder
Perform the press and release actions for the button Enter
object that has focus.
Download the value in the input object that has
focus.
Open the Recipe dialog box when a recipe object
has focus. If Ctrl+W was pressed previously, the
recipe is saved. If Ctrl+R was pressed previously,
the recipe is restored.
Open the on-screen keyboard, if the input or recipe
object with focus is set up to display the keyboard.
Upload data into all input objects in the display. PgUp
Upload data into the input object that has focus. Ctrl+PgUp
Download data from all input objects in the display. PgDn
Download data from the input object that has focus. Ctrl+PgDn
Delete the contents of the input object. Home+Shift+End+Del
Move input focus to the recipe object, and prepare Ctrl+R
for a recipe restore.
Move input focus to the recipe object, and prepare Ctrl+W
for a recipe save.
Open the Recipe dialog box. + on the numeric keypad
If Ctrl+W was pressed previously, the recipe is
saved. If Ctrl+R was pressed previously, the recipe
is restored.
Move the selection bar on the Object Key menu. Up Arrow,
Down Arrow
Close the Object Key menu, or exit input mode for Esc
the updating input object that has focus.
Move the cursor one position left or right. Left Arrow,
Right Arrow
Delete the character to the left of the cursor. Backspace
Delete the character to the right of the cursor. Del
Delete all characters from the cursor position to the Shift+End+Del
end of the line.
Copy the selected items to the clipboard. Ctrl+C or Ctrl+Ins
22-9
• • • • •
Cut the selected items and place them in the Ctrl+X or Shift+Del
clipboard.
Paste the contents of the clipboard at the current Ctrl+V or Shift+Ins
cursor position.
Position the cursor at the beginning of the data entry Home
object.
The arrow keys perform different actions when a trend graphic object has focus. For details, see
page 26-28.
Defining client key actions for reserved keys is not recommended, as the results can be
unpredictable.
22-10
• • • • •
22 • SETTING UP NAVIGATION
22 • Placeholder
For details about the options in the editor, click the Help button.
You cannot run more than one client key component at a time. If you try to do this, the
components are not merged. Instead, the second component overrides the first component.
22-11
23 Creating expressions
23 • Placeholder
This chapter describes:
what expressions are, and where you can use them.
working in the Expression editor.
using tag names and tag placeholders in expressions.
using constants in expressions.
using operators to modify values.
using built-in functions.
using if-then-else logic.
About expressions
Sometimes the data you gather from devices is only meaningful when you:
compare it to other values.
combine it with other values.
create a cause-effect relationship with other values.
Expressions allow you to create mathematical or logical combinations of data that return
more meaningful values.
23-1
• • • • •
In the Data Log Models editor, when setting up file management for a data log
model, use an expression to determine when log files are created.
You can also use expressions to set the value of a tag, using the If or Set command. For details,
see the FactoryTalk View Site Edition Help.
Dialog boxes or tabs in which you can type expressions contain an Expression button for
opening the Expression editor.
23-2
• • • • •
23 • CREATING EXPRESSIONS
For example, the following illustration shows the Expression button in the Connections
tab of the Numeric Input Properties dialog box.
23 • Placeholder
Click *** to open the
Expression editor.
Expression components
You can build an expression using any of the following components:
tag values
tag placeholders
constants
mathematical, relational, logical, and bitwise operators
built-in functions
if-then-else logic
To select the components to use in an expression, click the following buttons in the
Expression box or editor.
If-then-else operators
Logical operators
Relational operators
Arithmetic operators
Bitwise operators
Built-in functions
23-3
• • • • •
Formatting expressions
You can format expressions using tabs, line returns, and multiple spaces so they are easier
to read.
However, do not let tag names, key words, function names, or function arguments span
more than one line.
23-4
• • • • •
23 • CREATING EXPRESSIONS
23 • Placeholder
If (tag1>tag2) Then 0 Else If (tag1>tag3) Then 2 Else 4
For more information about working with tags, see Chapter 9 in Volume 1 of the
FactoryTalk View Site Edition User’s Guide.
23-5
• • • • •
Arithmetic operators
Arithmetic operators calculate values based on two or more numeric values.
The following table describes the arithmetic operators, with examples. (In the examples,
tag1 = 5 and tag2 = 7.)
23-6
• • • • •
23 • CREATING EXPRESSIONS
Be sure that any tag value you use as a divisor cannot at some point have a value of 0.
Expressions that attempt to divide a number by 0 produce an error at run time.
23 • Placeholder
String operands
The + operator can be used to join string operands. For example, the expression “hello” +
“world” returns: helloworld.
Relational operators
Relational operators compare two numeric or string values, to provide a true or false
result. If the statement is true, the expression returns a value of 1. If the statement is false,
the expression returns a value of 0.
The following table describes the relational operators, with examples. (For the numeric
examples, tag1 = 5 and tag2 = 7. For the string examples, serial_no = ST009.)
Logical operators
Logical operators determine the validity of one or more statements. There are three logical
operators: AND, OR, and NOT. The operators return a non-zero value if the expression is
true, or 0 if the expression is false.
23-7
• • • • •
The following table describes the logical operators, with examples. (In the examples,
tag1 = 5 and tag2 = 7.)
The parentheses are essential in the these expressions. For more information, see “Evaluation
order of operators” on page 23-9.
Bitwise operators
Bitwise operators examine and manipulate individual bits within a value.
The following table describes the bitwise operators.
Bitwise operators are for integers only, not for floating-point numbers.
23-8
• • • • •
23 • CREATING EXPRESSIONS
23 • Placeholder
<< left shift Shifts the bits within an integer or tag to the left.
Shifts the bits within the left operand by the amount specified in the right
operand. The bit on the left disappears and 0 always shifts in on the right.
~ complement Returns one’s complement; that is, toggles the bits within an integer or tag.
Reverses every bit within the number so every 1 bit becomes a 0 and vice
versa.
23-9
• • • • •
23-10
• • • • •
23 • CREATING EXPRESSIONS
23 • Placeholder
1. tag2 AND tag3=1
2. tag1>1=1
The expression evaluates to 1 (true).
_____________________________
NOT tag1 AND tag2>tag3 ** 2
is evaluated in this sequence:
1. NOT tag1=0
2. 0 AND tag2=0
3. tag3 ** 2=100
4. 0>100=0
The expression evaluates to 0 (false).
Math functions
Use the built-in math functions to calculate the square root, log (natural or base 10), or
trigonometry ratios (in radians or degrees) of a tag or expression.
23-11
• • • • •
File functions
Use the built-in file functions to check whether a file exists, or to check the amount of free
disk space.
The file parameter is the path name, surrounded by quotes. The drive parameter is the
drive letter.
To have an expression containing these functions evaluated more than once, assign the
expression to an event rather than to an object in a graphic display.
23-12
• • • • •
23 • CREATING EXPRESSIONS
Time functions
23 • Placeholder
Use the built-in time functions to examine system time. These functions use the time or
interval parameters.
23-13
• • • • •
The validity of the date is not checked. For example, if Aug 22 2005 is not a Monday, this error
is not detected.
23-14
• • • • •
23 • CREATING EXPRESSIONS
Returns 1 the first time the expression is evaluated after 2:30 p.m. on Sunday, August 21,
2005.
23 • Placeholder
BEFORE_TIME(“aug 21 2005”)
Returns 1 (true) the first time the expression is evaluated before August 21, 2005.
INTERVAL(“1 min”)
Returns 1 (true) if a minute has elapsed since the expression last returned a 1.
(tag1>500) and INTERVAL (“30 sec”)
Returns 1 (true) when tag1>500 on some 30-second interval since the event file started
running. (It does not mean 30 seconds after tag1>500.)
Tag functions
Use the built-in tag functions to examine the status of a tag, HMI tag alarm, or HMI alarm
event (or multiple tags or alarm events).
For information about setting up HMI tag alarms, see Chapter 11 in Volume 1 of the
FactoryTalk View Site Edition User’s Guide.
If a graphic display requires more than 20 HMI tag alarm functions, for performance reasons
it is better to use the alarm functions in derived tags. For details, see Help for alarm functions.
23-15
• • • • •
23-16
• • • • •
23 • CREATING EXPRESSIONS
In a network application, you can specify an absolute or a relative reference to a tag. For
more information, see page 9-6 in Volume 1 of the FactoryTalk View Site Edition User’s
23 • Placeholder
Guide.
To examine multiple tags at once, use a wildcard character in the expression argument.
Security functions
Use the built-in security functions to control access to an application, based on a user’s
identity or security permissions.
23-17
• • • • •
Language function
Use the built-in language function to return the name of the current run-time language. An
expression containing this function is evaluated whenever a language switch occurs.
23-18
• • • • •
23 • CREATING EXPRESSIONS
To examine multiple alarms at once (a set of alarms for a machine in a particular area, for
example) use a wildcard character in the expression argument.
23 • Placeholder
This wildcard character Does this
? Matches any single character.
* Matches any number of characters, including the
backslash (\) character.
For more information about using FactoryTalk alarm functions in expressions, and for
examples, see Chapter 12, “Setting up FactoryTalk alarms,” in Volume 1 of the
FactoryTalk View Site Edition User’s Guide.
Do not confuse the if-then-else expression with the If command. For details about the If
command, see the FactoryTalk View Site Edition Help.
23-19
• • • • •
To build conditional expressions, use the relational operators and the logical operators for
the statement, and values.
The if-then-else structure is:
If statement Then value1 Else value2
If the statement is true then the expression returns value1; if the statement is false then the
expression returns value2. Keep in mind that the statement is a mathematical equation and
true means a non-zero value, and false means 0.
Following is an illustration of the if–then–else structure:
enter
true
statement
false
value2 value1
exit
Nested if-then-else
It is common to nest an if-then-else structure inside the then or else part of an if-then-
else structure.
23-20
• • • • •
23 • CREATING EXPRESSIONS
23 • Placeholder
enter
true
statement1
false
true
statement2
false
exit
23-21
• • • • •
enter
false false
value3 value2
exit
23-22
24 Creating embedded variables
24 • Placeholder
This chapter describes:
what embedded variables are.
where you can insert embedded variables.
how to create numeric embedded variables.
how to create string embedded variables.
how to create time and date embedded variables.
how embedded variables are displayed at run time.
how embedded variables are updated at run time.
24-1
• • • • •
in the tooltips you create for graphic objects. For information about creating tooltips,
see page 19-21 or see Help.
in the title bar text you create for graphic displays. For information about setting up
display titles, see page 19-35.
You can insert more than one embedded variable in the same caption, message, tooltip, or
display title.
For example, you might embed a tag value and a time variable in a local message. At run
time, when the local message is displayed, it will show the tag’s current value and the
current time. As the tag’s value and the time change, the embedded variable is updated.
You can also insert variables in the alarm messages you create for FactoryTalk alarm
definitions. For more information, see Chapter 12, “Setting up FactoryTalk alarms,” in
Volume 1 of the FactoryTalk View Site Edition User’s Guide.
Embedded variables are case sensitive and must use specific syntax to work. Otherwise, the
entire embedded variable is treated as a string of text.
To avoid this when inserting embedded variables, use the Numeric Variable, String Variable, and
Time and Date Variable dialog boxes, instead of typing the variables manually. For more
information about embedded variable syntax, see subsequent sections in this chapter.
24-2
• • • • •
24 • CREATING EMBEDDED VARIABLES
24 • Placeholder
2. In the Common tab, click the Insert Variable button beneath the ToolTip text box, or
right-click the ToolTip text box, and then click Insert Variable.
3. Click the type of variable you want to insert (Numeric, String, or Time/Date).
4. Fill in the options in the dialog box that opens. For details, click Help.
24-3
• • • • •
In the Numeric Variable dialog box, select the Tag option to display the value of the
specified tag (or tag placeholder) in the embedded variable at run time.
Select the Literal number option, to display the number you type in the dialog box, or the
parameter value that replaces the tag placeholder.
Formatting options (Number of digits, Decimal places, Fill left with) apply to either a tag
value or a literal number. For example, if you type the literal number 9999, and select 2
decimal places, at run time the number will display as 99.99
For details about options in the Numeric Variable dialog box, click Help.
For information about how embedded variables are updated at run time, see page 24-10.
24-4
• • • • •
24 • CREATING EMBEDDED VARIABLES
where
24 • Placeholder
L indicates that the embedded variable will contain a literal number.
N indicates that it is a numeric embedded variable.
# indicates the number of digits.
### is the literal number (or tag placeholder).
Fill_character is the fill character: NOFILL, ZEROFILL, or SPACEFILL.
# indicates the number of decimal places.
In the String Variable dialog box, select the Tag option to display the value of the
specified tag (or tag placeholder) in the embedded variable at run time.
24-5
• • • • •
Select the Literal string option, to display the text string you type in the dialog box, or the
parameter value that replaces the tag placeholder.
The literal string you type (or specify in a parameter file) cannot contain spaces.
Formatting options for fixed number of characters apply to either a tag value or a literal
string. For example, if you type the literal string September, and select 3 for Fixed number
of characters (but no other options), at run time the string will display as Sep.
For details about options in the String Variable dialog box, click Help. For information
about how embedded variables are updated at run time, see page 24-10.
24-6
• • • • •
24 • CREATING EMBEDDED VARIABLES
where
24 • Placeholder
L indicates that the embedded variable will contain a literal string.
S indicates that it is a string embedded variable.
# indicates the fixed number of characters to display.
In the String Variable dialog box, clear the check box, Fixed number of characters, if
you don’t want to use a fixed number.
SSS is the literal string (or tag placeholder).
A literal string embedded variable can contain numbers. However, if you want to format the
number (with decimal places, for example), insert a literal number instead. For details, see
“Creating numeric embedded variables” on page 24-3.
24-7
• • • • •
In the Time and Date Variable dialog box, select the format in which you want the current
time and date displayed at run time.
For details about options in the Time and Date Variable dialog box, click Help.
For information about how embedded variables are updated at run time, see page 24-10.
where
Time_date_format uses one of these character sequences:
24-8
• • • • •
24 • CREATING EMBEDDED VARIABLES
24 • Placeholder
For numeric embedded variables that use tag values, how the value is displayed depends
on whether the data type is integer or floating-point: integer values are displayed as they
are; floating-point values are rounded to fit the number of digits specified for the variable.
For example, if 6 is the number or digits specified, the floating point value 1234.56 is
rounded to 1234.6, and the value 1234.44 is rounded to 1234.4. The decimal point
counts as one of the digits. If the value is negative, the minus sign also counts as a digit.
If the floating-point value, including a decimal point and a minus sign, contains more
digits than specified for the variable, the numeric variable is replaced with asterisks (*).
Number formats
Numeric embedded variables use the number format you set up on the run-time computer.
For example, if the run-time computer is set up to use a comma for the decimal symbol,
the numeric variable will also use a comma for the decimal symbol.
Null characters have a hex value of 0, and indicate the end of a string. A null character does not
add to the actual length of the string.
By default, string variables that use a fixed number of characters display the characters
from left to right. To display characters from right to left, in the String Variable dialog
box, select the check box, Right-most characters in string are displayed.
You can also specify whether asterisks (* ) are displayed at run time, if the string is longer
than the width of the field it is embedded in.
24-9
• • • • •
24-10
25 Setting up data logging
25 • Placeholder
This chapter describes:
what data logging is.
data log storage formats.
creating a data log model.
working with ODBC data sources.
creating new files at run time.
switching log paths at run time.
logging on demand.
modifying existing data log models.
starting and stopping data logging.
25-1
• • • • •
where
YYYY is the year.
MM is the month.
DD is the day.
NNNN is the sequential file identifier.
25-2
• • • • •
25 • SETTING UP DATA LOGGING
This number indicates the sequence files were created in. You can have up to 9999
file sets per day. At midnight, the sequence starts again at 0000.
25 • Placeholder
<Log File Identifier String> is a text string you can specify to help identify the log
file. The maximum string length is 20 characters.
<(type)> is the file type.
The type is enclosed in parentheses. There are three file types: Tagname, Float (for
analog and digital tag values), and String.
ODBC backup files are stored as binary files with the extension .obf. You cannot view the
contents of .obf files.
25-3
• • • • •
For details about options in the Data Log Models editor, click Help.
25-4
• • • • •
25 • SETTING UP DATA LOGGING
25 • Placeholder
2. Right-click the Data Log Models icon, and then click New.
You can also open the Data Log Models editor by dragging its icon into the
FactoryTalk View Studio workspace, or by double-clicking an existing Data Log
Models component.
25-5
• • • • •
path, if available, until space becomes available on the primary path. For more
information, see “Switching log paths at run time” on page 25-9.
If you do not set up a secondary path, when the primary path runs out of disk space, data
logging stops and no more log files are created.
For details about options in the Paths tab, click Help.
If the data log model uses the ODBC format, data is added continually to the same database, so
this section does not apply.
25-6
• • • • •
25 • SETTING UP DATA LOGGING
25 • Placeholder
periodically. This is called periodic logging.
only when a tag’s value changes. This is called on-change logging.
when a particular event occurs and triggers the DataLogSnapshot command. This is
called on-demand logging. For more information, see page 25-12.
You can also combine types of logging. For more information, see page 25-12.
For details about options in the Log Triggers tab, click Help.
25-7
• • • • •
2. Set up a data log model, as described in Help. Specify the existing ODBC database as
the ODBC Data Source, and then specify the tables you edited.
25-8
• • • • •
25 • SETTING UP DATA LOGGING
25 • Placeholder
You can use the DataLogNewFile command with either of these parameters:
DataLogNewFile <component> (where <component> is a data log model name)
creates a new file set for the specified data log model.
DataLogNewFile * creates a new file set for all data log models that are currently
running.
You can use the DataLogNewFile command anywhere you can type a FactoryTalk View
command or macro.
To provide operators with a way to create new files at run time, create a button object in a
graphic display, or a display key or client key, that uses DataLogNewFile as the press
action.
For data log models that use the file set format, FactoryTalk View creates a new file set each time
the logging path changes.
25-9
• • • • •
If a secondary path is not set up, the data is buffered for 10 minutes (the default value for
maximum time). If the maximum time is set to 0, a new file set is started immediately.
To avoid affecting performance, FactoryTalk View does not move data from the secondary or
backup path automatically, when a switchback to the primary occurs. You must move the backup
data manually, using the DataLogMergeToPrimary command. For details, see “Moving data from
the secondary path” on page 25-11.
25-10
• • • • •
25 • SETTING UP DATA LOGGING
DataLogSwitchBack * switches logging for all data log models that are currently
running.
25 • Placeholder
You can use the DataLogSwitchBack command anywhere you can type a FactoryTalk
View command or macro.
To provide operators with a way to switch manually to the primary path or ODBC
database at run time, create a button object in a graphic display, or a display key or client
key, that uses DataLogSwitchBack as the press action.
25-11
• • • • •
Logging on demand
To record the values of tags in a data log model on demand, use the FactoryTalk View
command DataLogSnapshot. If you specified the On Demand trigger for the data log
model, logging will occur only when the DataLogsnapshot command is run.
Combining logging
You can combine periodic or on-change logging with on-demand logging. This allows
data to be captured at particular times, as well as when a particular event occurs.
25-12
• • • • •
25 • SETTING UP DATA LOGGING
To combine logging
1. In the Data Log Models editor, in the Log Triggers tab, select the Periodic or On
25 • Placeholder
Change option.
2. Type the DataLogSnapshot command with the <component> or * (asterisk) parameter,
anywhere you can use a macro or command.
If a tag that you delete from a data log model is used in a trend object, be sure to remove all
references to the deleted tag from the trend.
25-13
• • • • •
For details about the DataLogChangeRate and DataLogRenameFile commands, see the
FactoryTalk View Site Edition Help.
25-14
• • • • •
25 • SETTING UP DATA LOGGING
25 • Placeholder
You can manually stop all the components that are running on the HMI server, including
data log models, event components, derived tag components, and alarm monitoring.
For details about stopping running components:
in network applications, see page 17-12, in Volume 1 of the FactoryTalk View Site
Edition User’s Guide.
in local applications, see page 18-5, in Volume 1 of the FactoryTalk View Site Edition
User’s Guide.
To stop data logging, use one of these methods:
Use the DataLogOff <component> command (where <component> is the name of the
data log model) to stop a single model. To stop all data log models, use the
DataLogOff * command.
In the Graphics editor, create a button object, and then specify DataLogOff
<component> or DataLogOff * as the button’s press action. When the button is
pressed, the command runs.
In the Graphics editor, create a graphic object and attach touch animation to it, using
DataLogOff <component> or DataLogOff * in the Action box. When the object is
touched, data logging is stopped for the specified model.
In the Events editor, specify DataLogOff <component> or DataLogOff * as the action
for an event.
At the command line in FactoryTalk View Studio, or the FactoryTalk View SE
Administration Console, type DataLogOff <component> or type DataLogOff * and
then press Enter.
25-15
26 Setting up trends
26 • Placeholder
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 non-
isolated graph, pen values can overlap.
26-1
• • • • •
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 25, Setting up data logging.
26-2
• • • • •
26 • SETTING UP TRENDS
2. On the Objects menu, point to Advanced Objects, and then click Trend.
26 • Placeholder
You can also click the Trend tool on the Objects toolbar.
Trend tool
3. On the graphic display, drag the mouse to create a box approximately the size you
want the trend to be.
26-3
• • • • •
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.
26-4
• • • • •
26 • SETTING UP TRENDS
26 • Placeholder
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.
Chart title
Trend border
Pen with a
square symbol
Chart
pen marker
Pen icon
Y-axis
Y-axis legend
Pen without a
pen marker
X-axis
X-axis legend
Scrolling
mechanism
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.
Chart title
The chart title is the name you give to the trend chart. Naming the trend is optional.
26-5
• • • • •
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 y-
axis. 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.
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 26-27.
You can set up a trend to exclude the y-axis legend.
26-6
• • • • •
26 • SETTING UP TRENDS
Pens
26 • Placeholder
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 26-8.
Legends
There are four kinds of trend legends:
x-axis legend (described on page 26-6)
y-axis legend (described on page 26-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 26-14
and page 26-15.
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.
26-7
• • • • •
Pen markers
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.
to read pen values at run time.
The following illustration shows pen markers in a trend.
A ‘boxed’ pen
marker
If data is plotted frequently, the markers might not display as distinct, separate symbols on the
trend chart.
26-8
• • • • •
26 • SETTING UP TRENDS
Value Bar
26 • Placeholder
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.
26-9
• • • • •
In a standard chart,
the y-axis shows
pen values …
26-10
• • • • •
26 • SETTING UP TRENDS
26 • Placeholder
In an XY Plot, the
y-axis shows pen
values …
Isolated graphing
For charts with multiple pens, you can allow the pen values to 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.
26-11
• • • • •
26-12
• • • • •
26 • SETTING UP TRENDS
3. In the Pen Attributes spreadsheet, in the Type column, select Full Width.
26 • Placeholder
When the trend runs, the pen shows as a solid horizontal line across the full width of the
chart.
To set up this attribute In this tab Click this box, button, or list
Chart background color Display Background color
Text color for the x-axis legend Display Text color
Text font, style, and size Display Font
Pen line, pen marker, pen icon, and Pens Color
text color for the y-axis legend
Pen line width Pens Width
Pen line style Pens Style
Pen marker Pens Marker
Color of vertical lines in the grid X-Axis Grid color
Color of horizontal lines in the grid Y-Axis 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.
26-13
• • • • •
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 19-5.
Current time
Current pen value
Pen icon
Pen line color
26-14
• • • • •
26 • SETTING 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.
26 • Placeholder
Pen caption Current value Min/max values Engineering
legend units
Pen caption
Shading is determined by the position of lines on the trend chart—not by the actual tag values.
26-15
• • • • •
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.
Upper-bound pen
Lower-bound pen
Pen 1
Pen 2
Pen 3
26-16
• • • • •
26 • SETTING UP TRENDS
To produce the shading shown in the illustration, use the following settings:
26 • Placeholder
Shading
Tag name or
Pen constant value Upper Bound Lower Bound
Pen 1 VIN_LEVEL Pen 2 Pen 3
Pen 2 75
Pen 3 25
Pen 1
Color 1
Pen 2
To produce the shading shown in the illustration, use the following settings:
Shading
Tag name or
Pen constant value Upper Bound Lower Bound
Pen 1 VIN_LEVEL Pen 2
Pen 2 OIL_LEVEL
26-17
• • • • •
Pen 1
Color 1
Pen 2
To produce the shading shown in the illustration, use the following settings:
Shading
Tag name or Constant
Pen value Upper Bound Lower Bound
Pen 1 VIN_LEVEL Pen 2 Pen 2
Pen 2 OIL_LEVEL
26-18
• • • • •
26 • SETTING 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.
26 • Placeholder
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.
Overlay time
Overlay pen
Overlay pen
26-19
• • • • •
26-20
• • • • •
26 • SETTING UP TRENDS
26 • Placeholder
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.
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.
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 Chapters 6 and 7
respectively, in Volume 1 of the FactoryTalk View Site Edition User’s Guide.
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.
26-22
• • • • •
26 • SETTING UP TRENDS
Trend data will remain in the cache, and continue to update, until you run the
FlushCache command, or until you stop running the application.
26 • Placeholder
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.
26-23
• • • • •
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.
26-24
• • • • •
26 • SETTING UP TRENDS
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.
26 • Placeholder
You can also use the buttons in the Trend graphic library. For information about the
library, see page 26-21.
Pen values
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.
26-25
• • • • •
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 difference
between the
value bar’s data
point and the
delta value bar’s
data point
26-26
• • • • •
26 • SETTING UP TRENDS
26 • Placeholder
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.
To pan vertically
Click and then drag the y-axis legend.
To pan horizontally
Click and then drag the x-axis legend.
26-27
• • • • •
To relocate an overlay
Right-click the trend chart, select Overlays, Relocate, and then click the name of the
overlay to relocate.
26-28
• • • • •
26 • SETTING UP TRENDS
26 • Placeholder
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.
26-29
27 Creating macros
27 • Placeholder
This chapter describes:
what macros are.
macro syntax.
running macros.
About macros
A macro is a series of commands stored in a macro component.
You can use a macro component like a command, anywhere a command can be used.
When the component name is issued, the macro runs, carrying out all the commands in the
component.
You can create macros to perform almost any action, or series of actions. For example, a
macro can:
open a group of graphic displays, and define their initial positions.
define temporary key definitions.
close any open graphic displays.
set tag values.
Macro syntax
When typing commands in macros, follow these guidelines:
Separate each identifier, specification, or string with a space or a tab.
Start each command on a new line, or separate commands on the same line with a
semicolon (;).
To insert a comment, type an exclamation mark (!) at the beginning of a new line or
immediately after a semicolon (;).
27-1
• • • • •
Everything between the exclamation mark and the end of the line, or the next
semicolon, is treated as a comment.
To replace a tag name with its current value when a command is evaluated, enclose the
tag name in dollar signs ($) to create a placeholder in the command.
When a macro containing $tag$ runs, current tag values are substituted for the
placeholders, when the macro first opens for execution.
To indicate percent in a macro, use two percent signs (%%). A single percent sign
indicates a parameter. For more information, see “Specifying parameters in a macro”
on page 27-3.
Do not use dollar signs or percent signs in comments inserted in macros. This causes errors
at run time.
For assistance while typing commands in macros, double-click anywhere in the Macros
editor to open the Command Wizard.
For information about command syntax and how to use the wizard, see Appendix A in
Volume 1 of the FactoryTalk View Site Edition User’s Guide.
When the macro runs, the graphic display called Overview opens, then the display called
Detail opens, and then the tag Valve23 is set to its open state. The displays and the tag all
are located in the area called Ingredients.
27-2
• • • • •
27 • CREATING MACROS
When the macro runs, FactoryTalk View replaces the placeholders ($Tag1$, $Tag2$) with
the current values of the specified tags.
27 • Placeholder
For example, if Tag1 (a string tag) = Mixing and Tag2 (an analog tag) = 2, then the graphic
display Process1 from the Mixing area opens, followed by the display TrendDisplay2,
also from the Mixing area.
Finally, the tag Valve23 from the home area is set to its open state. In this example, the
home area is also the area in which the macro is run.
You don’t need to put brackets around tag names when using placeholders in commands.
To run the macro, type the macro name with the parameters to substitute for the
placeholders %1 and %2:
Factory Detail Open
When the macro runs, it substitutes “Detail” wherever %1 occurs in the macro, and
substitutes “Open” wherever %2 occurs in the macro.
The actions performed are the same as in Example 1. However, in this example the macro
runs in the home area instead of the Ingredients area.
27-3
• • • • •
If the macro contains parameters, place the parameters outside the quotation marks.
Nesting macros
You can insert a macro within another macro—this is called nesting. A macro can have up
to eight nesting levels.
The single quotation mark ( ‘ ) is a special character in FactoryTalk View and cannot be used in
nested macros. Instead, use the double quotation mark ( “ ) .
With the Draw macro nested in the Factory macro, running the Factory macro performs
the same actions as in Example 3.
Running macros
At run time, an operator can run a macro anywhere they can run a FactoryTalk View
command. Ensure you include a way for the operator to run commands or macros, for
example, by specifying them as press actions for buttons.
For more information about running macros, see Help.
27-4
• • • • •
27 • CREATING MACROS
27 • Placeholder
If you have created an HMI server with components that must start in a particular order,
create a Startup macro. To make this macro run when the HMI server starts, select it as
the startup macro in the Components tab of the HMI Server Properties dialog box.
For details about specifying the startup macro:
in network applications, see page 6-17, in Volume 1 of the FactoryTalk View Site
Edition User’s Guide.
in local applications, see page 7-8, in Volume 1 of the FactoryTalk View Site Edition
User’s Guide.
You specify the client’s home area when you select components for the client configuration file.
For more information, click Help in the FactoryTalk View SE Client wizard.
For more information about logging on and off at run time, and about assigning login and
logout macros to users, see Chapter 5, “Setting up security,” in Volume 1 of the
FactoryTalk View Site Edition User’s Guide.
27-5
28 Using derived tags
28 • Placeholder
This chapter describes:
what derived tags are and how to use them.
setting up derived tags.
creating a derived tags component.
starting and stopping derived tags processing.
Writing to a tag whose value is the result of a derived tag expression is not recommended,
because a derived tag is re-evaluated whenever tags in the expression change.
For example, if a derived tag named Tag3 is defined by the expression Tag1 + Tag2, you can set
Tag3 to 0; however, the value of Tag3 will change again, when either Tag1 or Tag2 changes.
28-1
• • • • •
Form
Spreadsheet
28-2
• • • • •
28 • USING DERIVED TAGS
28 • Placeholder
When you enter information in the Derived Tags editor, the Prev and Next buttons change
to Accept and Discard buttons.
Click Accept to save derived tags information. Click Discard to cancel changes to the
derived tags file.
Do not create derived tags that depend on the results of other derived tags.
Derived tags processing is not sequential. This means the results of an expression that includes
other derived tags might not occur in the desired scan or order of evaluation. To avoid this, it is
best to put all the required logic in the expression.
These are the tasks involved in setting up derived tags for an application:
1. Create the derived tags in the Derived Tags editor in FactoryTalk View Studio.
2. Set the maximum update rate in the Derived Tag Setup dialog box.
3. Save the derived tags component and give it a name.
28-3
• • • • •
Expressions containing derived tags are evaluated only when the value of a tag or function in the
expression changes.
28-4
• • • • •
28 • USING DERIVED TAGS
Each HMI server in an network application can run up to 20 derived tag components, with
up to 1,000 tags in each component.
28 • Placeholder
Modifying existing derived tag components
You can modify derived tags during development or when you run the application.
If you change an derived tags component at run time, the changes will not take effect until
you stop and then restart derived tags processing. For information about starting and
stopping derived tags, see page 28-5.
Using clients to start and stop derived tags processing is not recommended, as one client might
stop processing a derived tags component that another client is using.
28-5
• • • • •
28-6
• • • • •
28 • USING DERIVED TAGS
28 • Placeholder
rather than servers to stop derived tags processing:
In the Graphics editor, create a button and then specify the DerivedOff <component>
command as the button’s press action. When the button is pressed, derived tags
processing stops.
In the Graphics editor, create a graphic object and then attach touch animation with
the DerivedOff <component> command as the object’s action. When the object is
touched, derived tags processing stops.
For the Logout Macro in the FactoryTalk View SE User Accounts editor, specify the
DerivedOff <component> command, or a macro that contains the command.
For the Shutdown command in the Display Settings Behavior tab, specify the
DerivedOff <component> command, or a macro that contains the command.
28-7
29 Using events
29 • Placeholder
This chapter describes:
what FactoryTalk® View Site Edition events are.
setting up events.
creating an events component.
starting and stopping events processing.
Events are detected at the FactoryTalk View SE Server (also called the HMI server).
Commands that run only at the FactoryTalk View SE Client are ignored when issued by an event
expression. For details about where commands run, see Appendix A in Volume 1 of the
FactoryTalk View Site Edition User’s Guide.
An events component is a file that contains the definitions of one or more events. An
events component can be run when an HMI server starts, or it can be run using the
EventOn command after the HMI server has started.
29-1
• • • • •
You can also open the Events editor by dragging its icon into the FactoryTalk View
Studio workspace, or by double-clicking an existing Events component.
Form
Spreadsheet
29-2
• • • • •
29 • USING EVENTS
29 • Placeholder
In the Events editor, to verify that the expression you typed uses correct syntax, click
Check Syntax. If the syntax is invalid, an error is displayed in the Check Syntax box.
You can check the syntax of an expression at any time while the Events editor is open. The
syntax is also checked automatically, when you click Accept or OK in the editor.
29-3
• • • • •
For details about options in the Events editor and in the Setup dialog box, click Help.
Do not create events that depend on other events. Events are not processed sequentially.
29-4
• • • • •
29 • USING EVENTS
29 • Placeholder
To start events processing, use any of these methods:
In the HMI Server Properties dialog box, click the Components tab, select the Events
check box, and then select an event component.
The event component will start the next time the HMI server runs, or when the HMI
server’s components are started manually.
In the Macros editor, create a macro that contains the command, EventOn
<component>. In the HMI Server Properties dialog box, click the Components tab,
select the Macro check box, and then specify the macro.
Event detection will start when the HMI server runs.
In the Graphics editor, create a button object and then specify the EventOn
<component> command as the button’s press action. When the button is pressed,
event detection starts.
In the Graphics editor, create a graphic object and attach touch animation to it, using
EventOn <component> in the Action box. When the object is touched, event detection
starts.
At the command line in FactoryTalk View Studio, or in the FactoryTalk View SE
Administration Console, type EventOn <component>, and then press Enter.
For the Login Macro in the FactoryTalk View SE User Accounts editor, specify the
EventOn <component> command, or a macro that contains the command.
For the Startup command in the Display Settings Behavior tab, specify the EventOn
<component> command, or a macro that contains the command.
29-5
• • • • •
In the Graphics editor, create a button object and then specify the EventOff
<component> command as the button’s press action. When the button is pressed,
event detection stops.
In the Graphics editor, create a graphic object and attach touch animation to it, using
EventOff <component> in the Action box. When the object is touched, event detection
stops.
At the command line in FactoryTalk View Studio, or the FactoryTalk View SE
Administration Console, type EventOff <component>, and then press Enter.
For the Logout Macro in the FactoryTalk View SE User Accounts editor, specify the
EventOff <component> command, or a macro that contains the command.
For the Shutdown command in the Display Settings Behavior tab, specify the
EventOff <component> command, or a macro that contains the command.
29-6
APPENDIX D
About XML
XML is the Extensible Markup Language used to create documents with structured
information.
XML has a standardized format and structure. You can modify the elements and attributes
of a graphic display by changing them, or by adding new ones, in the XML file.
For more, general information about XML, see the World Wide Web Consortium’s web
page about XML at:
http://www.w3.org/XML.
For specific information about importing and exporting XML files in FactoryTalk
View SE. see the FactoryTalk View Site Edition Help.
D-1
• • • • •
FactoryTalk View also creates a file called BatchImport_Application name.xml. Use this file to
import several displays at once. To import a different set of displays than you exported,
modify the list of displays names in the BatchImport_Application name.xml file.
If you include attributes for an object whose name does not match one of those in the graphic
display, those attributes are not imported. Attributes for all other objects in the file whose names
do match the ones in the graphic display are imported.
D-2
• • • • •
D • IMPORTING AND EXPORTING XML FILES
When you import modified graphic displays, the existing displays are overwritten. To save a copy
of existing displays, select Yes when the Graphics Import Export Wizard displays the prompt “Do
you want to back up the displays that will be modified by the import?”
Alternatively, you can create backup copies by exporting the existing displays, before importing
the modified ones.
D-3
• • • • •
Element Description
<gfx> Root element.
<displaySettings> Contains attributes from the Display Settings dialog box
in the Graphic Displays editor.
<object1> Contains attributes from the General and Common tabs in
the object’s Properties dialog box, as well as elements for
the object’s caption, image, animation, and connections.
D-4
• • • • •
D • IMPORTING AND EXPORTING XML FILES
Element Description
<caption> Contains attributes for the object’s caption.
<imageSettings> Contains attributes for the object’s image.
<animations> Is a group object that contains an animation element for
each type of animation set up for the object.
<animateVisibility> Contains attributes for Visibility animation.
<animateColor> Contains attributes for Color animation.
</animations> Indicates the end of the animations object.
<connections> Is a group object that contains a connection element for
each connection assigned to the object.
<connection name= “Value”> Contains attributes for the Value connection.
<connection name= “Indicator”> Contains attributes for the Indicator connection.
</connections> Indicates the end of the connections object.
</object1> Indicates the end of the object1 element.
D-5
• • • • •
INDEX
Index
Index
Symbols and Invoke command 21-25
modifying properties 21-23
.bmp files 19-27, 19-28
selecting using keyboard 20-10
.cab files 20-55
using names 21-24
.cli files 17-17, 18-7, 18-8
using with VBA code 21-25
.dat files 25-1, 25-2
ActiveX toolbox 20-54
.dxf files 19-27
activity logging
.ggfx files 19-24
See FactoryTalk Diagnostics
.gif files 19-27
adding components into an application 2-11
.jpg files 19-27
advanced objects 20-1, 20-31
.pcx files 19-27
ActiveX objects
.tif files 19-27
See ActiveX objects
.wmf files 19-27
arrow 20-31
.xml files 19-2, D-1
control list selector 20-31
[tag] parameter 21-20
creating 20-39, 20-40
Enter key handshaking 20-40
A scrolling key list 20-39
absolute references 6-6 states for 20-39
in commands A-5 value tag 20-40
syntax 6-6 display list selector 20-31
to tags 9-6 creating 20-33
acknowledge bit 11-12 states for 20-33
Acknowledge command 11-10 HMI tag alarm summary 20-31
AcknowledgeAll command 11-10 local message display 20-31
acknowledging alarms creating 20-34
FactoryTalk alarms 12-41 OLE objects 20-51
HMI tag alarms 11-10 converting 20-52
activation creating 20-52
demo mode 1-10 piloted control list selector 20-31
grace period 1-10 controlling remotely 20-42
in a redundant system 14-11 creating 20-41
running without 1-10 Enter key handshaking 20-43
Active (Can’t reach partner) 14-6 indicator tag for 20-45
Active macro remote access tag for 20-45
See On Active macro resetting Enter tag 20-44
Active state 14-4 scrolling key list 20-42
ActiveX objects 19-2, 20-2, 20-53 states for 20-41, 20-44
applying animation to 21-22 top position tag 20-45
deploying automatically 20-55 value tag 20-43, 20-45
events 21-25 visible states tag 20-45
highlighting in a display 20-10 recipe object 20-31
methods 21-25 selecting using keyboard 20-10
I–1
• • • • •
I–2
• • • • •
INDEX
Index
home area 6-5, 9-6 running a key file 22-11
in Execute command parameters 11-37 color 19-17
in network applications 6-2 in graphic objects 21-8
maximum number of HMI servers 6-13 in HMI tag alarm summaries 11-32
showing in HMI tag alarm summaries in trends 26-13
11-34 color animation 21-8
arithmetic operators 23-6 Command Wizard 2-15
arranging graphic objects 19-10 building commands in 2-14
arrow graphic objects 20-31 commands A-1
audit messages 15-3 See also individual command entries
auto-repeat for keys 20-31 absolute references to A-5
availability building in Command Wizard 2-14
See system availability connecting to ActiveX events 21-25
display caching 26-22
B execution of A-3
for moving among displays 22-2
Background Color palette 19-18
in macros 2-15
bar graph objects 20-29
placeholders in A-2
base objects 19-2
relative references in A-5
tag placeholders in 19-33
setting up security for 5-17
See also global objects
startup and shutdown 19-41
bitwise operators 23-8
using placeholders in 27-2
Browse button 2-14
using touch animation to run 21-13
buffer zone
Common actions
See HMI tag alarms, deadband
buffering messages 15-6
See security permissions, Common actions
communications 8-1, 8-2
built-in alarm detection 12-2
DDE
Business Objects Crystal Reports 25-1
and FactoryTalk Diagnostics 15-1
See DDE communications
error function 23-16
button objects 20-11, 20-12
planning 3-4
opening displays with 22-5
computer accounts 5-26
condition-related events 12-6
C Connections tab 19-20
CABARC.exe 20-55 constants 23-6
caching graphic displays 19-38 contacting
calling methods 21-25 Rockwell Automation P-4
captions 20-7 technical support P-4
changing passwords 5-7 control
Check Syntax button 23-4 See animation
circle graphic object 20-5 control list selectors 20-31, 20-39, 20-44
client copying HMI servers 17-7
See FactoryTalk View SE Client creating display templates 3-11
I–3
• • • • •
I–4
• • • • •
INDEX
Index
HMI projects 17-6 See graphic displays
RSLinx Classic 17-15 Displays editor
RSLinx Enterprise 17-15 See Graphics editor
restoring 17-9 distributed applications
the Network Directory 17-10 See network applications
setting up the Network Directory 17-5 docking graphic displays 12-39, 19-45
specifying the location of 17-6 Download command 20-23
steps involved in 17-2 DownloadAll command 20-23
synchronizing HMI servers with projects drawing objects 20-1
17-14 arc 20-6
derived tags 28-1 circle 20-5
commands ellipse 20-5
DerivedOff 28-6 images 20-8
DerivedOn 28-5, 28-6 adding into displays 20-8, 20-9
creating 28-4 adding to an application 20-8
limits 28-5 modifying properties 20-6
maximum update rate for 28-4 panel 20-8
modifying 28-5 polygon 20-5
starting and stopping processing 28-5 polyline 20-5
deviation alarms 12-9 rectangle 20-4
device-based alarms 11-2, 12-2, 12-3 rounded rectangle 20-4
Diagnostics List 2-5, 15-7 square 20-4
clearing messages 2-5, 15-8 text 20-7
hiding and showing 2-6 choosing fonts 20-7
Diagnostics Viewer 15-9 wedge 20-6
opening at run time 15-9 duplicating graphic objects 19-9
disabling alarms 12-48
display cache 19-38, 22-6 E
adding displays 19-43
Edit Display mode 19-23, 26-4
removing displays 19-44
electronic signatures 20-55
Display command
ellipse graphic object 20-5
and key lists 21-20
embedded variables 24-1
caching parameters for 19-43
displaying at run time 24-8
docking parameters for 19-45
inserting 24-1
position parameters for 19-40
in captions 24-2
display grid 19-7
in local messages 24-2
display hierarchy 3-10
in title bar text 24-3
display keys 21-17
in tooltips 24-3
creating 21-19
modifying 24-3
key list 21-19
numeric variables 24-3
precedence 22-7
syntax with numbers 24-4
running commands with 21-20
I–5
• • • • •
I–6
• • • • •
INDEX
Index
alarm displays 12-10, 12-34 alarm tags for 12-53
alarm faults 12-8 deviation alarms 12-27
alarm history logging 12-22 digital alarms 12-24
alarm logs 12-14 in Alarm and Event Setup editor 12-28
alarm messages 12-14 level alarms 12-25
alarm monitoring status tags for 12-28
security for 12-17 update rates for 12-31
setting up 12-15 FactoryTalk Diagnostics 15-1
alarm priority 12-11 See also Diagnostics List
modifying 12-12 audiences 15-4
setting up 12-22 categorizing tag writes 15-4
alarm servers destinations 15-2
RSLinx Enterprise 12-18 getting Help for 15-2
Tag Alarm and Event Servers 12-21 logging to ODBC 15-5
alarm severity 12-11 buffering messages 15-6
alarm states 12-13 messages 15-3
alarm status explorer 12-11, 12-45 audiences 15-4
disabling alarms in 12-48 categories 15-3
parts 12-46 routing 15-2, 15-5
suppressing alarms in 12-48 Setup tool 15-4
viewing details in 12-47 viewing log files 15-9
alarm status tags 12-14 FactoryTalk Diagnostics Viewer
alarm tags 12-13, 12-52 See Diagnostics Viewer
built-in alarm functions 12-54 FactoryTalk Directory 4-1
number of alarms 12-55 local cache 14-6
severity 12-54 Local Directory 1-10, 4-1
specifying alarm source 12-56 setting up 4-7
deadband 12-8 Network Directory 1-10, 4-1
deviation alarms 12-9 backing up 17-5
digital alarms 12-10 managing multiple applications 4-4
disabling alarms 12-43 monitoring server status 14-7
enabling alarms restoring 17-10
security permissions for 12-44 specifying localhost 4-5
history logging 12-31 specifying location of 17-6
defining databases 12-33 restoring 4-7
enabling 12-33 service disruptions 4-8
importing and exporting alarms 12-59 single sign-on to 5-5
formats 12-60 FactoryTalk Security
latched digital alarms 12-10, 12-43 assigning permissions 5-31
resetting 12-43, 12-44 authorizing users 5-1
level alarms 12-7 changing passwords 5-7
limits 12-7 computer accounts 5-25
I–7
• • • • •
I–8
• • • • •
INDEX
Index
about FactoryTalk View SE P-2 graphic displays 19-1
in this manual P-2 aligning objects in 19-11
on the Internet P-3 appearance of 19-35
flipping graphic objects 19-14 arranging objects in 19-10
FlushCache command 19-41, 19-44 assigning parameter files to 19-31
running on shutdown 19-41 behavior of 19-35
fonts 20-7 caching 19-38, 22-6
for Windows languages 13-5 using the Display command 19-43
in HMI tag alarm summaries 11-32 color for input objects in 19-42
substituting at run time 20-7 commands
Foreground Color palette 19-18 display caching parameters 19-43
functions Download 20-23
See expressions, built-in functions DownloadAll 20-23
FlushCache 19-41, 19-44
G PrintDisplay 19-48
PullForward 19-37
gauge and graph objects 20-1
PushBack 19-37
bar graph 20-29
RecipeRestore 20-37
using to compare values 20-28
RecipeSave 20-38, 20-39
gauge 20-29
ScreenPrint 19-48
using to show limits 20-27
SetFocus 19-37
scale 20-29
shutdown 19-41
global object displays 19-24
startup 19-41
at run time 19-25
Upload 20-23, 20-38
base objects in 19-2
UploadAll 20-23, 20-38
creating 19-24, 19-25
creating Help for 21-21
from standard display 19-25
creating templates for 3-11, 19-44
creating global objects in 19-2, 20-46
default settings for 19-44
file type 19-24
defining display keys 21-19
location of 19-24
designing 3-10
global objects 19-24, 20-2, 20-46
docking 12-39, 19-45
animating 21-7
closing docked displays 19-47
base objects 19-2
duplicating objects in 19-9
breaking links 20-51
exporting to XML D-1
in global object displays 19-24
flipping objects in 19-14
parameter values for 19-33
global object displays 19-24
reference objects 19-2
grouping objects in 19-15
and the graphic libraries 20-48
HMI tag alarm information in 11-9
breaking links 20-51
importing XML D-3
creating 20-47
improving performance 19-43
link to base object 20-47
interactive objects in 19-42
linked properties 20-48
line properties for objects in 19-19
I–9
• • • • •
I–10
• • • • •
INDEX
Index
testing states 19-23 maximum length 2-12
tooltips 19-21 spaces in 2-12
embedded variables in 24-3 in Explorer window 2-10
using data in 20-9 in HMI servers 6-5
using index numbers to navigate 21-14 opening 2-11
viewing states 19-23 relative references to 6-6
in Property Panel 19-24 viewing 2-10
in States toolbar 19-23 HMI projects 6-5, 7-4
Graphics editor 19-3 deleting project files 6-20
display area 19-4 gaining access to folder 2-2
shortcut menus 19-8 moving project files 17-6
status bar 19-4 HMI servers 6-4
toolbars 19-3, 19-7 about redundancy for 6-8
ActiveX toolbox 20-54 See also system availability
group edit mode 19-17 adding to an application 6-11
grouped objects 19-15 as DDE client B-2
animating 21-5 copying 17-7
ungrouping 19-16 deleting 6-19
HMI services
H starting manually 17-14
stopping manually 17-13
HandshakeOn command 11-13
in local applications 7-2, 7-4
handshaking
in network applications 6-2
for Enter key 20-43, 20-45
installing the HMIBackup utility 17-8
handshake bit 11-13
limits in redundant system 14-11
Health Monitoring Policy 14-31
monitoring disk space 17-21
highlight
monitoring status 7-9
enabling or disabling 19-42
On active macro 6-18
for ActiveX objects 20-10
On standby macro 6-18
for trend objects 20-10, 26-13
properties 6-14, 7-7, 17-10, 18-5
historical alarms and events 12-14
running multiple servers 6-13
HMI analog tags 10-1
showing in Tag Browser 9-9
setting up alarms for 11-20
starting and stopping 17-12, 18-5
HMI clients 6-5, 7-4
startup components 6-17
HMI device tags
synchronizing with projects 17-14
data sources for 10-8
using multiple servers 6-12
DDE communications B-2
HMI string tags 10-1
HMI digital tags 10-1
HMI system tags 10-1
setting up alarms for 11-20
HMI Tag Alarm Log Viewer 11-27
HMI memory tags 10-9
HMI tag alarms 9-3, 11-1, 12-4
HMI project components
acknowledging 11-10, 11-12
absolute references to 6-6
acknowledge bit 11-12
I–11
• • • • •
I–12
• • • • •
INDEX
Index
setting up security for 5-19, 9-2 specifying behavior 19-42
string tags 10-1 input objects 20-19
syntax for OPC addresses 10-8 commands
system tags 10-1 Download 20-23
Tags editor 10-4 DownloadAll 20-23
using in expressions 10-3 NextPosition 21-16
HMIBackup utility 17-8 Position 21-16
home area 6-5, 9-6 PrevPosition 21-16
finding tags in 9-9 Upload 20-23, 20-38
horizontal position animation 21-11 UploadAll 20-23, 20-38
horizontal slider animation 21-13 highlight for
Host unreachable 14-4 enabling or disabling 19-42
question marks in 20-37
I retrieving data using 20-20
sending data using 20-20
Identify command 11-39
shortcut keys for 20-22
if-then-else expressions 23-19
specifying behavior for 19-42
images 20-8
specifying color for 19-42
importing 20-9
updating values continuously 20-21
pasting into displays 20-9
validating operator input 20-22
placing in displays 20-8
interactive objects
importing
specifying behavior of 19-42
graphic displays D-1
translated text files
See also advanced objects
interlocked push buttons 20-12, 20-17
See language switching
Invoke command 21-25
index numbers 21-14
checking 21-15
modifying 21-17 K
removing 20-11 key list 21-19
indicator objects 20-1 disabling 21-20
connecting to tags 20-26 key navigation 20-10
indicator tag 20-26, 20-45 turning off 20-11
list indicator 20-25 key objects 20-1, 20-30
creating 20-27 auto-repeat for 20-31
multistate indicator 20-25 backspace 20-30
creating 20-26 End 20-30
states for 20-25 Enter 20-30
least significant bit 20-26 Home 20-30
symbol indicator 20-25 Move down 20-30
creating 20-26 Move left 20-30
information messages 15-3 Move right 20-30
inheriting security permissions 5-33 Move up 20-30
I–13
• • • • •
I–14
• • • • •
INDEX
Index
logical operators 23-7
login and logout macros 27-5 N
Logix5000 devices 9-5
network
alarm instructions in 12-2
planning layout of 3-2
network applications 2-1, 6-1
M adding Tag Alarm and Event Servers
macros 27-1 6-12, 7-7
I–15
• • • • •
I–16
• • • • •
INDEX
Index
maintained 20-11, 20-14 restoring network applications 17-9
momentary 20-11, 20-13 Rockwell Automation
multistate 20-12, 20-16 contacting P-4
ramp 20-12, 20-18 technical support P-4
run-time error state for 20-17 web sites P-3
selecting using keyboard 20-10 Rockwell Automation Device Servers 12-6,
12-18
Q See also data servers, RSLinx Enterprise
rotating graphic objects 19-15, 21-11
Quick Start
rotation animation 21-11
VBA code 16-2
rounded rectangle graphic object 20-4
RSAssetSecurity
R See FactoryTalk Security
ramp push buttons 20-12, 20-18 RSLinx Enterprise
Ready to provide service 14-4 See data servers
recipe objects 20-31 RSLogix 5000 9-5
recipes 20-36 run time
and on-screen keyboard 19-43, 20-23 authorizing operations 20-55
commands docking displays to client window 12-39,
Download 20-23 19-45
DownloadAll 20-23 font substitution 20-7
RecipeRestore 20-37 global object displays 19-25
RecipeSave 20-39 preventing scroll bars 19-39
Upload 20-23, 20-38 restoring recipes 20-36
UploadAll 20-23, 20-38 setting up FactoryTalk View SE Clients
index numbers in 21-16 for local applications 18-7
rectangle graphic object 20-4 for network applications 17-16
reference objects 19-2, 19-24, 20-47 troubleshooting trends 26-29
See also global objects updating reference objects 19-2
creating 20-47 running
linking to base object 19-24 FactoryTalk View Studio 2-1
linked properties 20-48, 21-7 Samples Water client 1-12
parameter values for 19-33 Runtime Secured Commands editor 5-17
updating at run time 19-2 Runtime Security
referencing tags 9-6 See security codes
relational operators 23-7 Runtime Security editor 5-11
relative references 6-6
in commands A-5 S
syntax 6-6
Samples Water 1-10
to tags 9-6
in FactoryTalk View Studio 1-11, 2-2
remote access tag 20-45
running 1-12
Replace type graphic displays 19-36
I–17
• • • • •
I–18
• • • • •
INDEX
Index
Ctrl-PgUp 20-23 and the Network Directory 4-8, 14-8
Enter 20-23 application server redundancy 6-13, 14-2,
PgDn 20-22 14-8, 14-12
PgUp 20-23 client and server connections 14-31
Tab 20-23 features in FactoryTalk View SE 3-8,
Tab 21-16 14-1
square graphic object 20-4 Health Monitoring Policy 14-31
stacking graphic objects 19-10 HMI server redundancy 6-8, 6-16, 14-13,
stand-alone applications 14-14
See local applications copying project files 14-14
Standby macro failover to secondary 14-21
See On standby macro limits 14-11
Standby state 14-6 On standby macro 6-18
Starting state 14-4 replicating changes 6-17, 14-16, 17-14
Startup macro 27-5 server failure conditions 14-21
using with trends 26-22 specifying the Network Directory
States toolbar 19-17, 19-23 14-13
I–19
• • • • •
I–20
• • • • •
INDEX
Index
ungrouping graphic objects 19-16
displaying tag values 26-12
Upload command 20-23, 20-38
highlighting in a display 20-10
UploadAll command 20-23, 20-38
in graphic libraries 26-21
user accounts 5-25
isolated graphing 26-11
legends 26-7
See also FactoryTalk Security
Administrators group 5-23
current value legend 26-7, 26-14
authorizing 5-1
line legend 26-7, 26-15
in FactoryTalk View
x-axis and y-axis 26-6
adding 5-11
modifying properties 26-13
removing 5-16
at run time 26-23
login and logout macros for 5-15, 27-5
overlays 26-18
Windows-linked users 5-24
adding 26-19
at runtime 26-28
panning in 26-27 V
parts of 26-5 value tag 20-45
pens 26-7 VBA
icons 26-7 Help for 16-8
markers 26-8 VBA code
selecting at run time 26-23 planning how to use 3-14
shading in 26-15 using to animate ActiveX objects 21-22
planning 3-12 using with ActiveX objects 21-25
printing 26-28 VBA documentation 16-8
running in the background 26-22 VBA IDE 16-1, 16-3
scrolling 26-24 about procedures 16-2
shading 26-15 Object Browser 16-7
snapshots 26-18 Procedure window 16-4
adding as an overlay 26-19 Project Explorer 16-4
creating 26-19 Properties window 16-4
templates 26-20 ThisDisplay module 16-4
loading 26-21 VBA Integrated Development Environment
testing 26-4 See VBA IDE
troubleshooting 26-29 vertical position animation 21-11
using at run time 26-22 vertical slider animation 21-14
using multiple pens 26-11 viewing objects 16-7
value bar 26-9 visibility animation 21-8
delta value bar 26-26 visible states tag 20-45
x-axis 26-6
y-axis 26-6 W
zooming 26-27
wallpaper 19-22
warning messages 15-3
wedge graphic object 20-6
I–21
• • • • •
I–22