RS View Complete Course Manual
RS View Complete Course Manual
Supervisory Edition
Distributed HMI for Enterprise Solutions
User’s Guide
Doc ID VIEWSE-UM001A-EN-E
Contacting Technical Support Telephone—440-646-5800
Rockwell Software Technical Support Fax—440-646-5801
World Wide Web Support Library—www.software.rockwell.com, or
support.rockwellautomation.com
Copyright Notice E2001 Rockwell Software Inc., a Rockwell Automation Company. All rights reserved.
Printed in the United States of America.
Portions copyrighted by the Allen-Bradley Company, LLC, a Rockwell Automation
Company.
This manual and any accompanying Rockwell Software products are copyrighted by
Rockwell Software Inc. Any reproduction and/or distribution without prior written
consent from Rockwell Software Inc. is strictly prohibited. Please refer to the license
agreement for details.
VBA and DCOM, Copyright 1996, 1997 Microsoft Corporation. All rights reserved.
Trademark Notices WINtelligent Series is a registered trademark. The Rockwell Software logo, RSAssistant,
RSBatch, RSData, RSEmulate 5, RSEmulate 500, RSGuardian, RSHarmony, RSKeys,
RSLinx, RSLogix 5, RSLogix 500, RSPower, RSPowerCFG, RSPowerRUN, RSServer32,
RSServer, RSServerToolkit, RSSql, RSToolbox, RSTrainer, RSTrend, RSTune, RSView32,
RSView32 Resource Kit, RSView, RSWire, A.I. Series, Advanced Interface (A.I.) Series,
AdvanceDDE, ControlGuardian, ControlView, INTERCHANGE, Object Smart Path,
Packed DDE, WINtelligent, WINtelligent EMULATE 5, WINtelligent EMULATE 500,
WINtelligent LOGIC 5, WINtelligent VIEW, WINtelligent RECIPE, WINtelligent
VISION, WINtelligent VISION2, and RSTools are trademarks of Rockwell Software Inc.
PLC, PLC-2, PLC-3, and PLC-5 are registered trademarks, and Data Highway Plus, DH+,
DHII, DTL, Network DTL, Pyramid Integrator, PanelBuilder, PanelView, PLC-5/250,
PLC-5/20E, PLC-5/40E, PLC-5/80E, SLC, SLC 5/01, SLC 5/02, SLC 5/03, SLC 5/04,
SLC 5/05, SLC 500, ControlLogix 5550, and SoftLogix are trademarks of the Allen-Bradley
Company, Inc.
AutoCAD is a registered trademark of Autodesk, Inc. dBASE IV is a registered trademark
of Borland International, Inc. Ethernet is a registered trademark of Digital Equipment
Corporation, Intel, and Xerox Corporation. IBM is a registered trademark, and AIX,
PowerPC, Power Series, and RISC System/6000 are trademarks of International Business
Machines Corporation. Microsoft, MS-DOS, Visual Basic, and Windows are registered
trademarks, and ActiveX, Microsoft Access, Visual FoxPro, and Windows NT are
trademarks of the Microsoft Corporation. Modicon is a registered trademark of Groupe
Schneider. OPC is a trademark of the OPC Foundation. Seagate Crystal Reports is a
trademark of Seagate Technology, Inc. or one of its subsidiaries. TrueType is a trademark of
Apple Computer, Inc. UNIX is a registered trademark in the United States and other
countries, licensed exclusively through X/Open Company Limited. Visio is a registered
trademark of Visio Corporation. Sybase is a registered trademark of Sybase Inc. Oracle is
a registered trademark of Oracle Corporation.
All other trademarks are the property of their respective holders and are hereby
acknowledged.
Warranty This Rockwell Software product is warranted in accord with the product license. The
product’s performance will be affected by system configuration, the application being
performed, operator control and other related factors. The product’s implementation may
vary among users.
This manual is as up-to-date as possible at the time of printing; however, the accompanying
software may have changed since that time. Rockwell Software reserves the right to change
any information contained in this manual or the software at any time without prior notice.
The instructions in this manual do not claim to cover all the details of variations in the
equipment, procedure, or process described, nor to provide directions for meeting every
possible contingency during installation, operation, or maintenance.
Doc ID VIEWSE-UM001A-EN-E
December 2001
Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P- 1
About the documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P-1
Technical support services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P-2
Try the user’s guides and Help first . . . . . . . . . . . . . . . . . . . . . . . . P-2
Information on the Internet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P-2
Contacting Rockwell Software Technical Support . . . . . . . . . . . . P-4
Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1- 1
The main parts of RSView Supervisory Edition . . . . . . . . . . . . . . . . . 1-1
Features in brief . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
The RSView Enterprise tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
The Rockwell Software utilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
Quick Start steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6
Start with a plan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6
Step 1 H Set up the FactoryTalk Directory . . . . . . . . . . . . . . . . . 1-6
Step 2 H Create and organize an application . . . . . . . . . . . . . . . . 1-7
Step 3 H Add an HMI server to your application . . . . . . . . . . . . . 1-7
Step 4 H Plan how you will access data . . . . . . . . . . . . . . . . . . . . 1-7
Step 5 H Set up communications for data server tags . . . . . . . . . 1-8
Step 6 H Set up communications for HMI tags . . . . . . . . . . . . . . . 1-8
Step 7 H Create HMI tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9
Step 8 H Create graphic displays, trends, and alarm summaries 1-10
Step 9 H Set up logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-10
Step 10 H Secure your system . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-11
Step 11 H Customize and integrate RSView with
other applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-11
Contents ■ i
Exploring the RSView Studio main window . . . . . . . . . . . . . . . . . . . 2-5
The menu bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
The toolbar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
The Application Explorer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
The workspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
The activity bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
The status bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
Showing and hiding items in the main window . . . . . . . . . . . . . . 2-8
Working in the Application Explorer . . . . . . . . . . . . . . . . . . . . . . . . . 2-9
Undocking the Application Explorer . . . . . . . . . . . . . . . . . . . . . . 2-9
Folders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10
Editors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-11
Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14
Adding components to an application . . . . . . . . . . . . . . . . . . . . . . . . . 2-15
Renaming, removing, and deleting components . . . . . . . . . . . . . . . . . 2-17
Renaming a component . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-17
Removing a component . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-18
Deleting a component and file . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-18
Naming components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-19
Techniques for working in editors . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-20
Using the shortcut menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-20
Using the Browse button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-20
Entering tag names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-20
Using RSView commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-21
Using expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-22
Printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-22
Selecting a printer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-23
Setting up the printer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-24
Selecting a network printer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-24
Printing at runtime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-24
Planning an application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3- 1
The planning process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Understanding the process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
Collecting data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
Planning communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
Designing an HMI tag database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
Collect information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
Organize HMI tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
Contents ■ iii
Setting up communications for HMI tags . . . . . . . . . . . . . . . . 6- 1
Where to find information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-2
About OPC communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-2
Overview of OPC communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-3
Summary of steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-4
Creating an OPC node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-4
Changing node information at run time . . . . . . . . . . . . . . . . . . . . . . . 6-11
Scanning for new tag values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-12
Contents ■ v
Specifying a data source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-18
Specifying device as the data source . . . . . . . . . . . . . . . . . . . . . . . . 8-18
Specifying memory as the data source . . . . . . . . . . . . . . . . . . . . . . 8-20
Other methods for creating HMI tags . . . . . . . . . . . . . . . . . . . . . . . . . . 8-20
Creating tags in a third-party application . . . . . . . . . . . . . . . . . . . 8-21
Creating tags as needed in other RSView editors . . . . . . . . . . . . . 8-21
Importing tags from a PLC database . . . . . . . . . . . . . . . . . . . . . . . . 8-21
Using the Tag Import and Export Wizard . . . . . . . . . . . . . . . . . . . 8-24
Adding alarms to HMI tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-24
Getting HMI tag values from servers . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-25
Contents ■ vii
Using the alarm log viewer at run time . . . . . . . . . . . . . . . . . . . . . 10-59
Creating an alarm summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-60
Creating an alarm summary object . . . . . . . . . . . . . . . . . . . . . . . . 10-60
The parts of an alarm summary . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-61
Inserting headings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-62
Choosing fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-63
Choosing colors and blink styles . . . . . . . . . . . . . . . . . . . . . . . . . . 10-64
Formatting buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-65
Choosing data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-69
Filtering data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-70
Sorting data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-75
Running commands, macros, or custom
programs in response to alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-76
Using alarm data with commands . . . . . . . . . . . . . . . . . . . . . . . . . 10-79
Viewing the area name in tag names . . . . . . . . . . . . . . . . . . . . . . . 10-82
Suppressing alarm printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-82
Using AlarmOn and AlarmPrintOff in the correct order . . . . . . 10-83
Suppressing alarm monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-83
Suppressing alarm monitoring for tags . . . . . . . . . . . . . . . . . . . . . 10-84
Viewing suppressed tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-84
Using the Suppressed List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-85
More RSView commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-85
Starting and stopping alarm monitoring . . . . . . . . . . . . . . . . . . . . . . . 10-86
Ways to start alarm monitoring at the HMI server . . . . . . . . . . . . . 10-86
Ways to stop alarm monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-87
Contents ■ ix
Never creating new files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-25
Using the DataLogNewFile command to create files . . . . . . . . . . . . 12-26
Deleting ODBC database records and file sets . . . . . . . . . . . . . . . . . . . 12-27
Specifying when to log data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-30
Logging periodically . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-31
Logging on change . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-31
Logging on demand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-32
Using the DataLogSnapshot command . . . . . . . . . . . . . . . . . . . . . 12-33
Combining logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-34
Providing operators with a way to log on demand . . . . . . . . . . . 12-34
Choosing the data to be logged . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-35
Editing the data log model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-36
Changing log paths using the RSView Administration Console 12-36
Making run-time changes without editing the data log model . . . . . 12-37
Changing the log rate for periodic logging . . . . . . . . . . . . . . . . . . 12-38
Changing the log file identifier string . . . . . . . . . . . . . . . . . . . . . . 12-38
Displaying historical data in a trend . . . . . . . . . . . . . . . . . . . . . . . . . . 12-39
Starting and stopping data logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-39
Ways to start data logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-39
Ways to stop data logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-40
Contents ■ xi
Using the Display Settings dialog box . . . . . . . . . . . . . . . . . . . . . . 15-13
Setting up display properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-14
Specifying the display type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-15
Allowing multiple running copies . . . . . . . . . . . . . . . . . . . . . . . . . 15-16
Specifying caching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-17
Setting up the title bar and other display attributes . . . . . . . . . . . 15-18
Preventing scroll bars on the main window . . . . . . . . . . . . . . . . . 15-20
Specifying display size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-21
Specifying how displays are resized . . . . . . . . . . . . . . . . . . . . . . . . 15-22
Specifying display position . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-23
Specifying a security code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-23
Specifying background color . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-23
Setting up display behavior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-24
Specifying startup and shutdown commands . . . . . . . . . . . . . . . . 15-25
Specifying colors for input fields. . . . . . . . . . . . . . . . . . . . . . . . . . . 15-26
Specifying the behavior of interactive objects . . . . . . . . . . . . . . . . 15-26
Specifying the behavior of objects with input focus . . . . . . . . . . 15-27
Displaying the on-screen keyboard . . . . . . . . . . . . . . . . . . . . . . . . 15-28
Displaying graphics more quickly . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-30
Removing displays from the cache . . . . . . . . . . . . . . . . . . . . . . . . . 15-30
Types of graphic objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-31
Creating drawing objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-32
Creating text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-32
Choosing a font . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-32
Font substitution at run time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-35
Adding an image to a graphic display . . . . . . . . . . . . . . . . . . . . . . 15-35
Pasting images into graphic displays . . . . . . . . . . . . . . . . . . . . . . . 15-36
Placing images in graphic displays . . . . . . . . . . . . . . . . . . . . . . . . . 15-36
Adding images to your application . . . . . . . . . . . . . . . . . . . . . . . . 15-40
Creating a panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-41
Drawing a rounded rectangle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-43
Drawing a rectangle or square . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-44
Drawing an ellipse or circle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-44
Drawing a line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-45
Drawing a polyline or polygon . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-45
Drawing a freehand object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-46
Drawing an arc or wedge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-46
Changing the properties of drawing objects . . . . . . . . . . . . . . . . . . . . 15-48
Reshaping drawing objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-50
Creating objects that use data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-51
Contents ■ xiii
Setting up what the multistate push button does when it is pressed and
released . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-108
Setting up whether the multistate push button repeats
when held down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-112
Connecting the multistate push button to data . . . . . . . . . . . . . . 15-113
Creating interlocked push buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-114
Setting up the appearance and value of the
interlocked push button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-116
Setting up the appearance of the interlocked push button
when it is pressed and released . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-118
Connecting the interlocked push button to data . . . . . . . . . . . . . 15-122
Creating ramp push buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-123
Setting up the appearance of the ramp push button,
and how it works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-125
Setting up the text that appears on the ramp push button . . . . . . 15-128
Setting up whether the ramp push button repeats
when held down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-131
Connecting the ramp push button to data . . . . . . . . . . . . . . . . . . . 15-132
Creating numeric or string fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-132
Creating numeric display fields . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-133
Creating string display fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-134
Creating numeric or string input fields . . . . . . . . . . . . . . . . . . . . . 15-136
Using input fields at run time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-142
Updating tag values continuously . . . . . . . . . . . . . . . . . . . . . . . . . 15-142
Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-143
RSView commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-144
Using the on-screen keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-144
How to use indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-146
How to use the States tab for indicators . . . . . . . . . . . . . . . . . . . . 15-147
How to use the Connections tab for indicators . . . . . . . . . . . . . . 15-148
Creating multistate indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-148
Setting up the appearance of the multistate indicator,
and its number of states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-150
Setting up how the multistate indicator’s appearance
changes to match its value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-151
Connecting the multistate indicator to data . . . . . . . . . . . . . . . . . 15-155
Creating symbol indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-156
Setting up the appearance of the symbol indicator,
and its number of states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-158
Setting up how the symbol indicator changes appearance
when its value changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-159
Connecting the symbol indicator to data . . . . . . . . . . . . . . . . . . . 15-161
Contents ■ xv
Creating local message displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-225
Setting up the appearance of the local message display . . . . . . . . 15-227
Connecting the local message display to data . . . . . . . . . . . . . . . . 15-229
Creating recipe fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-230
Creating a recipe file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-231
Using a recipe at run time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-234
Creating time and date displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-237
Setting up the appearance of the time and date display . . . . . . . . 15-238
Using local messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-240
Basic steps for setting up local messages . . . . . . . . . . . . . . . . . . . . 15-240
Creating local messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-244
Creating local messages using a spreadsheet application . . . . . . . 15-245
Creating and editing OLE objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-247
Other methods for inserting OLE objects . . . . . . . . . . . . . . . . . . . . 15-248
Converting OLE objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-249
Creating and editing ActiveX objects . . . . . . . . . . . . . . . . . . . . . . . . . 15-251
Making ActiveX objects interact with RSView . . . . . . . . . . . . . . 15-253
Using VBA code to make ActiveX objects interact
with RSView . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-254
Using the ActiveX Toolbox . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-254
Deploying ActiveX components automatically at run time . . . . . . . 15-256
Replacing text associated with objects . . . . . . . . . . . . . . . . . . . . . . . . 15-256
Using the Property Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-258
Setting up properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-259
Assigning tags and expressions to objects . . . . . . . . . . . . . . . . . . . 15-262
Naming graphic objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-264
Adding ToolTips to objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-264
Working with objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-266
Selecting and deselecting objects . . . . . . . . . . . . . . . . . . . . . . . . . . 15-266
Using the Object Explorer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-268
Moving objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-270
Copying objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-271
Duplicating objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-273
Resizing objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-274
Arranging objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-275
Grouping and ungrouping objects . . . . . . . . . . . . . . . . . . . . . . . . . 15-276
Editing grouped objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-277
Stacking objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-278
Aligning objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-279
Contents ■ xvii
Setting up horizontal position animation . . . . . . . . . . . . . . . . . . . . . . 16-24
Setting up vertical position animation . . . . . . . . . . . . . . . . . . . . . . . . . 16-26
Setting up width animation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-28
Setting up height animation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-30
Setting up rotation animation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-32
How rotation animation works . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-32
Setting up touch animation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-36
Setting up horizontal slider animation . . . . . . . . . . . . . . . . . . . . . . . . 16-38
Setting up vertical slider animation . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-40
Setting up OLE verb animation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-42
Attaching other types of animation to OLE objects . . . . . . . . . . . 16-43
Animating ActiveX controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-43
Naming an ActiveX object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-44
Connecting tags to an ActiveX object’s properties . . . . . . . . . . . . . . 16-45
Connecting tags to an object’s methods . . . . . . . . . . . . . . . . . . . . . . . 16-46
Viewing an object’s methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-47
Using the Invoke command to call a method . . . . . . . . . . . . . . . . 16-47
Connecting tags to an ActiveX object’s events . . . . . . . . . . . . . . . . 16-49
Using VBA code to make ActiveX objects interact
with RSView . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-50
Associating objects and displays with keys . . . . . . . . . . . . . . . . . . . . 16-50
Creating object keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-51
Using index numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-54
How tab index numbers work . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-54
Checking an object’s index number . . . . . . . . . . . . . . . . . . . . . . . . 16-55
Changing index numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-55
Creating a tab sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-57
Using the Current [Tag] parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-58
Summary of steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-58
Three examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-59
Creating display keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-65
Editing display and object keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-67
Modifying a key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-67
Removing a key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-68
Removing all keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-68
Viewing the key list at run time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-69
Disabling the key list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-70
Contents ■ xix
Setting up the appearance of a trend . . . . . . . . . . . . . . . . . . . . . . . . . . 17-23
Selecting a chart style . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-25
Setting up the chart update method . . . . . . . . . . . . . . . . . . . . . . . . 17-26
Setting up the chart display options . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-28
Displaying a current value legend . . . . . . . . . . . . . . . . . . . . . . . . . 17-30
Displaying a line legend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-31
Determining how the trend chart is filled with data . . . . . . . . . . 17-33
Adding pens to the trend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-35
Adding a pen from a data log model . . . . . . . . . . . . . . . . . . . . . . . 17-36
Deleting a pen from the trend . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-38
Setting up pen attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-38
Editing multiple pens simultaneously . . . . . . . . . . . . . . . . . . . . . . 17-44
Setting up the horizontal axis (x-axis) . . . . . . . . . . . . . . . . . . . . . . . . . 17-45
Setting up the X-Axis display options . . . . . . . . . . . . . . . . . . . . . . 17-46
Setting up the vertical axis (y-axis) . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-48
Defining the range of numbers on the vertical axis . . . . . . . . . . . 17-48
Setting up the Y-Axis display options . . . . . . . . . . . . . . . . . . . . . . 17-50
Setting up a vertical scale for multiple pens . . . . . . . . . . . . . . . . . 17-52
Comparing real-time and historical data . . . . . . . . . . . . . . . . . . . . . . . 17-53
Setting up snapshots and overlays . . . . . . . . . . . . . . . . . . . . . . . . . 17-54
Changing the attributes of a snapshot pen . . . . . . . . . . . . . . . . . . 17-55
Setting up overlay attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-56
Creating a trend template . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-58
Creating and saving a new template . . . . . . . . . . . . . . . . . . . . . . . 17-59
Loading a template . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-60
Deleting a template . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-60
Loading a template during run time . . . . . . . . . . . . . . . . . . . . . . . 17-61
Setting up the trend’s run-time behavior . . . . . . . . . . . . . . . . . . . . . . . 17-62
Changing the trend’s appearance at run time . . . . . . . . . . . . . . . . 17-62
Setting up chart behavior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-63
Setting up shortcut menu options . . . . . . . . . . . . . . . . . . . . . . . . . 17-63
Using the Trends graphic library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-65
Using the trend at run time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-66
Collecting data in the background during run time . . . . . . . . . . . 17-66
Selecting pens . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-67
Opening TrendX tabs at run time . . . . . . . . . . . . . . . . . . . . . . . . . 17-67
Using the shortcut menu at run time . . . . . . . . . . . . . . . . . . . . . . . 17-68
Scrolling options at run time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-68
Using the value bar at run time . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-68
Contents ■ xxi
Setting up navigation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19- 1
Developing a hierarchy of displays . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-1
Ways of moving among displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-2
Commands for moving among displays . . . . . . . . . . . . . . . . . . . . 19-3
Reducing display call-up time . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-4
Where to use RSView commands . . . . . . . . . . . . . . . . . . . . . . . . . . 19-4
Examples of navigation methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-5
The tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-7
Precedence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-7
Creating macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-7
Using parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-10
Nesting macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-11
Creating a macro that runs when an HMI server starts . . . . . . . . . 19-12
Creating symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-12
Important guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-13
Key definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-14
General rules about precedence . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-15
Precedence and the F1 key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-16
Precedence and embedded ActiveX objects . . . . . . . . . . . . . . . . . 19-16
Precedence and embedded OLE objects . . . . . . . . . . . . . . . . . . . . . 19-17
Reserved keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-17
Creating client keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-19
Running client key components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-22
RSView commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A- 1
Using RSView commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1
Where to use commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1
How to use commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1
Using placeholders in commands . . . . . . . . . . . . . . . . . . . . . . . . . . A-3
Precedence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-4
Where commands are executed . . . . . . . . . . . . . . . . . . . . . . . . . . . A-5
Commands that are not executed in test display mode . . . . . . . . A-7
Absolute and relative references . . . . . . . . . . . . . . . . . . . . . . . . . . . A-7
Contents ■ xxiii
How relative references are resolved . . . . . . . . . . . . . . . . . . . . . . . A-8
Using the command line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-9
Using the Command Wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-10
Building a command string . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-11
The RSView commands, organized alphabetically . . . . . . . . . . . . . . A-14
System tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B- 1
Alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1
Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-2
Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-4
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I- 9
Contents ■ xxv
P Preface
Thank you for choosing RSViewt Enterprise Supervisory Edition.
RSView Supervisory Edition is a member of the RSView
Enterprise Series family of products. It is an integrated package for
developing and running multi-user, distributed-server
human-machine interface applications. RSView Supervisory Edition
is designed for automated process or machine monitoring, and
supervisory control.
Preface ■ P--1
Preface
Technical support services
You have many options for finding information about how to use
RSView, or how to solve problems with RSView.
To find the answer, use the table of contents and the index in the
user’s guides and Help.
You can also perform a full-text search on both the Help and the
PDF versions of the user’s guides. For information about using Help
and the user’s guides, see Chapter 3, “Getting the information you
need” in the RSView Supervisory Edition Installation Guide.
http://www.software.rockwell.com
http://support.rockwellautomation.com
http://www.rsviewforum.com
The RSView Forum is a web site for users like you. The RSView
Forum offers:
Preface ■ P--3
Preface
Contacting Rockwell Software Technical
Support
If you can’t find the answer to your question using any of the
resources suggested above, contact Rockwell Software Technical
Support at:
Telephone: 440–646–5800
Fax: 440–646–5801
When you call, you should be at your computer and ready to give
the following information:
You’ll find this number on the Activation disk label and in the
Help About dialog box in RSView Studio.
Preface ■ P--5
1
Chapter
Getting started
This chapter introduces RSView Supervisory Edition, and describes:
FactoryTalkt
t Directory is software that supplies a directory of
services (for example, RSView SE Servers, or OPC servers) and
Features in brief
With RSView Supervisory Edition, you can:
use the RSView SE Client Object Model and VBA to share data
with other Windows programs such as Microsoft Access and
Microsoft SQL Server, interoperate with other Windows
programs such as Microsoft Excel, and customize and extend
RSView to fit your unique needs
Create the application that you will use. An application can consist
of one or more areas, one HMI server per area, one or more data
servers, and all the components you create for operators and
supervisors to use at run time (for example, graphic displays,
alarms, data logging).
RSView conforms to the OPC Data Access (DA) 2.0 specification for
information exchange among automation or control applications,
field systems or devices, and business or office applications.
import an existing HMI tag database using the Tag Import and
Export Wizard
use the RSView drawing tools to create graphic objects and text.
You can create simple objects such as ellipses and rectangles, or
create more complex objects such as trends and alarm
summaries. You can also embed ActiveX objects.
user level so you lock users into the RSView SE Client. To set
up user-level security, use the DeskLock Tool, included in the
Tools folder.
Use the RSView SE Client object model with Visual Basic for
Applications (VBA) code in graphic displays to customize and
extend the capabilities of RSView. Some ways you might do this
include:
For details, see Chapter 21, Using the SE Client object model and
display code.
Exploring
RSView Studio
This chapter introduces you to RSView Studio, briefly describing
how it works, and what it looks like. Find out about:
When you start RSView Studio you need to specify the type of
application you want to create. This is known as the product type.
New Application click the File menu, and then click New Application
" On the File menu, point to Recent Files, and then click the
name of the application you want to open.
Menu bar
Toolbar
Application
Explorer
Workspace
Activity bar
Status bar
The menu bar contains the menu items for the active window. Each
editor has its own set of menus.
The toolbar
Standard toolbar
Graphics toolbar
Objects toolbar
All of the editors use the Standard toolbar. The Graphic Displays
and Graphic Libraries editors have additional toolbars.
The workspace
The activity bar shows system activities. You can specify the types
of activities to display in the activity bar, you can resize it, move it,
and clear the messages in it.
Use the Activity Log Setup editor to select the activity categories
you want to log to the Activity Bar. For details, see page 11-10.
You can detach (undock) the activity bar from the main window,
and then move the bar anywhere on the screen.
To detach the
activity bar, drag
the grab bars.
When the activity bar is undocked, you can make it any size you
want, for example to view more than one message at a time. To
resize the bar, drag an edge or corner until the bar is the size you
want.
To clear the most recent message in the activity bar, click Clear. To
clear all the messages in the activity bar, click Clear All.
For example, if you position the pointer over the Open button,
the following message appears in the status bar:
You can display or hide all the items in the main window (except
the menu bar) by using the items on the View menu. If there is a
check mark beside the item, it is visible. If there is no check mark,
the item is hidden.
Application name
Workspace
Click the – symbol to
close a folder
click the title bar and then drag the window. To prevent the
Application Explorer from docking automatically while you
move it across the screen, hold down the Ctrl key on the
keyboard while you move the Application Explorer.
right-click the title bar, and then click a new docking location:
floating, or MDI (Multiple Document Interface) Child
Folders
click the folder, and then press Enter to either open or close the
folder depending on its current state
right-click the editor’s icon to open the shortcut menu, and then
click New or Show
Right-- click to
view the
shortcut menu
Activity Log Setup Specify the type of system activity you want to log
and where, when, and how you want it logged.
Alarm Log Setup Specify the type of alarm activity you want to log
and where, when, and how you want it logged.
Scan Classes Set up the rate for scanning tags that communicate
with direct driver devices. Scan classes are for use
with HMI tags only.
Libraries Drag and drop objects from the graphic libraries into
your graphic displays.
Alarm Setup Set up where, when, and how you want alarm
messages logged.
Derived Tags Create tags whose values are derived from other tags
and functions.
Data Log Models Create data log models, specifying where, when, and
how you want selected tag values logged.
These components
were created using the
Graphic Displays editor.
Displaying components
Any components created with the editor appear below the editor in
the tree.
Right-click to view
the shortcut menu.
" Using the Windows Explorer, locate the file of the component
you want to add to your application, and then drag the file to
the Application Explorer.
Renaming a component
To rename a component:
3. Select the file that the component represents, and then click
Open.
3. Click OK.
Removing a component
To remove a component:
Naming components
When you name a component in RSView Studio, the file name for
the component is created automatically on disk.
RSView supports long file names. File names, including the path,
can be up to 200 characters long.
For example, the following path and file name contains 111
characters. The component name (the name of the graphic display)
is only 15 characters long, but can be as long as 111 characters:
The Browse button appears beside data-entry fields. You can type
information into the fields, or you can click the Browse button to
Browse button open a list containing valid entries for the field.
Many editors require a tag name. Tags are stored in devices, data
servers, and in the HMI tag database. Their names are used in other
parts of RSView. You do not have to create tags before you work in
other editors.
type the name of a tag. You do not have to create the tag to use
the tag name, but be sure to create the tag later or errors will be
reported at runtime.
Printing
Each RSView editor has a Print item on its File menu.
To print selections:
1. Select the item you want to print. The item can be a record in an
editor’s spreadsheet or it can be an object in a graphic display.
4. Click OK.
3. Click OK.
You must install a printer before you can select it. For information
about installing a printer, see your Windows documentation.
To select a printer:
4. Click OK.
Printing at runtime
When you use the PrintDisplay command RSView prints the entire
display, even if parts are covered by other displays. You can also use
the ScreenPrint command to print an image of whatever shows on
the monitor. For more information about these commands see
Appendix A, RSView commands.
Planning an application
collecting data
planning alarms
using trends
talk to operators and other experts who are going to use the
system. Find out what information they need to optimize plant
operations.
Collecting data
For certain special purposes, you will need to set up an HMI tag
database. HMI tags provide extended capabilities, such as:
Collect information
Before you begin creating the HMI tag database, collect the
following information:
Group HMI tags in the way that makes most sense for your
application. For example, group all similar devices or group
related areas of the plant floor.
When creating HMI tags, place related tags into folders. For
greater organization, create nested folders.
which alarms will require additional actions that you can supply
using a macro
company logo
title
navigational buttons
Consistency
Clarity
Use symbols that are easily recognizable. For example, use the
conventional ISA symbols for tanks and valves.
Some people are color blind to red and green so don’t rely on
color alone to establish meaning.
Usability
Using trends
You can write your own alarm detection algorithms using PLC logic,
and then create events in RSView to respond to the algorithms.
Write VBA code to arrange graphic displays based on the size of the
RSView SE Client window. This allows you to adapt your
application dynamically to various screen desktop sizes and
resolutions.
Send specific messages to the activity log window and activity log
file, to notify the operator of problems with VBA code.
Working with
applications
This chapter describes:
Key concepts
HMI projects contain displays, log models, alarms, HMI tags and
other services. HMI projects are loaded on HMI servers.
Application
An application includes:
HMI servers
Each area can contain one or more sub-areas, and one or more data
servers. Each area or sub-area can contain only one HMI server.
You can use the application root area like any other area, for
example to contain an HMI server, or one or more data servers.
Use absolute references when you want to ensure that the same
component is used, regardless of where it is referenced from.
Relative references are useful if your component names are all the
same, but they are in different areas. This might be the case if you
expect to clone identical areas, for example to represent identical
production lines in your plant. For details about how to use areas in
structuring an application, see page 4-10.
Creating an application
To begin working in RSView, create an application.
To create an application:
New Application click the File menu, and then click New Application
Deleting an application
The HMI projects and data servers you have set up in your
application are not automatically deleted when you delete an
application. For details about deleting an HMI server’s files, see
page 4-14. For details about removing a data server, to delete its
cache files, see page 5-7.
5. Click the application you want to delete, and then click Delete.
Structuring an application
To determine a structure for your application, review your
application plan. For tips about planning applications, see
Chapter 3, Planning an application.
Using areas
A review of your application plan will help you decide how to use
areas in your application. For example, you can:
Each area in your application can not contain more than one HMI
server. Each area can contain more than one data server.
If this happens, you should add another HMI server or data server,
installed on a different computer, and then move some of the
components in the HMI project to the new HMI server, or some of the
OPC servers to the new data server. This distributes the processing
load across computers more effectively, providing better
performance.
You can use multiple HMI servers or data servers to represent the
physical areas in your facility.
You must set up redundancy separately for each data server in your
application.
To add an area:
click the File menu, point to New, and then click Area
3. In the New Area dialog box, type a name for the area. You can
also type a description for the area.
4. Click OK
" Right-click the area you want to remove, and then click
Remove.
HMI servers and data servers located in the area are not deleted.
2. In the Add HMI Server Wizard dialog box, click Create a new
HMI project from an existing project, and then click Next.
" Right-click the HMI server you want to remove, and then click
Remove.
3. Delete the folder that has the same name as the HMI server whose
project files you want to delete.
You must set up the HMI server properties separately for each HMI
server in your application. For details, see page 22-8.
Setting up
communications for
data server tags
This chapter describes:
For information about the differences between data server tags and
HMI tags, see page 7-1.
2. In the Data Server Name dialog box, type a name for the data
server and then press Enter.
On the General tab, type a description for the data server, and
specify the name of the computer running the OPC server.
Computer that will run the OPC server Type the name of the
computer running the OPC server. To browse for the name of the
computer, click the Browse button.
On the Advanced tab, set up a cache for tags on the data server.
A cache allows you to view tag names when you are not connected
to the data server.
4. Click OK.
If tags are added, modified, or deleted on the data server, you must
synchronize the cache manually.
You can synchronize a data server’s cache only after you have
created one.
4. Click OK.
" Right-click the data server you want to remove, and then click
Remove.
When you remove a data server, you also delete its cache files.
Setting up
communications for
HMI tags
For information about the differences between HMI tags and data
server tags , see page 7-1.
For details about setting up DDE communications for HMI tags, see
Appendix D.
RSView SE Server’s
HMI tags
Computer running RSView SE Server
Third-party Third-party
application RSLinx OPC server
with OPC
server
support
Network or
third-- party
OPC network link via DCOM PLC network
communication
link
Remote Remote Remote Allen-- Bradley Non-- Allen-- Bradley
computer— computer— computer— programmable device
RSLinx RSView32 3rd-- party controller
Gateway OPC server OPC server
(OPC server)
4. In the Nodes editor, create nodes for each OPC server and/or
topic you want to communicate with. In the node’s Data Source
field, click OPC Server.
5. In the Tags editor, create tags, select Device as the data source,
and assign the nodes that you have created.
Data Source
Name
Enabled
When a tag uses a disabled node at run time, the tag’s state will
change from valid to disabled. You can see the tag’s state when
viewing data that was logged to an ODBC database.
You can also enable and disable nodes at run time, using the
NodeEnable and NodeDisable commands. For more
information see Appendix A, RSView commands.
Server
Either select a server from the list, or fill in the server fields
manually. You can fill in the fields for an OPC server that has not
been installed yet and install the server later.
To select a server from the list, click the browse button beside
the Name field and then select a server from the list of registered
Browse button servers. RSView fills in the remaining Server fields.
Type the name of the OPC server that RSView will communicate
with, typically in this format:
<Vendor>.<DriverName>.<Version>
Select this check box if the OPC server is not running on the same
computer as the HMI server.
Update Rate
Specify the fastest rate at which the OPC server sends data to the
OPC client. The default is every 1 second.
The rate that the OPC server uses may be slower than the rate
you specify. Type 0 to specify that the server use the fastest
possible rate.
If the OPC server’s access path is a DDE/OPC topic, the update rate
should not be faster than the topic poll rate.
Server Name
local, in the Name box, type RSLinx OPC Server, or click the
Browse button to select it from a list.
Browse button
remote, in the Name box, type RSLinx Remote OPC Server, or
click the Browse button to select it from a list. Select the
Remote Computer Name or Address check box, and then type
the name of the remote computer, or click the Browse button to
select it from a list.
Access Path
The server
name appears
in the
spreadsheet’s
Station or
Server column.
Once you have created the node, assign it to a tag in the Tags editor.
The address tells RSView where in the node to get the data.
Address
[PLC_FLOC1]Motor1.Temp[0]
The ControlLogix processor called PLC_FLOC1 has been previously
set up as a DDE/OPC topic in RSLinx; Motor1.Temp[0] is the address.
If you include the Access Path when setting up the node, you can
enter the tag’s address as Motor1.Temp[0].
<node name> The name of the node that you want to change to
another server.
For applications using OPC, values are updated by the OPC server at
the rate specified in the server product. The update rate you specify
in the Nodes editor is the requested data rate. The OPC server uses
this rate to determine the fastest rate at which to notify your
RSView application (the OPC client) of tag value changes, if there
are any changes. For more details about setting the poll rate, see
your OPC server’s documentation.
The maximum tag update rate set up in the Display Settings dialog
box should not be faster than the OPC update rate. For details about
setting the maximum tag update rate in the Display Settings dialog
box, see page 15-20.
RSView conforms to the OPC Data Access (DA) 2.0 specification for
information exchange among automation or control applications,
field systems or devices, and business or office applications.
The tags that you create in the Tags editor in RSView are called
HMI tags, but your application can also use other kinds of tags, such
as those found in ControlLogix processors, or tags from other
OPC-compliant devices.
Limits
Each HMI server in your application can have up to 40,000 HMI tags
that have alarms. Of these alarm tags, 10,000 can be analog HMI tags.
To use a data server tag, you must first create it in the OPC
server or processor. For example, in a ControlLogix
processor, create the tag using your RSLogix 5000
programming software.
2. Browse for, or type, the name of the tag anywhere you want to
connect an object to ‘live’ data at run time.
If you don’t know the names of tags, you can browse for them. You
can browse while online and connected to a device, or you can
browse for tags from an offline file, for example a PLC program file.
To browse for tags, use the tag browser. For details, see page 7-8.
You can type the name of a tag that doesn’t yet exist. If you do this,
ensure that you spell every instance of the tag name consistently,
and that you when you do create the tag, you spell it the same way
you did when you referred to it.
Eliminate duplication
Using data server tags allows you to add, modify, or delete tags in a
device without having to duplicate the changes in RSView’s HMI tag
database.
You must use HMI tags (that is, you cannot use data server tags) for
any of the following things you might need to do in your
application.
Alarms
Security
You must use HMI tags if the data server you are using does not
provide for:
The scale and offset modify the ‘raw data’ that comes from and
goes to the programmable controller before it is saved in the
computer’s memory (called the value table). The scale and offset
also modify the value specified in RSView before it is written to the
programmable controller.
Tags allow you to set a minimum and maximum values that can be
written to the programmable controller or server.
A memory tag can be used to store values without the need for an
attached or accessible device.
and so on. For information about creating memory HMI tags, see
Chapter 8, Creating HMI tags.
2. In the tag database, map each tag name to an OPC tag, or device
address.
You don’t have to remember the path and name of a tag to use it in
your application. Whenever you need to use a tag, you can make
the Tag Browser appear by clicking the Browse button, or Tag
button.
The Tag Browser has two modes: one for selecting a single tag, and
one for selecting multiple tags. Depending on whether a single tag
or multiple tags are expected, when you click the Browse or Tag
button the single-selection tag browser appears, as shown above, or
the multiple-selection Tag Browser appears, as shown on page 7-16.
The Tag Browser for multiple selections lets you add tags to a list,
and then edit the list before you click OK.
edit an HMI tag by right-clicking it, and then clicking Edit HMI
Tag. The Tag Editor dialog box opens so you can edit the tag’s
definition.
import tags from a PLC or SLC database and copy them into the
RSView tag database if the selected folder contains an HMI
server. To do this, right-click a blank area of the browser’s right
pane, and then click Import PLC Tags. The PLC Database
Browser opens so you can specify the tags you want to import.
You can use the Offline folder to browse tags in a PLC program
stored on disk. If the OPC/DDE topic in RSLinx has access to
symbols, you can browse for them in the Offline folder, in the Tag
Browser. For details about adding symbols to the OPC/DDE topic in
RSLinx, see RSLinx Help.
For details about setting up and managing a data server’s cache files,
see “Setting up advanced properties” on page 5-6.
Root folder
Area folder
Folders pane
Tags pane
The Tag Browser window is divided into two panes. The left pane
shows the folder hierarchy for the tags in the application. The right
pane displays the tags in the folder you select in the left pane.
The parts of the Tag Browser are described on the pages that follow.
click the folder and then press Enter to either open or close the
folder depending on its current state
By default, the folder pane shows folders, but not the servers they
belong to. You can show the names of servers in the application.
To display server names, right-click a blank area of the folders pane
and then click Show Server Names.
You can add folders to HMI servers only. When you click the icon of
a folder that does not contain an HMI server, you cannot add folders.
To add a folder:
1. To make it easy to see where you can add folders, right-click the
Folders pane and then click Show Server Names.
4. Click OK.
To locate the tags in the home area, right-click a blank area of the
folder pane, and then click Go To Home Area. The home area is
selected automatically. For more information about the home area,
see page 7-20.
If you have the Tag Browser open, and you or another user on the
network add a tag, the new tag does not appear in the Tag Browser
automatically.
Displaying tags
To display tags, select a folder. Any tags in the folder appear in the
right pane of the Tag Browser. If multiple servers use the same tag
name, the server name automatically appears with the tag name.
Selecting tags
to select consecutive tags, click the first item, press and hold
down the Shift key, click the last tag, and then click OK.
to select tags that are not consecutive, click the first item, press
and hold down the Ctrl key, and then click each item. When
you are finished selecting items, click OK.
To select all the tags in the list, right-click the tags pane, and then
click Add Item(s) to List.
The selected tags list shows the list of tags you have selected. If
multiple servers use the same tag name, the server name
automatically appears with the tag name.
1. Click the folder that contains the tags you want to add to the
list.
You can remove items from the list before you click OK.
" Highlight the item or items you want to remove, and then do
one of the following:
To clear the list, you do not have to highlight tag names first.
The Tag Properties dialog box shows information about the tag.
The properties are a snapshot, and do not update in real time. You
cannot display the properties of multiple tags at the same time.
To display only tags whose names match a pattern, type the pattern
in the Tag Filter box, and then press Enter.
The Tag Filter box lists the last 10 filters you applied.
The shortcut menu in the Tag Browser’s right pane includes three
menu items for manipulating HMI tags:
IMPORTANT HMI tags are always added to the home area, not the
area you select in the Folders pane. For information
about the home area, see page 7-20.
For information about creating and editing HMI tags, see Chapter 8,
Creating HMI tags. For information about importing tags from a PLC
database, see page 8-21.
There are two ways to refer to a tag. You can create an absolute
reference, or a relative reference.
Use absolute references when you want to ensure you are referring
to a specific tag in a specific location, or when all your tag names
are unique.
Relative references
Relative references are useful if your tag names are all the same, but
they are in different areas. This might be the case if you expect to
clone identical areas, for example to represent identical production
lines in your plant. For details about how to use areas, see
page 4-10.
Any tag value can be logged. To set up logging, use the Data Log
Setup editor. For details, see Chapter 12, Setting up data logging.
how to create analog, digital, and string tags in the Tags editor
Digital 0 or 1.
These tags can represent devices that use text, such as a bar
code scanner which uses an alphanumeric product code.
Device
An HMI tag with Device as its data source receives its data from a
source external to RSView. The data can come from a driver for a
programmable controller (called a direct driver), or from an OPC or
DDE server.
Memory
An HMI tag with Memory as its data source receives its data from
the RSView internal value table. A memory tag can be used to store
values internally.
A to Z
0 to 9
The tag name can be mixed case. Tag names preserve upper and
lower case for readability but are not case sensitive. For example,
the tag name MixerValve1 is the same as mixervalve1.
To organize tags, create a folder, and then include tags that are
related to one another. To separate the folder name from the rest of
the tag name, use a backslash ( \ ). For example, tags in the folder
called Pump would start with Pump\.
For greater organization, you can nest folders. For example, if your
plant is divided into zones, you can organize the tag database first
by zone, then by machines in the zone, and finally by devices in
each machine. The result might be Area1\Machine1\Pump.
Form
Query Box
Folder Hierarchy
Spreadsheet
When you enter information, the Prev and Next buttons change to
Accept and Discard buttons. Click Accept to save tag and alarm
information. Click Discard to cancel changes to a tag.
In the upper part of the form, define the basic characteristics of the
tag, such as tag name, type, security, and specifics related to the tag
type.
Select the Alarm check box to define alarm conditions for an analog
or digital tag. To edit alarms once they have been defined, click the
Alarm button.
When you search for tags, remember that the backslash in a folder
name counts as one character in the tag name.
You can nest folders. If a folder icon has a plus ( + ) sign on it, the
folder contains one or more folders. If the folder’s icon is blank, it
does not contain any other folders.
Creating a folder
1. On the Edit menu, click New Folder, or on the toolbar, click the
Create Folder button.
Create Folder
3. Click OK.
2. Press Enter.
Once you have created a folder, you can add tags to it.
2. On the Edit menu, click New Folder, or on the toolbar, click the
Create Folder button.
Create Folder
3. In the New Folder dialog box, type a backslash ( \ ) followed by
the new folder name.
4. Click OK.
When you duplicate a folder, all the tags in the folder are
automatically given the new folder name. If the folder contains
folders, those folders are also duplicated.
Duplicate Tag Folder 2. On the Edit menu, click Duplicate Folder on the Edit menu, or
on the toolbar, click the Duplicate Tag Folder button.
4. Click OK.
Deleting a folder
Delete Folder
2. On the Edit menu, click Delete Folder, or on the toolbar, click
the Delete Folder button.
To select a row, click anywhere in the row or click the row number.
1. Place the cursor over the division between the column or row, in
the top or side border. When positioned correctly, the cursor
changes to a double arrow.
Adding a tag
click the New button in the forms area. This inserts a new row
above the highlighted row.
on the Edit menu, click Insert Row, or on the toolbar, click the
Insert Row button. This inserts a new row above the highlighted
Insert Row row.
3. In the Tag Name box, type the name for the new tag.
4. Click Accept.
Editing a tag
You can edit all parts of a tag except the tag name and tag type.
Deleting a tag
Delete tags carefully. Once you click the Delete button, the tag is
deleted. There is no confirmation message, and you cannot undo
the deletion.
Delete 2. On the Edit menu, click Delete, or on the toolbar, click the
Delete button.
2. Type a tag name. If the tag is part of a folder, type the name after
the backslash ( \ ).
Scale and Offset Type a number. For the scale, do not use 0.
To disable the scale, type 1. To disable the offset, type 0.
The scale and offset modify the ‘raw data’ that comes from and
goes to the programmable controller before it is saved in the
value table. The scale and offset also modify the value specified
in RSView before it is written to the programmable controller.
This formula shows the relationship between the PLC value and
the amount stored in the RSView value table:
Floating Point Single-precision (32-bit) floating point –3.402823 E +38 to –1.175494 E –38,
0,
1.175494 E –38 to 3.402823 E +38
For tags with Device as the data source, select the data type that
matches the format of the data stored in the programmable
controller or Windows application. If you are using direct driver
nodes, use the Default data type to match the data format
specified by the address automatically.
If you are using OPC or DDE nodes, do not use the Default data
type because the default might not be as expected.
2. Type a tag name. If the tag is part of a folder, type the name after
the backslash ( \ ).
2. Type a tag name. If the tag is part of a folder, type the name after
the backslash ( \ ).
An HMI tag with device as its data source receives its data from a
source external to RSView. The data can come from: 5. 6.
1. Click Device.
specify the name of the tag in the OPC server or specify the
DDE item
If you are using a DDE node, the DDE item name and format
depend on the DDE server and are not validated by RSView.
1. Click Memory.
When you first load an HMI project, a memory tag has the value
defined in the Initial Value box. To ensure that a memory tag
uses a particular value when the project starts, use the Set or =
(Equal) commands in a startup macro to specify the tag’s value.
The value of a memory tag can also be set using derived tags,
events, or graphic objects.
When you import tags, they are merged with tags already in the tag
database and any tags with the same name are updated with the new
information.
For more information about the Wizard, see “Using the Tag Import
and Export Wizard” on page 8-24.
Any editor that uses tags has access to the tag database.
To import tags from a PLC database, use the Import PLC Tags dialog
box. To open the Import PLC Tags dialog box:
1. Specify the data source for the tag by typing the node name and
scan class if the node type is direct driver.
2. In the PLC Database box, type the name and path for the
database you want to import tags from, or click the Browse
button to locate and select the database you want to import tags
from.
3. To filter the tag list so that only certain addresses or symbols are
displayed, type a character string, then click Search. If you want
to search on names only, click Symbols so that only symbol
names are displayed. If an address does not have a symbol name
it will not be displayed.
Use the filter if the address or symbol list is too big to display
entirely.
5. In the Put Tags into Folder box, type a folder name if you want
the tags to be in a folder. If the folder does not already exist in
the tag database it will be created.
6. Click OK.
The selected symbols are added to the tag database for the
current application, and are displayed in the tag list. If you have
already imported a particular symbol, you are prompted to
change its name if you want to import it again.
You can also import PLC or SLC databases into RSView using the Tag
Import and Export Wizard.
If you need help while using the wizard, click the Help button.
When a tag has an alarm set up for it, an X appears in the Alm
column of the Tags editor’s spreadsheet, and the Alarm button in
the editor’s form is highlighted (enabled).
For details about creating tags, see Chapter 7, Working with tags.
You should not write to derived tags, because the derived tag is
only evaluated when the expression changes. For example, if the
derived tag called Tag3 has the expression of Tag1 + Tag2, and if
you set Tag3 = 0, the value of Tag3 becomes zero, and will only be
updated when the value of Tag1 or Tag2 changes.
Summary of steps
The main steps for setting up derived tags are:
set the maximum update rate for the the derived tag component
in the Derived Tag Setup dialog box
The Check Syntax button verifies that the expression you typed
uses correct syntax.
You can check the syntax of your expression at any time by clicking
the Check Syntax button. If the syntax is invalid, an error appears
next to the Check Syntax button.
When you enter information in the editor, the Prev and Next
buttons change to Accept and Discard. Click Accept to save
information. Click Discard to discard information.
The maximum update rate is the fastest rate at which the value of
any derived tag in the derived tag component is updated.
Expressions containing derived tags are evaluated only when the
value of a tag or function in the expression changes.
You must set the maximum update rate separately for each derived
tag component.
The maximum update rate also determines the fastest rate at which
data servers send changes in tag values.
Set the update rate as fast as, or faster than, the rate at which the
values of tags used in the expressions change, unless it is desirable
to miss changes in tag values.
1. On the menu bar, click Setup and then click Derived Tag Setup.
4. Click OK.
To create derived tags, use the Derived Tags editor. The following
illustration shows a derived tag component.
1. In the Tag Name box, type the name of the tag that will hold the
derived tag value. You can also browse for the tag name using
Browse button the Browse button.
You can use any tag as a derived tag. The tag must exist, for
example in a programmable controller, or data server, before
you can use it as a derived tag.
4. Click Accept.
2. Use the Prev and Next buttons to move among derived tags.
Make the required changes.
In the Startup editor, select the Derived Tags check box and then
click the name of a derived tag component. The derived tag
component starts the next time the HMI server runs, or when the
HMI server’s components are started manually.
To stop all the components that are running on the HMI server,
including data log models, event components, derived tag
components, and alarm monitoring, stop the components running
on the HMI server manually. For details, see page 22-11.
Setting up alarms
In RSView Studio, you can set up a complete alarm system. Alarms
are an important part of most plant control applications because an
operator must know the instant something goes wrong. It is often
equally important to have a record of the alarm and whether the
alarm was acknowledged.
IMPORTANT You can monitor only HMI tags for alarms. You cannot
monitor data server tags for alarms.
Summary of features
With the RSView alarm system, you can:
monitor any analog and digital HMI tag for alarms (to a
maximum of 40,000 tags per HMI server)
display the last 2,000 alarm transactions from each HMI server, in
an alarm summary
Key concepts
An alarm occurs when something goes wrong. It can signal that a
device or process has ceased operating within acceptable,
predefined limits or it can indicate breakdown, wear, or a process
malfunction.
Alarm
Threshold severity
values Thresholds level
5,000 6 1
XX *
4,000 5 4
Increasing
X X*
3,000 4 8
X O Safe
2,000 3 zone
X O 8
Decreasing 1,000 2 6
1 1 4
time
Thresholds must
be set up in * These alarms are triggered only if the check
ascending order. box ‘Generate alarms when approaching
normal operating range’ is selected in the
Alarm Setup dialog box.
* These alarms are triggered only if the check box ‘Generate alarms when
approaching normal operating range’ is selected in the Alarm Setup dialog box.
Variable thresholds
Alarm faults
the tag’s alarm status stays where it was before the alarm fault
was generated
the alarm fault status bit for the tag is set in the value table. This
notifies other applications that an alarm fault has been generated
the Alarm Type column in the alarm summary states that the tag
is in ‘Alarm Fault’
Deadband
rpm
In alarm
In alarm again
5,000
Threshold 4,000
Deadband
3,500
3,000
Out of
2,000 alarm
1,000
0 n
time
Digital tags are either on or off. Therefore, alarms for digital tags do
not have thresholds. They have alarm states. 5.
Alarm severity
When you set up alarm severity, you specify what severity levels
mean and what actions they will trigger. Severity determines the
destination of alarm messages. It also determines the color of the
text in the alarm summary and the order in which alarms are
displayed in an alarm banner.
For each message, you can use the default message or create your
own message, and you can selectively route alarm messages to a log
file and/or printer.
The alarm log file records alarm incidents that occur. You can set up
how often, if ever, you want log files created and deleted.
In RSView, you can view the alarm log file using the Alarm Log
Viewer.
an alarm summary
When alarms are generated, they are recorded in two places: the
alarm log file, and the computer’s memory. The alarm log viewer
displays the records in the alarm log file. The alarm summary
displays the records in the computer’s memory.
The alarm log viewer displays the contents of the alarm log file. The
contents of this file depend on how you set up severities in the
Alarm Setup editor. By default, the log file will have a record for
each of the following alarm incidents:
Alarm summary
System tags are created and updated by RSView. You can use these
tags anywhere a tag name is required.
system\AlarmMostRecentDate String The date of the most recent, most severe alarm.
system\AlarmMostRecentLabel String The threshold label of the tag of the most recent,
most severe alarm.
system\AlarmMostRecentSeverity Analog The severity of the most recent, most severe alarm
(1 to 8).
system\AlarmMostRecentTagDesc String The description of the tag of the most recent, most
severe alarm.
system\AlarmMostRecentTagname String The name of the tag of the most recent, most
severe alarm.
system\AlarmMostRecentTime String The time of the most recent, most severe alarm.
system\AlarmMostRecentUnits String The units of the most recent, most severe alarm.
Alarm suppression
You can suppress alarm monitoring for tags. This is useful for
testing or for performing repairs or maintenance on a piece of
equipment.
ALM_IN_ALARM (tag)
where tag is the name of the tag you want to check for alarms.
When a tag is in alarm, the expression result is 1. When a tag is out
of alarm, the expression result is 0.
ALM_ACK (tag)
When alarm monitoring starts and a tag has never been in alarm, the
ALM_ACK expression returns 1 by default. To reverse this default
behavior, create the registry key Alarm Initially Acked on the
computer running the HMI server. Once you have created the key,
To create or change the key, use the Windows Regedit utility. For
details about using Regedit, click Help in the Registry Editor
window.
ALM_ALLACKED (tag*)
ALM_IN_ALARM (alarm*)
where alarm* represents all tags whose names begin with “alarm.”
If one or more of these tags are in alarm, the expression result is 1.
If all of the tags are out of alarm, the expression result is 0.
to acknowledge an alarm, or
When you set up an acknowledge bit for a tag, the HMI server
monitors the value of the acknowledge bit, and automatically
acknowledges the alarm when the value of the acknowledge bit
changes from 0 to 1. This is called a remote acknowledge, and a
RmAck (Remote Acknowledge) transaction is logged to the alarm
log file.
1. In the Tags editor, click an analog or digital tag for which you
have set up an alarm.
4. In the Acknowledge Bit box, type the name of a tag or click the
Browse button to browse for the tag you want to use as the
Browse button acknowledge bit.
When you set up a handshake bit for a tag, the HMI server sets the
handshake bit to 1 when the tag goes into alarm. If the Auto Reset
feature is enabled, the HMI server sets the handshake bit to 0 when
the tag goes out of alarm.
1. In the Tags editor, click an analog or digital tag for which you
have set up an alarm.
4. In the Handshake Bit box, type the name of a tag or click the
Browse button to browse for the tag you want to use as the
Browse button handshake bit.
Switching handshaking on
By using a tag name for an alarm event, you can customize the
alarm features of the tag. For example, you can use alarm events to
specify an alarm’s time stamp. Because alarms are scanned in the
background, alarms that are generated rapidly might appear out of
sequence in RSView, because they might all be scanned at the same
time, and therefore given the same time stamp. If the sequence in
which alarms are generated is important, you might want to record
accurate time stamps for the alarms by buffering the alarms in the
PLC, and then using alarm events to record them with accurate time
stamps in RSView.
You can also use alarm events to provide a tag with more than eight
thresholds.
Alarm events let you create alarms, even without setting up tags in
the tag database. Event-based alarms work just like tag-based
alarms. They appear in alarm summaries, they can be used with
alarm system tags, and they can be logged to disk or printer.
You can filter event-based alarms the same way you filter tag-based
alarms in alarm summaries. You can acknowledge event-based
alarms, either individually, or with wildcards, using the
Acknowledge command. You cannot suppress event-based alarms.
As with tag-based alarms, you can use alarm events with alarm
functions in expressions.
You cannot specify alarm labels for event-based alarms. That is,
you cannot use the IntoAlarm and OutOfAlarm labels for
digital tag-based alarms, or the threshold labels for analog
tag-based alarms.
A name must be associated with each alarm event. The event name
can, but need not be, a tag defined in the tag database. An alarm
event name cannot be an alarm tag in the database.
A to Z
0 to 9
To do this:
a. set up alarm severities. For each severity, you can specify the
destination of alarm messages. You can also specify how to
annunciate the alarm.
The alarm log file is a record of alarm incidents. You can specify
where you want the alarm log file stored, and when—if
ever—you want log files created and deleted. You can also
specify whether to generate alarms when an analog tag value is
moving back to normal operating range and recrosses the alarm
trigger threshold. If you don’t want to generate these alarms,
ensure that the check box for the option is deselected in the
Setup tab of the Alarm Setup editor.
3. For each HMI tag you want to monitor, specify the alarm
conditions in the Tags editor. You can define alarms for analog
and digital tags, but not for string tags.
This option applies to all analog alarm tags in the HMI project.
Alarm severities
Alarm incidents
4. For each alarm severity, specify how you want the alarm to be
annunciated.
Internal Bell
The sound for the internal bell can come from your computer’s
speaker or from a sound card.
You can choose from the sounds that come with Windows, or
you can install additional sound files. For information about
installing drivers and assigning sounds, see your Windows
documentation.
External Bell
5. Click OK.
Alarm messages appear in the description field of the alarm log file
only. You cannot display them in alarm summaries.
Types of messages
To use the default messages for all alarms and alarm events, do not
change anything. The default messages are used automatically.
IMPORTANT \C, \L, \U, and \V do not contain any information when
used in alarm Acknowledged messages.
The user default messages are messages you create to replace the
system default messages.
Your message can say whatever you want, and can use both
words and placeholders. For a list of placeholders, see
page 10-27.
To select the user message as the default message, click the User
Defaults button when you are setting up analog and digital alarms.
Custom messages
To create a custom message, type any message you want. For more
information see:
Your message can say whatever you want and can use both words
and placeholders. For a list of placeholders, see page 10-27.
Alarm log remarks can also be printed. You cannot display alarm
log remarks in alarm summaries.
Using the /P
parameter with the
AlarmLogRemark
command, you can
prompt the operator
for an alarm log
remark at run time.
At run time, only one Alarm Log Remark dialog box is displayed at
a time, and the operator must respond to the dialog box before the
next one is displayed.
by importing tags into the tag database using the Tag Import and
Export Wizard. For more information about using the Tag
Import and Export Wizard, see page 8-24.
To add an
alarm to a tag,
select this
check box.
When a tag
has an alarm,
an X appears
in this column.
You can set up an alarm for a tag when you create the tag or later.
To set up an alarm for an existing tag, click the tag in the Tag
Database spreadsheet, and then click the Alarm check box. Click
the Alarm button to open the Analog Alarm or Digital Alarm
dialog box.
set up the alarm threshold, and then choose the message that
will appear if the threshold is crossed
set up the messages that are sent when a tag goes out of alarm
and when an operator acknowledges an alarm
To set up an alarm
threshold, first click a
threshold in this list.
2. Click a threshold.
You do not have to set up all eight thresholds, but the ones you
do use, you must set up in ascending order. For example, you
can set up thresholds 1, 2, 5, and 8, as long as you set them up in
that order.
Threshold
Increasing/Decreasing
Alarm Label
Severity
Severities are set up in the Alarm Setup editor. For details, see
“Setting up alarm severity” on page 10-23.
Select the message you want when the tag goes into alarm.
Alarm Identification
Deadband
Alarm Acknowledge
In the Acknowledge Bit box, type the name of a tag or click the
Browse button to browse for the tag you want to use as the
acknowledge bit.
Alarm Handshake
In the Handshake Bit box, type the name of a tag or click the
Browse button to browse for the tag you want to use as the
Browse button handshake bit.
set up the messages that are sent when a tag goes out of alarm
and when an operator acknowledges an alarm
Alarm Type
Select a type.
Alarm Label
Severities are set up in the Alarm Setup editor. For details, see
“Setting up alarm severity” on page 10-23.
In Alarm Messages
Select the message you want when a tag changes state and goes
into alarm.
2. Select the the file and printer messages for when a tag goes out
of alarm, and for when an operator acknowledges an alarm.
If you click Custom Message, type the message into the File
and/or Printer boxes. You can use both words and placeholders.
Alarm Identification
Alarm Acknowledge
In the Acknowledge Bit box, type the name of a tag, or click the
Browse button to browse for the tag you want to use as the
acknowledge bit.
Alarm Handshake
In the Handshake Bit box, type the name of a tag, or click the
Browse button to browse for the tag you want to use as the
Browse button handshake bit.
Use the Alarm Log Setup program in the RSView Tools folder to
specify:
IMPORTANT You must run the Alarm Log Setup program on the
same computer as the HMI server that is monitoring tags
for alarms. If you run the Alarm Log Setup program on
a computer that does not contain an HMI server set up to
monitor tags for alarms, the settings will have no effect.
for convenience, you can also access the Alarm Log Setup
tool from the Tools menu in RSView Studio, or the RSView
Administration Console. On the Tools menu, click Alarm
Log Setup.
2. If you want to change where the log files are stored, specify a
new path.
When log files are created, they are stored in the folder you
specify here.
3. Click OK.
4. If the log path is not located on the same computer as the HMI
server, you must change the security account under which the
alarm log program files run. For details, see “Specifying the
security settings of the alarm log program files” on page 10-56.
Log files are saved in the directory you specify on the Logging tab.
the schema for the ODBC alarm log table on page 20-2
Click Periodic, and then click a time period. A new file is created
after the specified interval has elapsed.
When the operator presses the button at run time, a new alarm
log file is created at the HMI server, and all subsequent messages
are logged to the new file.
To manage disk space if a log file grows too large, stop alarm
monitoring, delete the alarm log file, and then restart alarm
monitoring.
You can delete log files after a specified period or once a specified
number of files have been created. If you never want files deleted,
leave the check boxes under Delete Oldest Files blank.
Alarm log files are deleted only when a new file is created. So, if
your application creates a new file each day and deletes the oldest
2. Under Delete Oldest Files, select one or both check boxes and
then type a number to specify when to delete the log files. If you
select both check boxes, files are deleted after the maximum
time or after the maximum number of files is reached, whichever
happens first. If you do not want files deleted, leave the check
boxes under Delete Oldest Files blank.
Files are deleted after the maximum time has expired. For
example, if two days is the specified time, files are deleted at
midnight of the third day, so you always have data for the
current day and the two previous days.
The oldest log file is deleted after the specified maximum has
been reached. The files currently being logged to are not
included in this number. For example, if you type 10, you will
have a maximum of 11 alarm log files at any time—10 old ones
and the current one. When a new set is started, the oldest file is
deleted.
If you have set up File Management to delete the oldest files when a
new one is started, and you are exporting data to an ODBC database,
make sure you export the data before the oldest file is deleted.
If you have set up file management to delete the oldest files when a
new set is started, and you are exporting data to an ODBC database,
make sure you export the data before the oldest files are deleted.
For information about the contents of the alarm log ODBC tables,
see page 20-2.
1. In the Alarm Log Setup editor, click the Central Logging tab.
If the target table does not exist, and if you have a connection to
the database, you can create the target table. Type the target
table name and then click Create Table.
6. If theODBC database and HMI server are not located on the same
computer, you must enter a User ID and password to connect to
the database. Click the Login Required checkbox and then type
your user ID and password.
7. Click OK.
For information about the contents of the alarm log ODBC tables,
see page 20-2.
If you have set up file management to delete the oldest files when a
new set is started, and you are exporting data to an ODBC-compliant
database, make sure you export the data before the oldest files are
deleted.
When the operator presses the button, the contents of the alarm log
file are exported to the ODBC database.
For information about the contents of the alarm log ODBC tables,
see page 20-2.
If you change the alarm log setup at runtime, the changes do not
take effect until you stop alarm logging and then restart it.
for convenience, you can also access the Alarm Log Setup
tool from the Tools menu in RSView Studio, or the RSView
Administration Console. On the Tools menu, click Alarm
Log Setup.
7. Click This user, and then type the name and password of a user
that has access to the network share or database.
8. Click OK.
11. Click This user, and then type the name and password of a user
that has access to the network share or database
MM is the month
DD is the day
If you are using short file names, or if the path where the log files
are stored does not support long file names, the format for the name
is YYMMDDnz.dat, where YY are the last two digits of the year.
The log file named 20011015bl.dat was created in the year 2001,
month 10, and day 15. The ‘b’ indicates that this is the second file
created that day. The ‘l’ (lowercase L) indicates that this is an alarm
log file.
The Alarm Log Viewer displays the contents of alarm log files.
The contents of the alarm log files depend on how you set up alarm
severities in the Alarm Setup editor. 5
For information about the contents of the alarm log ODBC tables,
see page 20-2.
You can choose to display the contents of alarm log files stored
either on the local computer, or on a remote computer, and you can
select the number of log files to be displayed in the alarm log
viewer. Each alarm log file is displayed in a separate tab in the
alarm log viewer.
For information about setting up and using the alarm log viewer see
the alarm log viewer Help.
You must include the quotation marks, because there are spaces
in the parameter.
At run time, the viewer may appear behind the RSView SE Client
window. This is the result of operating system rules. You can either
bring the viewer to the front manually, or you can work around this
problem programmatically. For details about a programmatic
work-around, see technical note P9029 in the Rockwell Software
Support Library.
At run time, operators can use the alarm summary to view and
interact with the alarms.
3. Drag the mouse to create a box approximately the size you want
for the alarm summary.
You can edit the alarm summary object as you would any other
graphic object. You can move it, resize it, and so on. You can
The Insert menu contains the items that can appear in the summary.
To add a heading for an item, click the item on the Insert menu.
You can add as many items as you want and place them in any
order you want.
To resize an item, click the item and then drag a handle with the
mouse.
When you move or resize the box above the line, or the one
below the line, you move or resize its twin as well.
Choosing fonts
The header and body fonts can be different. For example, you
might choose a larger font for the header and a smaller font for the
body. To change a font, click the Format menu and then click Font.
Choose the font, style, and size you want. When you are finished,
click OK.
To increase the size of the header area so a large font is more easily
displayed, drag the divider down.
To set up colors:
3. Click a color box to open the color palette, and then click a
color in the palette.
5. If you use the blink option for any item’s state, type a blink rate
in the Blink Rate box. The blink rate applies to all items that use
the blink option in this alarm summary.
Text and Background are the colors the message initially appears
in. If you click Blink, the default blink colors are the text and
background colors reversed.
Formatting buttons
You can specify which buttons you want on the button bar and
where you want the bar located.
2. In the Buttons dialog box, select or clear the check boxes that
correspond to the buttons you want to add to, or remove from,
the alarm summary.
The table on the pages that follow describes what the buttons
do.
3. Click OK.
Silence If the highlighted alarm is set up to set off the internal bell,
Current Silence Current silences the computer’s sound.
Silence Page If any alarms on the screen are set up to set off the internal
bell, Silence Page silences the computer’s sound.
If any alarms on the screen are set up to set off the external
bell, Silence Page resets the associated bits in the
programmable controller.
Silence All If any alarms in the alarm summary are set up to set off the
internal bell, Silence All silences the computer’s sound.
If any alarms in the alarm summary are set up to set off the
external bell, Silence All resets the associated bits in the
programmable controller.
Identify Runs a command or macro for the alarm, if one was created
and then entered in the Alarm Identification box on the
Advanced tab in the Analog Alarm or Digital Alarm editor.
To specify the location of the button bar, click Button Bar Position
on the Format menu, and then click a location. In the following
illustration, the button bar is on the left.
Use the Filter and Sort items on the Data menu to specify which
alarm information is displayed.
Alarm information can also be filtered and sorted at run time, but
changes are not saved.
To ensure that tag names are displayed with the names of the areas
they belong to, click Display full tag name.
2. In the Filter dialog box, select the check boxes that correspond
to the items you want to exclude from the alarm summary.
Type or select the tag names you want to appear in the alarm
summary. To include tags from a specific area only, type the area
name.
To ensure that tag names are displayed with the names of the areas
they belong to, click the Data menu, and then click Display full tag
name.
Enter each area or tag name on a separate line. You can use
wildcards to select tags.
/Powertrain::*
or
/Powertrain
To collect alarm transactions from the current area for the tag name
Coolant_East, type:
Coolant_East
Coolant*
To collect alarms from specific areas for tag names that match a
pattern, you can type:
/Powertrain::Coolant*
/Press::FlowValve*
To collect alarms from more than one HMI server, you can type:
/Powertrain::*
/Press::*
You can also use the Areas and Tags buttons to browse for area or
tag names rather than typing them.
Tag placeholders
You can also use tag placeholders to specify the area or tag names
you want to appear in the alarm summary.
/#1::*
or
/Area1/#1/Area3::*
Area::#1
Area::Folder/#1/*
If you use tag placeholders, at run time you must specify the tag or
folder name each placeholder represents, either by using a
parameter file or by specifying the tag or folder names as
parameters to the Display command. If you use a parameter file, it
can contain wildcards.
The parameter file called Beans specifies which tags to use for the
placeholders in a display:
#1 = bean_weight
#2 = bean_level
#3 = bean_temp
To run the display called Canning with the Beans parameter file,
type:
Tag Type
Only the tag types that are checked, appear in the alarm summary.
To include all alarms, leave both Analog and Digital checked.
Alarm States
If you leave the Out of Alarm state unchecked, the alarm summary
item changes color when the tag goes out of alarm. Tags that are out
of alarm remain in the alarm summary until they are acknowledged.
If you want to see only the tags that are in alarm in the summary,
click Only show tags currently In Alarm. Digital change of state
alarms and InAndOutOfAlarm events are not displayed in the
alarm summary when you select this check box.
Alarm Severities
To sort data, click the Data menu and then click Sort. You can
specify four levels of sorting.
With the Execute button, you can specify a command or macro that
operators can run with reference to the highlighted alarm in an
alarm summary. The Execute command can be appended with tag
information derived from the highlighted alarm—for example the
tag name, alarm type, severity, value, date and time, and the tag
type.
" At run time, with data populating the alarm summary, do one of
the following:
With the Identify button, you can specify a command or macro that
operators can run when a tag is in alarm. Use this button to provide
information about an alarm. For example, use the Display
command to open a display that contains instructions about how to
handle a motor that is running too fast.
1. In the Tags editor, click an analog or digital tag for which you
have set up an alarm.
For details about setting up the Identify button for analog tags,
see “Alarm Identification” on page 10-37.
For details about setting up Identify button for digital tags, see
“Alarm Identification” on page 10-42.
" At run time, with data populating the alarm summary, highlight
an alarm in the list and then click Identify.
Using parameters
Severity and value are shown only for alarms of type IntoAlarm.
For alarm types OutOfAlarm and IntoFault, the severity is 0.
If you select the Insert Area name check box, the Area name
appears automatically between the first and second word you type
in the Execute Command Text box. Because you cannot change the
position of the area name, be sure the command shown at the
bottom of the dialog box is syntactically correct before you
click OK.
If you select the Tag name check box, to pass tag names as
arguments to the Execute command text, the tag names always
include the area name, whether or not areas are displayed in the
alarm summary.
At run time, the area name is the area of the alarm that is
highlighted in the alarm summary.
You can use the Execute button to prompt the user at run time to
add a remark to the alarm log file.
If you set up the Execute button to run a custom program, and you
copy the alarm summary from one application to another
application, you must ensure that the custom program is available
in the new application, otherwise the Execute button will not run
the program.
In an alarm summary, you can display tag names with the names of
the areas they belong to.
To do this, click the Data menu, and then click Display full tag
name.
AlarmOn normally logs alarms to both the alarm log file and the
printer. However, the order in which you issue the AlarmOn and
AlarmPrintOff commands affects what happens at run time:
You can suppress alarm monitoring for tags. This is useful for
testing or performing repairs or maintenance on equipment.
To view a list of the tags not being monitored, use the Suppressed
List. You can also turn monitoring back on from this list.
Use the Suppressed List to see which tags are not being monitored
for alarms and to turn alarm monitoring back on.
You can also use RSView commands to turn off suppression and to
open the Suppressed List. For details, see Appendix A, RSView
commands, or see Help.
To stop all the components that are running on the HMI server,
including data log models, event components, derived tag
components, and alarm monitoring, stop the components running
on the HMI server manually. For details, see page 22-11.
Setting up
activity logging
Activity log records information about various types of system
activity, for example errors, and operator activity. The information
can be:
You can log some or all of the following types of system activity:
operator comments
IMPORTANT You must run the Activity Log Setup program on the
every computer on which you want to log activities.
Optionally, set up
logging to a central
database.
When log files are created, they will be stored in the directory
specified here.
3. If the log path is not located on the same computer on which the
system activity is generated, you must change the security
account under which the activity log service runs. For details,
see “Specifying the security settings of the activity log service”
on page 11-13.
If the path where the log files are stored supports long file
names, the date stamp part of the log file name includes a
four-digit year.
6. Click OK.
For more information about activity log files, see “About activity
log files” on page 11-8.
1. In the Activity Log Setup editor, click the File Management tab.
Click Periodic, and then click a time period. A new file is created
after the specified interval has elapsed.
When you press Enter, a new activity log file is created on the
local computer, and all subsequent messages are logged to the
new file.
To manage disk space if a log file grows too large, stop activity
logging, delete the activity log file, and then restart activity logging.
You cannot delete a log file while activities are being logged. For
information about monitoring disk space on computers running HMI
servers, see page 22-19.
Activity log files are deleted only when a new file is created. So, if
your application creates a new file each day and deletes the oldest
file every third day, your application will have files for the three
previous days’ data as well as a file for the current day.
1. In the Activity Log Setup editor, click the File Management tab.
2. Under Delete Oldest Files, select one or both check boxes and
then type a number to specify when to delete the log files.
If you select both check boxes, files are deleted after the
maximum time or after the maximum number of files is reached,
whichever happens first.
If you do not want files deleted, leave the check boxes under
Delete Oldest Files blank.
After Maximum Time Files are deleted after the maximum time
has expired. For example, if two days is the specified time, files
are deleted at midnight of the third day so you always have the
two previous days’ data and the current day’s data.
After Maximum Files The oldest log file is deleted after the
specified maximum has been reached. The files to which
RSView is currently logging are not included in this number.
For example, if you specify 10, you will have a maximum of 11
activity log files at any time—10 old ones and the current one.
When a new file is started, the oldest file set is deleted.
MM is the month
n is the sequence letter (‘a’, ‘b’, ‘c’, and so on). This letter
indicates the sequence files were created in. You can have up to
26 files (‘a’ to ‘z’) per day. At midnight, the sequence starts at ‘a’
again.
If the path where the log files are stored does not support long file
names, the format for the name is YYMMDDnz.dat, where YY are the
last two digits of the year.
This activity
category Logs
For more information about the activity bar, see “Using the
activity bar” on page 11-16. For more information about log
files, see “Creating log files” on page 11-4.
For information about the contents of the activity log ODBC tables,
see page 20-1.
1. In the Activity Log Setup editor, click the Central Logging tab.
4. Specify the name of the ODBC data source. To browse for the
data source name, click the Browse button.
If the target table does not exist, and if you have a connection to
the database, you can create the target table. Type the target
table name and then click Create Table.
6. If the database and HMI server are not located on the same
ODBC
computer, you must enter a User ID and password to connect to
the database. Click the Login Required checkbox and then type
your user ID and password.
7. Click OK.
5. Under Log on as, click This account and then type the name and
password of a user that has access to the network share or
database.
6. Click OK.
When you export data to an ODBC table, RSView keeps track of the
data that was exported in a control file called Activity.exp. This file
is located in the log path where the .dat files are stored. The next
time you export data, only the newest data is exported. If the
control file is deleted, all the activity log data in the .dat files are
exported when you issue the export command.
When the operator presses the button, the contents of the activity
log file are exported to the ODBC database.
For information about the contents of the activity log ODBC tables,
see page 20-1.
If you change the activity log setup at runtime, the changes do not
take effect until you stop activity logging and then restart it.
To log activities to the activity bar, the Activity Bar check boxes
must be selected in the Categories tab of the Activity Log Setup
editor. For details, see page 11-10.
When RSView first starts, the activity bar is visible and is docked
above the status bar in the RSView main window.
Activity bar
Status bar
To show or hide the activity bar, click Activity Bar on the View
menu for the Application Explorer. When Activity Bar has a check
mark beside it, the activity bar is visible.
You can detach (undock) the activity bar from the main window,
and then move the bar anywhere on the screen.
To detach the
activity bar, drag
the grab bars.
When the activity bar is undocked, you can make it any size you
want, for example to view more than one message at a time. To
resize the bar, drag an edge or corner until the bar is the size you
want.
An ellipsis
indicates that the
message has been
truncated. Resize
the activity bar to
view the whole
message.
By default, the Activity Log Viewer displays the severity, date and
time, category, description and user name fields from the activity
log files.
For information about setting up and using the activity log viewer
see the activity log viewer Help.
You must include the quotation marks, because there are spaces
in the parameter.
At run time, the viewer may appear behind the RSView SE Client
window. This is the result of operating system rules. You can either
bring the viewer to the front manually, or you can work around this
problem programmatically. For details about a programmatic
work-around, see technical note P9029 in the Rockwell Software
Support Library.
If you have set up security for your application, you can use the
activity log file to track what users are doing on the system. When
an activity is logged, the ID of the current user is also logged. 3.
You can display the data in trends, archive it for future use, or
analyze it using any ODBC-compatible reporting software, such as
Microsoft Excel, or Seagate Crystal Reportst.
What is a model?
A data log model defines which tags to log data for, when to log the
data, and where to log the data. In the model you also specify the
format of the log files (file set, or ODBC) and when to create and
delete the files.
If you use a file set, tag values are stored in proprietary-format files.
You cannot view the contents of these file sets, except in trends.
If you need to use data in multiple formats, define multiple data log
models for the same tags.
RSView names the log file sets using long file names. The maximum
length of a log file set’s name, including its path, is 200 characters.
File sets are named using the following format for the file name:
MM is the month
DD is the day
ODBC backup files are stored as binary files with the extension .obf.
You cannot view the contents of the .obf files.
The ODBC tables are created with the default names TagTable,
FloatTable, and StringTable. However, you can edit these names
before creating the tables, or specify different tables to use, in the
Data Log Setup dialog box.
If you specify a backup path for an ODBC model, RSView names the
backup log files as described on page 12-3.
You can log data to an existing ODBC data source, but its tables must
contain fields that are formatted for the RSView data log. There are
two ways to prepare tables for data logging to an existing database:
set up the RSView data log fields in the existing ODBC tables
before setting up your data log model
1. Add fields for the data log data to the tables in the ODBC
database. See the example on page 12-10 for information about
the steps you need to complete to add fields to an existing table.
The section “Data log tables” on page 20-4 describes the order
and type of fields needed to log data to an ODBC database. Edit
the tables as described in the documentation for the ODBC
database you are using.
1. Specify the name of the existing ODBC data source in the ODBC
Data Source field of the Data Log Setup editor. For more
information, see “Setting up a model” on page 12-7.
You can also create a new ODBC data source when you set up your
data log model, as described in “Setting up a model” on page 12-7.
RSView can create the ODBC tables automatically, or you can create
the tables manually.
right-click the Data Log Models icon and then click New
This text string forms part of the file name for the data log files.
Data log files are named using long file names. For more
information about how log file sets are named, see page 12-3.
If you choose the ODBC storage format in step 4, long file names
apply to the backup files only.
You can change the log file identifier string at run time, as
described on page 12-38. However, the run-time change affects
the current data log session only. When you stop and restart the
model RSView uses the string you set up here.
The file set stores tag values in a proprietary format for fast
performance.
5. If you choose file set and are logging string tags, you must
specify the number of characters used to log the string.
6. If you chose the ODBC storage format in step 4, specify the ODBC
data source.
Type the path and file name of an existing ODBC data source. If
the data source does not yet exist, use the ODBC Data Source
Administrator to create it.
If you are creating a new database, you can create the tables
automatically at the data source you specified. To do this,
type the table names in the table boxes, and then click Create
If you don’t specify a table name for the tag table, the tag
name is used instead of a tag index in the float and string
tables. This uses more database space than using a separate
tag table.
When you save the data log model, RSView informs you if
the fields in a selected table are not in the order or of the
type required to log data. In this case you must edit the table
as described in the documentation for the ODBC database you
are using. For information about the order and type of fields
needed to log data to an ODBC database, see page 20-4.
8. If theODBC database and HMI server are not located on the same
computer, you must enter a User ID and password to connect to
the database. Click the Login Required checkbox and then type
your user ID and password.
To log in and create the tables, you must have access to the
SQL Server.
3. In the Select Data Source dialog box, specify the data source you
created, and then click OK. If required, enter your login ID and
password.
6. Click Add.
In the Type field, click the type that most closely matches the
SQL Data Type for the field you are adding, as listed in the
tables on pages 20-4 to 20-6.
If you want to edit a table that already exists, log in, click the table
name, and then click View. The order of the data log fields must
match the order listed in the tables on pages 20-4 to 20-6. If you
add the data log fields to an existing table, the data log fields must
appear first in the table. However, you can use different names for
the data log fields.
1. In the Select Table dialog box, select FloatTable, and then click
Index.
3. In the Index Fields field select DateAndTime (or the name you
assigned to the first field in the FloatTable).
If the data log file is locked, data is buffered for the time specified
for Maximum Time To Buffer in the Advanced Configuration
dialog box, and then a new set of files is created on the primary
path. If the 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 is started immediately.
If the model is logging to the secondary path and the file is locked,
the behavior is the same: the data is buffered, and then a new file is
created when the specified time period has elapsed.
You can also switch back to the primary path or ODBC database
manually, using the DataLogSwitchBack command (see page 12-20)
or the DataLogMergeToPrimary command (see page 12-21).
For models that use the file set, RSView creates a new file set each
time the logging path changes.
You can specify the primary and secondary file paths for a file set,
and the ODBC backup file path by editing the data log model in the
RSView Studio Application Explorer, as described next.
You can also change the log paths at run time using the RSView
Administration Console, as described on page 12-36.
1. In the Data Log Setup editor, click the Paths tab. If you are
using the ODBC storage format, go to step 3.
2. If you are using file sets, specify the primary path where you
want to store the data log files.
Stores the log files in the project folder. RSView creates a folder
called Dlglog and a subfolder with the same name as the model
name and then stores the files there.
Absolute Path
Absolute Path
The amount of time RSView buffers the data may vary slightly
from the time you specify, depending on the log rate for
periodic models or the frequency with which tag values change
for on-event models.
In all other cases, RSView checks whether the primary path has
become available after the specified time has elapsed.
For data log models that use file sets, specify a high enough
value to prevent RSView from switching between paths
frequently because of low disk space on the primary path.
7. Click This user, and then type the name and password of a user
that has access to the network share or database.
8. Click OK.
9. In the Add Users and Groups dialog box, click the name of the
same user you assigned to the security account of the data log
program file in step 7 on page 12-18.
10. Click OK to close all dialog boxes except the Distributed COM
Configuration Properties.
RsActLogService Class
HMIServerFramework Class
TagSrvManager Class
You can give operators ways to issue these commands at run time.
For example, you can create a button object and use the
DataLogSwitchBack <component> command as the press action.
periodically
at specified times
never
Log files are saved in the folder you specify on the Paths tab.
If the hard disk space for the primary path is full, data logging
switches to the secondary path, if enabled, until space becomes
available on the primary path. 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.
To prevent loss of data, you can monitor disk space. For details
about monitoring disk space on computers running HMI servers, see
page 22-19.
1. In the Data Log Setup editor, click the File Management tab.
Click Periodic, and then click a time period. A new file is created
after the specified interval has elapsed.
Click At Specified Times, and then type a time or list of times when
you want data to be logged to a new file. Start a new line for each
new time and allow at least five minutes between start times.
Time Format
Date 1 to 31
If you specify 31, the months that do not have 31 days will
not have new log files.
To have a new file start every Wednesday at 2:00 A.M. and every
Friday at 2:00 P.M., type the following start times:
1. Click On Event.
You can set up your project so it creates a new log file at the end of
a shift or batch process. For example, create a tag called NextShift.
In the Data Log Setup editor, click On Event, and then in the
expression box, type NextShift.
When the tag evaluates to true, a new data log file is created to store
the data from the new shift.
To manage disk space if a log file grows too large, stop data logging,
move or delete the data log file, and then restart data logging. You
You can also create new ODBC backup files and new file sets using
the commands DataLogNewFile <component> or
DataLogNewFile *.
If your data log model uses the ODBC format, these commands
create a new set of backup files if RSView is logging to the backup
path when the command is issued. If RSView is logging to the ODBC
database, RSView logs an End Snapshot and then a Begin Snapshot
when you issue these commands.
If your data log model uses file sets, these commands start a new
file set regardless of when new files have been set up to start in the
Data Log Setup editor. The new file set is created in the same path
that RSView is currently logging to.
If your data log model uses file sets, you can delete file sets after a
specified period or once a specified number of file sets has been
created. If you never want file sets deleted, leave the check boxes
under Delete Oldest Files blank.
Data log file sets are deleted only when a new file set is created. So,
if your project creates a new file set each day and deletes the oldest
file set every third day, your project will have file sets for the three
previous days’ data, as well as a file set for the current day.
1. In the Data Log Setup editor, click the File Management tab. If
you are using the ODBC storage format, go to step 3.
2. If you are using file sets, under Delete Oldest Files, select one or
both check boxes, and then type a number to specify when to
delete the file sets. If you select both check boxes, files sets are
deleted after the maximum time or after the maximum number
File sets are deleted after the maximum time has expired. For
example, if two days is the specified time, file sets are deleted at
midnight of the third day, so you always have data for the
previous two days and the current day.
The oldest log file set is deleted when the specified maximum is
reached. The files currently being logged to are not included in
this number. For example, if you specify 10, you will have a
maximum of 11 data log file sets at any time—10 old ones and
the current set. When a new set is started, the oldest file set is
deleted.
These options apply to file sets on the primary path only, not to
the files on the secondary path. RSView deletes files on the
secondary path only when the DataLogMergeToPrimary
command is issued.
When you have finished specifying options for deleting file sets,
go to “Specifying when to log data” on page 12-30.
If you do not want records deleted, leave the check box blank.
This option purges records from the ODBC database only, not
from the backup files. RSView deletes ODBC backup files only
when the DataLogMergeToPrimary command is issued.
1. In the Data Log Setup editor, click the Log Triggers tab.
To log periodically:
1. Click Periodic.
2. In the Interval field, type a time, and then click a time unit to
specify how often tag values will be logged. All tags in the
model will be logged each time this interval expires.
Do not set the interval faster than the scan class rate, or OPC
update rate, or you will log redundant data. For information
about scan classes, see “Scanning for new tag values” on
page C-17. For information about update rates see “Scanning for
new tag values” on page 6-12.
You can change the periodic log rate at run time, as described on
page 12-38. However, the run-time change affects the current
data log session only. When you stop and restart the model,
RSView uses the log rate you set up here.
Logging on change
To log on change:
1. Click On Change.
2. In the Maximum Update Rate list, click the fastest rate at which
data servers should send changes in tag values. Use a larger value
to prevent rapid tag changes from overloading the HMI server.
4. In the Heartbeat field, type a time, and then click a time unit to
specify how often tag values will be logged even if no change
has occurred. If you do not want to use the heartbeat, type 0.
The heartbeat ensures that the data in the log file is current. The
heartbeat is also a good way to ensure that data logging is
working and acquiring valid data.
Logging on demand
To log on demand:
1. Click On Demand.
2. Run the model or models for which data will be logged. To run
a model, select the model in the Startup editor or issue the
DataLogOn <component> command where component is the
name of the data log model.
You can use these commands anywhere you can enter an RSView
command or macro. For example, enter the command as the action
for an event.
Operators can also use these commands at run time. For details, see
“Providing operators with a way to log on demand” on page 12-34.
When the tag called motor_fault goes into alarm, and the tag called
new_batch_started is 1, the DataLogSnapshot <component>
command runs. All tags in the model will then be logged (not just
the tag in alarm).
To combine logging:
To specify tags:
1. In the Data Log Setup editor, click the Tags in Model tab.
2. In the Tag(s) to Add box, specify the tags that will be logged. To
do this, do one of the following:
use the Browse button to open the Tag Browser, and then
select the tags. To select multiple tags, Shift-click to select
Browse button consecutive tags, or Ctrl-click to select individual tags..
3. Click the Add button. The tags listed in the Tag(s) to Add box
appear in the Tags in Model field.
To remove a tag from the Tags in Model box, click a tag, and
then click Remove. To remove multiple tags, Shift-click the tags
1. In the Application Explorer, open the data log model you want
to change.
IMPORTANT If you delete a tag from a data log model, and the tag is
also used in a trend object, be sure to remove all
references to the deleted tag from the trend object.
You can change the log paths after an application has been deployed
by using the RSView Administration Console (you don’t need to
use RSView Studio). You can change the primary and secondary
paths for file sets, and the backup path for ODBC data log models.
2. Open the Data Log Model in which you want to change the log
path.
These run-time changes take effect immediately, but are lost if you
shut down the application and then restart it (the changes are not
retentive).
You can change the rate at which periodic logging occurs at run
time using the command:
where
<value> is the numeric portion of the time interval for the log
rate. For example, if you want to log data every 20 seconds, the
value is 20.
The change to the logging rate applies during the current logging
session only. When you stop and restart logging, RSView uses the
logging rate you specified in the the data log model.
You can change the identifier string that forms part of the file name
in log file sets. The log file identifier string is also used in the names
of ODBC backup files. To change the string, use the command
DataLogRenameFile <component> <LogFileIDString>, where
The change to the log file identifier string applies during the current
logging session only. When you stop and restart logging, RSView
uses the log file identifier string you specified in the the data log
model.
In the Startup editor, select the Data Logging check box, and
then select a data log model. The data log model runs the next
time the HMI server runs, or when the HMI server’s components
are started manually. If you want to start more than one data log
model for an application, include the DataLogOn <component>
command in a startup macro.
To stop all the components that are running on the HMI server,
including data log models, event components, derived tag
components, and alarm monitoring, stop the components running
on the HMI server manually. For details, see page 22-11.
To stop data logging, you can also use any of the methods described
below:
Setting up events
Events are expressions that trigger actions. Expressions are
equations containing tag values, mathematical operations,
if – then – else logic, and other built-in RSView functions. Actions
are RSView commands, symbols, or macros. An action could, for
example:
set the maximum update rate for the event component in the
Events editor’s Event Setup dialog box
When you enter information in the editor, the Prev and Next
buttons change to Accept and Discard. Click Accept to save
information. Click Discard to discard information.
The Check Syntax button verifies that the expression you typed
uses correct syntax. You can check the syntax of your expression at
any time by clicking the button.
You must set the maximum update rate separately for each event
component.
The maximum update rate also determines the fastest rate at which
data servers send changes in tag values.
Set the update rate as fast as, or faster than, the rate at which the
values of tags used in the expressions change, unless it is desirable
to miss changes in tag values.
1. On the menu bar, click Setup and then click Event Setup.
4. Click OK.
To create an event:
2. To disable the event, click to clear the Enabled check box. When
the event component runs, this disabled event is not evaluated.
5. Click Accept.
Editing events
You can edit events during development or when you run the
application.
2. Use the Prev and Next buttons to move among events. Make the
required changes.
In the Startup editor, select the Event Detector check box and
then select an event component. The event component starts the
next time the HMI server runs, or when the HMI server’s
components are started manually.
To stop all the components that are running on the HMI server,
including data log models, event components, derived tag
components, and alarm monitoring, stop the components running
on the HMI server manually. For details, see page 22-11.
Adding security
Add security to your application to prevent users from accessing
certain parts of the system.
Only users with the specified security code can run the secured
commands, interact with the secured objects on a graphic
display, or write to secured HMI tags. In this way, the security
code determines the user or group’s level of access to the
system.
Only users with the specified security code can open the
application in RSView Studio, or the RSView Administration
Console.
users who belong to the Operators group can access the Boiler
graphic display and the DataLogOn command
Gail has full access to the system, and can open the application
in RSView Studio, or the RSView Administration Console
users who log on to the system as Guest can access the Boiler
graphic display only
For details,
To assign security codes to Use the see
Any users you don’t select for the RSView user list will not have
access to the parts of the application you have secured.
Once you have added users to the RSView user list, you will have
to specify security access for each user. Use the RSView User
Accounts editor to assign a set of security codes to each user or
group.
You can assign a default set of security codes to all users or groups
you add to the RSView user list.
If you want to add many users or groups with the same level of
access, the default user codes are a handy way to eliminate the need
for setting up each user’s security codes manually.
You can modify a user account’s security codes after you have
added the user to the RSView user list.
2. In the Security Codes area, select the check box for each
security code you want users to have access to by default.
3. Click OK.
When setting up accounts, first create a ‘super user’ account for the
system administrator, filling in the fields as specified below. Be sure
to select all security codes (A through P).
Before you can make use of user accounts in RSView, you must first
create the user accounts in your Windows domain. To do this, your
network must have at least one Windows server acting as a domain
controller. You cannot use Windows Workgroups, or local
workstation domains.
2. In the Windows Domain list, click the name of the domain from
which you want to add users.
5. Click OK.
When you remove a user or group from the RSView user list, the
following items are deleted:
the user or group’s security codes are deleted from the User
Accounts editor
If you remove users from the Windows domain, they are not
removed automatically from the RSView user list. You must
remove the users from the RSView user list manually.
2. In the RSView User Accounts list, click the user name or group
name you want to delete.
4. Repeat steps 2 and 3 for each user or group you want to remove.
2. If you like, type the name of a macro in the Login Macro and
Logout Macro fields.
These macros run each time this user logs in and out. For more
information about macros see “Login and logout macros” on
page 14-9.
4. Click Accept.
For the login and logout macros to be executed, they must be in the
same area as the area from which the Login or Logout command
was executed.
Security codes
The letters are not hierarchical—all letters provide the same level of
security. You do not have to use all of the security codes, nor do
you have to assign the codes in a particular order. For example, you
can choose to use only the codes D and P, and you can assign P
before you assign D.
The Unspecified_Command
Ensure you include the Login and Logout commands and assign
them the * security code.
Click a security
code.
3. Click OK.
Click a security
code.
7. Click Apply.
Assign security to an HMI tag to restrict write access to the tag. This
prevents users who do not have the tag’s security code from
changing the tag’s value. You can assign security to HMI tags only.
You cannot assign security to data server tags. Assign a security
code to an HMI tag in the Tags editor.
Click a security
code.
4. Click Accept.
You can secure an entire application, so that only those users who
have the required security code can open the application in RSView
Studio or the RSView Administration Console.
To secure an application:
Click a security
code.
3. Click OK.
Creating
graphic displays
This chapter describes the Graphic Displays editor and outlines
how to:
You can hide or show toolbars using the View menu, and you can
move the toolbars anywhere on the screen.
The drawing area is the area for creating graphic displays. Change
the background color of this area in the Display Settings dialog box.
For details, see page 15-23.
Docked toolbar
Drawing area
Floating
toolbar
Status bar
No matter where you are in the Graphic Displays editor, you can
open a shortcut menu by clicking the right mouse button. The items
on the menu depend on the cursor’s location. For example, when
If you want to use test mode and your graphic displays contain
Edit Display objects associated with tags, your system must be set up to
communicate with data servers, direct drivers, OPC servers, or DDE
servers.
IMPORTANT Test mode is not the same as running the display. It does
not change the appearance or position of the display as
set up in the Display Settings dialog box.
hide or show them using the items on the View menu. If there is
a check mark beside the toolbar name, the toolbar is visible. If
there is no check mark, the toolbar is hidden.
A toolbar that is
docked.
Before you can draw an object, you must select the appropriate
tool.
Selecting colors
The color palettes contain the colors you can assign to objects. To
show and hide the color palettes, click them on the View menu.
You can also select colors using the color items on the Attributes
menu. You can select colors before you draw an object, or you can
apply them to an existing object.
Use the Foreground Color palette to select a color for the outline of
an object, for text, or for hollow objects.
Use the Background Color palette to select a color for the inside of
an object or for solid objects.
To work with an object, you must first select it. For details about
the various ways you can select objects, see page 15-266.
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.
The grid can be active or passive. If you turn on Snap to Grid, the
grid is active, and all the objects you draw or position are pulled to
the closest grid point. This makes it easy to align and size objects. If
you turn off Snap to Grid, the grid is passive, and does not affect
your drawing or the position of your objects.
Turn off the grid either to draw or position an element between the
grid lines. Turn on the grid and the next object you draw or place
will automatically be aligned with the grid. Turning on the grid
does not affect the placement of existing objects.
You can click Show Grid and Snap On on the View menu.
You cannot rotate OLE objects, ActiveX objects, bitmaps, and text.
3. Place the pointer on an edge of the object, and then drag the
object to rotate it.
Youc can also zoom the graphic display to fit the size of the
window.
Zoom Out
To zoom in on objects:
To zoom out:
When the graphic display is resized, the relative sizes of each of the
objects in the display (also called the aspect ratio), is not
maintained.
Correcting mistakes
If you change your mind about something you did, undo the action.
If you change your mind again, redo the action.
Undo
To undo an action:
Redo
" On the Edit menu, click Undo, or on the toolbar, click the
Undo button.
To redo an action:
" On the Edit menu, click Redo, or on the toolbar, click the Redo
button.
You can save the settings for the current graphic display, or you can
save the settings as the default for all new graphic displays.
Set as Default does not save the settings for the current display.
To save the settings for the current display, you must also click OK.
The Display Settings dialog box has two tabs: Properties and
Behavior.
display type
caching
security
background color
on-screen keyboard
specify what buttons and text appear in the title bar, how often
the display is updated, and other display attributes
Replace
Replace is the default display type. Use this option if you want the
graphic display to replace other open graphic displays when it
opens. The RSView SE Client closes any graphic display that the
newly-opened display overlaps. This way you don’t need to issue
separate commands to close the other displays.
Overlay
Use this option if the graphic display doesn’t need to replace others
or appear on top. The display will layer with other displays,
overlapping some and being overlapped by others as the focus
changes between multiple displays.
Keep at Back
Select this check box if you always want this graphic display at the
back. However, we recommend that you use the On Top display
type to control the layering of displays. To use Keep at Back, you
must click the Overlay option.
On Top
Use this option to keep the graphic display on top at all times. It
remains on top even if another display has focus. However, if more
You can also run multiple copies without checking this option, by
using the Display command with different parameter files for each
copy of the display. For example, to display two copies of the same
graphic in different places on the screen you could use these
commands:
PID is the name of a graphic display, and Level1 and Level2 are
parameter files. /Q1 positions the first display at the top-right
corner of the screen. /Q2 positions the second display at the
top-left corner of the screen.
Click Yes to load the graphic display into the display cache when it
is displayed for the first time. Placing the graphic display in the
cache makes the graphic display appear more quickly every
subsequent time, because it does not have to be read from disk. You
can have up to 40 graphic displays in the cache. Use this option for
large or complex displays only, to minimize the use of system
resources.
Always Updating
Select this check box to keep the cached display up to date. For
example, select this check box to update trend data continuously for
the display, even when the display is not visible. You can also use
this option to execute VBA code in the background.
Title Bar
To have a title bar appear on the graphic display at run time, select
the Title Bar check box.
If the Title Bar check box is not selected, the check boxes for the
System Menu, Minimize button, and Maximize button are not
available (because these items all appear on the title bar).
You can also type a title for the graphic display, which will appear
in the title bar at run time in place of the component name. The
title can be anything you want and can include spaces. You cannot
type a title if the Title Bar check box is not selected.
Maximize button
Title
Minimize button
Title bar
If you select this check box, the graphic display will be the size of
the RSView SE Client main window when the display starts
running. The graphic display is panned or scaled, depending on
which option is selected under When Resized. For more
information, see page 15-22.
Select this check box to show a graphic display with the last known
value for each HMI tag in the display until current values arrive from
the programmable controller. In many applications, selecting this
option will help display graphics more quickly.
IMPORTANT The last acquired value can be displayed for HMI tags
only. For other kinds of tags, the last value cannot be
retained.
If you do not select this option, objects with values that have not
yet been updated will appear in outline form. The outline indicates
that data is not current, or is in error.
This option does not affect objects with HMI tags that are in error. If
an object has a tag that is in error, the object will appear in outline
form.
The maximum update is the fastest rate at which data servers send
changes in tag values to the graphic display.
Set the update rate as fast as, or faster than, the rate at which the
values of tags used in the expressions change, unless it is desirable
to miss changes in tag values.
The default update rate is 0.5 seconds. This means that data servers
will not send updates to tag values faster than twice every second.
To minimize the need for scroll bars, the RSView SE Client tries to
position all graphic displays within the working area of the RSView
click Use Current Size. When you save the graphic display, the
size of the window at that time becomes the default size.
click Specify Size in Pixels, and then type a value in the Width
box and the Height box
The window size and position you specify here can be overridden
by the RSView Display command. The Display command accepts
size and position parameters, which override the Display Settings
options. For more information about the Display command, see
Appendix A, RSView commands, or see Help.
If you want a window that can be resized using the mouse, select
this check box. This option works with the pan and scale options.
If you do not select the check box, the graphic display cannot be
resized at run time.
When Resized
Click Pan to resize the display so objects retain their original size
when the display size changes. For example, if the display was
resized to one quarter its original size, only one quarter of the
display would be visible. In this case scroll bars appear for viewing
the rest of the display.
click Use Current Position. When you save the graphic display,
the position of the window at that time becomes the default
position.
click Specify Position in Pixels and then type values in the X and
Y boxes. These boxes specify the position of the window in
relation to the top-left corner of the RSView main window. The
x-value positions the window from the left edge of the main
window and the y-value positions the window from the top of
the main window.
The window size and position you specify here can be overridden
by the RSView Display command. The Display command accepts
size and position parameters, which override the Display Settings
options. For more information about the Display command, see
Appendix A, RSView commands, or see Help.
Type commands or
macros in the Startup and
Shutdown boxes, or click
the ... (Browse) buttons to
open the Command
Wizard, and then select
the commands or macros.
If you use the Always Updating option with the Cache After
Displaying option, the startup command is executed when the
display is loaded into the cache. The shutdown command is
executed only when the cache is flushed (using the FlushCache
command) or when you stop the application.
If you do not use the Always Updating option, the startup and
shutdown commands work normally, as described above.
Input fields are created with the Numeric Input, String Input, and
Recipe drawing tools. At run time, operators can use these fields to
read values from or write values to the programmable controller. To
open the color palette click a colored box, and then click a color.
Text color is the color of the text in the input field. Background
color is the background color of the input field.
When choosing colors for the input fields, be sure to choose colors
that will stand out from the background color of the display.
Choose different colors for when the field is selected, so the
operator can tell that the field is highlighted.
Interactive objects are those that the operator can interact with at
run time, using a mouse, keyboard, or touch screen. For example, a
button that has a press action is interactive.
You can create a tab sequence for interactive objects that use index
numbers. For details, see “Creating a tab sequence” on page 16-57.
Select this check box if you want the computer to beep when a
button object or an object with touch animation is clicked.
Select this check box to turn on the highlight for interactive objects.
Click the colored box to open the color palette and then choose the
highlight color. At run time, when the mouse cursor is over an
interactive object, the object will be highlighted.
This object is an
interactive object, but it is
not the object with input
focus.
The keypad for numeric input fields allows numeric entry only.
To cache displays:
To remove all graphic displays from the display cache, use the
FlushCache command. To remove a specific graphic display from
the display cache, use the FlushCache <file> command. Graphic
displays are also removed from the cache when an RSView
SE Client is closed.
If a display uses the Always Updating option with the Cache After
Displaying option, the display’s shutdown command is executed
when you issue a FlushCache command, or when you close the
application. For details about the FlushCache command, see
Appendix A, RSView commands, or see Help.
Gauge and graph: objects that show the range of values, and
relationships between variables.
Key: objects that represent keys on a keyboard, and are for use
with touch screens.
Once you have selected a drawing tool, there are two ways to draw
objects: dragging, or clicking end points. Some objects, such as
rectangles, ellipses, and arcs, can be drawn only by dragging.
Others, such as polylines and polygons, can be drawn only by
clicking end points.
Creating text
Once the Text tool is selected, you can create more than one text
object. To do so, move to an empty spot in the drawing area,
click, and then type the text.
To edit text, select the text object and then double-click it. The
I-beam appears. To delete characters, use the Backspace and
Delete keys.
Choosing a font
You can choose a font before or after you create text. You can
change the font of any object, including display and input objects.
When choosing a font, style, size, and color for text on the screen,
keep the following design principles in mind:
Choose only one or two fonts, and use them for all the graphic
displays in your application.
Choose a font size that most operators can read easily. Test the
font size, and adapt it to the screen resolution you expect
operators to be viewing at run time.
If you are short of screen space, rather than reducing the font
size, keep the size the same, but use a condensed font that fits
more characters per line, for example, Arial Narrow.
Some people are color blind to red and green so don’t rely on
color alone to establish meaning.
Ensure that the fonts you choose for your graphic displays are
installed on all the computers on which you intend to run the
graphic displays. If a font is not installed, Windows substitutes
one that is installed, possibly with unsatisfactory results.
IMPORTANT You can select any font you have installed, but
TrueTypet, OpenTypet, or Type 1 fonts are
recommended. These fonts can be resized with
graphic scaling.
5. Click OK.
You can also choose a font color using the Foreground Color
palette.
There are three ways to add an image to a graphic display. You can:
Images you copy, you can only paste into graphic displays for as
long as they remain on the Windows clipboard—that is, until you
next cut or copy something.
2. Click the graphic display into which you want to paste the
image.
5. Click OK.
Use the image tool to place bitmap images in your displays. If the
image you want to place in a graphic display is not a bitmap image,
you must use image editing software to convert it to the Windows
bitmap format (*.bmp) before you can place it in a graphic display.
For monochrome images, any area of the image that is not black
becomes transparent when you change the Image back style to
Transparent.
For color images, any area of the image that is black will become
transparent when you change the Image back style to Transparent.
2. Drag the mouse diagonally until the image is the size you want.
4. In the Image Properties dialog box, type the name of the image
file you want to use, or click the Browse button to browse for
the image.
5. Click an image in the list on the left, and then click OK.
For monochrome images, any area of the image that is not black
becomes transparent when you change the Image back style to
Transparent.
For color images, any area of the image that is black will
become transparent when you change the Image back style to
Transparent.
Image color Click the colored square to open the color palette,
and then click a color for a monochrome image. You cannot
change the color of grayscale or color images.
Image back color Click the colored square to open the color
palette, and then click a color for the background of a
monochrome image. You cannot change the background color
of grayscale or color images.
Images that you add to your application, you can add to graphic
displays over and over again. If you modify the image, the modified
image appears automatically in all the graphic displays that use the
image.
When you add an image using the Image Browser, the image also
appears in the Application Explorer automatically, and vice versa.
2. In the Open dialog box, select the folder in which the image you
want is located.
2. In the Open dialog box, select the folder in which the image you
want is located.
Use the panel tool to draw rectangles and squares that have borders.
Panel tool Panels are useful for color-coding areas of a graphic display that
contain similar information. For example, if you have numeric
input and display objects for A and B on the same display, you can
color code them to help the operator distinguish the A’s from
the B’s.
You can set up panel objects to blink at run time. The panel object
does not support animation, so you cannot make it blink or move in
response to a tag’s value.
To create a panel:
2. Drag the mouse diagonally until the panel is the size you want.
To draw a square panel, press Ctrl while you drag the mouse.
4. In the Panel Properties dialog box, specify how you want the
panel to look.
Border uses back color Select the check box if you want the
panel’s border to have the same color as the panel’s background.
Clear the check box if you want the panel’s border to have a
different color than the background, and then choose a Border
color. For details, see below.
Back color Click the color box to open the palette, and then
click a color for the panel’s background.
Border color Click the color box to open the palette, and then
click a color for the panel’s border.
You can only change the border color if you clear the Border
uses back color check box.
Blink Select the check box to make the panel blink at run time.
Clear the check box to prevent the panel from blinking at run
time.
Rounded rectangle tool Use the Rounded Rectangle tool to draw a rectangle with rounded
corners.
2. Drag the drawing tool diagonally until the object is the size you
want.
Line tool Use the Line tool to draw straight lines in any direction.
You can also use the Snap to Grid option to draw straight lines.
You can change the style and width of lines using Line Properties
dialog box. For details, see page 15-288.
Polygon tool
2. Drag the drawing tool to create the first segment of the object.
Release the mouse button.
Wedge tool To draw the arc or wedge in 45-degree increments, hold down Ctrl
while you draw.
3. Click a handle, and drag the mouse to ‘cut out’ part of the circle.
You can also use the Arc and Wedge tools to reshape any arc,
ellipse, or wedge.
in the object’s Properties dialog box. For details, see the topics
in this section.
1. Select the object. For details about the ways you can select
objects, see page 15-266.
Line style Click a style for the line. Line styles are available
only when the line width is 1.
Solid
Dash
Dot
Dash-Dot
Dash-Dot-Dot
Fore color Click the color box to open the palette, and then
click a color for the object’s foreground.
Back color Click the color box to open the palette, and then
click a color for the object’s background.
Pattern color Click the color box to open the palette, and then
click a color for the pattern.
1. Place the pointer on the object you want to reshape and then
double-click the object, or right-click the object and then click
Edit.
1. Place the pointer on the object you want to reshape and then
double-click, or right-click and then click Edit Object.
Objects that use data are called interactive objects, because the
operator can interact with them at run time using a mouse,
keyboard, or touch screen. For example, a button that has a press
action, or a numeric input object are both interactive.
1. Click a drawing tool, and then drag the cursor to create a box
approximately the size you want the object to be.
2. For some objects you will need to double-click the object to set
it up. For other objects, a properties dialog box appears
automatically.
click the Browse button and then click a tag name in the list
Browse button
Tag placeholders can save you time by providing a way for you to
use a single graphic display for several similar operations. 5.
For example, imagine you are creating displays for a plant that cans
corn and beans. The machinery used in both processes is identical.
Instead of drawing two displays and then specifying corn-related
tags in one display and bean-related tags in another, you can create
one display and not specify any tag names. Where a tag name is
required, type a tag placeholder instead.
When the display runs, the placeholders must be replaced with tag
names. This can be done in two ways: with a parameter file, or by
specifying the tag names as parameters to the Display command.
If you are using an HMI tag, you can also add a folder name to the
placeholder. For example, #1\PV is a valid placeholder and requires
only one parameter (the folder name).
#1 = bean_weight
#2 = bean_level
#3 = bean_temp
For tag placeholders in alarm summary objects only, you can use
wildcards in the parameter file. For example, #1 = bean_* is a valid
parameter entry. The alarm summary would display any alarms
associated with tags beginning with bean_.
You cannot use wildcards in placeholders for any objects other than
alarm summaries.
where:
where:
For tag placeholders in alarm summary objects only, you can use
wildcards when you specify tag names on the command line.
Corn\Weight Bean\Weight
Corn\Level Bean\Level
Corn\Temp Bean\Temp
To run the display called Canning with the folder containing corn
tags, type:
To run the display called Canning with the folder containing bean
tags, type:
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.
Once you have created a push button, you need to set it up using its
Properties dialog box. You can open a push button’s Properties
dialog box at any time by double-clicking the push button.
The General tab contains basic settings for the button, such as its
shape, the size of its border, and whether it is solid or transparent.
You define a button’s action, and set up its appearance for each
state on the States tab of the button’s Properties dialog box.
Exceptions
Ramp push buttons have no states; they can only ramp a value
up or down.
Multistate push buttons have two states by default, but you can
add more states, to add up to 255 functions to the button.
Most push buttons have two tags for sending and receiving data:
the Value tag triggers the button’s action, for example starts a
machine or process. The Value tag is similar to the contact on a
hard-wired push button.
Exceptions
If another process changes the tag’s value back to zero, the next
time the operator presses the button, the tag’s value changes to 1
again, instead of changing to zero.
For most push buttons, the Value tag is a read-write tag. There are
two exceptions:
If you assign the same tag name to the Value tag and to the
Indicator tag, the button’s appearance will change when the
operator presses the button. If you assign different tag names to the
Value and Indicator tags, the button’s appearance will change only
when the value of the Indicator tag changes.
For those buttons that have an Indicator tag, the tag is always a
read tag.
To create a button:
2. Drag the mouse to draw a button the size you want, and then
release the mouse button.
The highlight and shadow colors on the beveled button use the
current system settings.
To reshape a button, click to select it, click the Polygon tool and
then move or add vertices as you would for any other polygonal
shape.
2. To prevent the cursor from moving off the button until the
button’s release action is carried out, select the Capture cursor
check box. Use this feature when you need to ensure that a
button’s release action is carried out.
If the Capture cursor check box is not selected, the button will
behave like a standard Windows button, allowing the user to
‘cancel’ the button’s release action by holding the mouse button
down while moving the cursor off the button.
4. In the Tab index box, either leave the default value or type a
new value. Index numbers determine the tab sequence for
interactive objects such as buttons and input fields and are also
used in recipe components. For details, see “Using index
numbers” on page 16-54.
On the action tab, click an action in the list, and then specify what
happens when the action occurs.:
Set tag to 1 Sets the specified tag to 1 when the button is released
(mouse down = no action, mouse up = Set <tag name> to 1).
Set tag to 0 Sets the specified tag to 0 when the button is released
(mouse down = no action, mouse up = Set <tag name> to 0).
You must specify either a press or release action; both are not
required. If you specify a repeat action, the action is repeated at the
rate specified in the Repeat rate box, for as long as the mouse
button is held down.
Pressing the Enter key does not cause a repeat action to be executed
because Windows interprets this as a series of press actions, so the
repeat action is not carried out. The Enter key works for the press
and release actions only.
Pattern style Click a pattern style for the button. If the Back style
is Transparent, the pattern is not visible.
Fore, Back, and Pattern color Click the corresponding color box
to open the palette, and then click a color in the palette.
An image you reference is not saved with the graphic display. You
should reference images that are large in size, but stored on the
same computer as the graphic display.
An image you import is saved with the graphic display. You should
import small images, or images on other computers on the network.
If you import images that reside on other computers on the
network, they don’t have to be sent across the network every time
the graphic display is opened. This helps reduce network traffic.
To scale the image to fit the surface of the button, select the Scale
image check box. To keep the image at its original size, leave the
Scale image check box cleared.
On the Down Appearance tab, specify what the button looks like
when it is pressed.
Editing a button
For details about the button’s properties, see the topics starting on
page 15-67.
To reshape a button, click the button to select it, and then click the
Polygon tool. Move or add vertices as you would with any
polygon. For details about reshaping polygons, see page 15-50.
Use the momentary push button tool to create a button that starts a
process or action. When pressed, momentary push buttons change a
tag to one value, and when released, they change a tag to another
Momentary push button
tool
value.
The momentary push button’s states can perform one of three kinds
of actions:
change the Value tag to zero when the button is pressed, and to
1 when the button is released. This kind of button is called
normally closed, because its released state is on. Pressing the
button breaks the circuit.
change the Value tag to a value you specify. You assign these
values to the button’s press and release actions. For example, 50
when released, and 100 when pressed.
On the General tab, specify what the momentary push button looks
like at run time, and what type of action the button performs.
Border uses back color Select the check box if you want the
button’s border to have the same color as the button’s background.
Clear the check box if you want the button’s border to have a
different color than the button’s background, and then choose a
Border color on the States tab. For details, see below.
Highlight color Click the color box to open the palette, and then
click a color for the border that appears around the button when it
is selected. If the button does not have a border, the highlight color
is not visible when the button is pressed.
Click Normally closed to change the button’s tag to zero when the
button is pressed, and 1 when the button is released.
Click Value to specify values for each of the button’s states. Type
values in the States tab, described on page 15-79.
Hold time The amount of time the button remains pressed before
the Release action takes effect, even if the operator releases the
button sooner.
The hold time should reflect network traffic. Increasing the hold
time prevents a very quick object press from being missed by the
programmable controller. If you are using a memory HMI tag, click
the shortest hold time.
The operator cannot press the button again until the hold time has
expired. If a display change occurs before the hold time has expired,
the value for the released state is sent immediately to the tag.
Audio Select this check box to beep the computer’s internal speaker
when the operator presses the button.
On the States tab, specify what the button does when it is pressed
and released.
the Value tag does not match one of the state values you set up
the Indicator tag does not match one of the state values you
set up
Select state Click a state, and then set up the state on the
right-hand side.
Value The value to which the button changes the Value tag when
the selected state is in effect. When the Indicator tag changes to this
value, the button’s appearance changes to the settings you specify
for the state.
If you clicked Value for the button action on the General tab, you
can type a value for the state in this box. You cannot type a value
for the button’s error state.
If you clicked Normally open for the button action on the General
tab, state 0 has a value of 0, and state 1 has a value of 1. You cannot
change these values.
Back color Click the color box to open the palette, and then click
a color for the button’s background.
Border color Click the color box to open the palette, and then
click a color for the button’s border.
Pattern color Click the color box to open the palette, and then
click a color for the pattern.
Caption Type the text you want to appear on the button. If you
don’t want any text on the button, leave the Caption box blank.
Font, size, and style Click a font for the caption in the font list.
Type or click a size for the font in the size box. Click B to make the
font bold, click I to make the font italic, click U to underline the
text.
Caption color Click the color box to open the palette, and then
click a color for the caption’s text.
Caption back color Click the color box to open the palette, and
then click a color for the caption’s background.
Word wrap Select this check box to wrap words to the next line if
they are too long for the width of the caption. Clear this check box
to truncate words that are too long for the width of the caption.
Image Type the name of the image file you want to display on the
button, or click the Browse button to browse for the image.
If you click the Browse button, the Image Browser appears. Click
an image in the list on the left, and then click OK.
For monochrome images, any area of the image that is not black
becomes transparent when you change the Image back style to
Transparent.
For color images, any area of the image that is black will become
transparent when you change the Image back style to Transparent.
Image color Click the colored square to open the color palette,
and then click a color for a monochrome image. You cannot change
the color of grayscale or color images.
Image scaled Select the check box to scale the image to fit the area
of the button. Clear this check box to crop the image to the area of
the button.
Value Type a tag name, or click the Browse button to browse for a
tag. The Value tag triggers the button’s action. For example, the tag
that, when set to 1, starts a motor.
If you assign this tag, the button does not display the pressed state
until it receives a response from the Indicator tag. Set up the
controller to change the Indicator tag’s value when it has read the
Value tag’s value.
Use the maintained push button tool to create a button that changes
a setting in a machine or process. Maintained push buttons are not
Maintained push button
useful for starting or stopping a machine or process.
tool
On the General tab, specify what the button looks like at run time,
and how the button changes state.
Border uses back color Select the check box if you want the
button’s border to have the same color as the button’s background.
Clear the check box if you want the button’s border to have a
different color than the button’s background, and then choose a
Border color on the States tab. For details, see below.
Highlight color Click the color box to open the palette, and then
click a color for the border that appears around the button when it
is selected. If the button does not have a border, the highlight color
is not visible when the button is pressed.
Click Value control to toggle the button’s state relative to the Value
tag. If the operator presses the button, changing its state to 1, and
then the Value tag changes the button’s state to zero, the next time
the operator presses the button, the button’s state will be 1.
Audio Select this check box to beep the computer’s internal speaker
when the operator presses the button. If the computer running the
display does not have an internal speaker, pressing the button does
not trigger a beep.
On the States tab, specify what the button does when it is pressed
and released.
the Value tag does not match one of the state values you set up
when the display that contains the maintained push button
opens
the Indicator tag does not match one of the state values you
set up
Select state Click a state, and then set up the state on the
right-hand side.
Value The value to which the button changes the Value tag when
the selected state is in effect. When the Indicator tag changes to this
value, the button’s appearance changes to the settings you specify
for the state.
Back color Click the color box to open the palette, and then click
a color for the button’s background.
Border color Click the color box to open the palette, and then
click a color for the button’s border.
Pattern color Click the color box to open the palette, and then
click a color for the pattern.
Caption Type the text you want to appear on the button. If you
don’t want any text on the button, leave the Caption box blank.
Font, size, and style Click a font for the caption in the font list.
Type or click a size for the font in the size box. Click B to make the
font bold, click I to make the font italic, click U to underline the
text.
Caption color Click the color box to open the palette, and then
click a color for the caption’s text.
Caption back color Click the color box to open the palette, and
then click a color for the caption’s background.
Word wrap Select this check box to wrap words to the next line if
they are too long for the width of the caption. Clear this check box
to truncate words that are too long for the width of the caption.
Image Type the name of the image file you want to display on the
button, or click the Browse button to browse for the image.
If you click the Browse button, the Image Browser appears. Click
an image in the list on the left, and then click OK.
For monochrome images, any area of the image that is not black
becomes transparent when you change the Image back style to
Transparent.
For color images, any area of the image that is black will become
transparent when you change the Image back style to Transparent.
Image color Click the colored square to open the color palette,
and then click a color for a monochrome image. You cannot change
the color of grayscale or color images.
Image scaled Select the check box to scale the image to fit the area
of the button. Clear this check box to crop the image to the area of
the button.
Value Type a tag name, or click the Browse button to browse for a
tag. The Value tag triggers the button’s action. For example, the tag
that, when set to 1, changes to Auto mode.
If you assign this tag, the button does not display the pressed state
until it receives a response from the Indicator tag. Set up the
controller to change the Indicator tag’s value when it has read the
Value tag’s value.
Use the latched push button tool to create a button that latches in
the on position, and must be unlatched by another button or
Latched push button
tool
process to return to the off position.
On the General tab, specify what the button looks like at run time,
and how to unlatch it.
Border uses back color Select the check box if you want the
button’s border to have the same color as the button’s background.
Clear the check box if you want the button’s border to have a
different color than the button’s background, and then choose a
Border color on the States tab. For details, see below.
Highlight color Click the color box to open the palette, and then
click a color for the border that appears around the button when it
is selected. If the button does not have a border, the highlight color
is not visible when the button is pressed.
Latch reset type To unlatch the push button when the Handshake
tag has a non-zero value, click Non-zero Value.
To unlatch the push button when the Handshake tag changes from
a zero to a non-zero value, click Zero to non-zero transition.
On the States tab, specify what the button does when it is latched
and unlatched.
the Value tag does not match one of the state values you set up
when the display containing the latched push button first opens
the Indicator tag does not match one of the state values you
set up
Select state Click a state, and then set up the state on the
right-hand side.
Value The value to which the button changes the Value tag when
the selected state is in effect. When the Indicator tag changes to this
value, the button’s appearance changes to the settings you specify
for the state.
Back color Click the color box to open the palette, and then click
a color for the button’s background.
Border color Click the color box to open the palette, and then
click a color for the button’s border.
Pattern color Click the color box to open the palette, and then
click a color for the pattern.
Caption Type the text you want to appear on the button. If you
don’t want any text on the button, leave the Caption box blank.
Font, size, and style Click a font for the caption in the font list.
Type or click a size for the font in the size box. Click B to make the
font bold, click I to make the font italic, click U to underline the
text.
Caption color Click the color box to open the palette, and then
click a color for the caption’s text.
Caption back color Click the color box to open the palette, and
then click a color for the caption’s background.
Word wrap Select this check box to wrap words to the next line if
they are too long for the width of the caption. Clear this check box
to truncate words that are too long for the width of the caption.
Image Type the name of the image file you want to display on the
button, or click the Browse button to browse for the image.
If you click the Browse button, the Image Browser appears. Click
an image in the list on the left, and then click OK.
For monochrome images, any area of the image that is not black
becomes transparent when you change the Image back style to
Transparent.
For color images, any area of the image that is black will become
transparent when you change the Image back style to Transparent.
Image color Click the colored square to open the color palette,
and then click a color for a monochrome image. You cannot change
the color of grayscale or color images.
Image scaled Select the check box to scale the image to fit the area
of the button. Clear this check box to crop the image to the area of
the button.
Value Type a tag name, or click the Browse button to browse for a
tag. The Value tag triggers the button’s action. For example, the tag
that, when set to 1, starts a motor.
If you assign this tag, the button does not display the pressed state
until it receives a response from the Indicator tag. Set up the
controller to change the Indicator tag’s value when it has read the
Value tag’s value.
To unlatch the button, the Handshake tag works with the Latched
Reset Type setting (on the General tab, see page 15-96).
Use the multistate push button tool to create a button that displays
and allows an operator to cycle through multiple options
Multistate push button consecutively. The multistate push button displays the current state
tool of a process or operation by showing a different color, caption, or
image to reflect different states.
Each time the operator presses the button, the tag changes to the
value for the next state. When the button is in its last state and the
operator presses the button, the button returns to its first state.
On the General tab, specify what the button looks like, and how
the button changes state.
Border uses back color Select the check box if you want the
button’s border to have the same color as the button’s background.
Clear the check box if you want the button’s border to have a
different color than the button’s background, and then choose a
Border color on the States tab. For details, see page 15-109.
Highlight color Click the color box to open the palette, and then
click a color for the border that appears around the button when it
is selected. If the button does not have a border, the highlight color
is not visible when the button is pressed.
Number of states Click the number of states you want the button
to have.
Assign only as many states as you want to set up. If you don’t
assign values to all the states the button has, the operator must press
the button repeatedly through all the empty states before the first
state becomes available again.
Next state based on When the operator presses the button, the
next state that is displayed can be based on the current state, or on
the value of the Value tag.
Click Current state to use the current state as the basis for deciding
what the next state will be. Click Current state if you want the
button itself to determine what its next state will be.
Click Value control to use the Value tag as the basis for deciding
what the next state will be. Click Value control if you want other
devices to change the Value tag, and determine what the button’s
next state will be.
If the Value tag does not match one of the button’s state values, the
button changes to State 0, and changes the Value tag to the value of
State 0.
Audio Select this check box to beep the computer’s internal speaker
when the operator presses the button.
On the States tab, specify what the button does when it is pressed
and released.
the Value tag does not match one of the state values you set up
when the display containing the multistate push button first
opens
the Indicator tag does not match one of the state values you
set up
Select state Click a state, and then set up the state on the
right-hand side.
Delete state Click the state you want to delete, and then click
Delete state.
Value The value to which the button changes the Value tag when
the selected state is in effect. When the Indicator tag changes to this
value, the button’s appearance changes to the settings you specify
for the state.
Back color Click the color box to open the palette, and then click
a color for the button’s background.
Border color Click the color box to open the palette, and then
click a color for the button’s border.
Blink Select the check box to make the button blink at run time.
Clear the check box to prevent the button from blinking at run
time.
Pattern color Click the color box to open the palette, and then
click a color for the pattern.
Caption Type the text you want to appear on the button. If you
don’t want any text on the button, leave the Caption box blank.
Font, size, and style Click a font for the caption in the font list.
Type or click a size for the font in the size box. Click B to make the
font bold, click I to make the font italic, click U to underline the
text.
Caption color Click the color box to open the palette, and then
click a color for the caption’s text.
Caption back color Click the color box to open the palette, and
then click a color for the caption’s background.
Caption blink Select the check box to make the caption blink at
run time. Clear the check box to prevent the caption from blinking
at run time.
Word wrap Select this check box to wrap words to the next line if
they are too long for the width of the caption. Clear this check box
to truncate words that are too long for the width of the caption.
Image Type the name of the image file you want to display on the
button, or click the Browse button to browse for the image.
If you click the Browse button, the Image Browser appears. Click
an image in the list on the left, and then click OK.
For monochrome images, any area of the image that is not black
becomes transparent when you change the Image back style to
Transparent.
For color images, any area of the image that is black will become
transparent when you change the Image back style to Transparent.
Image color Click the colored square to open the color palette,
and then click a color for a monochrome image. You cannot change
the color of grayscale or color images.
Image back color Click the colored square to open the color
palette, and then click a color for the background of a monochrome
image. You cannot change the background color of grayscale or
color images.
Image scaled Select the check box to scale the image to fit the area
of the button. Clear this check box to crop the image to the area of
the button.
On the Timing tab, set up whether or not you want the button to
repeat automatically when the operator presses and holds the
button down. You can also set up the rate at which the button
repeats.
Auto repeat rate Select the number of times per second a button
press is registered when the button goes into auto repeat mode. If
you don’t want the button to repeat automatically, click 0.
Value Type a tag name, or click the Browse button to browse for a
tag. The Value tag triggers the button’s action. For example, the tag
that switches among recipes.
If you assign this tag, the button does not display the pressed state
until it receives a response from the Indicator tag. Set up the
controller to change the Indicator tag’s value when it has read the
Value tag’s value.
When the operator presses one of the interlocked push buttons, the
buttons’ Value tag changes to one value. When the operator presses
a different interlocked button, the buttons’ Value tag changes to
another value. All the buttons share the same Value tag.
On the General tab, specify the button’s appearance, and the value
to which it changes the tag it is connected to.
Border uses back color Select the check box if you want the
button’s border to have the same color as the button’s background.
Clear the check box if you want the button’s border to have a
different color than the button’s background, and then choose a
Border color on the States tab. For details, see below.
Highlight color Click the color box to open the palette, and then
click a color for the border that appears around the button when it
is selected. If the button does not have a border, the highlight color
is not visible when the button is pressed.
Audio Select this check box to beep the computer’s internal speaker
when the operator presses the button.
On the States tab, specify what the button looks like when it is
pressed or released at run time.
Back color Click the color box to open the palette, and then click
a color for the button’s background.
Border color Click the color box to open the palette, and then
click a color for the button’s border.
Blink Select the check box to make the button blink at run time.
Clear the check box to prevent the button from blinking at run
time.
Pattern color Click the color box to open the palette, and then
click a color for the pattern.
Caption Type the text you want to appear on the button. If you
don’t want any text on the button, leave the Caption box blank.
Font, size, and style Click a font for the caption in the font list.
Type or click a size for the font in the size box. Click B to make the
font bold, click I to make the font italic, click U to underline the
text.
Caption color Click the color box to open the palette, and then
click a color for the caption’s text.
Caption back color Click the color box to open the palette, and
then click a color for the caption’s background.
Caption blink Select the check box to make the caption blink at
run time. Clear the check box to prevent the caption from blinking
at run time.
Word wrap Select this check box to wrap words to the next line if
they are too long for the width of the caption. Clear this check box
to truncate words that are too long for the width of the caption.
Image Type the name of the image file you want to display on the
button, or click the Browse button to browse for the image.
If you click the Browse button, the Image Browser appears. Click
an image in the list on the left, and then click OK.
For monochrome images, any area of the image that is not black
becomes transparent when you change the Image back style to
Transparent.
For color images, any area of the image that is black will become
transparent when you change the Image back style to Transparent.
Image color Click the colored square to open the color palette,
and then click a color for a monochrome image. You cannot change
the color of grayscale or color images.
Image back color Click the colored square to open the color
palette, and then click a color for the background of a monochrome
image. You cannot change the background color of grayscale or
color images.
Image scaled Select the check box to scale the image to fit the area
of the button. Clear this check box to crop the image to the area of
the button.
On the Connections tab, specify the tag with which the button
exchanges data. Interlocked push buttons have no Indicator tag.
Value Type a tag name, or click the Browse button to browse for a
tag. The Value tag triggers the button’s action. For example, the tag
that, when set to 1, changes to Auto mode.
Use the ramp push button tool to create a button that the operator
can use to increase or decrease the value of a tag.
Ramp push button tool
Ramp push buttons can change a tag by either an integer or floating
point value. You can use two ramp buttons together to create an
increase/decrease control.
Each time the operator presses the button, the tag changes to the
next highest or next lowest value, depending on how you set up the
button.
4. In the Ramp Push Button Properties dialog box, fill in the fields
on each tab, as described in the sections that follow. When you
are finished, click OK.
On the General tab, specify what the button looks like, and
whether the button ramps a value up or down.
Border uses back color Select the check box if you want the
button’s border to have the same color as the button’s background.
Clear the check box if you want the button’s border to have a
different color than the button’s background, and then choose a
Border color. For details, see below.
Back color Click the color box to open the palette, and then click
a color for the button’s background.
Border color Click the color box to open the palette, and then
click a color for the button’s border.
Highlight color Click the color box to open the palette, and then
click a color for the border that appears around the button when it
is selected. If the button does not have a border, the highlight color
is not visible when the button is pressed.
Blink Select the check box to make the button blink at run time.
Clear the check box to prevent the button from blinking at run
time.
Upper limit This box appears only if you click Ramp up. Type the
upper limit for the tag’s value.
Ramp down Click Ramp down to decrease the value of the tag.
Lower limit This box appears only if you click Ramp down. Type
the lower limit for the tag’s value.
Ramp value Type the positive value by which the button increases
or decreases the tag’s value.
Audio Select this check box to beep the computer’s internal speaker
when the operator presses the button.
On the Label tab, specify what text or image appears on the button.
Font, size, and style Click a font for the caption in the font list.
Type or click a size for the font in the size box. Click B to make the
font bold, click I to make the font italic, click U to underline the
text.
Caption color Click the color box to open the palette, and then
click a color for the caption’s text.
Caption back color Click the color box to open the palette, and
then click a color for the caption’s background.
Caption blink Select the check box to make the caption blink at
run time. Clear the check box to prevent the caption from blinking
at run time.
Word wrap Select this check box to wrap words to the next line if
they are too long for the width of the caption. Clear this check box
to truncate words that are too long for the width of the caption.
Image Type the name of the image file you want to display on the
button, or click the Browse button to browse for the image.
If you click the Browse button, the Image Browser appears. Click
an image in the list on the left, and then click OK.
For monochrome images, any area of the image that is not black
becomes transparent when you change the Image back style to
Transparent.
For color images, any area of the image that is black will become
transparent when you change the Image back style to Transparent.
Image color Click the colored square to open the color palette,
and then click a color for a monochrome image. You cannot change
the color of grayscale or color images.
Image back color Click the colored square to open the color
palette, and then click a color for the background of a monochrome
image. You cannot change the background color of grayscale or
color images.
Image scaled Select the check box to scale the image to fit the area
of the button. Clear this check box to crop the image to the area of
the button.
On the Timing tab, set up whether or not you want the button to
repeat automatically when the operator presses and holds the
button down. You can also set up the rate at which the button
repeats.
Auto repeat rate Select the number of times per second a button
press is registered when the button goes into auto repeat mode. If
you don’t want the button to repeat automatically, click 0.
On the Connections tab, specify the tag with which the button
exchanges data. Ramp push buttons have no Indicator tag.
Value Type a tag name, or click the Browse button to browse for a
tag. The Value tag triggers the button’s action. For example, the tag
that changes a motor’s speed.
Use the Numeric Display tool to create fields that operators can use
to display the current value of an analog or digital tag or a value
Numeric Display tool based on an expression.
Decimal places Type the number of places you want after the
decimal point. This number must be at least one less than the
field width.
Overflow You can make selections from this list only if you
clicked Floating Point in the Format list. Specify how you want
the floating point value displayed if it is too long for the field.
The value can be shown as an exponent, rounded up to fit in the
field, or replaced completely by asterisks.
5. Click OK.
Use the String Display tool to create fields that operators can use to
display the current value of a string tag.
String Display tool
5. Click OK.
Use the Numeric Input tool to create fields that operators can use
to enter data for tags that accept numeric values.
Numeric Input tool
Use the String Input tool to create fields that operators can use to
enter data for tags that accept text. When the display runs,
operators can use these fields to write values to the tags.
String Input tool
A display can contain up to 1000 input fields.
12345
Programmable
Controller
Numeric and string input fields can also be used to upload values
and display them in a graphic display.
12345
Programmable
Controller
Colors for input fields are set in the Display Settings dialog box.
For details, see “Specifying colors for input fields” on page 15-26.
Default data Type a value that will appear in the numeric input
field when the graphic is initially displayed.
Decimal places Type the number of places you want after the
decimal point. This number must be at least one less than the
field width.
5. Click OK.
Default data Type the text that appears in the string input field
when the graphic is initially displayed.
5. Click OK.
when a value has been entered in the field but not downloaded
yet (pending write mode), the border around the field is solid
This field is in
display mode.
This field is in
pending write
mode.
This field is in
input mode.
The operator can put the field into input mode by selecting the
field, uploading to the field, or restoring a recipe to the field. The
operator can set the field back to display mode by pressing the
Escape key.
Keys
Operators can use the following keys to retrieve data from and send
data to the value table. You can re-assign these actions to other keys
or assign them to button objects.
PgUp: uploads all values from the value table and then displays
them in the input fields
Ctrl-PgUp: uploads a value from the value table for the selected
input field
Operators can use these commands to retrieve data from and send
data to the value table:
UploadAll: uploads all the values from the value table and
displays them in the input fields
You can set up your displays so that operators can use an on-screen
keyboard for input entry in numeric, string, and recipe input fields.
Update Field Closes the on-screen keyboard and stores the new value
on screen, for later download.
Download For numeric and string input fields, closes the on-screen
keyboard and downloads the value or text the operator
typed.
Most indicators have several states, and an error state. The error
state occurs when the indicator is receiving invalid data.
The List indicator has no error state. If the value of the Indicator
tag does not match any of the available states, none of the states is
highlighted.
You specify the state values of the multistate indicator. At run time,
the indicator displays the state whose value matches the Indicator
tag’s value.
Multistate Indicator tool 2. Drag the mouse to draw an indicator the size you want.
On the General tab, specify what the indicator looks like, and the
number of states for the indicator.
Border uses back color Select the check box if you want the
indicator’s border to have the same color as the indicator’s
background.
Clear the check box if you want the indicator’s border to have a
different color than the indicator’s background, and then choose a
Border color on the States tab. For details, see below.
the Indicator tag does not match one of the state values you
set up
Select state Click a state, and then set up the state on the
right-hand side.
Insert state Click a state, and then click Insert state. The new
state always appears above the selected state.
Delete state Click the state you want to delete, and then click
Delete state.
Value Type the integer value for each state. When the Indicator tag
changes to this value, the indicator’s appearance changes to the
settings you specify for the state.
Back color Click the color box to open the palette, and then click
a color for the indicator’s background.
Border color Click the color box to open the palette, and then
click a color for the indicator’s border.
Pattern color Click the color box to open the palette, and then
click a color for the pattern.
Caption Type the text you want to appear on the indicator. If you
don’t want any text on the indicator, leave the Caption box blank.
Font, size, and style Click a font for the caption in the font list.
Type or click a size for the font in the size box. Click B to make the
font bold, click I to make the font italic, click U to underline the
text.
Caption color Click the color box to open the palette, and then
click a color for the caption’s text.
Caption back color Click the color box to open the palette, and
then click a color for the caption’s background.
Word wrap Select this check box to wrap words to the next line if
they are too long for the width of the caption. Clear this check box
to truncate words that are too long for the width of the caption.
Alignment Click a position in the grid for the text, relative to the
indicator. In the default alignment position, the text is centered
vertically and horizontally on the indicator.
Image Type the name of the image file you want to display on the
indicator, or click the Browse button to browse for the image.
If you click the Browse button, the Image Browser appears. Click
an image in the list on the left, and then click OK.
For monochrome images, any area of the image that is not black
becomes transparent when you change the Image back style to
Transparent.
For color images, any area of the image that is black will become
transparent when you change the Image back style to Transparent.
Image color Click the colored square to open the color palette,
and then click a color for a monochrome image. You cannot change
the color of grayscale or color images.
Image scaled Select the check box to scale the image to fit the area
of the button. Clear the check box to crop the image to the area of
the button.
Alignment Click a position in the grid for the image, relative to the
indicator. In the default alignment position, the image is centered
vertically and horizontally on the indicator.
You specify the state values, and the image you want displayed for
each state. At run time, the indicator displays the state that matches
the Indicator tag or expression’s value.
On the General tab, specify what the indicator looks like at run
time, and the number of states for the indicator.
Image Type the name of the monochrome image file you want to
display on the indicator, or click the Browse button to browse for
the image.
Browse button If you click the Browse button, the Image Browser appears. Click
an image in the list on the left, and then click OK.
the Indicator tag does not match one of the state values you
set up
Select state Click a state, and then set up the state on the
right-hand side.
Insert state Click a state, and then click Insert state. The new
state always appears above the selected state.
Delete state Click the state you want to delete, and then click
Delete state.
Value Type the integer value for each state. When the Indicator tag
changes to this value, the indicator’s appearance changes to the
settings you specify for the state.
Border color Click the color box to open the palette, and then
click a color for the indicator’s border.
Image color Click the colored square to open the color palette,
and then click a color for a monochrome image. You cannot change
the color of grayscale or color images.
Image back color Click the colored square to open the color
palette, and then click a color for the background of a monochrome
image. You cannot change the background color of grayscale or
color images.
For monochrome images, any area of the image that is not black
becomes transparent when you change the Image back style to
Transparent.
For color images, any area of the image that is black will become
transparent when you change the Image back style to Transparent.
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 if you want operators to view the current state,
but also see the other possible states.
For sequential processes, the list can inform the operator about
what happens next.
You specify the state values of the list indicator. At run time, the
indicator highlights the state whose value matches the Indicator
tag’s value.
On the General tab, specify what the indicator looks like at run
time, and the number of states for the indicator.
Border uses back color Select the check box if you want the
indicator’s border to have the same color as the indicator’s
background.
Clear the check box if you want the indicator’s border to have a
different color than the indicator’s background, and then choose a
Border color. For details, see below.
Back color Click the color box to open the palette, and then click
a color for the indicator’s background.
Border color Click the color box to open the palette, and then
click a color for the indicator’s border.
Pattern color Click the color box to open the palette, and then
click a color for the pattern.
Selection back color Click the color box to open the palette, and
then click a color for the background of a selected item in the list.
Blink Select the check box to make the indicator blink at run time.
Clear the check box to prevent the indicator from blinking at run
time.
Font, size, and style Click a font for the caption in the font list.
Type or click a size for the font in the size box. Click B to make the
font bold, click I to make the font italic, click U to underline the
text.
Caption truncate Click Word to cut off captions that exceed the
maximum length at the beginning of the word. Click Character to
cut off captions that exceed the maximum length, even in the
middle of a word.
Select state Click a state, and then set up the state on the
right-hand side.
Insert state Click a state, and then click Insert state. The new
state always appears above the selected state.
Delete state Click the state you want to delete, and then click
Delete state.
Value Type the integer value for each state. When the Indicator tag
changes to this value, the indicator’s appearance changes to match
the settings you specify for the state.
Caption Type the text you want to appear on the indicator. If you
don’t want any text on the indicator, leave the Caption box blank.
Caption color Click the color box to open the palette, and then
click a color for the caption’s text.
Caption back color Click the color box to open the palette, and
then click a color for the caption’s background.
Alignment Click a position in the grid for the text, relative to the
indicator. In the default alignment position, the text is centered
horizontally on the indicator.
Gauges display numeric values in dial format. They are useful for
displaying a value in relation to its lower and upper limits.
Gauges are used instead of numeric displays when it’s important for
the operator to recognize an abnormal condition instantly, either
from far away when the scale on the gauge isn’t visible, or before
the operator has had the opportunity to determine the exact reading
on the gauge. This characteristic of gauges is one of the reasons why
they are used in automobile instrumentation.
As the needle sweeps higher on a gauge, the gauge can fill the area
below it with a color. The gauge can change its fill color to help an
operator recognize abnormal conditions. The change in color
happens when the tag value crosses a threshold you set up for the
gauge. For example:
if the temperature is higher than the recipe will allow, the gauge
can show the temperature in red
IMPORTANT Some people are color blind to red and green, so don’t
rely on color alone to establish meaning.
Graphs display numeric values in bar graph format. They are useful
for allowing comparisons between multiple values, or for
representing the fill levels of tanks for which a reading on a vertical
scale is usually appropriate.
For example, one bar graph can show the required level of a tank of
ingredients for a recipe, and a second bar graph can show the actual
level of the tank. The first graph changes to represent the required
level for each recipe, and the second graph changes as the actual
level in the tank rises or drops.
Graphs are used instead of numeric displays when it’s important for
the operator to analyze the relationships between numeric values.
It’s easier for the operator to see that one graph is at a lower level
than the other, or that one’s fill is green and the other’s red, than it
is to subtract one numeric value from another.
if the recipe will empty the tank, the graph can show the level in
yellow
if the level is higher than the level the recipe requires, the graph
can show the level in green
IMPORTANT Some people are color blind to red and green, so don’t
rely on color alone to establish meaning.
Unlike gauges, bar graphs do not have integrated scales. You can
show values on a bar graph using a scale and text.
To create a gauge:
On the General tab, specify what the gauge looks like at run time.
Back color Click the color box to open the palette, and then click
a color for the gauge’s background.
Fill color Click the color box to open the palette, and then click a
color for the filled part of the gauge. The filled part represents a
numeric value, and is displayed against the gauge’s background. If
you use thresholds, this color is used until the graph’s value reaches
the first threshold.
Line style Click a line style for the gauge’s scale. If you want a line
style other than solid, the line width must be 1 pixel.
Line width Type a number between 1 and 32767 to change the line
thickness of the gauge’s scale. Line width is measured in pixels.
Fore color Click the color box to open the palette, and then click a
color for the gauge’s scale.
Sweep style Click Point to point the needle at the scale as the
needle sweeps over the gauge. Click fill to fill the area below the
needle with color as the needle sweeps over the gauge.
Major ticks Click the number of major ticks you want on the
gauge’s scale.
Minor ticks Click the number of minor ticks you want on the
gauge’s scale. Minor ticks are spaced evenly between the major
ticks.
Font, size, and style Click a font for the caption in the font list.
Type or click a size for the font in the size box. Click B to make the
font bold, click I to make the font italic, click U to underline the
text.
On the Display tab, specify how the gauge displays its values at run
time.
Show legend Select this check box to show a legend on the gauge.
Clear this check box to remove the legend from the gauge.
Legend color Click the color box to open the palette, and then
click a color for the numbers on the gauge’s scale.
Fill color Click the color box to open the palette, and then click a
color for the filled part of the gauge. The filled part represents a
numeric value, and is displayed against the gauge’s background.
On the Connections tab, specify the tag from which the gauge
receives data.
Use the bar graph tool to create a graph that represents a numeric
value by filling and emptying as the value rises and falls.
Bar Graph tool
You specify the maximum and minimum values of the bar graph,
and the tag to which the graph is connected. At run time, the graph
shows the value of the tag in relation to the graph’s minimum and
maximum values.
Bar Graph tool 2. Drag the mouse to draw a bar graph the size you want.
4. In the Bar Graph Properties dialog box, fill in the fields on each
tab, as described in the sections that follow. When you are
finished, click OK.
On the General tab, specify what the bar graph looks like at run
time.
Border uses back color Select the check box if you want the bar
graph’s border to have the same color as the bar graph’s
background.
Clear the check box if you want the bar graph’s border to have a
different color than the bar graph’s background, and then choose a
Border color on the States tab. For details, see below.
Back color Click the color box to open the palette, and then click
a color for the bar graph’s background.
Border color Click the color box to open the palette, and then
click a color for the bar graph’s border.
Fill color Click the color box to open the palette, and then click a
color for the filled part of the graph. The filled part represents a
numeric value, and is displayed against the graph’s background. If
Fill direction Click the direction in which you want the graph to
fill.
Blink Select the check box to make the bar graph blink at run time.
Clear the check box to prevent the bar graph from blinking at run
time.
On the Connections tab, specify the tag from which the bar graph
receives data.
Creating scales
Use the scale tool to create a scale for a bar graph.
Scale tool You specify the appearance of the scale. To place values on the scale
as a legend, use text objects. Because the scale doesn’t change at run
time, you cannot connect it to any tags.
Scale tool 2. Drag the mouse to draw a scale the size you want.
4. In the Scale Properties dialog box, fill in the fields on each tab,
as described in the sections that follow. When you are finished,
click OK.
On the General tab, specify what the scale looks like at run time.
Border uses back color Select the check box if you want the
scale’s border to have the same color as the scale’s background.
Clear the check box if you want the scale’s border to have a
different color than the scale’s background, and then choose a
Border color. For details, see below.
Back color Click the color box to open the palette, and then click
a color for the scale’s background.
Border color Click the color box to open the palette, and then
click a color for the scale’s border.
Line style Click a line style for the scale. If you want a line style
other than solid, the line width must be 1 pixel.
Line width Type a number between 1 and 32767 to change the line
thickness of the scale. Line width is measured in pixels.
Fore color Click the color box to open the palette, and then click a
color for the scale.
Tick direction Click the direction in which you want the ticks to
face. For example, if you are positioning the scale to the right of a
vertical bar graph, click right.
Major ticks Click the number of major ticks you want on the
scale.
Minor ticks Click the number of minor ticks you want on the
gauge’s scale. Minor ticks are spaced evenly between the major
ticks.
trends.
For details about using keys, see the topics in this section.
For control list selectors, display list selectors, or trends, you can
create different keys, depending on your needs:
If your graphic display contains more than one control list selector,
display list selector, or trend, or if your graphic display contains
one of each, you can use the same set of keys to control each object.
You don’t need to create a separate set of keys for each one.
To link one set of keys to several objects, create the keys, and then
set up the keys to send their press action to the object with focus.
For details, see the “Send press to” option on page 15-191.
Creating keys
You create and set up all of the keys in the same way, except that
the Move Up, Move Down, Page Up, and Page Down buttons can
be set up to auto repeat. The other keys have no auto repeat
function.
For some basic definitions, and to understand how keys work, see
“How to use keys” on page 15-185.
To create a key:
1. Click the tool for the kind of key you want to create.
Home Move Up
4. In the key’s Properties dialog box, fill in the fields on each tab,
as described in the sections that follow. When you are finished,
click OK.
On the General tab, specify what the key looks like at run time.
Border uses back color Select the check box if you want the key’s
border to have the same color as the key’s background.
Clear the check box if you want the key’s border to have a different
color than the key’s background, and then choose a Border color.
For details, see below.
Back color Click the color box to open the palette, and then click
a color for the key’s background.
Border color Click the color box to open the palette, and then
click a color for the key’s border.
Pattern color Click the color box to open the palette, and then
click a color for the pattern.
Highlight color Click the color box to open the palette, and then
click a color for the key when it is selected.
Send press to Click Object With Focus to send the key’s press
action to the object that is selected on the display. For example, if a
rectangle object is selected, pressing the Move Up key sends the
Move Up command to the rectangle.
Click Linked Object to send the button’s press action to the object
to which the key is linked. For example, if the key is linked to a
control list selector, pressing the Move Up key sends the Move Up
command to the control list selector.
Linked object Click the Browse button, and then click the object
you want to link the key to.
On the Label tab, specify what text or image appears on the key.
Font, size, and style Click a font for the caption in the font list.
Type or click a size for the font in the size box. Click B to make the
font bold, click I to make the font italic, click U to underline the
text.
Caption color Click the color box to open the palette, and then
click a color for the caption’s text.
Caption back color Click the color box to open the palette, and
then click a color for the caption’s background.
Caption blink Select the check box to make the caption blink at
run time. Clear the check box to prevent the caption from blinking
at run time.
Word wrap Select this check box to wrap words to the next line if
they are too long for the width of the caption. Clear this check box
to truncate words that are too long for the width of the caption.
Image Type the name of the image file you want to display on the
key, or click the Browse button to browse for the image.
If you click the Browse button, the Image Browser appears. Click
an image in the list on the left, and then click OK.
For monochrome images, any area of the image that is not black
becomes transparent when you change the Image back style to
Transparent.
For color images, any area of the image that is black will become
transparent when you change the Image back style to Transparent.
Image color Click the colored square to open the color palette,
and then click a color for a monochrome image. You cannot change
the color of grayscale or color images.
Image back color Click the colored square to open the color
palette, and then click a color for the background of a monochrome
image. You cannot change the background color of grayscale or
color images.
Image scaled Select the check box to scale the image to fit the area
of the key. Clear this check box to crop the image to the area of the
key.
The Timing tab appears only for the Move Up, Move Down, Page
Up, and Page Down keys.
On the Timing tab, set up whether or not you want the key to
repeat automatically when the operator presses and holds the key
down. You can also set up the rate at which the key repeats.
Auto repeat rate Select the number of times per second a key
press is registered when the key goes into auto repeat mode. If you
don’t want the key to repeat automatically, click 0.
Auto repeat delay Click the number of milliseconds the key must
remain pressed before auto repeat starts.
To create an arrow:
Range To use the minimum and maximum values for the first
HMI tag in the expression, clear the Specify check box. To specify
minimum and maximum values, select the Specify box, and then
type values in the Min and Max boxes.
5. Click OK.
A control list selector can show several states at the same time, but
only one state can be selected at a time. As the operator scrolls
through the list, each successive state is selected automatically. If
you want the operator to confirm the selection of a particular state
before the state’s is written to the programmable controller, include
an Enter key with the control list selector.
Set up the states on the States tab of the control list selector’s
Properties dialog box.
You can set up 255 states for a control list selector. This provides
the operator with up to 255 selections in the list.
Control list selectors have three tags for sending and receiving data:
the Value tag triggers the control list selector’s action, for
example setting a motor’s speed to low, medium, or high
If another process changes the tag’s value to 2, the next time the
operator selects the next state, the tag’s value changes to 3.
When the operator presses the control list selector’s Enter key, the
highlighted state’s value is written to the programmable controller
or device.
When the operator presses the control list selector’s Enter key, the
following happens:
1. The timer for the Enter key control delay option begins timing.
When the time is up, the Enter tag is set to 1.
2. The timers start for the Enter key handshake time, and Enter
key hold time.
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.
The Enter Handshake tag resets the Enter tag like this:
Non-zero value resets the Enter tag when the Enter Handshake
tag is a non-zero value.
Zero to non-zero transition resets the Enter tag when the Enter
Handshake tag changes from zero to a non-zero value.
In either case, if the Enter key handshake time expires before the
Enter Handshake tag resets the Enter tag, an error appears in the
activity log.
Before the Enter tag is reset to 0 the operator can provide input
to other objects in the graphic display.
If the operator presses the Enter key for an object whose Enter
tag has not yet been reset (using a key, or external keyboard or
keypad), an error appears in the activity log.
If the graphic display is closed, the Enter tag is reset to 0 and any
handshake timing is also reset.
Use the control list selector tool to create a list that displays and
allows an operator to cycle through multiple options consecutively.
Control List Selector tool The control list selector displays the current state of a process or
operation by highlighting the state.
Each time the operator presses a key, the control list selector’s
highlight changes position, and the Value tag changes to the value
for the next state. 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.
2. Drag the mouse to draw a control list selector the size you want.
On the General tab, specify what the control list selector looks like
at run time.
Border style list Click a border style in the list, or click None to
remove the border.
Border uses back color Select the check box if you want the
control list selector’s border to have the same color as the control
list selector’s background.
Clear the check box if you want the control list selector’s border to
have a different color than the control list selector’s background,
and then choose a Border color. For details, see below.
Back color Click the color box to open the palette, and then click
a color for the control list selector’s background.
Border color Click the color box to open the palette, and then
click a color for the control list selector’s border.
Pattern color Click the color box to open the palette, and then
click a color for the pattern.
Selection back color Click the color box to open the palette, and
then click a color for the background of a selected item in the list.
Blink Select the check box to make the button blink at run time.
Clear the check box to prevent the button from blinking at run
time.
Font, size, and style Click a font for the caption in the font list.
Type or click a size for the font in the size box. Click B to make the
font bold, click I to make the font italic, click U to underline the
text.
Caption truncate Click Word to cut off captions that exceed the
maximum length at the beginning of the word. Click Character to
cut off captions that exceed the maximum length, even in the
middle of a word.
Clear this check box to send the state value as soon as the operator
selects a new state.
Tab index Either leave the default value or type a new value. Index
numbers determine the tab sequence among control list selectors.
For details about tab sequences, see “Using index numbers” on
page 16-54.
On the States tab, set up the value and appearance for each state.
The value defines the control list selector’s action, by changing the
Value tag to the value you specify when the selected state is in
effect.
Select state Click a state, and then set up the state on the
right-hand side.
Insert state Click a state, and then click Insert state. The new
state always appears above the selected state.
Delete state Click the state you want to delete, and then click
Delete state.
Value Type the integer value for each state. The Value tag
changes to this value when the selected state is in effect.
Caption Type the text you want to appear in the list for this
state.
Caption color Click the color box to open the palette, and then
click a color for the caption’s text.
Caption back color Click the color box to open the palette,
and then click a color for the caption’s background.
On the Timing tab, set up the timing and handshake settings for the
Enter key.
Enter key control delay Select the delay between the time the
Enter key is pressed and the Enter tag is set to 1. Set up the Enter
tag on the Connections tab.
Enter key hold time Select the amount of time the Enter tag
remains at a value of 1. This setting only applies if the Enter tag is
set up, and the Enter handshake tag is not set up on the
Connections tab.
Handshake reset type Click Non-zero value to reset the Enter tag
when the Enter handshake tag is a non-zero value. Click Zero to
non-zero transition to reset the Enter tag when the Enter
handshake tag changes from zero to a non-zero value.
Use the Tag Label tool to create fields that display different types of
tag information at run time.
Tag Label tool
Because of their extended properties, HMI tags have equivalent
labels, but with different names than other types of tags. The
equivalents for HMI tags are shown in the shaded columns in the
table below:
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.
2. Drag the mouse to draw the tag label field. When the tag label is
the size you want, release the mouse button.
4. Click OK.
You can decide how many, and which displays are shown in the list.
You can assign each state in the display list selector to a different
graphic display. You can label each state using either the name of
the graphic display, or any caption you type for the state.
Use the display list selector tool to create list of displays in the
application. Each graphic display is represented by a different state
Display List Selector tool in the display list selector.
You specify the graphic displays associated with each state. At run
time, the operator selects a graphic display by highlighting the state
in the list, and then pressing a key to select the state.
2. Drag the mouse to draw an display list selector the size you
want.
On the General tab, specify what the display list selector looks like
at run time.
Border uses back color Select the check box if you want the
display list selector’s border to have the same color as the display
list selector’s background.
Clear the check box if you want the display list selector’s border to
have a different color than the display list selector’s background,
and then choose a Border color. For details, see below.
Back color Click the color box to open the palette, and then click
a color for the display list selector’s background.
Border color Click the color box to open the palette, and then
click a color for the display list selector’s border.
Pattern style Click a pattern style for the display list selector.
Pattern color Click the color box to open the palette, and then
click a color for the pattern.
Selection fore color Click the color box to open the palette, and
then click a color for the foreground of a selected item in the list.
Blink Select the check box to make the display list selector blink at
run time. Clear the check box to prevent the display list selector
from blinking at run time.
Font, size, and style Click a font for the caption in the font list.
Type or click a size for the font in the size box. Click B to make the
font bold, click I to make the font italic, click U to underline the
text.
Caption truncate Click Word to cut off captions that exceed the
maximum length at the beginning of the word. Click Character to
cut off captions that exceed the maximum length, even in the
middle of a word.
Number of states Click the number of states you want the display
list selector to have.
Tab index Either leave the default value or type a new value. Index
numbers determine the tab sequence among objects in a graphic
display. For details about tab sequences, see “Using index numbers”
on page 16-54.
Select state Click a state, and then set up the state on the
right-hand side.
Insert state Click a state, and then click Insert state. The new
state always appears above the selected state.
Delete state Click the state you want to delete, and then click
Delete state.
Display Type the name of the graphic display for the selected state.
To browse for a graphic display, click the Browse button.
Use display name Select this check box to use the name of the
graphic display as the caption for the state. Clear this check box to
type a different caption for the state.
Caption Type the text you want to appear as the name of the
graphic display in the display list selector.
Caption back style Click Solid to cover the display list selector’s
background with the text. Click Transparent to allow the display
list selector’s background to show through.
Caption color Click the color box to open the palette, and then
click a color for the caption’s text.
Alignment Click a position in the grid for the text, relative to the
display list selector. In the default alignment position, the text is
centered horizontally on the display list selector.
Caption blink Select the check box to make the caption blink at
run time. Clear the check box to prevent the caption from blinking
at run time.
In the local message file, type a message, and then assign a trigger
value to the message. At run time, when the local message display’s
Value tag matches the trigger value in the local message file, the
corresponding message is displayed.
The Value tag is rounded to the nearest integer. If the value does
not match any of the trigger values in the specified message file,
the display is filled with question marks ( ? ).
If the message is too long to fit in the list, the last displayed
character is replaced with an asterisk ( * ).
You specify the messages in a local message file, and then set up the
local message display to show the messages when the local message
display’s Value tag matches a trigger value in the local message file.
3. Drag the mouse to draw a local message display the size you
want.
On the General tab, specify what the local message display looks
like at run time.
Border uses back color Select the check box if you want the local
message display’s border to have the same color as the local
message display’s background.
Clear the check box if you want the local message display’s border
to have a different color than the local message display’s
background, and then choose a Border color. For details, see below.
Back color Click the color box to open the palette, and then click
a color for the local message display’s background.
Border color Click the color box to open the palette, and then
click a color for the local message display’s border.
Pattern color Click the color box to open the palette, and then
click a color for the pattern.
Fore color Click the color box to open the palette, and then click a
color for the foreground of the local message display.
Blink Select the check box to make the local message display blink
at run time. Clear the check box to prevent the local message
display from blinking at run time.
Font, size, and style Click a font for the caption in the font list.
Type or click a size for the font in the size box. Click B to make the
font bold, click I to make the font italic, click U to underline the
text.
Word wrap Select this check box to wrap words to the next line if
they are too long for the width of the local message display. Clear
this check box to truncate words that are too long for the width of
the local message display.
If no message exists for the trigger value, the local message display
is filled with question marks ( ? ).
With a recipe field, operators can load all the values from a recipe
file into the numeric and string input fields in one keystroke rather
than having to enter values one by one. Operators can then write all
these values to the programmable controller with another
keystroke.
IMPORTANT Each graphic display can have only one recipe field.
4. In the Default recipe name box, type the name of the recipe file
to and from which values will be saved and restored. Do not
include a file extension.
7. Click OK.
You can create a recipe file with the Recipe editor or, at run time,
you can create a recipe file by specifying a file name in the recipe
field and then saving values to that file.
2. Type one entry per line. Type one entry for each input field in
the display. You can have up to 500 entries.
An entry is the index number, a comma, and the value you want
to load into the input field, with no spaces. Index numbers must
start at one and increase by one.
5. Type a file name in the recipe field and press Enter. The recipe
dialog box opens with the name in the recipe file field.
6. To save the values in the input fields and at the same time create
a recipe file, click Save.
Recipe field
Index number
Value
Tag name
use the mouse. Double-click the recipe field to open the Recipe
dialog box and save or restore the recipe file.
press Ctrl-R to move to the field and then press Enter to restore
the contents of the recipe file.
press Ctrl-W to move to the field and then press Enter to save
the recipe file.
a. In the recipe field, type the name of a recipe file and press
Enter, or click in the recipe field and press Enter. The Recipe
dialog box opens.
c. Click Restore.
You can also restore the values from a recipe file using the RSView
RecipeRestore command. For details, see Appendix A, RSView
commands, or see Help.
a. In the recipe field, type the name of a recipe file and press
Enter, or click in the recipe field and press Enter. The Recipe
dialog box opens.
c. Click Save.
You can also save the values from a recipe file using the RSView
RecipeSave command. For details, see Appendix A, RSView
commands, or see Help.
2. Drag the mouse to draw a box size you want for the time and
date display.
4. In the Time and Date Display Properties dialog box, fill in the
fields on each tab, as described in the sections that follow. When
you are finished, click OK.
On the General tab, specify what the time and date display looks
like at run time.
Border uses back color Select the check box if you want the local
message display’s border to have the same color as the local
message display’s background.
Clear the check box if you want the local message display’s border
to have a different color than the local message display’s
background, and then choose a Border color. For details, see below.
Back color Click the color box to open the palette, and then click
a color for the local message display’s background.
Border color Click the color box to open the palette, and then
click a color for the local message display’s border.
Pattern color Click the color box to open the palette, and then
click a color for the pattern.
Fore color Click the color box to open the palette, and then click a
color for the foreground of the local message display.
Blink Select the check box to make the local message display blink
at run time. Clear the check box to prevent the local message
display from blinking at run time.
Font, size, and style Click a font for the caption in the font list.
Type or click a size for the font in the size box. Click B to make the
font bold, click I to make the font italic, click U to underline the
text.
Word wrap Select this check box to wrap words to the next line if
they are too long for the width of the local message display. Clear
this check box to truncate words that are too long for the width of
the local message display.
Time and date format Click the format in which you want the
time and date displayed.
You create messages in the Local Messages editor, and then display
them in local message displays, which you create in the graphic
display editor.
For example, the tag that shows whether the valve is open or
closed, or the tag that shows the temperature in the boiler.
2. Determine what the values for those tags you want to use to
trigger local messages.
For example, trigger a ‘Valve open’ message when the valve’s tag
is 1 (to represent ‘open’), or trigger a ‘Low Temperature’
message when the value of the boiler’s temperature tag is 120 (to
represent 120°F or 49°C).
At bottom 1
Raising 2
Lowering 4
At top 5
Because trigger values cannot be 0, if you use a digital HMI tag, you
can only use the value 1 to trigger a message. If you use an analog
tag or an expression, you can use any non-zero integer or floating
point value to trigger a message. Floating point values are rounded
to the nearest integer.
Use the Local Messages editor to create one or more files of local
messages. Each file is stored in the editor’s folder. You can open and
work on multiple message files at the same time.
4. To sort the messages by trigger value, select the rows you want
to sort, right-click any of the selected rows, and then click Sort.
6. Click Close.
To delete a message:
" Click any cell in the row you want to delete, and then press
Delete. To delete multiple messages, shift-click the cells.
Type the messages in the order you want them to appear in the
Local Messages editor.
linking pastes the object into the graphic display and retains
links to the source file in addition to allowing it to be edited. If
the source file is changed, the object in the display is changed.
embedding pastes the object into the graphic display and allows
it to be edited. If the source file is changed, the object in the
display is not affected.
6. Click OK.
You can also insert OLE objects by copying the information from
the source file onto the clipboard and then clicking Paste Special.
To convert an object:
2. On the Edit menu, click Paste Special. The Paste Special dialog
box opens.
Paste Link copies the contents of the clipboard into the active
graphic and links it to the source application. This is a linked
object. This option is not available if the object comes from an
application that does not support OLE linking.
4. Click the file format in which you want to paste the object into
RSView.
5. Click OK.
For example, you can embed the Microsoft Forms ActiveX objects
in RSView graphic displays. If you attach an RSView tag to an
ActiveX object’s Value property, the object’s behavior changes as
the tag’s value changes.
When exchanging data with tags, use the same data type
ActiveX Control on the Objects toolbar, click the ActiveX Control tool
If some objects you have installed do not appear in the list, the
objects might not be registered. To register them, click Register,
and then locate the objects you want to add.
To remove an object from the list, click the object and then click
Deregister.
4. Click OK.
You can also use VBA code to make an ActiveX object’s properties,
methods, and events interact with RSView. For details about
opening the VBA IDE in the context of a selected object, see
“Opening the IDE window” on page 21-3.
You can use the ActiveX Toolbox to set up tools for the ActiveX
objects you use frequently. This toolbox cannot be docked.
2. Right-click the tab you want to add tools to, and then click
Additional Controls.
3. In the list of installed controls, click the tools you want to add,
and then click OK.
You can use up to 10 tabs in the toolbox, to group related tools. The
number of tabs you can view simultaneously depends on the length
of the tab names.
RSView creates a new page with the name ‘New Page.’ To give
the page a new name, rename it as described next.
3. If you are renaming the page, type a name in the Caption box.
You can also type descriptive text in the Control Tip Text box.
This text becomes a ToolTip, and appears when the operator
positions the cursor over the tab at run time.
When you click Delete Page, the tab that has focus is deleted, even
if the tab is not visible. When a tab has focus (is selected) a dotted
line appears around the label’s text.
This tab is
selected.
1. In the ActiveX Toolbox, click the icon for the object you want
to add.
When you release the mouse button, the object appears in the
graphic display.
For information about creating .cab files, see the text file,
CreatingCabFiles.txt in the ActiveX Control Setup folder. The text
file contains examples for creating .cab files, and information about
the naming conventions that must be used.
Tag substitution does not work for text objects you create using the
Text tool.
3. In the Search for list, type the text you want to search for, or
click one of the items in the list.
4. In the Replace with list, type the replacement text, or click one
of the items in the list.
an RSView command
5. Click Replace.
You can keep the Property Panel open as you work in the Graphic
Displays editor. You can drag the panel’s borders to make the
Property Panel larger or smaller.
Setting up properties
Use the Properties tab to set up the properties of the selected object
or objects.
If the property has a list of values associated with it, press Enter
or double-click the property’s row to change the property’s
If the property has a dialog box (such as the Font dialog box)
associated with it, double-click the row, or click the Browse
Browse button button to open the dialog box.
5. Press Enter or click another cell in the grid to save the change.
The selected object is updated with the new property value and
its appearance in the display changes, if appropriate.
to view all the properties of all the selected objects, click All
Properties
If a group of objects is
selected, this box shows
Multiple Selection. If only To view only properties
one object is selected, that are shared among all
this box shows the selected objects, click
object’s name and type. Shared Properties.
If a group of objects is
selected, click the Include
Grouped Objects button
to edit the properties of
the objects within the
group.
The arrows indicate the direction in which the data flows between
the tag or expression and the object:
a right arrow indicates that the object sends values to the tag or
expression. The tag is a write tag.
" Click the row that contains the tag you want to delete, and then
press Delete.
All objects have a default name. Once you have drawn a graphic
object, you can change its name.
The object’s name is used when logging events for the object. The
object’s name 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 also appears in the Object Explorer. For details
about using the Object Explorer, see page 15-268.
ToolTips appear at run time when you bring the cursor to rest over
an object for a few seconds, if the object is not inactive (that is,
dimmed or grayed out).
. . . the object’s
name changes
here.
. . . a ToolTip
appears for the
object at run time.
move objects
copy objects
duplicate objects
To work with an object, you must first select it. You can use the
Select tool or the Object Explorer to select objects.
For information about using the Object Explorer, see page 15-268.
To select Do this
All objects in the drawing On the Edit menu, click Select All, or press
area or in a group you are Ctrl-A on the keyboard.
editing
Deselecting objects
To deselect Do this
All selected objects Click in the drawing area, away from any
objects.
Use the Object Explorer to select objects that are hidden behind
other objects in the display, without first bringing them to the front.
Objects are listed in front-to-back order.
The Object Explorer does not show wallpaper objects, nor the
objects within ActiveX composite objects.
You can keep the Object Explorer open as you work in the Graphic
Displays editor.
The list expands to show the objects and groups within the
group.
You can move objects using the mouse or the keyboard. The keys
give you fine positioning, allowing you to move objects in small
increments.
To drag objects:
You can move several objects at once by selecting them all and then
dragging one of the selected objects.
2. Hold down Shift while you press an arrow key. Holding Shift is
the same as pressing the left mouse button.
3. When the object is where you want it, release the mouse button.
3. When the object is where you want it, release the mouse button
and Ctrl key.
You can cut, copy, or paste objects using the menu items on the
Edit menu or the buttons on the toolbar.
Once you copy an object, you can paste it anywhere in the drawing
area of:
2. On the Edit menu, click Cut or Copy, or click the Cut or Copy
button on the toolbar.
Cut
to remove the original object, click Cut
Copy
to retain the original object, click Copy
To paste objects:
2. On the Edit menu, click Paste, or click the Paste button on the
toolbar.
Paste
" Select one or more objects and then click Delete on the Edit
menu, or press Delete on the keyboard.
Duplicating objects
Unlike Cut and Copy, Duplicate does not use the clipboard.
You can resize objects using the mouse or using the keyboard. The
keys let you resize objects in small increments.
When you select an object, handles appear around it. Use these
handles to resize the object.
3. Drag the handle until the object is the desired size or shape.
For perfect circles and squares, hold down Ctrl while you drag a
corner handle.
3. Hold down Shift and press an arrow key until the object is the
desired size or shape.
Arranging objects
You can arrange objects in a number of ways using the items on the
Arrange menu or the buttons on the toolbar. You can:
To group objects:
To ungroup objects:
You can edit grouped objects as you would individual objects. This
allows you to edit a group of objects without breaking the group,
which is particularly useful when you have animation attached to
groups. No
Stacking objects
You can stack objects on top of each other. Objects are stacked in
the order they are created, with the most recently created object on
top. Change the stacking order with Send to Back and Bring to
Front.
Send to Back moves the selected object to the bottom of the stack.
Bring to Front moves the selected object to the top of the stack.
1. Select an object.
1. Select an object.
To select the object at the back, place your pointer on the object,
click once, pause, and then click again. Do not double-click and do
not move the mouse.
Aligning objects
Objects can easily be aligned with each other and with the grid.
Align objects with each other when you want the tops, bottoms, or
sides to line up.
Align top
Align middle
Align bottom
Centers are
separated by
an equal vertical
distance
Select objects Space vertically
Centers are
separated by an
equal horizontal
distance
1. Select an object.
Pattern styles are available on the Pattern Styles toolbar. To see the
toolbar, click the View menu, point to toolbars, and then click
Pattern Styles.
You can apply pattern styles to objects before or after you draw
them.
You can select a line object and change its width and style.
Line style Click a style for the line. Line styles are available
only when the line width is 1.
Solid
Dash
Dot
Dash-Dot
Dash-Dot-Dot
Back color Click the color box to open the palette, and then
click a color for the object’s background.
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 also customize line width and color
using the Pens tab of the TrendX Properties dialog box.
To unlock wallpaper:
* RSView 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 RSView.
1. In the Graphic Displays editor, click the Objects menu and then
click Import.
3. In the Open dialog box, click the Files of type list, and then
click the type of file you want to import.
5. Click Open.
Create bitmaps in the lowest color depth possible. The more colors
you use, the more memory that is consumed:
The Scale option in the Display Settings dialog box causes the
contents of a graphic display to change size to suit the size of the
graphic display’s window. To speed up the display of a graphic
containing bitmaps, choose Pan rather than Scale because bitmaps
take longer to draw when they are scaled to a size different from
their original size.
look at the objects and displays to get ideas for your own
application
drag and drop objects from the libraries into your own displays
Use the objects as they are or change them to suit your needs.
1. In RSView Studio, click the Tools menu, and then click Options.
2. In the Options dialog box, click the Browse button, and then
select the folder that contains the library files you want to use.
Browse button
3. When you are finished creating the library, click Save or Save As
on the File menu and name the library.
4. Click Open.
When you use the PrintDisplay command RSView prints the entire
display, even if parts are covered by other displays. You can also use
the ScreenPrint command to print an image of whatever shows on
the monitor. For more information about these commands see
Appendix A, RSView commands, or see Help.
Animating graphic
objects
This chapter describes the various types of animation you can
attach to graphic objects, and outlines how to:
Types of animation
To animate objects in a graphic display, you must create the objects,
and then you can attach different kinds of animation to them. Once
you have created graphic objects, you can:
or
To attach key animation, use the Object Key and Display Key
dialog boxes. For information about key animation, see
“Associating objects and displays with keys” on page 16-50.
Animation tabs
Expression area
Expression result.
The items in this
lower part of the
window change,
depending on the
type of animation.
Animation tabs
Click the tab for the type of animation you want to set up.
Expression area
To supply a tag name for an expression, click the Tags button and
then click a name, or type the name. If you use multiple tags in an
expression, the first tag is used for the minimum and maximum
values if you do not specify these values.
Expression result
If you do not want to use the values set for the HMI tag, specify
minimum and maximum values. The minimum and maximum
values can be constants, or they can be set by the values of other
tags.
Apply: Validates and then applies the animation set up for the
selected object or group of objects. Clicking another tab is the
same as clicking Apply—the animation you have set up is
validated, and then applied to the object.
Close: Prompts you to apply your changes and then closes the
dialog box.
Because the Animation dialog box stays open, you can go back and
forth between the dialog box and the graphic display. This makes it
easy to set the range of motion for an object because you do not
have to know how many pixels you want an object to move.
Instead, use the RSView Object Smart Path (OSP) feature.
You can use tag names that already exist in a device or that you
have already added to the tag database, or you can use a new tag
name that you will add to a device or to the tag database later.
Tag placeholders
Tag placeholders allow you to create displays that can be used with
different tags. A placeholder is a cross-hatch character ( # )
followed by a number between 1 and 500. Tag names are
substituted for placeholders when the display is run. If you are
using HMI tags, you can also substitute folder names for part of the
tag name. For example, #1\#2\MotorValve. This allows the same
animation to be added to multiple objects where only the folder
name is different.
When setting up object keys, you can specify the [Tag] parameter as
a placeholder for a tag name or any character string. The [Tag]
parameter is used for object keys only. For more information about
this parameter, see “Using the Current [Tag] parameter” on
page 16-58.
The minimum and maximum values specified for a tag limit the
range of values that can be written to the programmable controller
but do not limit the values that are read. Therefore, a tag’s actual
minimum and maximum values might be greater than those
specified for it. If so, you might want to limit the minimum and
maximum values when setting up an object.
If an expression uses more than one HMI tag, the first HMI tag in the
expression is used for the minimum and maximum values.
With OSP, you can easily set the range of motion for an object. The
following example shows how OSP works.
2. Open the Animation dialog box and then click the Horizontal
Slider tab.
5. Click Apply.
To return to the
default colors and
thresholds, click
this button.
5. In the Value box, type the threshold value. When the expression
value reaches this threshold, the object’s color changes.
8. In the Blink Rate box, specify how many seconds each blink
cycle will be. For example, if you specify four seconds, the
object will be one color for two seconds and the other color for
two seconds.
9. Click Apply.
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.
For details about creating text and other graphic objects, see
page 15-32.
3. Open the Animation dialog box, and then click the Color tab.
Attach color animation as follows:
Click each color box to open the color palette and then click
a color.
4. Click Apply.
Click Apply.
Gray Yellow
Gray Red
7. Click Apply.
Fill animation does not affect string input, numeric input, or recipe
fields, nor does it affect arrow objects. It also does not affect hollow
objects or line objects even if those objects are grouped into a single
object.
7. Select the Inside Only check box if you want the object’s
outline to remain constant so only the inside fill level varies.
8. Click Apply.
5. Set the starting point for the object by dragging the object or by
typing a value, and then click the At Minimum check box.
6. Set the ending point for the object by dragging the object or by
typing a value, and then click the At Maximum check box.
7. Click Apply.
5. Set the starting point for the object by dragging the object or by
typing a value, and then click the At Minimum check box.
6. Set the ending point for the object by dragging the object or by
typing a value, and then click the At Maximum check box.
7. Click Apply.
When you first click the object, its width is 100 percent.
5. Set the minimum width for the object by doing one of the
following:
click a handle on the left or right side of the object and drag
it to resize the object
6. Set the maximum width for the object by doing one of the
following:
click a handle on the left or right side of the object and drag
it to resize the object
This is the part of the object that does not move. For example,
click Left if you do not want the left side of the object to move.
As the value of the expression changes, the object will grow to
or shrink from the right.
8. Click Apply.
When you first click the object, its height is 100 percent.
5. Set the minimum height for the object by doing one of the
following:
6. Set the maximum height for the object by doing one of the
following:
7. Click an anchor point.This is the part of the object that does not
move. For example, click Top if you do not want the top of the
object to move. As the value of the expression changes, the
object will grow to, or shrink from, the bottom.
8. Click Apply.
the tag or expression that will provide values to rotate the object
the range of values for the tag or expression (values outside the
range will not be used to rotate the object)
Tag values 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Tag values 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Tag values 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
to use the HMI tag’s range of values to rotate the object, click
Use tag’s min and max property values
Specifying coordinates
The default coordinates 0,0 are the center of the object; all
coordinate values are relative to the center. To specify
coordinates, do one of the following:
using the mouse, drag the circle and crosshair to the desired
center of rotation, and then click the option button next to
The circle and
the box in which the coordinates are displayed
crosshair indicate the
object’s center of
rotation. type values in the coordinates box
click the Rotate tool, and then drag the object to the desired
degree of rotation using the mouse
Rotate Tool
type the desired degree of rotation (this value is relative to
the object’s current position). For clockwise rotation, use a
positive number. For counterclockwise rotation, use a
negative number.
click the Rotate tool, and then drag the object to the desired
degree of rotation using the mouse
7. Click Apply.
5. Click Apply.
3. Type the name of the tag whose value will be determined by the
slider.
5. Set the starting point for the slider object by dragging the object
or by typing a value, and then select the At Minimum check
box.
6. Set the ending point for the slider object by dragging the object
or by typing a value, and then select the At Maximum check
box.
7. Click Apply.
3. Type the name of the tag whose value will be determined by the
slider.
5. Set the starting point for the slider object by dragging the object
or by typing a value, and then select the At Minimum check
box.
6. Set the ending point for the slider object by dragging the object
or by typing a value, and then select the At Maximum check
box.
7. Click Apply.
4. Click the OLE Verb list to display the OLE verbs available for the
selected OLE object. Click a verb in the list.
6. Click Apply.
in the Visual Basic Editor, using VBA code. This is the more
complex way, but more flexible.
All objects have a default name. You can change the default name of
all objects, including ActiveX objects.
Browse button type the name of the tag or expression you want to connect
to the property
You can:
To call an object’s method, the object must have a name. For details
about naming ActiveX objects, see page 16-44.
Use the RSView Invoke command to call the method for the named
object.
Invoke display_name.object.method(parameter1,
parameter2, . . . )
parameter The tag name or constant that the method will use.
display_name.object.method(parameter1, parameter2, . . . )
To open the
Command Wizard,
click this button.
2. Click the event you want to attach the command or macro to.
6. To log the event, click the check box Log event to activity log
file, and then if necessary, set up logging in the Activity Log
Setup editor.
You can also use VBA code to make an ActiveX object’s properties,
methods, and events interact with RSView. For details about
opening the VBA IDE in the context of a selected object, see
“Opening the IDE window” on page 21-3.
Object keys and display keys are different from client keys. Object
keys and display keys are active only while a particular object or
For detailed information about how keys work at run time, see
“Specifying the behavior of interactive objects” on page 15-26.
Imagine you have a graphic display showing a tank with two valves.
The two valves control the flow in and out of the tank. Both valves
have been set up with object key animation as follows:
Valve 1 F2 = Open
F3 = Close
Valve 2 F2 = Open
F3 = Close
At run time, operators can select either valve, and then press F2 to
open it and press F3 to close it.
1. Click an object.
3. Click Add.
4. In the Select key list, click a key. If desired, select one or both
modifiers.
5. Click OK.
The key you added appears in the Key list. If you selected a
modifier, the first letter of that modifier is also displayed. If you
create a label in the next step, it also appears in the key list.
The information in the Key list appears in the key list at run
time, so operators know which keys are associated with an
object and a display. For details about the key list, see “Viewing
the key list at run time” on page 16-69.
The command or macro is the action that will occur when the
key is pressed or released.
8. If you want an action to repeat while the key is held down, type
the RSView command or macro name in the Repeat Action box.
9. If, at run time, you want a highlight box to appear around the
object when it has input focus, select the check box, Highlight
when object has focus. For details, see “Specifying the behavior
of interactive objects” on page 15-26.
For details about the Tab index box, see “Using index numbers”,
below. For details about the Current [Tag] box, see “Using the
Current [Tag] parameter” on page 16-58.
button objects
specify which tag value goes into which numeric or string input
field in a recipe file. For details about recipe files, see “Creating
a recipe file” on page 15-231.
double-click the object and then check the number in the Tab
index box
The selected
object has tab
index number 1.
Once you have created two or more objects with index numbers,
you can change the index numbers.
For example, if you have created four input fields, you can change
the order of their index numbers. You can change input field 4 to
index number 1. However, you cannot change input field 4 to index
number 5, because you have not created five input fields.
for an object with object key animation, click the object and
then open the Object Keys dialog box
3. Click OK.
3. Click OK.
press Tab to move through the objects from the lowest index
number (1) to the highest index number.
In the display below, pressing the Tab key moves users through the
objects in a left to right pattern.
Summary of steps
At run time, when the object is selected and the display key is
pressed, the contents of the Current [Tag] field replace [tag] in the
RSView command.
1. In the Display Keys dialog box, assign two display keys. For the
press action, type Set [tag].
At run time, the operator can select any valve object, and then press
F2 to open the valve and F3 to close it.
1. In the Display Keys dialog box, create a display key. For details,
see page 16-66. In the Press Action box, type Help [tag].
To display the alarm summary for the machine, the operator can
position the cursor over any object related to that machine in a
graphic display, and then press a Display Key.
Using the keys, operators can interact with the graphic displays at
run time.
Suppose you want the Home key to display a main menu display.
To do this, create a display key. In the Press Action box, type:
If the Main Menu display is of the Overlay display 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 15-26.
2. Click Add.
3. In the Key list, click a key and, if desired, select one or both
modifiers.
4. Click OK.
The key you added appears in the Key list. If you selected a
modifier, the first letter of that modifier is also displayed. If you
create a label in the next step, it also appears in the key list.
The information in the Key list appears in the key list at run
time, so operators know which keys are associated with an
The command or macro is the action that will occur when the
key is pressed, pressed and held, or released. Separate multiple
commands or macros with a semi-colon ( ; ), or place them on
separate lines.
7. Click OK.
Modifying a key
At run time, users can use the key list to see which keys are
associated with an object and display, and to see what actions the
keys will perform. 3.
Label
Modifiers
Key
The key list displays the keys listed in the Key list in the Object
Keys and Display Keys dialog boxes. All object keys are displayed
first in the list, and then all display keys. The key list does not
separate the two types of keys because this distinction does not
matter to operators—they only need to know what action will
occur when they press a key.
The key list is displayed. It lists keys associated with this object
and all keys associated with this display.
To disable the key list, use the /O parameter with the Display
command. For details, see Appendix A, RSView commands, or see
Help.
You can also use the Tag Substitution dialog box to find which
object in a graphic display is animated by a particular tag. For
details, see page 16-72.
1. Click an object.
click the Animation menu, and then see which items have a
check mark
1. Click an object.
When the Animation dialog box opens, see which items have a
check mark.
5. In the Search for list, type or select the name of the tag.
6. In the Replace with list, type or select the name of the same tag.
8. Click Replace.
The name of the object appears in the Usage box, and is selected
in the Object Explorer.
10. When you are finished, in the Tag Substitution dialog box, click
Cancel.
4. Click Apply.
in the same display, drag the object and then press Ctrl and
drop the object
1. Click the object that has the animation you want to copy.
3. Select the object(s) that you want to copy the animation to.
Setting up trends
This chapter describes trends, and outlines how to:
What is a trend?
You can:
plot data over time, or plot one pen against another in an x-y
plot chart to show the relationship between them
The illustration below shows a standard trend chart, with two pens
and a three-minute time span. For more information about plot
types, see page 17-40.
Chart title
Trend
border
Chart
Pen icon
y-- axis
x-axis
x-axis
Scrolling
legend
mechanism
Chart
The chart is bounded by the y-axis on the left and the x-axis on the
bottom. The chart contains the plotted trend data (shown using pen
lines and pen markers), as well as grid lines.
x- axis
For standard charts, the x-axis legend indicates the time span
covered by the trend. For x-y plot charts, the x-axis legend shows
the scale (range) of values for the pen selected to serve as the x-axis
pen.
You can set up the trend to omit the x-axis legend. The number of
timestamps shown depends on the size of the trend object and the
number of vertical grid lines.
The x-axis legend can also be used during run time to open the
X-Axis Property tab. See “Opening TrendX tabs at run time” on
page 17-67.
y- axis
The y-axis is the left vertical edge of the chart. It is also known as
the vertical axis.
y- axis legend
The y-axis legend show the scale (range) of values for the pens. You
can set up the trend to omit the y-axis legend.
or be controlled by tags.
You can set up the trend so that all pens use the same scale, or all
pens use individual ranges for each pen. When the operator clicks
The y-axis legend can also be used during run time to open the
Y-Axis Properties tab or to pan data. See “Opening TrendX tabs at
run time” on page 17-67.
Pens
Pens are the lines or symbols used to represent values. Pens can be
different colors, widths and symbols so operators can distinguish
one pen from another easily. The pen values can be tags you are
monitoring, expressions that manipulate tag values, or constants.
Legends
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 appears on the chart. When the position of the line legend is
set to “Left,” the line legend appears on the left-hand side of the
trend chart and the current value legend appears on the right-hand
side. When the position of the line legend is set to “Bottom,” the
current value legend appears as a column in the line legend. For
more information about positioning the line legend, see
“Displaying a line legend” on page 17-31.
Pen icons appear at the right edge of the chart, if you choose to
display them.
The TrendX Properties dialog box contains eight tabs for setting up
the appearance and content of the trend. By filling in the fields on
these tabs, you specify what kind of data the trend will plot, and
how the data will look. For more information about the TrendX
Properties dialog box, see “Setting up the appearance of a trend” on
page 17-23.
Pen markers are symbols that indicate data points. A data point is
the exact position of a value plotted on a trend chart. If data is
plotted frequently, the markers might not appear as distinct,
separate symbols, as shown in the trend chart below.
You can use pen markers to show when data is sampled. For
example, when the trend is updated On change using the deadband
or heartbeat, the pen marker indicates when the trend is updated.
You can also use pen markers to read pen values more easily during
runtime by placing the value bar directly over a pen marker.
An ‘Up triangle’
pen marker
The value bar is a vertical marker that details the value of each pen
at the selected position on the trend chart. You can position the
value bar by clicking anywhere on the trend chart during run time.
Main concepts
Use horizontal lines to provide an orientation for your tag data. For
example, if you define values that are the limits within which a tag
should operate, and display horizontal lines in your trend to
indicate the limits, when a tag crosses one of these limits the tag’s
alarm condition is obvious on the trend. Both pens must use the
same minimum and maximum values.
When values for the pen have been plotted across the full width
of the chart, the pen appears as a solid horizontal line.
On the Pens tab, add a pen with a tag or expression that will
determine the position of the pen line. In the Type column of
the Pens attribute spreadsheet , choose Full Width.
The data displayed in a trend can come from two sources. A data
server collects real-time data for the trend. Historical data comes
from a data log model’s set of files.
You can plot historical data from a data log model in the HMI server
you are running, or you can plot data from a different HMI server,
either on the same computer or on another computer in the
application. Displaying data from a different HMI project is called
remote trending. For more information about data log models, see
Chapter 12, Setting up data logging.
When the trend chart is paused, pen data is saved in the data buffer.
The buffer contains up to 32,767 tag values per pen. A tag value is
saved to the buffer whenever the value changes. When the buffer is
full, the oldest value is overwritten with a new value. You can also
use the buffer to collect data for the trend when trend is not visible
on the graphic display. For information about charting data when
Comparing pens
For example, you can set up Pen 1 to show a tag’s value and Pen 2
to show a constant value that is an alarm threshold. When Pen 2 is
the upper boundary for Pen 1, the shading will highlight where the
tag’s value exceeds the alarm threshold by filling in the area
between the two pens with Pen 1’s line color.
Shading between
pen values
Upper-- bound pen
The upper pen, Pen 2, has a constant value of 75 and the lower pen,
Pen 3, has a constant value of 25. Pen 1 represents the tag called
VIN_LEVEL. The trend is shaded whenever Pen 1 goes above Pen 2 or
below Pen 3. A plot for this trend looks like this:
Pen 1
Pen 2
Pen 3
40064
Tag Name or
Pen Constant Value Shading
Pen 2 75
Pen 3 25
Whenever Pen 1 goes above Pen 2, the trend is shaded like this:
Pen 1
Color 1
Pen 2
42603
Pen 2 OIL_LEVEL
Whenever Pen 1 goes above or below Pen 2, the trend is shaded like
this:
Pen 1
Color 1
Pen 2
40065
Pen 2 OIL_LEVEL
Standard Chart
An x-y plot chart plots one (or more) tag’s values against another
tag.
The x-axis legend displays the range for the X-axis pen. The time
period covered by the chart is at the upper left.
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.
In this illustration each pen uses its own scale. You can use the same
scale for all pens.
You can also specify these settings in the Properties tab of the
Property Panel.
The chart title, y-axis legend, x-axis legend and line legend use the
highlight color for the graphic display, specified in the Behavior tab
of the Display Settings dialog box.
This is an example of a
chart with background
color.
The space behind and around the trend chart and legends is the
background of the trend object. The color and style settings for the
background can be changed using the WindowStyle and
WindowColor options on the Property Panel.
For information about using the Property Panel, see page 15-258.
" On the View menu, click Test Display or Edit Display, or click
the Test Display or Edit Display tools.
Test Display tool
IMPORTANT Test mode is not the same as running the display. Test
mode does not change the appearance or position of
the display, as set up in the Display Settings dialog
Edit Display tool box.
Instead of creating a trend from scratch, you can use the trend in
the Trends graphic library. For more information, see “Using the
Trends graphic library” on page 17-65.
Trend tool
The cursor changes to the trend drawing tool:
3. Drag the mouse to create a box approximately the size you want
for the trend.
Once you have set up the trend, you can edit it as you would any
other graphic object. You can move it, resize it, attach animation to
it, and so on. You can also use this object in other graphic displays
by dragging it from one display and dropping it into another.
click the trend, click the Edit menu, and then click
Properties
Click the Display chart title check box and then type the title text
(up to 80 characters). The chart title also displays the current date at
the top of the trend chart.
Data Server
The data server determines where the data for the trend is acquired.
Select the type of data server to provide data to the trend:
Real-- time data server acquires data from tags and data log
models
Click this box to display a progress bar with a Cancel button while
data is being loaded into the Trend. Providing this option allows
operators to cancel a request for data. The progress bar does not
appear if the data loads faster than 1 second.
Standard
Click Standard to plot each pen against time (with time on the
horizontal axis).
XY Plot
Click XY Plot to create a trend with a pen that serves as the x-axis.
This option is available only when one or more pens have been set
up on the Pens tab.
X--Axis pen
Manual
This option is only available when the data server is set to None. It
does not apply when using the real-time data server.
Automatic
Refresh Rate
Type a number and then click a time unit to determine how often
the trend updates data. The refresh rate range is 50 milliseconds to
596 hours.
IMPORTANT Do not make the refresh rate faster than the rate at
which data is updated in the data server, OPC server, or
DDE server.
Heartbeat
Deadband
Time format
24-hour format
AM/PM format
Chart radix
Display milliseconds
If you select the standard chart style, click this box to display
milliseconds in the time labels on the x-axis. Click the Display scale
check box on the X-Axis tab to display time labels.
To view details about a specific point in the trend, use the value bar.
At its position on the trend chart, the value bar displays each pen’s
value, date and time. For more information about the value bar, see
“Using the value bar at run time” on page 17-68.
Click the background color box and then click a color in the
palette.
The chart border is always black. For information about setting the
background color for the other areas in the trend, see page 17-18.
Text color
Click the text color box and then click a color in the palette.
The labels on the vertical axis use the color of the first pen, unless
you click the “Each pen on independent scale” option (in the
Y-Axis tab). If you click “Each pen on independent scale,” the label
color matches the pen whose range is currently displayed on the
vertical axis.
Font
Click this button to change the type style of the text in the trend.
The current value legend can be displayed to the right of the Trend
chart or as part of the line legend. The line legend includes the
current value legend when it is set to appear at the bottom of the
trend chart. When the line legend is displayed to the left of the
trend, the current value legend is displayed to the right of the trend.
Current time
Current pen value
Pen icon
Pen line color
Click this box to display pen values in the current value legend.
Display time
Click this box to display the time when data was last collected in
the current value legend.
Click this box to display the pen icons in the current value legend.
The pen icons show the current value of the tag. When the chart is
paused, the pen icon continues to chart the current value of the tag,
and therefore could be in a different position than the end of the
pen line in the chart.
The line legend shows the details of a pen line, including the line
color, tag name, and the minimum and maximum values.
Click this box to display a legend for each pen line. If you choose
to display a legend, specify a position and the number of pens to
include in the line legend.
Position
Max viewable
Click this box to display the minimum and maximum values for
each pen in the line legend. The minimum and maximum values are
set on the Pens tab. For more information about setting minimum
and maximum values, see “Setting up pen attributes” on page 17-38.
Long tag name displays the full path and tag name for each pen.
Short tag name displays only the tag name, without the path.
Allow scrolling
Check this box to update the trend continuously with new data at
run time. If you clear this option, data is not plotted on the trend,
instead, the data buffer fills with trend data until the buffer limit is
Half Screen Scroll—as the trend data is plotted, the chart scrolls
half a screen at a time. Pens scroll from the left to the right,
starting at the left of the chart. When the pens reach the
right-hand side of the chart, the chart scrolls half a screen and
the pens begin plotting values again in the center of the chart.
Full Screen Scroll—as the trend data is plotted, the chart scrolls
a full screen at a time. Pens scroll from the left to the right,
starting at the left of the chart. When the pens reach the
right-hand side of the chart, the entire chart scrolls and the pens
begin plotting values again at the left-hand side.
Click this box to display VCR-style buttons for scrolling the chart
manually.
The trend buffer collects and stores pen values. The operator can
view these pen values by using the VCR-style buttons to scroll
through the data manually.
Type the number of extra data points outside of the display area to
store for each pen.
to show a tag value, click Tags and then specify or type a tag
name in the Tag Browser
Before you can add a pen from a data log model to the trend, a data
log model must be created. For more information about creating
data log models, see Chapter 12, Setting up data logging.
3. Specify a data log model from the Model list. The pens available
to select from the data log model are listed in the box.
4. Click the pen you want to add and then click Add. To add all of
the pens in the model, click Add all.
click the first pen you want to select, press and hold down
the Shift key, and then click the last pen you want to select
click and then drag the mouse across the numbers of the pens
you want to select
or, to select pens that are not consecutive, click the first pen
you want to select, press and hold down the Ctrl key, and
then click each pen you want to select
5. The pens that will be added to the trend are listed in the Tags to
monitor box.
6. If you made a mistake and do not want to add one or all of the
pens listed in the tags to monitor box, click the pen and then
click Remove, or click Remove all.
7. When the Tags to monitor box lists the pens you want to add to
the trend, click OK.
1. Click the pen you want to delete from the Pens Attribute
spreadsheet.
click the first pen you want to select, press and hold down
the Shift key, and then click the last pen you want to select
click and then drag the mouse across the numbers of the pens
you want to select
or, to select pens that are not consecutive, click the first pen
you want to select, press and hold down the Ctrl key, and
then click each pen you want to select
The Pen Attributes box is a spreadsheet where you can set up the
individual attributes for each pen. The pen attributes define how
the tag is represented on the run time chart. To see all of the
available attributes, use the scroll bar at the bottom of the box.
Line Number
This column identifies the line number of the pen. Up to 100 pens
can be added to a trend. To select a pen, click the line number.
Tag/Expr.
This column displays the expression or the name of the tag you
specified when you added the pen. At run time, the line drawn in
the trend chart by this pen is determined by the value of the tag or
expression. Click the browse button to edit the expression or tag
name.
Click the browse button to select a data log model for a pen. For
more information about data log models, see Chapter 12, Setting up
data logging.
Color
Click the color column and then click a color in the palette. Do not
choose the same color as the background of the trend object.
Visible
By default, all pens in a trend are visible. However, too many pens
on one display can be difficult to read.
Click in the Visible column to toggle the visibility of the pen. When
Visible is set to Off, the pen is masked in the chart (i.e. not
displayed).
Width
The pen width affects the thickness of the pen line and the markers.
Click in the column and then specify a pen width from the
drop-down list box. If you specify a width other than 1, you cannot
change the line style setting.
Click in the column and then specify how the trend line is plotted
on the chart:
✕
✕
Digital Draws a line along the time axis at the first value then,
when the value changes, draws a vertical line to the
second value. For example:
✕
✕
Full Width Draws the most recent value for a tag horizontally
across the trend. For example, if the most recent value
for a tag is 75, draws a line across the trend at 75. When
the value changes, redraws the line at the new value.
You can use full width to display values that act as high
and low setpoints.
Click this column and then specify a line type. You can select from
one of five styles, shown below.
Solid
Dash
Dot
Dash-Dot
Dash-Dot-Dot
Marker
Click a plot symbol for each data point from the list. If you use the
“Show only markers” option (specified in the Display tab), only
pens for which you specify a plot symbol are displayed in the trend.
The marker appears at each data point. You can select from none,
boxed, up triangle, down triangle, letters, characters, or the line
number of the pen.
Name Symbol
Boxed j
Up Triangle
Down Triangle
Letters A, a, B, b
Line Number 1, 2, 3
Click in these columns and then type a value to change the tag’s
minimum and maximum range as set up in the Minimum and
Maximum fields on the Y-axis tab. To have the same range on the
vertical axis, specify the same minimum and maximum values for all
pens.
Eng. Units
Click this box and then type the name of the engineering unit that
the pen represents. For example, rpm, gallons, fps, or degrees. The
engineering units will be displayed as part of the line legend.
Description
Click this box and type a text description of the tag if you want a
pen caption in the line legend.
Lower Bound
Link Data
For digital tags, 0 is used for the minimum, and 1 is used for the
maximum. For analog tags, specify the minimum and maximum
values in the data server’s tag editor.
Use the Multiple Pen Edits spreadsheet to edit more than one pen
at the same time.
click the first pen you want to select, press and hold down
the Shift key, and then click the last pen you want to select
click and then drag the mouse across the numbers of the pens
you want to select
or, to select pens that are not consecutive, click the first pen
you want to select, press and hold down the Ctrl key, and
then click each pen you want to select
If you make a mistake and want to redo the changes you have
made, click Clear Selections to empty the Multiple Pen Edits
spreadsheet.
When Allow scrolling is selected, the start date and time are
disabled. To change the start date or time, clear the Allow scrolling
check box on the Display tab.
Specify the starting date and time for the trend. To select a date,
click the Start date list, and then click a date on the calendar.
The Start date and Start time settings determine when the trend
begins to collect and chart data. The start time is shown on the
left-hand side of the x-axis. As the chart scrolls with new data, the
time is updated on the horizontal axis label.
If the trend is plotting historical data, and if the data log model is
running at the specified start time, data is displayed from the
starting time onwards. Otherwise, the earliest available data (after
the start time) is displayed. Once the chart scrolls to the current
time, values are taken from the buffer, not the data log file.
Time span
Type a time, and then select a time unit, to determine the time span
of data the trend displays at run time.
For a standard chart, the time span defines the horizontal scale. For
an x-y plot chart, the minimum and maximum values of the selected
pen (specified in the Pens tab) define the horizontal scale, and the
time span defines the number of data points plotted.
Display scale
Check this box to display the x-axis legend at the bottom of the
trend.
For a standard chart, the legend shows the start and end times of
the pen values currently charted in the trend. If there is room,
intermediate times are shown below each vertical grid line.
Check this box to display vertical grid lines on the trend chart.
Type the number of major and minor lines to display on the chart.
You can display up to 30 major lines, and up to 10 minor lines
between each major line. The major lines are solid, and the minor
lines are dashed.
Grid color
If you choose to display grid lines, click the grid color box and then
click a color on the palette. The grid line color will change to the
color you have selected.
The pen scale determines the range of numbers on the vertical axis.
Each pen can have a different scale. When you select a pen by
clicking it in the line legend, the minimum and maximum values
change to reflect the scale of the selected pen.
If you want all pens in the trend to use the same range on the
vertical axis, use the custom minimum and maximum fields
described below.
The scale options you specify in this tab determine which pen’s
minimum and maximum values are used as the preset values.
For more information, see “Setting up a vertical scale for
multiple pens” on page 17-52.
4. Click Apply.
4. Click Apply.
Isolated graphing
% isolation
Display scale
Check this box to display y-axis labels to the left of the trend.
Type the number of major and minor lines to display on the trend
chart. You can display up to 30 major lines, and up to 10 minor
lines between each major line. The major lines are solid, and the
minor lines are dashed.
If you display grid lines, click the Grid color box and then click a
color on the palette.
If you use isolated graphing, this color is used for the horizontal
lines between bands.
You cannot set up a vertical scale for multiple pens if you specify
Custom minimum and maximum values. Set up Automatic and
Preset minimum and maximum values on the Pens tab, as described
on page 17-42.
Click All pens on same scale to display one scale for all pens,
determined by the lowest minimum and highest maximum values of
all pens.
The operator can view each pen’s y-axis legend using the line
legend. When the operator clicks a pen in the line legend, the
Click Scale using pen to use the same scale for all pens, based on the
minimum and maximum values for the specified pen. Click the
browse button to specify a tag to use for the scale.
Scale as percentage
All of the overlays you add to the Trend can be available for
operators to display at run time. Set up run-time options on the
Runtime tab.
To create a snapshot:
2. Right-click the trend to open the shortcut menu and then click
Create Snapshot
All of the snapshots that you add to the Trend can be available for
operators to show or to hide on the trend chart from the shortcut
menu at run time (set up run-time options on the Runtime tab).
To remove an overlay:
2. Click Remove. The overlay will be removed from the Trend and
unavailable to the operator at run time.
To delete a snapshot:
You cannot delete a snapshot until you remove it from the trend.
Name
This column lists the snapshot names currently available for use as
overlays in the Trend.
Anchor
The overlay data in the snapshot scrolls with the data in the run
time chart, based on the chart’s refresh rate. Set the refresh rate
on the General tab. If you pan or zoom the data in the chart, the
overlay data held in the snapshot also pans or zooms.
Offset (%)
Type a percentage to define how far from the left edge of a run time
chart an overlay is anchored, in terms of the total width of the
chart.
To anchor the overlay at the left edge of the run time chart, set the
offset to 0.
Visible
1. Use the General, Display, Pens, X-Axis and Y-Axis tabs to set
up the display options and pen attributes you want to capture in
a template.
2. On the template tab, click the display options you want to apply
to a trend chart when the template is loaded.
On the left side of the options box, click a property tab to select
it. On the right side of the box, select the specific options
available from that tab to load with the template. Clear the
check boxes for those options that you do not want loaded with
the template.
To check or clear all of the options for a tab, click the Check All
or Uncheck All button. To return to the system default settings,
click the Default button.
Loading a template
Deleting a template
Change graphic!!
Select the check box for each tab to which operators will have
access at run time.
Select this check box to allow operators to edit the TrendX tabs by
double-clicking highlighted parts of the trend at run time. This
allows operators to change trend display settings during run time.
Only those tabs selected in the Display property pages option will
open.
For example, you cannot open the Pens tab at run time by
double-clicking the line legend when Allow editing legend
properties is cleared on the Runtime tab.
Allow Pan/Zoom
Select this check box to allow operators to zoom and pan on the
run-time chart. For more information about using zoom and pan,
see page 17-69.
Select this check box to allow operators to show and hide the value
bar from the shortcut menu. This option will allow operators to
show the value bar even if you have cleared the value bar check box
on the Display tab.
Select this check box to allow operators to select snapshots and then
add them to the Trend as overlays, and to show and hide selected
overlays.
Allow print
Select this check box to allow operators to print the trend chart.
4. Drag and drop one or more trend objects into your display.
Real-time trends collect data only while the trend is displayed. This
means that a trend will not contain any data when the graphic
display opens. To ensure a trend contains data when you start it,
you can either use a data log model or keep the trend updating in
the background by loading data into the data buffer using a startup
macro. For more information about the Startup editor, see
Chapter 22, Deploying and administering applications.
The display is loaded when you start the HMI project and
remains in the cache until you use the FlushCache command or
stop running the project.
Display Trend1
Select the Allow editing properties check box, and the appropriate
tabs on the Runtime tab to allow the operator to double-click
elements of the trend and open the tabs.
You can draw your own buttons and objects for viewing a trend’s
data, or you can use the objects in the Trends graphic library. For
information about the graphic library, see “Using the Trends
graphic library” on page 17-65.
A set of VCR-style buttons are created with the trend. These buttons
allow the operator to view different areas of charted data. To show
the VCR-style buttons at run time, click Display scrolling
mechanism on the Display tab .
The value bar is a vertical marker that details the value of each pen
at the position you select on the trend chart.
To show the value bar, click the trend where you want the value bar
to appear. The value bar appears at the point you clicked. To hide
the value bar, click the vertical axis. You can also show or hide the
value bar using the shortcut menu.
A tilde (~) appears before a value in the value bar if the value is an
approximation. The approximation occurs because there is no value
for the given pen at the exact time stamp of the value bar. The value
displayed is based on the nearest available reading.
Left-click and drag on the chart to zoom into the banded area.
To pan, the trend chart must be paused using either the pause
button at the bottom of the trend or the shortcut menu Scroll
option. You can:
You can use the arrow keys at run time to perform some of the
same functions as the mouse and VCR-style buttons.
To print a copy of the trend chart, right-click the trend and then
click Print Trend on the shortcut menu.
Before you can use overlays at run time, a snapshot must be created
and the overlay must be set up on the Overlays tab. For more
information about Overlays, see “Comparing real-time and
historical data” on page 17-53.
Use the shortcut menu to align an overlay to the left of the trend,
relocate an overlay, show or hide an overlay or open the Overlays
tab.
Creating expressions
This chapter includes:
About expressions
Sometimes the data you gather from devices is only meaningful
when you:
Expression components
tag values
constants
Derived Tags: You can define an expression and then specify the
name of a tag that will store the result of the expression.
You can also use expressions in a command to set the value of a tag.
For details, see the Equal ( = ) command in Appendix A,
RSView commands, or see Help.
Creating expressions
All editors that can use expressions include an Expression field. In
some editors, you will also find:
expression buttons
an expression column
Expression field
Expression buttons
Expression column
Expression buttons
Arithmetic operators
When you are working in a window, you can use the commands on
the Edit menu, the toolbar, or the keyboard. When you are working
in a dialog box, you can use only the keyboard because you cannot
access the menu bar or toolbar.
You can paste into the Expression field in the form or into the
Expression column in the spreadsheet.
2. Press Ctrl-V.
Formatting expressions
You can format expressions so they are easier to read. However, do
not let tag names, key words, function names, or function
arguments span more than one line.
When formatting expressions, you can use tabs, line returns, and
multiple spaces.
To format this if – then – else statement, you can align the “else”
with the appropriate “if” so the logic is easy to understand:
If (tag1 > tag2) Then 0 Else If (tag1 > tag3) Then 2 Else 4
click the Tags button and then select a tag from the Tags list
You can use tag placeholders in the same way you use tag names.
A tag placeholder is the cross-hatch character ( # ) followed by a
number from 1 to 500. For detailed information about placeholders,
see Chapter 15, Creating graphic displays.
integer (123)
the string “pi” (to represent the symbol π). RSView replaces the
string with its numeric value.
Arithmetic operators
Arithmetic operators calculate values based on two or more
numeric values. The arithmetic operators are:
Example
(For these examples,
Symbol Operator tag1 = 5 and tag2 = 7)
IMPORTANT Be sure that any tag value you use as a divisor cannot at
some point have a value of zero. Expressions that
attempt to divide a number by zero produce an error at
run time.
String operands
NE, <> not equal tag1 <> tag2 serial_no <> “ST011”
true true
LT, < less than tag1 < tag2 serial_no < “ST011”
true true
GT, > greater than tag1 > tag2 serial_no > “ST011”
false false
LE, <= less than or equal to tag1 <= tag2 serial_no <= “ST011”
true true
GE, >= greater than or equal to tag1 >= tag2 serial_no >= “ST011”
false false
Example
(For these examples,
Symbols Operator Action tag1 = 5 and tag2 = 7)
AND, && and Returns a 1 if the statements (tag1 < tag2) AND (tag1 == 5)
to the right and to the left of both statements are true; returns a 1
the operator are both true.
NOT negation Reverses the logical value of NOT (tag1 < tag2)
the statement it operates on. although tag1 < tag2 is true, NOT
reverses the logical value; returns a 0
IMPORTANT These operators are for integers only, not floating point
numbers.
>> right shift Shifts the bits within an integer or tag to the right.
Shifts the bits within the left operand by the amount specified
in the right operand. The bit on the right disappears.
<< 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, it toggles the bits within an
integer or tag.
tag1 | tag2
Returns 7 (binary 0000 0000 0000 0111)
tag1 ^ tag2
Returns 7 (binary 0000 0000 0000 0111)
tag1 >> 1
Returns 2 (binary 0000 0000 0000 0010)
tag1 << 1
Returns 10 (binary 0000 0000 0000 1010)
~ tag1
Returns –6 (binary 1111 1111 1111 1010)
tag
time
file
math
user
Many functions check for specific true and false conditions. They
return 1 if the condition is true, and 0 if the condition is false.
Tag functions
ALM_IN_ALARM(/Ingredients::vessel3\TIC3\pv*)
month [Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep,
Oct, Nov, or Dec]
date [1 to 31]
The following all represent the same date and time, and are valid
time parameters:
“17:00”
means any day at 5:00 PM
“ :30 ”
means any hour, on the half hour
“ mon 17:”
means 5:00 PM each Monday
<number> <units>
mil (millisecond)
sec (second)
min (minute)
hou (hour)
day (day)
wee (week)
mon (month)
yea (year)
_____________________________
_____________________________
_____________________________
INTERVAL(“1 min”)
_____________________________
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.)
The following built-in functions check if a file exists and check the
amount of free disk space.
Math functions
Security functions
1 (highest) ()
2 NOT
~
3 *
/
MOD, %
**
AND, &&
&
>>
<<
4 +
–
OR, ||
|
^
5 (lowest) EQ, =
NE, <>
LT, <
GT, >
LE, <=
GE, >=
_____________________________
3. 0 AND 1=0
_____________________________
2. tag1 > 1 = 1
_____________________________
1. NOT tag1 = 0
2. 0 AND tag2 = 0
3. tag3 ** 2 = 100
4. 0 > 100 = 0
If – then – else
If – then – else expressions carry out an action conditionally or
branch actions depending on the statements in the expression. The
if – then – else statements enable the expression to perform
different actions in different situations and to repeat activities until
a condition changes.
enter
true
statement
false
value2 value1
exit
This expression:
enter
true
statement1
false
true
statement2 value1
false
value3 value2
exit
This expression:
if (statement1) then
if (statement2) then (value1)
else (value2)
else (value3)
enter
true true
statement1 statement2 value1
false false
value3 value2
exit
Setting up navigation
An important part of the complete operator interface is the way
operators navigate through and interact with your application.
RSView gives you the tools for linking displays and creating an
overall application structure that is easy for operators to use.
process-specific displays
Main Menu
Graphic Display
Area 1 Area 2
Process-Wide Management
Process Process
Alarm Summary Summary
Overview Overview
The display type you choose gives you additional control over how
the operator navigates between displays. For example, use the
On Top option to keep a display on top at all times, even when
another display has focus. Or use the Replace option if you want a
display to replace all other open displays when it opens. For details
about assigning display type see “Specifying the display type” on
page 15-15.
load the graphic when it is displayed for the first time by using
the Cache After Displaying option in the Display Settings
dialog box of the Graphic displays editor. For details, see
“Specifying caching” on page 15-17.
a macro
Object key and display key animation are set up in the Graphic
displays editor. For details, see Chapter 16, Animating graphic
The following graphic display contains buttons that users can click
with the mouse or press on a touch screen to call up detail displays.
This display presents information and acts as a menu.
To create the buttons, the designer used the Button drawing tool in
the Graphic displays editor. The buttons can be selected with a
mouse or with a touch screen. For details about how to create
buttons, see “Creating buttons” on page 15-66.
Precedence
Creating macros
A macro is a series of commands stored in a macro component. The
name of the macro component is then used like a command, and
can be used anywhere a command can be used. When the
component name is entered, the macro runs, executing all the
commands in the component.
You can create macros to perform almost any action. For example,
a macro can:
To create a macro:
To replace a tag name with its current value when the macro
or command is evaluated, enclose the tag name in dollar
signs ( $ ) to create a placeholder in the command. When a
macro containing $tag$ executes, the tag values are
substituted first.
Display /Ingredients::Overview
Display /Ingredients::Detail
/Ingredients::Valve23 = Open
When the macro called Factory runs, the graphic display called
Overview appears, then the graphic display Detail appears, then the
tag Valve23 is set to its open state. All are in the area called
Ingredients.
Display /$Tag1$::Process1
Display /$Tag1$::TrendDisplay$Tag2$
Valve23 = Open
The graphic display Process1 in the Mixing area appears, then the
graphic display TrendDisplay2 appears, also from the area called
Mixing, and finally, the tag Valve23 in the home area is set to its
open state. In this example, the home area is the area in which the
macro is executed.
You don’t need to put braces around tag names when using
placeholders in commands.
Using parameters
To run the macro and parameters, specify the macro name followed
by the parameters. Separate multiple parameters with spaces.
For example, here is the same Factory macro with two parameters:
Display Overview
Display %1
Valve23 = %2
Nesting macros
Display Overview
Display Detail
Draw
Valve23 = Open
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 this macro as the startup
macro in the Startup editor for the HMI server.
For more information about the Startup editor, see Chapter 22,
Deploying and administering applications.
Creating symbols
To define a symbol:
The symbol
The string
Important guidelines
A symbol and a macro should not have the same name. If they
do, the symbol runs instead of the macro.
Undefine Show
Key definitions
You can associate RSView commands with objects in a display
and/or with the entire display using object key animation, display
key animation, and touch animation. You can also associate
commands with keys that will be active at all times throughout the
system by creating client keys. At run time, operators use these
keys to interact with the system, for example to change displays or
set tag values.
Keys with repeat actions are ideal for such tasks as ‘ramping’ a tag’s
value.
You can assign a single key to one or more of the three types of key
definitions—object, display, or client. For example, the F2 key can
open a valve when the valve object has input focus, or it can close a
popup display that has focus, or the F2 key can be a client key that
opens a graphic display containing an overview of your process.
When you design your system, pay particular attention to the keys
used by embedded objects. Object keys and display keys have
precedence over keys used by embedded objects (for example,
ActiveX, or OLE objects), except for OLE objects that are not part of
RSView (for example, an Excel worksheet), whose keys have
Reserved keys
The following keys and key combinations are normally reserved for
use by Windows and RSView.
+ on the numeric keypad Displays the Recipe dialog box, or saves the
recipe if Ctrl-W was pressed previously, or
restores the recipe if Ctrl-R was pressed
previously.
Ctrl-X or Shift-Del Cuts the selected items and places them in the
clipboard
Precedence
Recapture screen
3. Click Add.
5. Click OK.
The key you add is displayed in the Key field. If you specified a
modifier, the first letter of that modifier is also displayed. If you
create a label in the next step, it will also be listed in this field.
As you continue to add keys, they will be listed here.
6. In the Label field, if you want, type a label for the key.
The command or macro is the action that will occur when the
key is pressed or released. You can type multiple commands or
macros. If you do, separate them with a semi-colon ( ; ) or type
them on separate lines.
8. If you want an action to repeat while the key is held down, type
the RSView command or macro name in the Repeat Action
field.
Use the RSView Key command to run client key components. Type
this command in a macro or anywhere else you can use an RSView
command.
Key <component>
Key /R
TimeStmp The time and date data was logged, in coordinated SQL_TIMESTAMP Driver
universal time (UTC) format. dependent
SrcProduct The name of the product the activity belongs to. SQL_VARCHAR, or 20
SQL_CHAR
SrcSubsys The name of the subsystem that sent the activity SQL_VARCHAR, or 20
message. SQL_CHAR
SrcInstanc The name of the instance that logged the event. For SQL_VARCHAR, or 40
HMI servers, this column is the HMI server’s name. SQL_CHAR
For clients, this is the name of the client’s
configuration file. If not applicable, this column is
empty.
Alarm log data in ODBC format uses one table. For more
information about how the log files are named, see “The ODBC
database storage format” on page 12-4.
TimeStmp The time and date data was logged, in SQL_TIMESTAMP Driver
coordinated universal time (UTC) format. dependent
TagName The name of the tag or alarm event that caused SQL_VARCHAR, or 40
the alarm. SQL_CHAR
TagValue The value of the tag at the time the alarm SQL_DOUBLE, or 20
occurred. SQL_INTEGER, or (10 decimal
SQL_SMALLINT places)
TagType The type of the tag in alarm: A for analog, D for SQL_VARCHAR, or 1
digital. SQL_CHAR
Log tables for floating-point and string data are the same except
one contains analog and digital tag data and the other contains
string tag data.
DateAnd The date and time the tag values were logged. SQL_TIMESTAMP Driver
Time dependent
Millitm The millisecond time the tag values were logged. SQL_SMALLINT, or 4
SQL_INTEGER
TagIndex, or The index number for the tag. The tag name that SQL_SMALLINT, or 2 or
corresponds to this number is listed in the tag SQL_INTEGER 4
name table.
TagName If the tag table isn’t used, the tag name appears in SQL_VARCHAR, or 40
this column. SQL_CHAR
2—analog tag
3—digital tag
4—string tag
0—long
1—float
2—string
This chapter provides a brief description of the IDE but does not
include detailed information about VBA—it is assumed that you are
familiar with the VBA environment and Visual Basic programming
language. This chapter highlights aspects of VBA that are unique to
RSView Studio, and describes how to use VBA from within RSView
graphic displays.
1. Open the graphic display for which you want to write VBA code.
in the Graphic Displays editor, click the Edit menu, and then
click VBA Code. The code window opens in the context of
the graphic display.
The illustration below shows the main parts of the IDE window.
Each part is then described in more detail.
Project Explorer
Window
Properties
Window
Procedure or
Code Window
You can create additional VBA modules and user forms. To use the
procedures in these modules and to use the user forms, you must
call them from procedures that exist in the module called
ThisDisplay.
This window lists the property settings for the code modules, class
modules, and the VBA user forms and the objects on those forms.
You cannot call forms directly from RSView. To use a form, call the
form from a procedure in the code module called ThisDisplay.
This window is where you write and edit your VBA procedures. In
ThisDisplay, any RSView SE Client objects that raise events are
listed in the drop-down list on the left-hand side of the window.
When an object is selected in the left-hand list, the object’s events
are listed in the right-hand drop-down list.
Display code is saved with a graphic display. Before you can write
VBA code that manipulates graphic objects, you should have created
the graphic display and the graphic objects.
About procedures
A procedure is a named block of code that executes as a unit.
Examples of procedures are Visual Basic subroutines and functions.
The module called ThisDisplay contains any number of procedures
that are executed in response to a display’s events.
press F2
To view the contents for the entire Help file for the RSView
SE Client Object Model:
1. On the RSView menu bar, click Help, and then click Contents.
VBA documentation
Deploying and
administering
applications
Deploying applications
specify the startup settings, move the files, and set up properties
for each HMI server in your application
specify the correct time, date, and number formats for your
locale
Administering applications
After your application has been deployed, you might need to make
small changes to the application while it is in use. This process is
Overview
Use this list of activities as the basis for a your own checklist, to
help you deploy your application.
Your own checklist might include activities that are not listed here,
for example, setting up database software, or OPC servers. Ensure
that you add these activities to your own checklist.
Specify the startup settings for each HMI server The startup
settings allow you to specify which parts of your application
start automatically when the HMI server starts.
You can specify the startup settings in the Startup editor for each
HMI server in RSView Studio only. You cannot specify or change
the startup settings in the RSView Administration Console.
Move HMI server files If you are moving HMI servers from one
set of computers to another, you must move the HMI servers’
files as well. To move or copy the files, use the Windows
Explorer.
specify when the HMI server loads, for example, when the
computer starts up, or when the first client attempts to
connect to the server
3. Select the check box for each item you want to run when the
HMI server runs. Where required, specify the file you want to
run.
Data Logging Starts running the specified data log model. This
is the same as using the DataLogOn command. Up to 20 data
log model files can run simultaneously, but only one can be
specified in the Startup editor. To run more files, list them in a
startup macro.
Shutdown Macro Runs the specified macro when you click the
Stop All Running Components button in the HMI Server
Properties dialog box. Any macro can be used as a shutdown
macro. Closing any RSView SE Client will not run the
Shutdown macro.
4. Click OK.
IMPORTANT The HMI server will fail to load if you deleted the HMI
project files. Even if this happens, you can still access
the HMI server’s properties.
5. Click OK.
view the HMI server name, project file path, number of existing
graphic displays, and the maximum number of graphic displays
allowed on the HMI server
2. In the HMI Server Properties dialog box, specify the HMI server
properties.
Name The name of the HMI server. This name is set when you
create the HMI server. You cannot change it.
Startup type Specify when you want the HMI server to load:
2. In the HMI Server Properties dialog box, click Stop All Running
Components. All components stop running, including alarms,
data log models, derived tag components, and event
components.
2. In the box, Computer that will run the OPC server, type the
name of the computer on which the data server is installed, or
Browse button click the Browse button to select the computer name.
3. Click OK.
view trends
The wizard creates a configuration file with the extension .cli. The
information in the file includes the name of the RSView application
to which the client can connect, the components that are started
when the connection is made, and the run-time behavior of the
client.
With the RSView SE Client wizard you can create a new client
configuration, or edit an existing one. You can also run a
configuration file from the first screen of the RSView SE Client
wizard, or you can remove a configuration file from the list of
available configurations.
1. Copy the .cli file from the source computer to the target
computer.
2. In RSView Studio, click the Tools menu, and then click Launch
SE Client.
4. Click OK.
1. Make sure all HMI servers used by the application are loaded. For
more information about loading HMI servers, see “Setting up HMI
server properties” on page 22-8.
2. Move the shortcut to the Windows Start menu. For details about
adding shortcuts to the Start menu, see Windows Help.
You can have more than one client window open on a single
computer. Multiple client windows allow you to connect to more
than one application from a single client computer.
3. Make sure the HMI servers used by each application are loaded.
You can stop all HMI server components manually using RSView
Studio, or the RSView Administration Console. For details, see
page 22-11.
3. In the Regional Options dialog box, click the General tab, and
then click the locale whose settings you want to use.
5. Click OK.
For more information about using the Control Panel to set time,
date, and number formats, see your Windows documentation.
RSView Studio, or
add users to, or remove users from the system, using the User
Accounts editor
change how alarms are logged and annunciated, using the Alarm
Setup editor
change what activities are logged, and how frequently, using the
Activity Log Setup editor on the Tools menu
change the location to which alarms are logged, and manage log
files, using the Alarm Log Setup editor on the Tools menu
import and export HMI tags using the Tag Import and Export
Wizard on the Tools menu
2. Create a tag. If you want alarms when disk space drops below
preset levels above 20 MB, create an analog tag. If you want an
alarm only when disk space drops below 20 MB, create a digital
tag.
RSView commands
This appendix describes:
in a macro or symbol
in a command line
To replace a tag name with its current value when the command is
evaluated, enclose the tag name in dollar signs ( $ ) to create a
placeholder in the command. If the placeholder is enclosed within
double quotes, or nested in the string value of another placeholder
in the command, RSView does not substitute the tag value.
Display Screen$Tag1$
Display $Tag3$$Tag2$
Valve23 = Open
When the macro runs, Tag1 = 1, Tag2 = 2, and Tag3 = Screen. These
are all string tags.
You don’t need to put braces around tag names when using
placeholders in commands.
You don’t need to put braces around tag names when using
placeholders in commands.
Precedence
AlarmLogRemark PlayWave
AppAbort Ramp
FlushCache PrevWindow
For example:
right-click the Command Line icon and then click Show on the
shortcut menu
To see the commands and macros you last used, click this folder:
To see the commands that can be used for a particular part of the
system, click one of these folders:
<tag_name> The name of the tag that will store the result of the
expression. The tag name can be an absolute or relative reference.
The tag name can include an area name.
Enclose strings in quotes. The string can contain any character, and
can include spaces.
Do not use braces for the tag name before the equal sign.
You can attach security to the = (Equal) command just as you can
for any RSView command. For more information about security,
see Chapter 14, Adding security.
&Tag1 = Tag1 + 1
Evaluates the command asynchronously. Increases the value of Tag1
by 1.
Tag1 = Tag2
Sets the value of Tag1 to be the same as Tag2.
Abort
Without a parameter, closes the graphic display that has focus.
Abort me
Closes the graphic display from which the command is issued.
Abort /Mixing::Pumps
Closes the graphic display called Pumps in the area called Mixing.
Abort *
Closes all visible graphic displays. Cached displays are not closed.
Acknowledge Hopper1\Flow
Acknowledges all outstanding alarms for the tag Hopper1\Flow.
Acknowledge Hopper1\*
Acknowledges all outstanding alarms for all tags in the folder called
Hopper1.
Acknowledge [tag]
Acknowledges the alarm for the tag associated with the highlighted
object in the active graphic display.
ActivityLog ActivityLogNewFile
NewFile
Creates a new activity log file.
This command lets you start a new activity log file on demand. All
subsequent activity messages are logged to the new file.
OutOfAlarm or Out Indicates that the tag has gone out of alarm.
/A Analog
/D Digital
<HH:MM:SS> The 24-hour military format for time. You must use
this format for indicating the time.
If you specify a time stamp for an alarm, the alarm may not appear
as the most recent alarm in the \system\AlarmBanner tag, even if it
was logged after an alarm with a more recent time stamp.
This command lets you start a new alarm log file on demand. All
subsequent alarm messages are logged to the new file.
\N the tag name. If the tag is in a local tag database, you can also
use the placeholders [\S] tag description and [\U] tag units.
If both the Text parameter and the /P parameter are specified, the
contents of the Text parameter will appear in the text field at run
time, and the operator can modify or add to the contents of the Text
parameter before it is logged to the alarm log file. If the tag name
(/T parameter) is specified, the prompt dialog box will display the
tag name at run time, but the operator cannot change the tag name.
If both the /P parameter and the /Sn parameter are specified, the
prompt dialog box will display the alarm severity at run time, but
the operator cannot change the severity.
[/R] Logs the remark to a printer as well as to the alarm log file. If
the alarm severity is not specified (/Sn parameter), the printer for
Severity 1 is used. If no printer is assigned to the specified severity,
the alarm log remark is not printed.
To have alarm monitoring start when an HMI server starts, open the
HMI server’s Startup editor, and then select the Alarming check box.
<component> The name of a data log model. The data log model
can be an absolute or relative reference. The data log model can
include an area name.
<value> The numeric portion of the time interval for the log rate.
For example, if you want to log data every 20 seconds, the value
is 20. The value must be an integer from 1 to 64,000.
[unit] The time unit of the log rate: hundredths, tenths, seconds,
minutes, hours, or days. If you omit the [unit] parameter, the
default is seconds.
/area::* Creates new files for all models that are currently
running.
DataLogNewFile Daily
Creates a new set of data log files for the data log model called
Daily.
DataLogNewFile /Mixing::*
Creates a new set of data log files for all the data log models in the
area called Mixing. You cannot specify this parameter as /Mixing*.
Stops data logging for a specified model or stops data logging for all
models.
DataLogOff Daily
Stops logging data for the model called Daily.
DataLogOff /Mixing::*
Stops logging data for all models in the area called Mixing. You
cannot specify this parameter as /Mixing*.
<component> The name of a data log model. The data log model
can be an absolute or relative reference. The data log model can
include an area name.
<component> The name of a data log model. The data log model
can be an absolute or relative reference. The data log model can
include an area name.
/area::* Logs a snapshot of data for all models that are running.
DataLogSnapshot Daily
Logs one snapshot of data in the Daily data log model to the data
log file.
DataLogSnapshot /Mixing::*
Logs one snapshot of data in all data log models in the area called
Mixing. You cannot specify this parameter as /Mixing*.
/area::* Switches data logging for all models that meet the
conditions outlined above.
DataLogSwitchBack Daily
Switches data logging back to the primary path or ODBC database
for the data log model called Daily.
DataLogSwitchBack /Mixing::*
Switches data logging back to the primary path or ODBC database
for all data log models in the area called Mixing You cannot specify
this parameter as /Mixing*.
Symbol definitions are valid only during the current session; they
must be re-defined each time RSView is restarted. Symbols are
typically defined in a startup or login macro.
Define Di Display
Creates the symbol Di for the command Display. Typing Di as a
command in any valid command syntax will have the same effect as
typing Display.
Define Di
Deletes the symbol Di.
If you are using the Cache After Displaying option in the Display
Settings dialog to cache displays, use the position parameters with
the Display command to ensure that displays open in the correct
position after caching. Otherwise, if a user moves a display at run
time, the new position is remembered by the cache option.
[/U] Updates tag values in all input fields when the display first
opens.
[cache] Specifies how to load the specified graphic display into the
display cache, as follows:
/Z Loads the specified graphic display into the cache (but does not
make it visible), so the display appears quickly when it is first used.
/ZA Loads the specified graphic display into the cache (but does not
make it visible) and continually updates the graphic display, even
when it is not visible. For example, use /ZA for a display that
contains a trend, so that the trend displays data for its entire time
range when you view it.
Display Sample
The graphic display called Sample is opened. It is positioned and
sized as specified in its Display Settings dialog box.
<Title> closes the RSView SE Client with the specified text in its
title bar.
Download Download
Writes the value in the selected input field of the active graphic
display to the programmable controller or server.
The Enter key also downloads the value in the selected input field.
However, if the /E parameter is used with the Display command,
the Enter key is disabled, unless the Display On-Screen Keyboard
option is selected (in the Behavior tab of the Display Settings dialog
box). If the selected input field is a recipe field, pressing the Enter
key opens the Recipe dialog box.
DownloadAll DownloadAll
Writes the values in all input fields of the active graphic display to
the programmable controller or server.
Switches from the current driver to the one not being used on the
specified channel.
If a display uses the Always Updating option with the Cache After
Displaying option, the display’s shutdown command is executed
when you issue the FlushCache command.
IMPORTANT This command will not set the handshake bit for any tag
already in alarm when the command is executed.
[word] A word you want to search for in the Help file. When you
specify a search word, the command will either:
open the Help file at a topic if the word uniquely identifies that
topic
[/Ffile] The name of a Windows Help file. The default Help file is
for RSView.
IMPORTANT When many alarms are occurring rapidly, do not use the
Identify command without a tag name. A new alarm
could become the current alarm before the Identify
command runs, and the command or macro that runs
might not be the one expected.
Identify Hopper1\Divider
Runs the Identify command or macro for the tag Hopper1\Divider,
whether or not the tag is in alarm.
Identify [tag]
Runs the Identify command or macro for the selected tag in the
active graphic display.
Identify
Runs the Identify command or macro for the most recent, most
severe unacknowledged alarm.
parameter The tag name or constant that the method will use.
You must specify all of the parameters, even those that are
optional.
tag_name = display_name.object.method(parameter1,
parameter2, . . .) writes the value returned by a method to the
specified tag.
tag_name = display_name.object.property(tag_name or
constant) sets an object’s property to the specified tag’s value or to
a constant value.
Logs users into the system. To log in, users must have an account in
the User Accounts editor.
Using this command with both parameters logs the user into the
system. Using this command with only one parameter displays the
login dialog box.
NextPosition NextPosition
Moves focus to the object with the next highest tab index number.
Tab also moves focus to the object with the next highest index
number.
NextWindow NextWindow
<node name> The name of the node you want to disable. The node
name can be an absolute or relative reference. The node name can
include an area name.
<node name> The name of the node that you want to switch to
another programmable controller address, server, or application.
The node name can be an absolute or relative reference. The node
name can include an area name.
\\computer name\servername[|accesspath]application
|topic For OPC servers, the computer name, server name, and
access path (if in use) for the OPC server you want to switch to.
Separate the access path from the server name with the |
character. For DDE servers, the application and topic, separated
by the | character, for the DDE server you want to switch to.
All commands or macros that follow the Pause command must not
be asynchronous (preceded by the & sign), otherwise the Pause
command has no effect.
<file> The complete path to the wave file, including the .wav
extension.
Moves focus to the object with the specified tab index number.
buttons
PrevPosition PrevPosition
Moves focus to the object with the previous tab index number.
Shift-Tab also moves focus to the object with the previous number.
PrevWindow PrevWindow
Use this command only with analog tags, or with data server tags
whose data type is not boolean or string.
[/V] Performs a read immediately after the write to verify that the
value was altered in the programmable controller or server.
IMPORTANT If you use the Ramp command in a macro, you must use
two percent signs (%%) instead of one. A single percent
sign is used in a macro to indicate a parameter. For
example, to create a macro that increases the value of
tag1 by 75%, you would type: Ramp tag1 + 75%%
Reads the values from a recipe component into all input fields in
the active graphic display. This command is used with the Recipe
field.
Saves the values in all input fields of the active graphic display to a
recipe component. This command works with the Recipe field.
ScreenPrint ScreenPrint
Special keys can be in upper and/or lower case letters. You can type
any of the following to represent the special keys on the keyboard:
End Left
Enter PgDn
Down Right
F1 to F12 Tab
Home Up
[/V] Performs a read immediately after the write to verify that the
value was altered in the programmable controller or server.
a numeric value of 0 or 1.
Set Hopper1\Flow 10
Hopper1\Flow is a tag. This command writes the value “10” to the
programmable controller or server.
Set Channel1.Device1.Pressure 33
Pressure is an analog tag in a data server. Channel1 is the network
the data server uses to connect to a device called Device1.
If the alarm for the specified tag is set up to use the internal bell,
this command silences the computer’s sound.
If the alarm for the specified tag is set up to use the external bell,
this command resets the tag associated with the external bell and
silences the associated audio device.
Silences the internal and external bells for all tags in alarm.
Using this command is faster than using the Silence command with
the asterisk ( * ) wildcard.
[/V] Performs a read immediately after the write to verify that the
value was altered in the programmable controller or server.
Undefine test
Deletes the definition for the symbol “test” that was previously
created with the Define command.
Undefine *
Deletes all symbol definitions.
UploadAll UploadAll
System tags
System tags are preconfigured HMI tags that are created and updated
by an HMI server.
Alarms
The following tags are updated with information about the alarms
in the HMI server:
system\AlarmMostRecentDate String The date of the most recent, most severe alarm.
system\AlarmMostRecentLabel String The threshold label of the tag of the most recent,
most severe alarm.
system\AlarmMostRecentTagname String The name of the tag of the most recent, most
severe alarm.
system\AlarmMostRecentTime String The time of the most recent, most severe alarm.
system\AlarmMostRecentUnits String The units of the most recent, most severe alarm.
Communications
channels
communication devices
HMI server
Communication
channel
Network
Nodes
Communication channel
Communication device
Communication driver
To do so, follow the steps below, but skip step 1 and start with
step 2.
Summary of steps
7. In the Tags editor, create tags. For each tag, select Device as the
data source and assign the nodes and scan classes that you have
defined.
8. Monitor communications.
You can also use RSLinx with OPC and DDE communications, as
described in Chapter 6, Setting up communications for HMI tags, and
Appendix D, Setting up DDE communications for HMI tags. You must
use an OPC or DDE connection to handle unsolicited messages and to
communicate with the PLC -5/250 or ControlLogix devices.
To set up and use the RSLinx drivers with a direct connection, the
drivers must be installed on the same computer as the HMI server.
Once the drivers are set up, the HMI server automatically starts the
driver software whenever communication with a programmable
controller is required—for example, to test run a graphic display or
to run an application.
IMPORTANT You must use the version of RSLinx that came with
your RSView software. This version has been tested for
compatibility with RSView. Other versions may not
work correctly.
Setting up channels
A channel is the connection between the HMI server and the
network the programmable controllers are attached to.
To set up a channel:
Click here to
Specify the display the list
type of network of drivers for
you are using. the selected
network type.
When you
select a
network type,
these options
become active.
Network Type
To Click
To Click
Messages
The primary driver is the one your system will use most of the
time. By default, this driver is the active driver. The secondary
driver is a backup. Primary and secondary drivers must use the
same network type.
Active Driver
If the primary network fails at run time, your system can switch to
a driver on a pre-defined secondary network. You can set up your
application so drivers switch automatically, or so operators
manually switch the drivers.
DriverPrimary <channel>
DriverSecondary <channel>
Switches from the current driver to the one not being used on the
specified channel.
Action DriverToggle 1
Expression comm_err(tag1)
To create a node:
Data Source
For details about OPC server data sources, see Chapter 6, Setting
up communications for HMI tags. For details about DDE server
data sources, see Appendix D, Setting up DDE communications
for HMI tags.
Name
When a tag uses a disabled node at run time, the tag’s state will
change from valid to disabled. A tag’s state can be seen by
viewing the tag in the tag monitor.
You can also enable and disable nodes at run time, using the
NodeEnable and NodeDisable commands. For more
information see Appendix A, RSView commands.
Channel
Station
For the SOFT 5 driver, enter the UNC name of the SoftLogix 5
controller without the backslashes. For example, if the UNC
Type
PLC-2r PLC-2
PLC-3r PLC-3
SLC 5/03 (OS 301), SLC 5/04,t SLC 5/05 SLC 5 (Enhanced)
SoftLogix 5 SoftLogix 5
Timeout
Type the number of seconds you want the HMI server to wait
before reporting a communication error. A timeout period of
three seconds is usually enough.
<node name> The name of the node that you want to change to
another programmable controller address.
You can also enable and disable nodes at run time, using the
NodeEnable and NodeDisable commands. For more information
see Appendix A, RSView commands.
When your HMI servers are running, they must periodically update
their tag values in the value table. This is done by scanning.
For servers that contain HMI tags, and are communicating through
direct drivers, values are updated by scanning the programmable
controller address at the foreground and background scan rates
specified by the scan class.
A scan class has two scan periods: the foreground period and the
background period. The foreground period applies to graphic
displays, derived tags, events, and data log. The background period
applies only to alarms.
Set the scan period to match the expected rate of change for the
tag’s data. For example, if you scan every five seconds for a
3. Click a scan class and then type values for the foreground and
background periods.
Monitoring communications
Use any of the following methods to monitor communications:
For HMI tags, use the system\com tags to receive a more detailed
error message. For a complete list of system\com tags, see
Appendix B, System tags.
Setting up DDE
communications for
HMI tags
For details about setting up DDE communications for HMI tags, see
the topics in this chapter.
RSView SE Server’s
HMI tags
Computer running RSView SE Server
Third-party Third-party
RSServer
application, DDE server
such as
Microsoft
Excel
4. In the Nodes editor, create nodes for each DDE server and/or
topic you want to communicate with. In the node’s Data Source
field, select DDE Server.
5. In the Tags editor, create tags and select Device as the data
source and assign the nodes that you have created.
Data Source
For details about the OPC server data source, see “Creating an
OPC node” on page 6-4. For details about the Direct Driver data
source, see Appendix C, Setting up direct driver communications
for HMI tags.
Name
Enabled
When a tag uses a disabled node at run time, the tag’s state will
change from valid to disabled. A tag’s state can be seen by
viewing the tag in the tag monitor.
Application
Topic
Application
SNPWIN
The application name is the server’s name.
Topic
cpuid[@connection_ID][:poll_rate]
The topic name is made up of a CPU ID string, an optional
connection ID string (preceded by the @ character) and an optional
poll rate (preceded by the : character).
<node name> The name of the node that you want to change to
another server.
You can also enable and disable nodes at run time, using the
NodeEnable and NodeDisable commands. For more information
see Appendix A, RSView commands.
For applications using DDE, values are updated by the server at the
rate specified in the server product. When the server detects a
change, it provides the changed value to RSView. For more details
about setting the poll rate, see your server documentation.
Symbols A
.bmp files, 15-- 290, 15-- 292 Abort command, 19-- 3, A-- 16
Access. See Microsoft Access
.cab files, 15-- 256
Acknowledge bit, 10-- 16, 10-- 37, 10-- 43
.clp files, 15-- 290
Acknowledge command, 10-- 13, A-- 17
.dat files AcknowledgeAll command, 10-- 13, A-- 18
activity log, 11-1, 11-8, 11-19 ActiveX events, 11-- 10, 16-- 49
data log, 12-1, 12-2 ActiveX methods, 16-- 47, 16-- 48, A-- 43
.dxf files, 15-- 290 ActiveX objects, 15-- 2, 15-- 31, 15-- 251
attaching control to, 16-2, 16-44
.gif files, 15-- 290
deploying automatically, 15-256
.jpg files, 15-- 290
editing, 16-45
.mgl files, 15-- 290 using with VBA, 15-254, 16-50
.obf files, 12-- 4 ActiveX properties, 16-- 45, A-- 43
.pcx files, 15-- 290 ActiveX Toolbox, 15-- 254
.tif files, 15-- 290 Activity bar, 2-- 6, 11-- 11
clearing messages on, 2-6
.wav files, 10-- 25, A-- 28, A-- 48
hiding, 2-8
.wmf files, 15-- 290
moving, 2-6
??? in input fields, 15-- 137, 15-- 143, 15-- 234
resizing, 2-6
[tag] parameter, using, 16-- 58 showing, 2-8
as placeholder, 16-8 Activity commands
for display keys, 16-67 ActivityLogNewFile, A-18
for object keys, 16-53 ActivityLogSendTo ODBC, A-19
to acknowledge alarms, A-17 Remark, 11-10, A-54
with the Identify command, A-43 Activity log files
and third-party applications, 11-1
= (Equal) command, A-- 14
creating, 11-4
and memory tags, 8-20
creating on demand, 11-6
deleting, 11-7
exporting to ODBC, 10-54, 11-14
Numbers logging destinations, 11-11
1784-KT/KTX, C-- 2 maximum number of files, 11-9
Index ■ I--1
naming, 11-8 Identify, 10-77, A-42
short file names, 11-4 setting up alarms with, 10-37, 10-42
storage format, ODBC, 20-1 Silence, A-58
Activity Log Setup editor, 11-- 2 SilenceAll, A-59
Activity Log Viewer, 11-- 19 SuppressOff, A-59
Help, 11-19 SuppressOffAll, A-60
Activity logging, 11-- 1 SuppressOn, 10-13, 10-84, A-60
access permissions for services, 11-13 Alarm deadband, 10-- 3, 10-- 6, 10-- 37
creating expressions, 18-2 Alarm events, 10-- 18
editing, 11-15 Alarm faults, 10-- 6
monitoring communications with, C-20 Alarm log files, 10-- 9, 10-- 44
adding remarks at run time, 10-30
specifying logged activities, 11-10
and third-party applications, 10-9
tracking users, 11-20
contents of, 10-10
ActivityLogNewFile command, A-- 18
creating, 10-47
ActivityLogSendToODBC command, A-- 19
creating on demand, 10-50
Addresses
deleting, 10-50
assigning, C-13
logging destinations, 10-46, 11-3
specifying for tags, 8-19
maximum number of, 10-58
Administration Console, shutdown after 2
hours, 22-- 17 naming, 10-57
Advanced objects, 15-- 51 storage format, ODBC, 20-2
Alarm banner, 10-- 8, 10-- 11 Alarm Log Viewer, 10-- 10, 10-- 58
alarm label in, 10-34, 10-39 Help, 10-59
Alarm bells, setting up, 10-- 24 Alarm logging, 10-- 44
See also Alarm monitoring
Alarm buffer zone. See Alarm deadband
access permissions, 10-56
Alarm commands
Acknowledge, 10-13, A-17 editing, 10-55
AcknowledgeAll, 10-13, A-18 Alarm message types, 10-- 9, 10-- 26
in alarm, 10-35, 10-40
AlarmEvent, A-19
out of alarm, 10-37, 10-43
AlarmLogNewFile, A-21
system default, 10-26
AlarmLogOff, A-22
user default, 10-28
AlarmLogOn, A-22
Alarm messages, 10-- 29
AlarmLogRemark, A-23
setting up, 10-26, 10-35, 10-41
AlarmLogSendTo ODBC, A-24 Alarm monitoring, 10-- 1, 10-- 44
AlarmOff, 10-11, 10-87, A-25 acknowledge bit, 10-16, 10-37, 10-43
AlarmOn, 10-17, 10-86, A-25 alarm events, 10-18
AlarmPrintOff, A-26 handshake bit, 10-17, 10-38, 10-43
AlarmPrintOn, A-26 handshaking, switching on, 10-17
Execute, 10-76 starting and stopping, 10-86, 22-6
HandshakeOff, A-41 starting, 10-86
HandshakeOn, 10-17, A-41 stopping, 10-87
Index ■ I--3
vertical position, 16-26
B
vertical slider, 16-40 Background scan period, C-- 18
visibility, 10-11, 16-14 Backspace key, 15-- 187
width, 16-28 Bar graphs, 15-- 177
Index ■ I--5
naming, 12-3 removing, 5-7
storage format, 12-2 synchronizing cache, 5-7
ODBC, 12-1, 12-4, 20-4 using in trends, 17-24
Data log models, 12-- 1, 12-- 7 Data source for tags, 8-- 2, 8-- 18
using in trends, 17-36 Data types for tags, 8-- 15
Data Log Setup editor, 12-- 5, 12-- 6 Date and time
Data logging in graphic displays, 15-237
access permissions, 12-18 in trends, 17-24, 17-29, 17-45
access permissions for services, 12-18 DDE, D-- 3
and events, 12-33, 13-1 and Microsoft Excel, D-6
changing rate at run time, 12-38, A-28 and RSServer, D-1
choosing the data to log, 12-35 poll rate, D-8
RSView as client
creating expressions, 18-2
assigning server to RSView tags, 8-19
on demand, 12-32, 12-34, A-31 requesting values from server, 8-25
paths, 12-13 setting up, D-4
backup, 12-12 DDE commands
moving data between, 12-21, A-28 NodeDisable, A-47, D-8
switching at run time, 12-20, 12-36, A-32
NodeEnable, A-47, D-8
setting up, 12-1, 12-30, A-31
NodeSwitch, A-47, D-8
setting up database tables manually, 12-10
DDE communications, and third-- party
starting and stopping, 12-39, 22-6, A-29, A-30 servers, D-- 2
using a new ODBC data source, 12-8 DDE nodes
using an existing ODBC data source, 12-5, 12-8 assigning to tags, 8-19
Data logging commands changing at run time, A-47, D-7
DataLogChangeRate, A-28 creating, D-4
DataLogMergeToPrimary, 12-21, A-28 enabling and disabling, D-5
DataLogNewFile, 12-26, A-29 Deadband for alarms, 10-- 3, 10-- 6, 10-- 37
DataLogOff, 12-40, A-30 Define command, 19-- 12, A-- 33
Derived tag commands
DataLogOn, 12-39, A-30
DerivedOff, A-34
DataLogRenameFile, A-31
DerivedOn, 9-7, A-34
DataLogSnapshot, 12-33, 13-1, A-31
Derived tags
DataLogSwitchBack, 12-20, A-32
creating, 9-5
Data server tags, 7-- 1 creating expressions for, 18-2
browsing for, 7-8 editing, 9-7
how to use, 7-4 evaluation interval for, 9-4
when to use, 7-4 maximum files at run time, 9-2
Data servers, 4-- 3, 5-- 1 maximum in a file, 9-2
adding, 5-3 starting and stopping processing, 9-7, 22-7
creating cache, 5-6 Derived Tags editor, 9-- 2
how to use, 5-2 Device nodes, C-- 3
properties, 22-12 assigning to tags, 8-18
Index ■ I--7
editing, 13-6 Failure of primary network at run time,
C-- 11
evaluation interval for, 13-4
File locations, graphic libraries, 15-- 294
for on demand logging, 12-33
File names
maximum files at run time, 13-1
See also Component names
maximum in a file, 13-1
length of, 4-7
starting and stopping processing, 13-7, 22-7
long, for data logs, 12-3, 12-4
Events editor, 13-- 2
short, 11-4
Execute button, in alarm summaries, for activity logs, 11-9
10-- 76, 10-- 79
for alarm logs, 10-58
Execute command, 10-- 76
File types
Exporting, activity log, to ODBC, 10-- 54, graphics
11-- 14
importing, 15-290
Expressions, 2-- 22, 18-- 1
using bitmaps, 15-292
alarm events in, 10-20
log
and animation, 16-9 .dat
assigning to graphic objects, using the Property activity, 11-1, 11-8, 11-19
Panel, 15-262
data, 12-1, 12-2
built-in functions in, 18-14 .dat, alarm, 10-57
constants in, 18-8 .obf, 12-4
copying, 18-4 ODBC, activity, 10-54, 11-14
Index ■ I--9
image, 15-35 copying from other Windows applications,
indicators, 15-146 15-1
list, 15-162 creating expressions, 18-2
multistate, 15-148 cutting and pasting, 15-271
symbol, 15-156 deselecting, 15-7, 15-266
key, 15-187 duplicating, 15-273
labels, 15-214 editing, 15-266, 15-277
lines, 15-45 flipping, 15-284
local message displays, 15-225 formatting, 15-285
numeric and string, 15-132 grouping and ungrouping, 15-276
numeric display fields, 10-11, 15-133 importing, 15-290
numeric input fields, 15-136 methods, 16-47
OLE objects, 14-14, 15-247 moving, 15-270
panel, 15-41 naming, 15-264, 16-44
polygons, 15-45 positioning, 15-278
polylines, 15-45 with grid, 15-8
push buttons, 15-58 replacing text in, 15-256
buttons, 15-66 reshaping, 15-50, 15-73
interlocked, 15-114 resizing, 15-274
latched, 15-93 rotating, 15-8
maintained, 15-83
selecting, 15-266
momentary, 15-73
multistate, 15-103, 15-205 setting up, using the Property Panel, 15-259
ramp, 15-123 using keys to work with. See Special keys
recipe fields, 15-230 using tags and placeholders, 15-52
rectangles, 15-44 using with object keys, 16-51
scales, 15-181 Graphs, 15-- 168
squares, 15-44 Grid
string display fields, 10-11, 15-134 in graphic displays, 15-8
string input fields, 15-136 in trends, 17-18, 17-47, 17-51, 17-52
text, 15-32 Grouped objects, setting up in the Property
Panel, 15-- 261
time and date displays, 15-237
trends, 17-21, 17-22
wedges, 15-46 H
Graphic objects Handshake bit, 10-- 17, 10-- 38, 10-- 43
aligning, 15-279 HandshakeOff command, A-- 41
animating. See Animation HandshakeOn command, 10-- 17, A-- 41
arranging, 15-275, 15-283 Handshaking, switching on, 10-- 17
assigning tags, using the Property Panel, Height animation, 16-- 30
15-262 Help
converting, 15-291 Code window, 21-11
to wallpaper, 15-289 for the activity log viewer, 11-19
Index ■ I--11
Input focus, specifying behavior, 15-- 27 Logging in
Integrated Development Environment. and security, 14-17
See IDE at run time, 14-17
Interactive objects Logging out
creating, 15-51 and security, 14-18
specifying behavior, 15-26 at run time, 14-18
Interlocked push buttons, 15-- 114 Logging paths. See Data logging, paths
Invoke command, 16-- 48, A-- 43 Logical operators, 18-- 11
Login
Index ■ I--13
OPC nodes Primary drivers, C-- 9
assigning to tags, 8-19 PrintDisplay command, 15-- 296, A-- 50
changing at run time, 6-11, A-47 Printers, selecting, 2-- 23
creating, 6-4 Procedure window. See VBA Procedure
window
enabling and disabling, 6-6
Procedures, defined, 21-- 6
OPC-- DA data items. See Tags Project Explorer. See VBA Project Explorer
Overview of RSView, 1-- 6 Project file path, viewing, 22-- 8
Properties, ActiveX, 16-- 45, A-- 43
Properties window. See VBA Properties
P window
Page Down key, 15-- 187 Property Panel, 15-- 258
Page Up key, 15-- 187 assigning tags to graphic objects, 15-262
Panel graphic object, 15-- 41 opening, 15-258
Parameter files, 15-- 54, A-- 35 setting up grouped objects, 15-261
running, 15-55 setting up multiple objects, 15-261
Parameters editor, 15-- 54 using to set up graphic objects, 15-259
Passwords, 14-- 18 using with ActiveX objects, 16-45
Pattern styles, 15-- 286 PullForward command, 19-- 3, A-- 51
how they work, 15-287 Push buttons, 15-- 58
invisible, 15-287 buttons, 15-66
interlocked, 15-114
Pause command, A-- 48
latched, 15-93
Placeholders, 10-- 27
maintained, 15-83
See also Tag placeholders
momentary, 15-73
in commands, 19-8, A-3
multistate, 15-103, 15-205
PlayWave command, A-- 48
ramp, 15-123
PLC, C-- 3
PushBack command, 19-- 3, A-- 51
address scanning, C-17
setting up communication with, C-1
type, selecting for device node, C-16
Q
Question marks
Poll rate for DDE nodes, D-- 8
in input fields, 15-137, 15-143, 15-234
Polygon graphic object, 15-- 45
in trends, 17-43
Polyline graphic object, 15-- 45
Quick Start, 1-- 6
Position command, 16-- 54, A-- 48
Precedence
among client, object, and display keys, 19-15
R
Ramp command, A-- 52
and the F1 key, 19-16
Ramp push buttons, 15-- 123
embedded ActiveX objects, 19-16
Read tag, 15-- 262
embedded OLE objects, 19-17 Read-- write tag, 15-- 262
reserved keys, 19-17 Recipe commands
PrevPosition command, 16-- 54, A-- 49 Download, 15-144, 15-235, A-38
PrevWindow command, A-- 49 DownloadAll, 15-144, 15-235, A-38
Index ■ I--15
assigning to macros, 14-11 Ctrl-PgDn, 15-143, A-38
assigning to OLE objects, 14-14 Ctrl-PgUp, 15-143, A-62
assigning to tags, 8-13, 8-17 Ctrl-R, 15-234
assigning to user accounts, 14-4 Ctrl-Shift-F6, A-49
default, 14-10 Ctrl-Shift-Tab, A-49
Security Codes editor, 14-- 9 Ctrl-Tab, 18-5, A-46
Selection button, 2-- 20 Ctrl-W, 15-234
SendKeys command, A-- 55 Enter, 15-143, 15-236, A-38
Server components, starting and stopping, disabling, A-35
22-- 16 using with on-screen keyboard, 15-145
Server names, showing in Tag Browser, Minus (–), using with graphic objects, 15-270
7-- 12
PgDn, 15-143, 15-236
Server-- side commands, A-- 5
PgUp, 15-143, 15-236
Servers, data, 4-- 3, 5-- 1
Plus (+), using with graphic objects, 15-270
Services
reserved keys, 19-21
activity logging, setting access permissions,
11-13 Shift-Tab, 16-57, A-49
data logging, setting access permissions, 12-18 Shift, using with graphic objects, 15-50, 15-270,
15-275
Set command, 8-- 20, 13-- 1, A-- 56
Tab, 15-143, 16-57, A-46
SetFocus command, 15-- 16, A-- 58
Square graphic object, 15-- 44
Short file names
Startup
for activity logs, 11-9
command in graphic displays, 15-25
for alarm logs, 10-58
components, 22-5
Shortcut menus, 2-- 20
macro, 19-12
using in graphics, 15-3
using in trends, 17-66
using in trends, 17-63, 17-68
settings, 22-6
Shutdown components, run when last
client closes, 22-- 16 Startup editor, 22-- 6
Index ■ I--17
limits charts in, 17-3, 17-15, 17-16, 17-25
in alarm, 7-2 comparing data using, 17-10, 17-53
in graphic displays, 7-2 connecting data points in, 17-29
logging reads and writes, 11-11 data buffer in, 17-10, 17-34
refreshing list in Tag Browser, 7-14 data source, 17-9
removing a filter, 7-18 determining chart scale in, 17-4, 17-42, 17-47,
securing, 14-15 17-48
selecting, 7-15 displaying milliseconds in, 17-29
showing descriptions, 7-15 displaying tag values in, 17-9
using for alarms, 7-5 editing, at run time, 17-67
using in editors, 2-20 isolated graphing in, 17-17, 17-51
using in expressions, 2-22, 8-3, 16-5, 18-6 legends
with built-in functions, 18-14 current value legend, 17-5, 17-30
using in trends, 17-8, 17-9, 17-35 line legend, 17-5, 17-31
x-axis legend, 17-4
using with object keys, 16-53, 16-67
y-axis legend, 17-4
using with placeholders in commands, 19-8, overlays in, 17-10
A-3
at runtime, 17-71
Tags editor, 8-- 4, 10-- 21, 10-- 31 parts of, 17-3–17-72
TCP/IP, C-- 10 pens, 17-5
channel network type, C-7 adding, 17-35, 17-36
Test Display mode, 16-- 7 deleting, 17-38
Text graphic object, 15-- 32 editing, 17-38
ThisDisplay module, 21-- 4 editing multiple, 17-44
icons, 17-6, 17-31
Thresholds for alarms, 10-- 3, 10-- 5, 10-- 33
line number, 17-38
Time and date, 22-- 16, B-- 4 line style of, 17-41
in trends, 17-24, 17-29, 17-45, 17-47 line type of, 17-40
Time and date displays, 15-- 237 line width of, 17-39
Toggle command, A-- 61 markers, 17-7, 17-41
masking, 17-39
Toolbar, 2-- 5
selecting at run time, 17-67
hiding, 2-8
plotting a horizontal line in, 17-8
showing, 2-8
plotting an XY chart in, 17-16
Toolbars, 15-- 2, 15-- 5
plotting historical data in, 17-9
Toolbox, ActiveX, 15-- 254
plotting real-time data in, 17-9
ToolTips
printing, 17-71
adding to ActiveX toolbox, 15-255
running in the background, 17-66
adding to graphic objects, 15-264
scrolling in, 17-34, 17-68
Touch animation, 16-- 36
creating, 17-22
Trends, 17-- 1
setting up, 17-23
adding pens from a data log model, 17-36, appearance, 17-6
17-39
legend, 17-5
chart radix in, 17-29 multiple pens, 17-17
chart title in, 17-24 pens, 17-35
Index ■ I--19
Workspace, 2-- 6
Write tag, 15-- 262
Z
Zoom, 15-- 10
in trends, 17-69