Professional Documents
Culture Documents
RSView User Manual Eng
RSView User Manual Eng
RSView User Manual Eng
Doc ID VIEWME-UM003B-EN-E
Technical Support Telephone440-646-5800 Technical Support Fax440-646-5801 World Wide Webhttp://www.software.rockwell.com or http://support.rockwellautomation.com
Copyright Notice
e2003 Rockwell Software Inc., a Rockwell Automation company. All rights reserved. Published 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. This software is based in part on the work of the Independent JPEG Group.
Trademark Notices
The Rockwell Software logo, RSLinx, RSLogix 5, RSLogix 500, RSTools, RSView, RSView Machine Edition, RSView ME Station, RSView Studio, A.I. Series, Advanced Interface (A.I.) Series, ControlView, FactoryTalk, Object Smart Path, RAC6182, and WINtelligent LOGIC 5 are trademarks of Rockwell Software Inc., a Rockwell Automation company. PLC-5 is a registered trademark, and ControlNet, Data Highway Plus, DH+, MicroLogix, MobileView, 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, and SoftLogix are trademarks of the Allen-Bradley Company, LLC, a Rockwell Automation company. Adobe and Acrobat are registered trademarks and Reader is a trademark of Adobe Systems Incorporated. TrueType is a trademark of Apple Computer, Inc. AutoCAD is a registered trademark of Autodesk, Inc. Ethernet is a registered trademark of Digital Equipment Corporation, Intel Corporation, and Xerox Corporation. Modicon is a registered trademark of Groupe Schneider. Zip is a trademark of Iomega Corporation. KEPServerEnterprise is a trademark of Kepware Technologies, Inc. ActiveX, Microsoft, MS-DOS, OpenType, Visual Basic, Windows, and Windows NT are registered trademarks of Microsoft Corporation in the United States and/or other countries. OPC is a trademark of the OPC Foundation. 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 products performance will be affected by system configuration, the application being performed, operator control, and other related factors. The products implementation may vary among users. This manual is as up-to-date as possible at the time of publishing; 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 ViewME-UM003B-EN-E March 2003
Contents
Preface
About the documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Finding the information you need . . . . . . . . . . . . . . . . . . . . . . . . . . . . Try the Users Guide and Help first . . . . . . . . . . . . . . . . . . . . . . . Information on the Internet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Contacting Rockwell Software Technical Support . . . . . . . . . . . . P-1 P-2 P-2 P-2 P-3
Chapter 1
Getting started
The parts of RSView Machine Edition . . . . . . . . . . . . . . . . . . . . . . . . Additional software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The RSView Machine Edition tools . . . . . . . . . . . . . . . . . . . . . . . . 1-1 1-1 1-2
Chapter 2
Contents
Moving the Application Explorer . . . . . . . . . . . . . . . . . . . . . . . . . Working with editors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Locating editors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Viewing an editors components . . . . . . . . . . . . . . . . . . . . . . . . . . Opening editors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Closing editors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Entering information in spreadsheets . . . . . . . . . . . . . . . . . . . . . . . . . Working with components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Opening components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Saving components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Closing components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Adding components into an application . . . . . . . . . . . . . . . . . . . . Deleting components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Removing components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Renaming components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Duplicating components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Selecting a printer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Printing at run time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-9 2-9 2-10 2-10 2-10 2-11 2-11 2-12 2-13 2-13 2-13 2-13 2-14 2-15 2-15 2-15 2-16 2-17 2-17 2-18
Chapter 3
Planning applications
Understanding the process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Collecting data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Designing an HMI tag database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Collecting information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Organizing tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Planning graphic displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Developing a hierarchy of displays . . . . . . . . . . . . . . . . . . . . . . . . Creating a template to ensure consistency . . . . . . . . . . . . . . . . . . Planning alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Providing information for the operator . . . . . . . . . . . . . . . . . . . . . . . . Local and information messages . . . . . . . . . . . . . . . . . . . . . . . . . . . Diagnostics messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using trends . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Designing a secure system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1 3-2 3-2 3-2 3-3 3-3 3-3 3-4 3-5 3-5 3-6 3-6 3-6 3-7
ii
Chapter 4
Chapter 5
Setting up communications
About OPC communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Summary of steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . About data servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using multiple data servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating data servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up an RSLinx Enterprise data server . . . . . . . . . . . . . . . . . Specifying the RSLinx Enterprise server . . . . . . . . . . . . . . . . . . . . Setting up communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up an OPC data server . . . . . . . . . . . . . . . . . . . . . . . . . . . . Specifying the OPC server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1 5-1 5-3 5-3 5-4 5-4 5-4 5-4 5-6 5-7
Contents
iii
Setting up data server caches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Updating data server caches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Removing data servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Editing data servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 6
iv
Assigning tags to graphic objects . . . . . . . . . . . . . . . . . . . . . . . . . . Using expressions to manipulate tag values . . . . . . . . . . . . . . . . . Substituting tag names used in graphic objects . . . . . . . . . . . . . . . Logging tag values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using macros to assign values to tags . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 7
Contents
Editing tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Deleting tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Addressing syntax for device tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up HMI tag types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up analog tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up digital tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up string tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Specifying a data source for HMI tags . . . . . . . . . . . . . . . . . . . . . . . . Specifying device as the data source . . . . . . . . . . . . . . . . . . . . . . . . Specifying memory as the data source . . . . . . . . . . . . . . . . . . . . . . Other methods for creating HMI tags . . . . . . . . . . . . . . . . . . . . . . . . . Creating tags as needed in other RSView editors . . . . . . . . . . . . . Creating tags as needed in the Data Log Models editor . . . . . . . Using the Tag Browser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Importing tags from a PLC database . . . . . . . . . . . . . . . . . . . . . . . Using the Tag Import and Export Wizard . . . . . . . . . . . . . . . . . . .
7-14 7-14 7-15 7-16 7-16 7-19 7-20 7-21 7-21 7-22 7-23 7-23 7-23 7-24 7-26 7-28
Chapter 8
Chapter 9
Setting up alarms
About alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Preparing to set up alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The data source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Tags and expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Identifying alarm conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-1 9-2 9-2 9-2 9-2
vi
How alarms work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Alarm triggers and trigger values . . . . . . . . . . . . . . . . . . . . . . . . . . Alarm notification methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Displaying alarm information . . . . . . . . . . . . . . . . . . . . . . . . . . . . Responding to alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The alarm log file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Printing alarm information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Alarm trigger data types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The Value trigger type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The Bit trigger type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The Least Significant Bit (LSBit) trigger type . . . . . . . . . . . . . . . . Tips for using array tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Equivalent data types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RSLinx Enterprise tag syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . KEPServerEnterprise tag syntax . . . . . . . . . . . . . . . . . . . . . . . . . . Optional alarm controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Controls that work with a specific alarm trigger . . . . . . . . . . . . . How the Handshake control works . . . . . . . . . . . . . . . . . . . . . . . . How the Ack control works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How the Remote Ack control works . . . . . . . . . . . . . . . . . . . . . . How the Remote Ack Handshake control works . . . . . . . . . . . . How the Message control works . . . . . . . . . . . . . . . . . . . . . . . . . . Controls that apply to all alarms . . . . . . . . . . . . . . . . . . . . . . . . . . How the Silence control works . . . . . . . . . . . . . . . . . . . . . . . . . . . How the Remote Silence control works . . . . . . . . . . . . . . . . . . . . How the Remote Ack All control works . . . . . . . . . . . . . . . . . . . How the Status Reset control works . . . . . . . . . . . . . . . . . . . . . . . How the Remote Status Reset control works . . . . . . . . . . . . . . . . How the Close Display control works . . . . . . . . . . . . . . . . . . . . . How the Remote Close Display control works . . . . . . . . . . . . . . Summary of steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using the Alarm Setup editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating alarm triggers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating alarm messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Deleting messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Copying messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Specifying how alarms are displayed, stored, and silenced . . . . . . . . After you set up alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9-3 9-3 9-3 9-4 9-5 9-7 9-8 9-8 9-8 9-9 9-11 9-13 9-14 9-15 9-15 9-15 9-16 9-16 9-17 9-17 9-19 9-19 9-19 9-20 9-20 9-20 9-20 9-21 9-21 9-21 9-21 9-22 9-23 9-25 9-28 9-28 9-28 9-30
Contents
vii
The [ALARM] display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The [ALARM MULTI-LINE] display . . . . . . . . . . . . . . . . . . . . . . . . The [STATUS] display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The [HISTORY] display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using displays from the library in your application . . . . . . . . . . . . . Creating your own alarm display . . . . . . . . . . . . . . . . . . . . . . . . . . . . Opening and closing the alarm display . . . . . . . . . . . . . . . . . . . . . . . . Opening the display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Closing the display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How the alarm list graphic object works . . . . . . . . . . . . . . . . . . . . . . What is displayed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How the list scrolls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How the alarm banner graphic object works . . . . . . . . . . . . . . . . . . . What is displayed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How the alarm status list graphic object works . . . . . . . . . . . . . . . . . What is displayed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . What happens when the display is opened . . . . . . . . . . . . . . . . . . Using buttons with the alarm list, alarm banner, and alarm status list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Alarm buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Linking buttons to objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Key buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using alarm buttons to acknowledge, silence, clear, and delete alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Acknowledging the selected alarm . . . . . . . . . . . . . . . . . . . . . . . . . Acknowledging all alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Silencing alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Clearing and deleting messages . . . . . . . . . . . . . . . . . . . . . . . . . . . Using alarm buttons to sort alarms and set alarm status . . . . . . . . . . Sorting alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Resetting alarm status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Retaining alarm status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Changing the alarm status displayed in the alarm status list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9-30 9-31 9-32 9-34 9-35 9-36 9-36 9-36 9-37 9-37 9-37 9-38 9-39 9-39 9-40 9-40 9-41 9-41 9-41 9-43 9-43 9-44 9-44 9-45 9-45 9-45 9-46 9-46 9-46 9-46 9-47
viii
Chapter 10
Contents
ix
Chapter 11
Chapter 12
Deleting messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Copying messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up how information messages are displayed . . . . . . . . . . . . . After you set up information messages . . . . . . . . . . . . . . . . . . . . . . . . The [INFORMATION] display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating your own information message display . . . . . . . . . . . . . . . . Opening and closing the information message display . . . . . . . . . . . Opening the display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Closing the display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How the information message display graphic object works . . . . . . What is displayed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Changing the message file used at run time . . . . . . . . . . . . . . . . . . . .
12-7 12-7 12-7 12-9 12-9 12-11 12-11 12-11 12-11 12-12 12-12 12-12
Chapter 13
Setting up security
How to use security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Summary of steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How user accounts and security codes work . . . . . . . . . . . . . . . . . . . Working with the User Accounts editor . . . . . . . . . . . . . . . . . . . . . . . Using the View menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using the Accept and Discard buttons . . . . . . . . . . . . . . . . . . . . . Using the tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The DEFAULT user . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up user accounts for RSView users . . . . . . . . . . . . . . . . . . . . . Deleting RSView user accounts . . . . . . . . . . . . . . . . . . . . . . . . . . . Changing RSView user passwords . . . . . . . . . . . . . . . . . . . . . . . . . Adding users or groups from a Windows network domain . . . . . . . Removing users or groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Providing a way for users to log in and log out . . . . . . . . . . . . . . . . . Logging in . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Logging out . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Logging out automatically . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Preventing unauthorized users from stopping the application . . . . . Assigning security to graphic displays . . . . . . . . . . . . . . . . . . . . . . . . Summary of security features in a sample startup display . . . . . . . . . 13-1 13-2 13-2 13-6 13-6 13-6 13-7 13-8 13-8 13-10 13-10 13-10 13-11 13-13 13-13 13-14 13-14 13-14 13-16 13-17
Contents
xi
Chapter 14
xii
Local messages and trigger values . . . . . . . . . . . . . . . . . . . . . . . . . Summary of steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using the Local Messages editor . . . . . . . . . . . . . . . . . . . . . . . . . . Creating local messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How the local message display graphic object works . . . . . . . . . Printing displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Printing displays at run time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 15
Contents
xiii
Selecting and deselecting objects . . . . . . . . . . . . . . . . . . . . . . . . . . Using the Object Explorer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Highlighting objects in the Object Explorer . . . . . . . . . . . . . . . . Using the Properties dialog box . . . . . . . . . . . . . . . . . . . . . . . . . . . Using the Property Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Assigning tags and expressions to an objects controls . . . . . . . . Coloring objects using the color toolbars . . . . . . . . . . . . . . . . . . . Naming objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Testing how objects look in different states . . . . . . . . . . . . . . . . . Assigning tags and expressions to graphic objects . . . . . . . . . . . . . . . Assigning tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using expressions to manipulate tag values . . . . . . . . . . . . . . . . . Replacing tags using tag substitution . . . . . . . . . . . . . . . . . . . . . . . Using tag placeholders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Performing basic operations on objects . . . . . . . . . . . . . . . . . . . . . . . Moving objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Copying objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Duplicating objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Resizing objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Reshaping drawing objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Deleting objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Working with groups of objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Grouping and ungrouping objects . . . . . . . . . . . . . . . . . . . . . . . . . Editing groups of objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Editing objects within a group . . . . . . . . . . . . . . . . . . . . . . . . . . . . Arranging objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Layering objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Aligning objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Spacing objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Flipping drawing objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Rotating drawing objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Locking objects into position . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
15-26 15-27 15-29 15-31 15-35 15-35 15-38 15-40 15-42 15-43 15-44 15-44 15-46 15-46 15-49 15-50 15-50 15-51 15-53 15-53 15-55 15-56 15-56 15-56 15-58 15-58 15-59 15-60 15-61 15-63 15-64 15-65 15-66
xiv
Chapter 16
Contents
xv
Setting up momentary push buttons . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up the appearance and action of the momentary push button . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up what the momentary push button does when it is pressed and released . . . . . . . . . . . . . . . . . . . . . . . . . . . Connecting the momentary push button to data . . . . . . . . . . . . . Setting up maintained push buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up the appearance of the maintained push button and how it changes state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up what the maintained push button does when it is pressed and released . . . . . . . . . . . . . . . . . . . . . . . . . . . Connecting the maintained push button to data . . . . . . . . . . . . . Setting up latched push buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up the appearance of the latched push button and how to unlatch it . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up what the latched push button does when it is latched and unlatched . . . . . . . . . . . . . . . . . . . . . . . . . . Connecting the latched push button to data . . . . . . . . . . . . . . . . . Setting up multistate push buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up the appearance of the multistate push button and how it changes state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up what the multistate push button does when it is pressed and released . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up whether the multistate push button press repeats when held down . . . . . . . . . . . . . . . . . . . . . . . . . . . . Connecting the multistate push button to data . . . . . . . . . . . . . . Setting up interlocked push buttons . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up the interlocked push buttons appearance and value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up the appearance of the interlocked push button when it is pressed and released . . . . . . . . . . . . . . . . . . . . . . . . . . . Connecting the interlocked push button to data . . . . . . . . . . . . . Setting up ramp buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up the appearance of the ramp button and how it works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up a caption and image for the ramp button . . . . . . . . . . Setting up whether the ramp button press repeats when held down . . . . . . . . . . . . . . . . . . . . . . . . . . . . Connecting the ramp button to data . . . . . . . . . . . . . . . . . . . . . . . How to use numeric displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How values are displayed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Problems with displaying values . . . . . . . . . . . . . . . . . . . . . . . . . .
16-42 16-44 16-46 16-50 16-51 16-53 16-54 16-58 16-59 16-61 16-62 16-66 16-67 16-69 16-70 16-74 16-75 16-75 16-77 16-78 16-82 16-82 16-84 16-85 16-88 16-89 16-89 16-89 16-90
xvi
Setting up numeric displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Number formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up the appearance of the numeric display . . . . . . . . . . . . Connecting the numeric display to data . . . . . . . . . . . . . . . . . . . .
Setting up numeric input enable buttons . . . . . . . . . . . . . . . . . . . . . . . 16-94 Setting up the appearance and input focus of the numeric input enable button . . . . . . . . . . . . . . . . . . . . . . . . 16-96 Setting up a caption or image for the numeric input enable button . . . . . . . . . . . . . . . . . . . . . . . 16-97 Setting up numeric and pop-up options for the numeric input enable button . . . . . . . . . . . . . . . . . . . . . . . 16-101 Setting up the how the numeric input enable buttons pop-up works with an Enter key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-103 Connecting the numeric input enable button to data . . . . . . . . . 16-105 Setting up numeric input cursor points . . . . . . . . . . . . . . . . . . . . . . . . Activating the cursor point . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using the cursor point to ramp values . . . . . . . . . . . . . . . . . . . . . . Setting up the cursor point . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up the appearance and key navigation of the numeric input cursor point . . . . . . . . . . . . . . . . . . . . . . . . . Setting up numeric and pop-up options for the numeric input cursor point . . . . . . . . . . . . . . . . . . . . . . . . Setting up the how the numeric input cursor points pop-up works with an Enter key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Connecting the numeric input cursor point to data . . . . . . . . . . . 16-106 16-106 16-106 16-107 16-108 16-110 16-113 16-114
How to use string displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-115 How values are displayed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-115 Setting up string displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-115 Setting up the appearance of the string display . . . . . . . . . . . . . . . 16-117 Connecting the string display to data . . . . . . . . . . . . . . . . . . . . . . 16-118 Setting up string input enable buttons . . . . . . . . . . . . . . . . . . . . . . . . . Setting up the appearance and action of the string input enable button . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up a caption or image for the string input enable button . . . . . . . . . . . . . . . . . . . . . . . . . Setting up the pop-up for the string input enable button . . . . . . Setting up the how the string input enable buttons pop-up works with an Enter key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Connecting the string input enable button to data . . . . . . . . . . . . 16-119 16-121 16-122 16-125 16-126 16-128
Setting up goto display buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-128 Setting up the appearance of the goto display button . . . . . . . . . 16-130
Contents
xvii
Setting up a caption or image for the goto display button . . . . . . 16-132 Setting up close display buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up the appearance of the close display button . . . . . . . . . Setting up a caption or image for the close display button . . . . . Connecting the close display button to data . . . . . . . . . . . . . . . . . 16-135 16-137 16-138 16-142
Setting up display list selectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-142 Setting up the appearance of the display list selector . . . . . . . . . . 16-144 Setting up which displays appear in the display list selector . . . . 16-145 How to use indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-148 Setting up multistate indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up the appearance of the multistate indicator and its number of states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up how the multistate indicators appearance changes to match its value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Connecting the multistate indicator to data . . . . . . . . . . . . . . . . . Setting up symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up the appearance of the symbol and its number of states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up how the symbol changes appearance when its value changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Connecting the symbol to data . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up list indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up the appearance of the list indicator and its number of states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up how the list indicators appearance changes when its value changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Connecting the list indicator to data . . . . . . . . . . . . . . . . . . . . . . . How to use bar graphs, gauges, and scales . . . . . . . . . . . . . . . . . . . . . Bar graphs make it easy to compare values . . . . . . . . . . . . . . . . . . Thresholds change a bar graphs fill color . . . . . . . . . . . . . . . . . . . Use bar graphs with scales to show limits . . . . . . . . . . . . . . . . . . . Gauges make it easy to see limits . . . . . . . . . . . . . . . . . . . . . . . . . . Thresholds change a gauges fill color . . . . . . . . . . . . . . . . . . . . . . 16-148 16-150 16-151 16-155 16-155 16-157 16-158 16-160 16-161 16-163 16-164 16-166 16-167 16-167 16-167 16-168 16-168 16-168
Setting up bar graphs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-169 Setting up the appearance of the bar graph . . . . . . . . . . . . . . . . . . 16-170 Connecting the bar graph to data . . . . . . . . . . . . . . . . . . . . . . . . . . 16-173 Setting up gauges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Number formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up the appearance of the gauge . . . . . . . . . . . . . . . . . . . . . Setting up how the gauge works . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-173 16-173 16-174 16-175
xviii
Connecting the gauge to data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-178 Setting up scales . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-178 Setting up the appearance of the scale . . . . . . . . . . . . . . . . . . . . . . 16-179 How to use control list selectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-181 How Enter key handshaking works . . . . . . . . . . . . . . . . . . . . . . . 16-182 Setting up control list selectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up the appearance of the control list selector . . . . . . . . . . Setting up the control list selectors state values and captions . . Setting up the control list selector to work with an Enter key . . Connecting the control list selector to data . . . . . . . . . . . . . . . . . 16-182 16-184 16-185 16-187 16-189
Setting up local message displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-190 Setting up the appearance of the local message display . . . . . . . . 16-192 Connecting the local message display to data . . . . . . . . . . . . . . . . 16-193 Setting up macro buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-194 Setting up the appearance of the button and the macro to run . . 16-196 Setting up a caption or image for the button . . . . . . . . . . . . . . . . . 16-197 Setting up time and date displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-201 Time and date formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-201 Setting up the appearance of the time and date display . . . . . . . . 16-203 Setting up print alarm history buttons . . . . . . . . . . . . . . . . . . . . . . . . Time and date formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up the appearance of the button . . . . . . . . . . . . . . . . . . . . Setting up a caption or image for the button . . . . . . . . . . . . . . . . . Setting up what appears on the alarm history report . . . . . . . . . . Setting up print alarm status buttons . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up the appearance of the button . . . . . . . . . . . . . . . . . . . . Setting up a caption or image for the button . . . . . . . . . . . . . . . . . Setting up what appears on the alarm status report . . . . . . . . . . . Setting up alarm lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Time and date formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up the appearance of the alarm list . . . . . . . . . . . . . . . . . . Setting up what appears in the alarm list . . . . . . . . . . . . . . . . . . . . 16-204 16-204 16-206 16-207 16-210 16-212 16-214 16-215 16-218 16-221 16-221 16-223 16-224
Setting up alarm banners . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-227 Time and date formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-227 Setting up the appearance of the banner and the types of alarms to display . . . . . . . . . . . . . . . . . . . . . . . . . 16-229 Setting up alarm status lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-231 Setting up the appearance of the alarm status list . . . . . . . . . . . . . 16-233
Contents
xix
Setting up what appears in the alarm status list . . . . . . . . . . . . . . 16-234 Setting up diagnostics lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-237 Setting up the appearance of the diagnostics list . . . . . . . . . . . . . . 16-239 Setting up information message displays . . . . . . . . . . . . . . . . . . . . . . . 16-240 Setting up the appearance of the information message display . . 16-242
Chapter 17
xx
Checking the animation on objects . . . . . . . . . . . . . . . . . . . . . . . . . . . Changing the animation on objects . . . . . . . . . . . . . . . . . . . . . . . . . . . Copying or duplicating objects with animation . . . . . . . . . . . . . . . . . Copying animation without copying objects . . . . . . . . . . . . . . . . . . .
Chapter 18
Setting up trends
About trends . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Current versus historical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Time, date, and number formats . . . . . . . . . . . . . . . . . . . . . . . . . . . The parts of a trend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Trend border . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Trend window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Y-axis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Vertical axis labels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . X-axis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Horizontal axis labels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Pens . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Pen icons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Pen markers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Chart types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Standard vs. XY Plots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Isolated graphing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Plotting a value across the full width of the chart . . . . . . . . . . . . Choosing colors, fonts, lines, and markers . . . . . . . . . . . . . . . . . . . . . The trend border color . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The trend window color . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Testing the trend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Summary of steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating trend objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up trends . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Specifying chart style and update mode . . . . . . . . . . . . . . . . . . . . Setting up how the trend works at run time . . . . . . . . . . . . . . . . . Setting up the horizontal axis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up the vertical axis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up focus highlight and keyboard navigation . . . . . . . . . . Specifying the tags and expressions to plot data for . . . . . . . . . . . 18-1 18-2 18-2 18-3 18-3 18-4 18-4 18-4 18-4 18-4 18-5 18-5 18-5 18-5 18-5 18-5 18-6 18-7 18-8 18-8 18-9 18-9 18-9 18-10 18-10 18-12 18-13 18-16 18-18 18-20 18-21
Contents
xxi
Setting up pens . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . After you create the trend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using the Trends graphic library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using buttons to control the trend at run time . . . . . . . . . . . . . . . . . Printing trend data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Improving clarity of the trend printout . . . . . . . . . . . . . . . . . . . . . Runtime errors for the trend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 19
Creating expressions
About expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Expressions that result in floating-point values . . . . . . . . . . . . . . Expression components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Where you can use expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using the Expression editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using the Expression editor versus typing expressions directly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . About the Expression editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Expression box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Expression buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Validation area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Cursor position . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Cutting, copying, and pasting expressions . . . . . . . . . . . . . . . . . . . . . Formatting expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using tag names and tag placeholders . . . . . . . . . . . . . . . . . . . . . . . . . Using tag placeholders instead of tag names . . . . . . . . . . . . . . . . . Constants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Arithmetic operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . String operands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Relational operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How string operands are evaluated . . . . . . . . . . . . . . . . . . . . . . . . Logical operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Bitwise operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using the left shift operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Evaluation order of operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-1 19-1 19-2 19-2 19-3 19-3 19-4 19-4 19-5 19-5 19-5 19-6 19-7 19-8 19-8 19-9 19-9 19-9 19-10 19-10 19-11 19-11 19-12 19-14 19-14
xxii
Mathematical functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Security functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . If-then-else . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Nested if-then-else . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using write expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 20
Chapter 21
Creating macros
Using macros to assign values to tags . . . . . . . . . . . . . . . . . . . . . . . . . When to use macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Running macros when tags or expressions change value . . . . . . . . . . Creating macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Where to assign macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-1 21-2 21-3 21-4 21-5
Contents
xxiii
Chapter 22
Chapter 23
Chapter 24
xxiv
Using startup parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Starting RSView ME Station when Windows starts . . . . . . . . . . . Deleting log files on the run-time computer . . . . . . . . . . . . . . . . . . . Running a newer version of the application . . . . . . . . . . . . . . . . . Deleting log files at application startup . . . . . . . . . . . . . . . . . . . . . Specifying time, date, and number formats . . . . . . . . . . . . . . . . . . . . . Using the DeskLock tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Running applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Shutting down applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . What happens when the application shuts down . . . . . . . . . . . . .
24-11 24-12 24-14 24-14 24-14 24-15 24-15 24-16 24-16 24-17
Chapter 25
Contents
xxv
Copying and deleting application and font files . . . . . . . . . . . . . . . . . Setting up the keyboard, mouse, keypad and touch screen . . . . . . . . Setting up RSLinx Enterprise drivers . . . . . . . . . . . . . . . . . . . . . . . . . Setting up a serial driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up the DHPlus driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Editing device addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up serial ports for use with KEPServerEnterprise communications . . . . . . . . . . . . . . . . . . . Specifying print options on the PanelView Plus or VersaView CE terminal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Other methods for starting RSView ME Station . . . . . . . . . . . . . . . . Using startup parameters with VersaView CE . . . . . . . . . . . . . . . Starting RSView ME Station when the VersaView CE terminal is turned on . . . . . . . . . . . . . . Viewing the System Event Log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Viewing the Terminal Information . . . . . . . . . . . . . . . . . . . . . . . . . . . Specifying time, date, and number formats . . . . . . . . . . . . . . . . . . . . . Deleting log files on the run-time computer . . . . . . . . . . . . . . . . . . . Running a newer version of the application . . . . . . . . . . . . . . . . . Deleting log files at application startup . . . . . . . . . . . . . . . . . . . . . Running applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Shutting down applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . What happens when the application shuts down . . . . . . . . . . . . .
25-19 25-20 25-22 25-23 25-24 25-25 25-26 25-28 25-30 25-31 25-32 25-34 25-34 25-35 25-35 25-35 25-36 25-36 25-37 25-37
Chapter 26
xxvi
Comparing applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using the RSView ME Station dialog box . . . . . . . . . . . . . . . . . . . . . Starting RSView ME Station . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Selecting the application to set up or run . . . . . . . . . . . . . . . . . . . . . . Editing device shortcuts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up FactoryTalk Diagnostics on the RAC6182 terminal . . . . Setting up the remote log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up Message Routing for the Remote Log . . . . . . . . . . . . . Setting up Message Routing for the RSView Diagnostic List . . . Copying and deleting application and font files . . . . . . . . . . . . . . . . . Storing temporary files on an external card . . . . . . . . . . . . . . . . . . . . Setting up RSLinx Enterprise drivers . . . . . . . . . . . . . . . . . . . . . . . . . Setting up a serial driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up the DHPlus driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up the DH485 driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Editing device addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up serial ports for use with KEPServerEnterprise communications . . . . . . . . . . . . . . . . . . . Specifying print options on the RAC6182 terminal . . . . . . . . . . . . . . Other methods for starting RSView ME Station . . . . . . . . . . . . . . . . Using startup parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Starting RSView ME Station when the RAC6182 terminal is turned on . . . . . . . . . . . . . . . . . . Specifying time, date, and number formats . . . . . . . . . . . . . . . . . . . . . Deleting log files on the run-time computer . . . . . . . . . . . . . . . . . . . Running a newer version of the application . . . . . . . . . . . . . . . . . Deleting log files at application startup . . . . . . . . . . . . . . . . . . . . . Running applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Shutting down applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . What happens when the application shuts down . . . . . . . . . . . . .
26-11 26-13 26-13 26-14 26-15 26-16 26-17 26-17 26-18 26-19 26-19 26-20 26-21 26-23 26-24 26-26 26-27 26-28 26-29 26-30 26-31 26-33 26-33 26-33 26-34 26-34 26-35 26-35
Chapter 27
Contents
xxvii
Logging out . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Entering numeric values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Activating the cursor point . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Ramping numeric values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using the numeric pop-up keypad . . . . . . . . . . . . . . . . . . . . . . . . . Using the numeric pop-up scratchpad . . . . . . . . . . . . . . . . . . . . . . Using buttons and keys with the numeric pop-up windows . . . . How values are ramped . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How values are calculated . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Problems with the numeric pop-up windows . . . . . . . . . . . . . . . . Entering string values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using the string pop-up keyboard . . . . . . . . . . . . . . . . . . . . . . . . . Using the string pop-up scratchpad . . . . . . . . . . . . . . . . . . . . . . . . Using buttons and keys with the string pop-up windows . . . . . . What is written to the Value control . . . . . . . . . . . . . . . . . . . . . . . Problems with the string pop-up windows . . . . . . . . . . . . . . . . . . Changing tag values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Viewing tag data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Viewing alarms and messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Viewing information about run-time communication errors . . . . . .
27-4 27-4 27-4 27-5 27-5 27-5 27-6 27-7 27-7 27-8 27-9 27-9 27-10 27-10 27-11 27-12 27-12 27-14 27-16 27-17
Appendix A
xxviii
Unsupported tag data types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Unsupported initial values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Unsupported graphic object features . . . . . . . . . . . . . . . . . . . . . . . . . . Converting expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Equivalent expression syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Unsupported expression syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . Order of precedence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Converting PanelBuilder 1400e RIO applications to RSView . . . . . Unsupported PanelView 1400e RIO tags . . . . . . . . . . . . . . . . . . . Changes from tag type to RSLinx DType . . . . . . . . . . . . . . . . . . .
A-12 A-13 A-13 A-15 A-15 A-16 A-17 A-17 A-18 A-19
Appendix B
Contents
xxix
Appendix C
System tags
Alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Graphics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . User . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-1 C-1 C-2 C-3
Appendix D
xxx
Preface
Thank you for choosing RSView Machine Editiont. RSView Machine Edition is a member of the RSView Enterprise Series family of products. It is an integrated package for developing and running automation applications. Designed for use with Microsoftr Windowsr 2000 and Windows XP, PanelView Plust terminals, and on VersaViewt CE, and RAC6182t terminals running Microsoft Windows CE 3.0, RSView Machine Edition gives you all the tools you need to create effective machine-level monitoring and control applications.
P-1
Preface
On the Help menu, select Rockwell Software on the Web, and then click the name of the web page you want to view. For information about the Rockwell Automation Knowledgebase and the Rockwell Software Discussion Forums, see the next sections.
P-2
The Knowledgebase web page contains a comprehensive, searchable database of support information for all Rockwell Automation and Rockwell Software products.
Rockwell Software Discussion Forums
The Rockwell Software Discussion Forums are web pages for users of Rockwell Software products. The forums offer discussion groups, for exchanging tips and questions with other RSView users.
Support staff are available Monday to Friday from 8 AM to 5 PM local time (North America only), except on statutory holidays.
When you call
When you call, be at your computer and be ready to give: the product serial number. Youll find this number on the Activation disk label and in the About RSView Studio dialog box available from the Help menu in RSView. the product version number. the type of hardware you are using. the exact wording of any messages that appeared on your screen. a description of what happened and what you were doing when the problem occurred. a description of how you tried to solve the problem.
Preface
P-3
Preface
You may also be required to provide information about the RSView add-ons and updates that are installed on your computer.
To view the list of installed add-ons and updates 1. In RSView Studio, click Help, and then click About RSView
Studio.
2. To view the list of installed add-ons, click Add-Ons. 3. To view the list of installed updates, click Updates.
P-4
Chapter
Getting started
RSView Machine Edition is software for developing and running human-machine interface applications. RSView Machine Edition is designed for monitoring and controlling automated processes and machines. For information about installing RSView Machine Edition, see the RSView Machine Edition Installation Guide.
is configuration software for developing machine-level applications. This software runs on the Windows 2000 and Windows XP operating systems.
RSView ME Stationt
is a stand-alone run-time environment for machine-level applications. Use RSView ME Station to run the applications you develop in RSView Studio. You can run machine-level applications on PanelView Plus terminals and Windows CE Terminals with the Windows CE 3.0 operating system, and on computers that use the Windows 2000 or Windows XP operating system.
Additional software
The RSView Machine Edition CD also includes three additional software products:
RSLinx Enterpriset RSLinx Enterprise is a new communication server built around FactoryTalk technology to assist in developing and running your RSView ME applications.It is an OPC 2.05 compliant server and will run on multiple platforms, ranging from PanelView Plus dedicated terminals to desktop computers.
RSLinxt for RSView
is software that provides communications to a wide range of communications drivers. RSLinx for RSView is an OPCt-compliant data server. is software for reading the online RSView Machine Edition Users Guide. If desired, you can also use the software to print the Users Guide.
1-1
Preface
is software for moving a run-time machine-level application from the development computer to the PanelView Plus or Windows CE terminal.
1-2
Chapter
On the Windows Start menu, select Programs, and then click RSView Studio.
RSView comes with several sample applications. We suggest you open the Malthouse sample application now to use while you try out the instructions in the remainder of this chapter. See the instructions on page 2-2.
On the File menu, click Exit. If there are any unsaved changes in open editors, RSView Studio asks you whether to save the changes before exiting the program.
2-1
Preface
2-2
Application Explorer
The toolbar
The toolbar contains buttons for commonly used menu items so you can have quick access to the items without opening the menu. When you point to a button on the toolbar, the button name is displayed in a tooltip and in the status bar.
2-3
Preface
Tooltip
All editors use the Standard toolbar. The Graphic Displays, Graphic Libraries, User Accounts, and Tags editors have additional toolbars.
The workspace
The workspace is the blank area of the RSView Studio window. You can drag icons from the Application Explorer to the workspace to open editors and components. For more information, see page 2-7.
You can detach (undock) the Diagnostics List from the main window, and then move the list anywhere on the screen.
2-4
To undock the Diagnostics List, drag the grab bars at the bottom left of the Diagnostics List. If you cant see the grab bars, drag the top edge of the Diagnostics List to make it a bit larger.
To detach the Diagnostics List, drag the grab bars.
To prevent the Diagnostics List from docking automatically while you move it across the screen, hold down the Ctrl key on the keyboard while you move the Diagnostics List. When the Diagnostics List 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 selected message in the Diagnostics List, click Clear. To clear all the messages in the Diagnostics List, click Clear All.
Messages in the Diagnostics List
The types of messages that appear in the Diagnostics List depend on how you set up FactoryTalkt Diagnostics on the development system. For information about specifying the types of messages to display, see page 10-5.
Workbook tabs
If you select Workbook Mode on the View menu, the workspace displays tabs at the bottom for each open editor or component. Workbook Mode allows you to bring forward an open item more quickly than by using the Window menu.
2-5
Preface
Workbook tabs
The status bar, Application Explorer, Diagnostics List, and Standard toolbar are visible. Workbook Mode is turned off.
2-6
On the View menu, click Explorer Window, or click the Explorer Window tool on the toolbar.
2-7
Preface
The top icon represents the application. RSLinx Enterprise data server The applications HMI server contains editors for setting up your application and the components you create.
Components are listed below the editors icon when you open the folder. Click the + symbol to see the list of components for an editor.
When you first create a data server it is added to the Application Explorer tree. You can resize the Application Explorer by dragging its edges.
2-8
Click the + symbol to the left of the folder icon, or double-click the folder name.
Click the + symbol to the left of the editor icon, or double-click the editor name.
Opening editors
To open an editor
"
Right-click the editor, and then click Open or New. If there are no components in the editor, you can double-click the editor to open it.
2-10
Closing editors
To close an editor
"
Click the close button on the editors title bar, or on the File menu click Close. Some editors have an OK, Cancel, or Close button that you can click to close the editor.
Preface
Global Connections Local Messages Alarm Setup Information Setup Information Messages Macros * You cannot make changes in the spreadsheet section of the Tags editor. In this editor, you must use the Form section of the editor to create and edit tags. In the Graphic Displays editor, many of the Properties dialog boxes for setting up graphic objects contain spreadsheets for assigning tags or expressions to the objects.
To enter information in a cell in a spreadsheet
"
Click the cell, and then type the information. If the cell already contains text, the new information is added after the current text. In the Property Panel, double-click the cell and then type the information. If the cell already contains text, double-clicking highlights the text and typing replaces the highlighted text.
Press Tab or Enter. The method to use depends on which editor youre working in.
Press Enter or Down Arrow. The method to use depends on which editor youre working in.
Click the cell, and then press Delete or Backspace. Pressing Backspace removes the characters one by one. The method to use depends on which editor youre working in.
2-12
Creating components
To create a new component, do one of the following
Right-click the editor, and then click New. On the File menu, select New, and then click the type of component to create.
Opening components
To open a component, do one of the following
Double-click the component. Right-click the component, and then click Open. Drag and drop the component from the Application Explorer to the workspace.
Saving components
The Save tool is available when the active component contains unsaved changes.
Save tool To save a component 1. On the File menu, click Save, or click the Save tool.
2. If this is the first time youre saving the component, type a name
Closing components
To close a component
"
On the File menu, click Close, or click the Close button on the components title bar. Some components have a Close button that you can click to close the component. Before the component closes you are prompted to save unsaved changes, if there are any.
2-13
create the desired component. For example, to add a graphic display component, right-click the Displays icon in the Graphics folder.
2. Click Add Component Into Application.
2-14
Click and Shift-click to select a group of components, or Ctrl-click to select multiple individual components. For information about application folders and files, see Chapter 4.
4. Click Open. The components are listed under the editor in the
Application Explorer in Application B. If you later modify the component in Application A, you can add the component into Application B again using the same steps as described above.
Using Add Component Into Application with graphic displays and graphic libraries
The Add Component Into Application menu command is also useful for: adding graphic displays to your applications Libraries folder. using libraries as graphic displays in your application. For information about graphic libraries, see page 14-18.
Deleting components
Deleting a component deletes it from the Application Explorer and from the hard disk.
To delete a component
"
Removing components
You can remove a component from the Application Explorer but leave it on the hard disk, in case you want to use the component in another application.
To remove a component
"
Renaming components
To rename a component 1. Right-click the component, and then click Rename.
2-15
Preface
Duplicating components
The Duplicate option is useful for creating multiple similar components. For example, you could create a graphic display to use as a template, then duplicate the display each time you want to use the template.
To duplicate a component 1. Right-click the component, and then click Duplicate.
component.
3. Click OK.
2-16
Printing
Each editor and component has a Print item on its File menu.
To print an editor or components contents 1. Open the editor or component. 2. On the File menu, click Print. 3. Click OK.
Selecting a printer
You must install a printer before you can select it. For information about installing a printer, see your Windows documentation.
IMPORTANT
The Print Setup menu item in RSView Studio applies to your development computer only. To print at run time, set up a printer on the computer youll be using to run your application. For more information about printing at run time, see page 2-18.
To select a printer 1. On the File menu in any editor or component, click Print Setup.
Printing
2-17
Preface
printer.
3. Choose the appropriate paper and orientation options. 4. Click OK. Selecting printer setup options
For detailed information about printer options, refer to your Windows documentation.
Selecting a network printer
RSView Studio can print to a network printer. For detailed information about setting up network printers, refer to your Windows documentation.
2-18
See
Display print buttons Printing graphic displays Printing displays remotely Printing alarm messages Printing diagnostics messages
Specifying the printers to use at run Page 24-8 time for Windows 2000 or Windows XP applications The type of printer to use with a PanelView Plus or Windows CE terminal Page 25-2
Printing
2-19
Chapter
Planning applications
A well-designed application requires planning. To help you plan, this chapter describes: understanding the machines and processes youre automating. collecting data. designing an HMI tag database. planning graphic displays and navigating between them. planning alarms. providing information for the operator. using trends. designing a secure system. RSView comes with several sample applications that can give you guidance when planning your application. For instructions on opening the sample applications, see page 2-2.
Preface
Collecting data
When planning data collection, design your system so only essential data is collected. Limiting data collection is important because collection activities require substantial processing power and generate a lot of traffic on the network. Keep data collection requirements in mind when designing the layout of the programmable controller data tables and the HMI tag database. Ideally, tag addresses should reference contiguous blocks of programmable controller data tables to reduce highway traffic and optimize system response. If youre going to use data from an OPC server, read the server documentation to find out how to optimize traffic.
Collecting information
Before you begin creating the database, collect: flowcharts of your processes (or process and instrument diagrams). a list of programmable controller data table or register addresses your application will have access to. machinery systems documentation. alarm requirements (for more information, see page 3-5).
3-2
Organizing tags
Before creating tags: Develop naming conventions for tags, choosing names that are familiar and logical to everyone. This makes troubleshooting easier. Group related tags. Group 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 tags, place related tags into folders. For greater organization, nest folders.
Be consistent with your use of symbols and color. Be consistent with button labels and button placement. When you design several displays, place the same kinds of buttons in the same positions. For example, if you have a Start button in a certain position in one display, dont put a Stop button in the same position in the next display.
Clarity
Use symbols that are easily recognizable. For example, use the conventional ISA symbols for tanks and valves. Dont overload the screen with information. Use standard, clear terminology, and avoid abbreviations or acronyms that the user might not understand. Use colors with recognizable meanings. For example, in North America the colors red and green usually mean stop and start.
3-4
Keep color meanings consistent by assigning red only to Stop buttons, and green only to Start buttons. Some people are color blind to red and green so dont rely on color alone to establish meaning. Use high contrast color combinations, such as yellow on blue.
Usability
If youre designing for a touch screen, dont place important buttons where theyll be blocked by an On Top display. The user cant press a covered button. Also, ensure the button is large enough for users to touch easily. Ensure there is always a clear way to move between displays. Keep the intended user in mind and design displays so they are easy to understand and use. Ask the users to test the displays.
Planning alarms
Before setting up alarms, plan: what conditions will trigger alarms. how operators will be notified of alarms. what information you want alarm messages to contain. how operators will respond to alarms. For information about setting up alarms, see Chapter 9.
Diagnostics messages
Set up diagnostics messages to notify the operator of system activity such as tag reads and writes, communication problems, running macros, or problems opening displays. For information about setting up diagnostics messages, see Chapter 10.
Using trends
When planning trends, consider how they will be used. For example, will the trend be used to: analyze process trends? monitor production efficiency? archive process variables to ensure compliance with government regulations? Based on such considerations, you can determine: which tags need to be plotted on the same trend. which tags need to be logged by using a data log model. For information about setting up data logging, see Chapter 11. For information about creating trend graphic objects, see Chapter 18.
3-6
3-7
Chapter
What is an application?
An application is the software application you create in RSView Studio to monitor and control your plant processes. An application consists of one or more data servers and an HMI project (also known as an HMI server). The data servers provide communications for the project. The project or HMI server consists of graphic displays, alarm information, user information, and other settings. For information about viewing the application properties, see page 4-15. For information about viewing the HMI server properties, see page 4-16.
What is an application?
Component files
Component files are located in folders in the HMI project folder, as described in the following table. For example, graphic display component files (with the extension .gfx) are stored in the Gfx folder. You might need to navigate to the location of these files, for example if you are adding a component from one application into another application.
This folder Contains File extensions
HMI project file and the folders described below Data log models (component files) Graphic display component files Image files
Information message component .ifm files Local message component files Macro component files Parameter component files .loc .mcr .par
4-2
External folders
The following table lists some RSView folders that are external to the HMI project folder, and the types of files they contain. The folders are located in this directory: Documents and Settings\All Users\Documents\RSView Enterprise
This folder Contains File extensions
Images ME\Libraries
Image files for use on graphic objects Graphic library component files and image files used in the library displays
ME\Logs\Run-time Application Data log files for Name\Dlg\Data Log Model applications that have Name run on the development computer ME\Logs\Run-time Application Alarm log file for Name\M_Alarms applications that have run on the development computer ME\Runtime ME\HMI projects Run-time application files Sample application folders, including all files and folders needed for the sample
.log, .tag
.alm
.mer
If desired, you can specify a different directory in which to store graphic library component files. For more information, see page 14-20.
Default log file locations for PanelView Plus or Windows CE terminal applications
On the PanelView Plus or Windows CE terminal, alarm and data log folders are located by default in this directory: \Storage Card\Rockwell Software\RSViewME\Logs\
4-3
What is an application?
Preface
Data log file locations
You can also store data log files in a different location on the run-time computer, on a networked computer, or on a PC card. For more information, see Chapter 11.
Naming files
File names, including the path, can be up to 200 characters long (file names can contain spaces). For example, the following path and file name contains 114 characters: C:\Documents and Settings\All Users\Documents\RSView Enterprise\ME\HMI projects\Malthouse_640x480\ Gfx\Steeping.gfx
4-4
2. In the New tab, in the Application name box, type a name for
your application, up to 32 characters long. If desired, type a description of the application. If you dont type a description now, you can add one later, as described on page 4-15.
3. Click Create.
RSView Studio creates the applications folders and files, and then displays the new application in the Application Explorer. The application is created in the ME\HMI projects directory, in a folder with the same name as the application name. This is the path to the ME\HMI projects directory: Documents and Settings\All Users\Documents\RSView Enterprise\ME\HMI projects
4-5
Preface
IMPORTANT
Once you create the application, specify the project settings. These settings determine the general appearance of your run-time application, and affect how your graphic displays look. For more information, see page 4-9.
To create a new application when RSView Studio is already open 1. On the File menu, click New Application, or click the New
Application tool.
New Application tool
If an application is already open, RSView Studio asks you whether to close the application that is currently open. Click Yes.
2. Follow steps 2 and 3 in the previous procedure.
Importing applications
You can import PanelBuilder, PanelBuilder32 and PanelBuilder 1400e applications into RSView Studio. For details, see Appendix A and Appendix B.
Opening applications
You can open an application when you start RSView Studio, or once RSView Studio is already open. For information about opening a sample application, see page 2-2.
To open an existing application when you start RSView Studio 1. Start RSView Studio.
4-6
2. Click the Existing tab, and then click the application to open. 3. Click Open.
Application tool.
Open Application too
If an application is already open, RSView Studio asks you whether to close the application that is currently open. Click Yes.
2. Follow steps 2 through 4 in the previous procedure. To open an application you used recently
"
On the File menu, select Recent Applications, and then click the name of the application to open. If an application is already open, RSView Studio asks you whether to close the application that is currently open. Click Yes.
On the File menu, click Close Application. If there are any unsaved changes in open editors, RSView Studio asks you whether to save the changes before closing the application.
Close button
Click the Close button at the right end of the RSView Studio title bar. If there are any unsaved changes in open editors, RSView Studio asks you whether to save the changes before closing them.
In RSView Studio, on the Tools menu click Application Manager. On the Windows Start menu, select Programs, Rockwell Software, RSView Enterprise, Tools, and then click Application Manager. For details about using the tool, see the tools Help.
4-8
4-9
Preface
Usually, an application is designed to completely fill the run-time terminal or computer screen. If you want your application to do this, set the project window size to the resolution of the screen in pixels. For information on setting the project window size, see page 4-13.
Changing the project window size after creating graphic displays
The project window size is used for all graphic displays of the Replace type. If you decrease the window size after you have already created graphic displays, Replace displays are resized, but any objects in the displays remain the same size and in the same position as before. On Top displays are not resized. For more information about Replace and On Top displays, see page 14-12.
How the run-time screen resolution affects the pop-up windows
RSView comes with a pop-up Login window, as well as numeric and string pop-up windows for run-time data entry.
RSView sizes the pop-up window to occupy the center of the screen
4-10
How the project window size affects the default message displays
Your application comes with preconfigured, default graphic displays for diagnostics, alarm, and information messages. If the project window size is smaller than the default displays, the edges of the displays are cut off at run time.
160 210 80
If your project window size is smaller than the default message display sizes, you can resize the default displays, or use your own displays instead.
Title bar
If you select this option, a title bar is used for all Replace graphic displays. For information about graphic display types, see page 14-12. If desired, you can also use a Control box, Minimize button, and Close button on the title bar. The Close button appears only if you select the Control box in the Project Settings editor.
4-11
Preface
If you plan to set up security for your application and want to prevent unauthorized users from stopping the application, do not use a title bar. For information about setting up security, see Chapter 13.
Title bar for On Top displays
For On Top displays, you can specify a different name to use in the title bar. Use the Display Settings dialog box to specify the name (for details, see page 14-12).
The title you specify in the Project Settings editor applies to all Replace displays.
You can specify a different title for each On Top display (using the Display Settings dialog box in the Graphic Displays editor).
4-12
spacer text
Select a standard window size, or to use a different size, select Custom size.
Width
If you select Custom size, type the width of the window in pixels.
4-13
Preface
Height
If you select Custom size, type the height of the window in pixels.
3. Click the Runtime tab, and then specify these settings: Title bar
Check this box to display the name of the application (or other title) in a title bar at the top of the window. Type the title in the box below the check box. If you select this option, the window border is automatically displayed with the title bar.
Border
Check this box to display a border around the project window. If you select Title bar, this option is selected automatically.
4-14
Control box
Check this box to display a Control box at the left end of the title bar. The user can click the Control box to display the Control menu, which contains options for displaying, moving, sizing, and closing the window. If you select this option, a Close button appears at the right end of the title bar. This option is available only if you select Title bar.
Minimize button
Control menu
Check this box to display a Minimize button at the right end of the title bar. The Minimize button reduces the window to an icon. This option is available only if you select Title bar and Control box.
Project window position
Type the number of pixels from the top left corner of the screen to position the window. If the project window occupies the whole screen, accept the default values of 0.
Enable auto logout
Check this box if you want the current user to be logged out automatically if the terminal is inactive for a specified period of time.
Inactivity period
Type the length of time the terminal must be inactive before the current user is automatically logged out and the default user is logged in.
4. Click OK to save the settings and close the editor.
4-15
Preface
4-16
To view application properties 1. In the Application Explorer, right-click the HMI server name,
4-17
Preface
4-18
Chapter
Setting up communications
This chapter describes: what data servers are. creating data servers in your application. setting up data server caches. updating data server caches. removing data servers from your application. editing data servers.
Summary of steps
To set up communications, follow these steps:
1. Gather information about your network, and the devices that
are connected to it. You will need this information to set up RSLinx Enterprise, RSLinx for RSView, or another OPC server.
2. If you want to set up RSLinx Enterprise, go to Setting Up
RSLinx Enterprise as a Data Server on page 5-4, and then skip to step 5.
5-1
Summary of steps
Preface
RSLinx Enterprise is installed automatically when you install RSView Machine Edition. For more information about RSLinx Enterprise, see Help for RSLinx Enterprise.
3. If you want to use RSLinx for RSView as the OPC server that
enables communications on your network, set up RSLinx for RSView on the development computer. RSLinx for RSView is included on the RSView Machine Edition CD-ROM.For details, see Getting Results with RSLinx, or see Help for RSLinx.
4. If you want to use an OPC server other than RSLinx for
RSView to enable communications on your network, set up the OPC server on the development computer. For details, see the documentation supplied with your OPC server.
5. In RSView Studio, create a data server that points to the OPC
server you set up in step 2 or step 3. For details, see page 5-4.
6. If you want to use HMI tags in your application, open the Tags
editor, and then create device tags that point to addresses in devices. For details about creating HMI tags, see Chapter 7. If you do not want to use HMI tags, but instead want to reference addresses in devices directly, skip this step.
7. In objects in graphic displays, or anywhere else you want access
to values in tags, type the tag name using the syntax for your OPC server, or use the Tag Browser to select tags. For details about using tags, see Chapter 6.
8. Create the run-time application file. For details, see Chapter 23.
All the necessary tag information is compiled with the run-time application file.
9. If you are using an OPC server other than RSLinx Enterprise or
RSLinx for RSView , install the OPC server software on the run-time computer. For Windows 2000 and Windows XP applications, the OPC server can be on a different (remote) computer than the run-time computer, but the remote computer must be on the same network as the run-time computer.
5-2
Preface
Right-click the application root, point to New Data Server, and then click RSLinx Data Server. On the File menu, select New, and then click RSLinx Data Server.
2. In the dialog box, fill in the options in each tab, as described in
the sections that follow. When you are finished, click OK. The data server is displayed in the Application Explorer.
Setting up communications
You can use the Communication Setup editor to add drivers, add devices, set up driver and device properties, and set up device shortcuts.
To set up communications in RSLinx Enterprise 1. Double-click the Communication Setup editor. 2. In the RSLinx Configuration Wizard, follow the instructions to
5-4
3. Click Finish. 4. In the Device Shortcuts dialog, add, or remove device shortcuts.
Shortcuts set up in the Target tab apply to the communication configuration of the run-time terminal. This file is downloaded to the run-time terminal with the application and can be used with the application at run time. Shortcuts set up in the Local tab apply to the communications configuration of the development computer. These shortcuts are used when testing the display and the application. The same shortcut names are used in both instances, but they can be configured to refer to different devices. For more information, see Help for RSLinx Enterprise.
5-5
Right-click the application root, point to New Data Server, and then click OPC Data Server. On the File menu, select New, and then click OPC Data Server.
5-6
the sections that follow. When you are finished, click OK. The data server is displayed in the Application Explorer.
IMPORTANT
For applications that will run on a PanelView Plus or Windows CE terminal, the server must be on the local computer.
OPC Server name (ProgID) Type the programmatic ID of the OPC server. To browse for the programmatic ID, click Browse. The list displays the servers installed on the development computer.
If you want to use RSLinx for RSView as the OPC server, and RSLinx for RSView is installed on the same computer as RSView ME Station, click RSLinx OPC Server. If RSLinx for RSView is not installed on the same computer as RSView ME Station, click RSLinx Remote OPC Server.
Preface
Include extended information in the server cache file Check this box if you want to view additional infomation about tags, such as their data types, when you are not connected to the data server. Create cache Click this button to create the data server cache file.
For information about updating the data server cache, see the next section.
5-8
To update a data servers cache 1. In the Application Explorer, right-click the data server, and then
click Properties.
2. Click the Advanced tab.
5-9
Preface
5-10
Chapter
Types of tags
A tag is a logical name for a variable in a device or in local memory (RAM). For example, a tag can represent a process variable in a programmable controller.
Types of tags
To use a data server tag, you can use an existing tag in the processor (for example, a programmable controller), or you can create a new one in the processor or OPC server. For example, in a ControlLogix processor, you could create the tag using your RSLogix 5000 programming software. To use an HMI tag, you must first create it in the Tags editor. For details, see Chapter 7.
2. Browse for, or type, the name of the tag anywhere you want to
connect an object to data at run time. For example, to make a push button change a tag value when it is pressed, connect the push button to a tag by typing the tag name in the Connections tab of the push buttons Properties dialog box.
Browsing for tags
If you dont 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 ControlLogix program file. To browse for tags, use the Tag Browser. For details, see page 6-5.
6-2
You can type the name of a tag that doesnt 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.
Eliminating duplication
Using data server tags allows you to add, modify, or delete tags in a device without having to duplicate the changes in the RSView HMI tag database.
tag in the processor. The server should understand the syntax of the device its connected to. You need only create a tag if you want to browse the server. Examples of OPC servers include RSLinx Enterprise, RSLinx for RSView, and KEPServerEnterprise. For information about creating tags in OPC servers that have their own tag database, see the documentation provided with the server. For information about creating tags in a ControlLogix processor, see the documentation for your device programming software.
6-3
Preface
2. Create a data server in RSView, if your application doesnt
to use a tags value, create a direct reference to the tag. At run time, the tags value is passed to the graphic display or data log model.
The scale and offset modify the raw data that comes from and goes to the programmable controller before the data is saved in the computers memory (called the value table). The scale and offset also modify the value specified in RSView before it is written to the programmable controller. The scale is a multiplication factorthe value from the programmable controller is multiplied by the scale. The offset is a fixed valueafter the value from the programmable controller is multiplied by the scale, the offset amount is added.
Minimum and maximum
HMI tags allow you to set a minimum and maximum value that can be written to the programmable controller or server. These values do not affect what is read from the programmable controller or server.
6-4
For example, if you specify a minimum of 0 and a maximum of 100, RSView would be able to read a value of 200 from a programmable controller and store it in the value table, but would not be able to write this value to the programmable controller. For more information about minimum and maximum, and scale and offset, see page 7-17.
to use a tags value, assign the tag. At run time, the tags value is passed to the graphic display or alarm system.
In the Expression editor, position the cursor where you want to insert a tag name, and then click Tags.
6-5
Preface
In the Parameters editor, double-click where you want to insert a tag name.
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 button the single-selection Tag Browser opens, as shown above, or the multiple-selection Tag Browser opens, as shown on page 6-13.
6-6
The Tag Browser for multiple selections allows you to add tags to a list, and then edit the list before you click OK. In the Tag Browser, you can: select tags. edit HMI tags. create new HMI tags. create new folders for HMI tags. import tags from a PLC or SLC database.
The Offline folder contains tags that are available when you are not connected to the controller. The Online folder contains tags that are available when you are connected to the controller.
6-7
Preface
Folders pane
Tags pane
For a better view of the folders or tags, drag this bar to the left or the right.
The parts of the Tag Browser are described on the pages that follow.
6-8
Double-click the folder. Click the + or icon. Folders represent the layout of your application: The root folder shows the name of the application. The other folders show the names of HMI tag folders and folders of data server tags. For example, RSLinx for RSView tags are in a folder with the name of the RSLinx for RSView topic.
6-9
Preface
To display server names
"
Right-click a blank area of the folders pane and then click Show Server Names.
In the example on the left, folders are listed alphabetically by name. In the example on the right, there are two data servers, named KepServer and RSLinxServer. Folders of data server tags are listed under the data server to which they belong. Below the data servers, the application is listed as an HMI server, with folders of HMI tags under the application name.
Creating folders
You can use the Tag Browser to create folders that will contain HMI tags. You cannot add folders to data servers.
To create a folder 1. If server names are not visible, right-click the Folders pane, and
6-10
You can add folders to the application only, not to the data servers.
2. Right-click the application name, and then click New HMI Tag
Folder.
3. In the Name box, type the folder name. 4. Click OK.
Right-click a folder in the Folders list, and then click Refresh All Folders. If your application contains many data servers, refreshing all folders can take some time.
6-11
Preface
Displaying tags
To display tags
"
Click 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.
Right-click a blank area of the right pane, and then click Show Description.
Selecting tags
To select tags, do one of the following
To select a single tag, double-click it. To select consecutive tags, click the first tag, 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 tag, press and hold down the Ctrl key, and then click each tag. When you are finished selecting tags, click OK.
6-12
To copy tags from this list to the clipboard, highlight them, and then press Ctrl+C.
To add tags to the list 1. Click the folder that contains the tags you want to add to the
list.
2. Select the tags to add to the list. 3. Click Add Tag(s) to List.
6-13
Preface
To remove selected tags from the list
"
Click Clear.
The Item Canonical Data Type property is the tags data type. For more information about tag data types, see page 7-18.
6-14
Filtering tags
To display only tags whose names match a pattern
"
Type the pattern in the Tag Filter box, and then press Enter. Tags that match the pattern are displayed in the right pane.
? *
6-15
Preface
The Tag Filter box lists the last 10 filters you applied.
Type the tag filter here. Filtered tags are displayed in the right pane. To clear the filter, click <None> in the list.
6-16
6-17
In the Tag or expression column, type the tag name. In the Tag column, click the Browse button and then select a tag from the Tag Browser.
Browse button in the Tag column
For information about using the Tag Browser, see page 6-5.
6-18
Select the object, and then assign tags in the Connections tab of the Property Panel.
Preface
If you can assign an expression, a Browse button is present in the Exprn column in the editor or Connections tab.
In the Exprn column, click the Browse button, and then create an expression in the Expression editor. Use this method if you want to check the expression syntax. In the Tag or expression column, type the expression. The expression syntax is not checked if you use this method. For more information about expressions, see Chapter 19.
6-20
6-21
Preface
6-22
Chapter
Analog
Range of values. Use analog tags to represent variable states such as temperature or the position of rotary controls.
Digital
0 or 1. Use digital tags to represent devices that can only be on or off, such as switches, contacts, and relays.
7-1
Preface
This tag type Stores this type of data
String
ASCII string, series of characters, or whole words (maximum of 82 characters). Use string tags to represent devices that use text, such as a bar code scanner that uses an alphanumeric product code.
System
Information generated while the system is running, such as the name of the logged-in user, system time and date, and so on. RSView creates system tags when you create an application. The system tags are stored in the folder called system in the HMI tag database. You cannot edit system tags. You can use system tags anywhere you would use any other type of tag. For a list of system tags, see Appendix C.
7-2
Floating point values are rounded to a maximum of seven digits. Therefore, using a floating-point data type and adding to it a value that exceeds the seven significant digits will result in a rounding error. For example, adding any number to 9,999,999 will result in a rounding error. This rounding method is also used for numeric input enable buttons that use the implicit decimal position, if an integer tag is assigned to the buttons Value control. For more information about the numeric input enable button, see page 16-94.
Data sources
When creating an HMI tag, you must specify a data source. The data source determines whether the tag receives its values externally or internally.
Device
A tag with device as its data source receives its data from a source external to RSView. The data can come from a programmable controller or other device via RSLinx Enterprise, or from another OPC server. You can use up to 5,000 device tags. For analog tags with Device as the data source, the data type determines the format used when reading and writing tag data to the data server.
Memory
A tag with memory as its data source receives its data from (and stores values in) the RSView internal value table. Tags with memory as the data source do not count toward the total tag limit. For analog tags with Memory as the data source, select the data type that matches the format of the data you will store in the tag. Choosing Default is the same as choosing Floating Point.
7-3
Data sources
Preface
Naming tags
Tag names can be up to 255 characters long including folder name. If you create a folder, the folder name becomes part of the tag name. The tag name can contain these characters: A to Z 0 to 9 underscore (_) and dash (-) Tag names cannot contain spaces. 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. When a tag name starts with a number or contains a dash, enclose the name in braces { } when you use it in an expression, for example, {N33-0}. For more information about using tags in expressions see Chapter 14.
7-4
The Tags editor has these parts: form area, query box, folder hierarchy, and spreadsheet area.
Spreadsheet area
The information you enter in the form area is displayed in the spreadsheet area.
7-5
Show or hide the spreadsheet area Show or hide the form area Change the font used in the spreadsheet area Restore the default font Update the contents of the editor (for example, when youve created tags in other editors). For details, see page 7-7. View information about the tag database. For details, see page 7-7.
Spreadsheet Form Spreadsheet Font. In the Font dialog box, specify the font, style, and size to use. Restore Default Settings Refresh
Tag Statistics
Delete the selected tag. For details, see page 7-14. Create a duplicate of the selected tag, with all the same settings, except for the name. For details, see page 7-14. Insert a new tag above the selected row. For details, see page 7-13. Update the contents of the database with changes from other editors. For details, see page 7-7. Delete the selected tag folder, including all the tags in the folder. For details, see page 7-12.
Delete Folder
7-6
To do this
Create a copy of the selected tag folder, including all of the tags in the folder. For details, see page 7-12. Create a tag folder. For details, see page 7-10. Import tags from a PLC database. For details, see page 7-26.
Refresh tool
When you click Refresh, the undo buffer is cleared and recent changes cant be automatically reversed. Refresh is not available if you havent accepted the current tag. For information about creating tags in other editors, see page 7-23.
7-7
Preface
? *
Matches any single character. Matches any number of characters, including the backslash (\) character. Use this wildcard by itself to display all the tags in the HMI tag database.
For example, to search for all the tags that contain the string pump in their name, type *pump* in the Search For box. When you press
7-8
Enter, a list of tags containing the string pump appears in the spreadsheet. When you do searches, remember that the backslash in a folder name counts as a character in the tag name.
to a double arrow.
7-9
Preface
2. Drag the border to the required size.
Creating folders
To create a folder 1. On the Edit menu, click New Folder, or click the Create Folder
tool.
Create Folder tool
Opening folders
When you open a folder, its contents are displayed in the spreadsheet.
To open a folder
"
7-10
To open multiple folders 1. Select the folders by doing one of the following:
Click a folder and then drag the mouse up or down. Click a folder and Shift-click other folders immediately above or below the first selected folder. Click a folder and Ctrl-click other folders anywhere in the hierarchy.
2. Press Enter.
characters long including folder name. For information about setting up tags once youve created them, see page 7-16.
Nesting folders
Nesting folders means to create a folder inside another folder.
To create a folder inside another folder 1. Select a folder in the folder hierarchy. 2. On the Edit menu, click New Folder, or click the Create Folder
tool.
Create Folder tool 3. After the backslash (\), type the new folder name.
7-11
Preface
4. Click OK.
When you nest folders, remember that the backslash in a folder name counts as one character in the tag name.
Duplicating folders
When you duplicate a folder, all the tags in the folder are duplicated and automatically given the new folder name. If the folder contains folders, those folders are also duplicated.
IMPORTANT
Be sure to choose Duplicate Folder rather than Duplicate. Duplicate only duplicates individual tags.
To duplicate a folder and its tags 1. Select the folder in the hierarchy. Duplicate Tag Folder tool 2. On the Edit menu, click Duplicate Folder, or click the Duplicate
Deleting folders
To delete folders 1. Select one or more folders in the hierarchy. Delete Folder tool 2. On the Edit menu, click Delete Folder, or click the Delete Folder
tool.
7-12
Use the Prev or Next buttons in the form area. Use the Up Arrow and Down Arrow keys. Use the scroll bars on the spreadsheet. To select a row, click anywhere in the row or click the row number.
Creating tags
To create a tag inside a folder, first open the folder. For details, see page 7-10.
To create a tag, use any of these methods
Click New in the forms area. Click the Insert Row tool. On the Edit menu, click Insert Row.
Insert Row tool
Each method inserts a new row above the highlighted row, with the boxes in the form area ready to receive information about the new tag. For information about setting up tags once youve created them, see page 7-16.
7-13
tool. A new row is inserted below the highlighted row. The new row contains all the same information except the tag name.
3. In the form area, in the Name box, type the name for the new
Editing tags
You can edit all parts of a tag except the tag name and tag type.
To edit a tag 1. Select the tag to edit.
Deleting tags
Delete tags carefully. Once you click the Delete button, the tag is deleted. There is no confirmation message and you cannot undo the deletion.
To delete a tag 1. Select the tag to delete. 2. On the Edit menu, click Delete, or click the Delete tool, or press Delete tool
7-14
The square brackets are part of the syntax. They do not indicate optional parameters.
The access path is one of the following: For communications with an RSLinx Enterprise data server, the access path is the name of the Device Shortcut in RSLinx Enterprise. For communications with an RSLinx for RSView OPC server, the access path is the name of an OPC topic in RSLinx for RSView. For communications with other OPC servers, the access path might be optional. For information about the syntax for the access path, see your OPC server documentation.
Preface
However, if you want to define tags before setting up communications, you can type the address manually, as shown in this example. If you type the address manually, be sure to select the data type for the tag that matches the data type used by the ControlLogix processor. If you use the Default data type, values are treated as floating-point values. This example shows you how to specify the OPC topic, item name, and bit level of an item that uses the integer data type in a ControlLogix processor.
OPC topic and item addressing
ControlLogix uses this addressing syntax: [Device Shortcut]item name for RSLinx Enterprise. [OPC topic name]item name for RSLinx for RSView. In this example, the RSLinx Enterprise Device Shortcut name for the ControlLogix processor is CLGX. To connect to an OPC item called Motor, type this address: [CLGX]Motor
Bit level addressing
You can access the bit level of an item that uses the integer data type by appending .# to the end of the tag address, where # is the number of the bit to access. For example, to access the first bit of the integer item Motor, type this address: [CLGX]Motor.0
7-16
including folder name. If the tag is part of a folder, type the name after the backslash (\).
3. In the Type box, select Analog.
Numeric values that require a decimal must use the decimal point (.) as the decimal symbol, regardless of which decimal symbol is specified in Regional Options in the Windows Control Panel (Regional and Language Options if you use Windows XP).
Description
Type the minimum and maximum values that can be written to the data source. These values do not affect what is read from the data source. For example, if you specify a minimum of 0 and a maximum of 100, RSView would be able to read a value of 200 from a PLC and store it in the value table, but would not be able to write this value to the PLC. The range between the minimum and maximum values cannot exceed the maximum floating-point value (3.402823E38).
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.
7-17
Preface
The scale and offset modify the raw data that comes from the data source 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 data source. The scale is a multiplication factorfor example, the value from the PLC is multiplied by the scale. The offset is a fixed valueafter the value from the PLC is multiplied by the scale, the offset amount is added. The following formula shows the relationship between the PLC value and the amount stored in the RSView value table. RSView value = (PLC value scale) + offset
IMPORTANT
Values from the data source are first scaled and then added to the offset. When a value is written to the data source, the process is reversed: the offset is subtracted and the scale is used for division. This ensures that the correct, unchanged value is sent to the data source.
Data Type
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. For analog tags connecting to a ControlLogix processor, specify a data type that corresponds to the data type in the ControlLogix processor: Byte, Unsigned Integer, Integer, Long Integer, or Floating Point. For tags with Memory as the data source, select the data type that matches the format of the data you will store in the tag. Choosing Default is the same as choosing Floating Point.
7-18
Single-precision (32-bit) floating-point Unsigned 16-bit integer Signed 16-bit integer Signed 32-bit integer Single-precision (32-bit) floating-point
See Floating Point, below. 0 to 65,535 -32,768 to 32,767 -2,147,483,648 to -2,147,483,647 -3.402823E+38 to -1.175494E-38, 0, 1.175494E-38 to 3.402823E+38 0 to 255 0 to 999 0 to 9,999
IMPORTANT
For a tag with a Long Integer data type, if the minimum, maximum, scale, offset, or initial value contains a decimal point, the value is stored internally in floating-point format. This means that the maximum value for the tag is 16,777,216, which is the maximum integer value for single-precision floating-point numbers.
For information on filling in the boxes in the Data Source section of the form, see page 7-21.5.
including folder name. If the tag is part of a folder, type the name after the backslash (\).
3. In the Type box, select Digital.
7-19
Preface
characters long. For information on filling in the boxes in the Data Source section of the form, see page 7-21.5.
including folder name. If the tag is part of a folder, type the name after the backslash (\).
3. In the Type box, select String.
7-20
Type a number between 1 and 82 to specify the length of the string tag in characters. If the data source is a programmable controller, the length must be a multiple of the size of the programmable controller data element you are addressing. For example, to reference two-byte data elements in an integer section, the length must be a multiple of two. For information on filling in the boxes in the Data Source section of the form, see the next section.5.
Preface
To specify device as the data source 1. Click Device.
2. In the Address box, specify the address of the OPC item (data
server tag) in the OPC server. The item syntax depends on the OPC server. The maximum length is 255 characters. To browse for the OPC item, click the Browse button beside the Address box.
Browse button
For more information about OPC addressing syntax, see page 7-15.
The first time you start the application, the value defined in the Initial Value box is assigned to the memory tag. You can also use macros to assign values to tags. For information about macros, see Chapter 21.
3. To retain the most recent value when the application is shut
down and restarted, check Retentive. If you do not check this box, the Initial Value is used when the application is restarted.
7-22
Type a new tag name in the Tag or expression column. Keep track of the tag name, and add the tag in the Tags editor when convenient.
7-23
Preface
For more information about the Data Log Models editor, see Chapter 11.
7-24
In the Tag Browser, you can: select a single tag or multiple tags. The ability to select multiple tags depends on which tag browser you have opened. In the figure above, only a single tag could be selected. select data server tags and HMI tags. edit HMI tags.
7-25
Preface
create new HMI tags. create new folders for HMI tags. import tags from a PLC or SLC database. For information about using the Tag Browser to select tags and create folders for tags, see Chapter 6. For information about using the Tag Browser to import tags from a PLC or SLC database, see the next section.
To create tags in the Tag Browser 1. Right-click the right pane and then click New HMI Tag. 2. Fill in the options as described in the sections beginning on
page 7-16.
To edit tags in the Tag Browser 1. Right-click the tag and then click Edit HMI Tag. 2. Edit any details except the tag name or tag type.
In the Tag Browser, right-click the right pane, and then click Import PLC Tags.
DB Browser tool in the Tags editor
In the Tags editor, on the Edit menu click Other Databases, or click the DB Browser tool. Use the Import PLC Tags dialog box to selectively import tags from a PLC or other database into your applications HMI tag database. Tags imported in this way are copied into the databasethey are not shared with the source database. This means changes to tags in your application do not affect the database from which they have been imported and vice versa. You can import tags from any of these databases: legacy PLC databases, created using WINtelligent LOGIC 5t or A.I.t 5, with file extension .dsc RSLogix 5t or RSLogix 500t, saved as an external database, with file extension .ctd (before importing, explicitly export to the .ctd format to be sure of including the latest changes)
7-26
RSLogix 5 internal database, with file extension .rsp RSLogix 500 internal database, with file extension .rss For PLC and SLC addresses, the Import PLC Tags dialog box shows only addresses that are used in the symbol or address list of the PLC programming software.
To import tags from a PLC database 1. In the Import 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 applications HMI tag database, it is created.
2. In the RSLinx Topic box, type the name of the RSLinx for
RSView topic to use for the tags, or the name of the RSLinx Enterprise device shortcut. The tags will be copied into this
7-27
Preface
topic, and each tags address in the HMI tag database will contain the name of the topic.
3. In the PLC Database box, type the path to the database to
import tags from, or click Browse to locate and select the database to import tags from. The addresses and symbols from the selected database are displayed in the box below the Filter box.
4. To filter the tag list so that only certain addresses or symbols are
displayed, in the Filter box type a character string, and then click Search. To search on names only, click the Symbols button so that only symbol names are displayed. If an address does not have a symbol name it is not displayed. Use filtering if the address or symbol list is too big to display entirely. You cannot filter beyond a slash. For example, a filter of B3/1 will not show B3/10, B3/11, and so on.
5. In the list box, click the tags to import. 6. Click OK.
The selected tags are added to the HMI tag database for the current application and displayed in the Tag Browser, in the folder for the specified RSLinx for RSView topic. If you have already imported a particular tag, you are prompted to change its name if you want to import it again.
7-28
merge tags from another RSView application (that is, import them directly from the application, without first creating a tag .csv file). import RIO configurations.
To start the wizard, do one of the following
In RSView Studio, on the Tools menu, click Tag Import and Export Wizard. On the Windows Start menu, select Programs, Rockwell Software, RSView Enterprise, Tools, and then click Tag Import and Export Wizard. For details about using the wizard, see the wizards Help.
7-29
Chapter
Preface
Changing displays
Use these global connections to monitor and control display changes: Display Numbernotifies the data source of the number of the display thats currently open. Remote Display Numberallows the data source to change the display on the run-time computer. For detailed information about using the data source to control display changes, see page 8-5.
Printing displays
Use these global connections to monitor and control display printing: Display Print Activenotifies the data source that a display print is in progress Remote Display Printallows the data source to trigger a display print The operator can also print the current display by pressing the display print button. For information about setting up this button, see page 16-23. When the data source or the operator prints a display, everything on the screen is printed, including the current display, pop-up windows, and any visible background applications. The display is printed in gray-scale, even if you use a color printer.
IMPORTANT
If you plan to print graphic displays remotely, turn off the screen saver. If the screen saver is on when a remote display print is triggered, only the screen saver image is printed. For information about turning off the screen saver, see your Windows documentation.
8-2
To update the date or time at the data source from the terminals internal clock, assign an analog tag to one or more of these controls:
This control Contains this range of values
0099 17, with 1 being Sunday 112 131 123 059 059
Specify how frequently to update the values of the assigned controls at the data source (from the terminals internal clock) by typing a time in the Date and time output interval box.
Updating the date and time at the terminal from the data source
This option is especially useful if you have several terminals connected to the same data source. Instead of the operator resetting the date and time manually on each terminal, the data source can reset all internal clocks at once. To update the date or time in the terminals internal clock from the data source, assign an analog or digital tag or an expression to the Remote Date and Time control. Assign an analog tag or an expression to one or more of these controls:
8-3
Preface
This control Contains this range of values
Remote Year Remote Month Remote Day of Month Remote Hour Remote Minute Remote Second
When the Remote Date and Time control value changes from 0 to a non-zero value, the terminal resets its internal time and date to the time and date read from the individual remote date and time controls. The date and time are updated at the rate specified in the Maximum update rate box.
0-100
During run time, the application reads the value at the data source and sets the backlight to a percentage of its maximum intesity corresponding to the value. For instance, if the value of the connection is 25, the backlight will be set to 25% of its maximum intensity. This value will override the terminals own backlight intensity setting. If the value of the connection is greater than 100, the backlight will be set to its maximum intensity. If the value is less than 0, the backlight is set to its minium value, that is, it will be turned off.
8-4
Running macros
Use these global connections to run macros:
This control Runs this macro
Remote Macro1 Remote Macro2 Remote Macro3 Remote Macro4 Remote Macro5
Create the macros in the Macros editor. Make sure you name them exactly as shown in the table above (with no space in the name). When the tag or expression assigned to one of these controls changes to a new non-zero value, RSView runs the associated macro. For information about creating macros, see Chapter 21.
Preface
However, you can set up the Remote Display Number control to prevent access to the application unless an authorized user is logged in. To do this, assign an expression to the control to monitor the ID of the logged-in user, as described in the following example. For more information about setting up security for your application, see Chapter 13.
Example: Using the Remote Display Number control to prevent unauthorized users from using the application
This example shows how to set up the data source to open a Log In display when a user logs out. The Log In display remains open until an authorized user logs in. Then control of display changes reverts to the operator.
1. Create a graphic display called Log In, containing a login
button. In the Display Settings dialog box, assign the number 3 to the display.
2. In the Global Connections editor, assign this expression to the
Remote Display Number control: if CurrentUserName( ) == DEFAULT then 3 else 0 If an authorized user is logged in, the value of the expression is 0, and the operator has control of display changes. When the user logs out, the DEFAULT user is logged in, and the Log In display remains open until another authorized user logs in. This method is useful if you want to allow users to log out from multiple locations (graphic displays) in the application. However, if you use the Remote Display Number control for this purpose, you cannot use it to control other display changes remotely. If you only permit users to log out from a startup Log In display, you can achieve the same result as in this example, but without using the Remote Display Number control. For more information about creating a startup display, see page 13-17.
8-6
To set up remote display changes 1. In the Graphic Displays editor, in the Display Settings dialog
box, assign a unique display number to each Replace display. By default, every Replace display is assigned the number 1. Therefore, to use remote display changes you must assign a unique display number to every Replace display, even if you dont plan to open a particular Replace display remotely. Another option is to avoid using the display number 1 for remote display changes. Then you only need to assign display numbers to the displays you want to change remotely. For more information about graphic displays, see Chapter 14.
2. In the Global Connections editor, assign an analog tag or an
control, set up the data source to send a displays number to the control when you want the display to open. If you assign an expression to the Remote Display Number control, RSView monitors the values of the tags used in the expression, and uses the expression result to determine which display to open.
8-7
Preface
text
Type the frequency with which to update date and time values from the terminal to the data source.
8-8
Select the rate at which to update tag values from the data source. Data servers use this rate to send tag values to RSView. This rate is used for tags assigned to the Remote controls, including tags used in expressions. Tag values for the Remote controls are also updated when the application is started. Although this is the update rate for the tags, this rate does not update the terminals internal clock. Updating the clock is only triggered by the Remote Date and Time control. This update rate overrides OPC topic update rates.
3. To send values from the application to the data source, assign
tags to the following controls. For information about assigning tags, see page 6-17.
Display Number
RSView sends the number of the current graphic display to this control. Assign an analog tag. This option applies to Replace displays only. Make sure that each display has its own unique number.
Display Print Active
Assign a digital tag to this control to notify the data source when a display is printing. RSView writes 1 to this control when printing begins, and 0 when RSView is finished printing. When the value changes to 0 the printer could still be printing buffered data.
Year
RSView sends the value corresponding to the year in the terminals internal clock to this control.
Day of Week
RSView sends the value corresponding to the day of the week to this control.
Month
RSView sends the value corresponding to the day of the month to this control.
8-9
Preface
Hour
assign analog tags or expressions to the following controls. For information about assigning tags and expressions, see page 6-17.
Remote Display Number
RSView reads the value of this control and opens the graphic display whose display number matches the value. If the value is 0, the operator has control of display changes (using the display navigation objects). If the value does not match any displays number, the application sends a message to FactoryTalk Diagnostics. If you assign this control, remote display changes occur whether or not the logged-in user has security access to a given display. This option applies to Replace displays only. Make sure that each display has its own unique number. Do not assign an expression consisting of a constant to this control. If you do, the display whose number matches the constant opens and can never be closed or changed. For more information about remote display changes, see page 8-5.
Remote Display Print
Assign this control to allow the data source to trigger the printing of graphic displays. When the value of the control changes from 0 to a non-zero value, RSView prints the currently visible display. You can assign an analog or digital tag or an expression to this control. Disable the screen saver on the run-time terminal if you assign this control.
8-10
If a display print is currently in progress, subsequent print requests from the data source are ignored until the display print is finished.
Remote Date and Time
RSView monitors this control and, when the value changes from 0 to a non-zero value, updates the terminals internal clock with the values in the remote date and time controls (listed next). You can assign an analog or digital tag or an expression to this control.
Remote Year
Assign this control to send the value corresponding to the year from the data source to the run-time terminal.
Remote Month
Assign this control to send the value corresponding to the month from the data source to the run-time terminal.
Remote Day of Month
Assign this control to send the value corresponding to the day of the month from the data source to the run-time terminal.
Remote Hour
Assign this control to send the value corresponding to the hour from the data source to the run-time terminal.
Remote Minute
Assign this control to send the value corresponding to the minute from the data source to the run-time terminal.
Remote Second
Assign this control to send the value corresponding to the second from the data source to the run-time terminal.
Remote Backlight Intensity
Assign this control to set the backlight of a PanelView Plus or VersaView CE terminal to a percentage of the terminals maximum backlight intensity. A percentage of 1 is the minimum intensity with the Backlight on, and 100 is the maximum intensity. A percentage of 0 turns the backlight off. You can assign an analog or digital tag or an expression to this control. This global connection does not work on a RAC6182 terminal, or Windows 2000/XP computer.
8-11
Preface
IMPORTANT
When the temperature goes below 50 degrees Fahrenheit, a terminal overload sets the backlight to maximum intensity. This overdrive takes precedence over the Remote Backlight Intensity global connection. When the temperature goes above 131 degrees fahrenheit, the Backlight Intensity is reduced to at least 40%.
Remote Macro1
Assign this control to allow the data source to control when Macro1 is run.
Remote Macro2
Assign this control to allow the data source to control when Macro2 is run.
Remote Macro3
Assign this control to allow the data source to control when Macro3 is run.
Remote Macro4
Assign this control to allow the data source to control when Macro4 is run.
Remote Macro5
Assign this control to allow the data source to control when Macro5 is run.
5. Click OK to save your settings and close the editor.
8-12
Chapter
Setting up alarms
This chapter describes: preparing to set up alarms. how alarms work. alarm trigger data types. optional alarm controls. steps for setting up alarms. using the Alarm Setup editor. the [ALARM], [ALARM MULTI-LINE], [STATUS], and [HISTORY] displays. using displays from the library in your application. creating your own alarm display. opening and closing the alarm display. how the alarm list, alarm banner, and alarm status list work. using buttons to acknowledge, silence, clear, and delete alarms. using buttons to sort alarms and reset alarm status.
About alarms
An alarm occurs when something goes wrong or is about to go wrong. Alarms can signal that a device or process has ceased operating within acceptable, predefined limits, and can indicate breakdown, wear, or process malfunctions. Alarms are also used to indicate the approach of a dangerous condition. 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.
9-1
About alarms
Preface
9-2
representing the status of the processes, you must determine the acceptable range of values for each tag or expression. Then you can set up alarms to notify the operator when a value is outside the normal operating range.
Be sure to select the Print option if you need to keep a permanent record of alarms. You can also print the contents of the alarm log file periodically, as described on page 9-8. (The alarm log file is also referred to as the alarm history.)
9-3
The [ALARM] display The [ALARM MULTI-LINE] display The [STATUS] display The [HISTORY] display Creating your own alarm display The alarm list graphic object The alarm banner graphic object The alarm status list graphic object
Page 9-30 Page 9-31 Page 9-32 Page 9-34 Page 9-36 Page 9-37 Page 9-39 Page 9-40
9-4
Responding to alarms
Depending on which alarm objects you set up, the operator can: acknowledge one or all alarms. clear all alarms. silence alarms (if the application is running in Windows 2000 or Windows XP). sort alarms. reset the status of all alarms. For information about the alarm button graphic objects the operator can use to work with alarms, see page 9-41. You can also set up remote acknowledgement, silencing, and resetting of alarms, to allow the data source to perform these functions. And you can set up the data source to close the alarm display. For more information, see pages 9-17 and 9-20.
Methods for acknowledging alarms
A single alarm is acknowledged when: the operator selects an alarm in the alarm list and presses the acknowledge alarm button, an enter button object, or the Enter key on an external keyboard or keypad. the alarm banner has focus and the operator presses the acknowledge alarm button, an enter button object, or the Enter key on an external keyboard or keypad. A single alarm for a trigger is acknowledged when: the triggers Remote Ack control value changes to the alarms trigger value (or bit position, for bit triggers). All alarms for a trigger are acknowledged when: the triggers Remote Ack control value changes to the Acknowledge all value. The Acknowledge all value is specified in the Use ack all value box in the Alarm Setup editor.
9-5
Preface
All alarms are acknowledged when: the operator presses the acknowledge all alarms button. the Remote Ack All controls value changes to a new non-zero value. For more information about acknowledging alarms, see page 9-44.
IMPORTANT
The operator can send button presses to objects that do not have focus. For information about linking buttons to objects, see page 16-14.
All alarms are deleted from the alarm log file and cleared from all alarm lists and alarm banners when the operator presses the clear alarm history button. The alarm in the alarm banner is cleared when the operator presses the clear alarm banner button. It is not deleted from the alarm log file. For more information about clearing and deleting alarms, see page 9-45.
Methods for silencing alarms
The audio alarm indicator is available for applications running in Windows 2000 or Windows XP only. All alarms are silenced when: the operator presses the silence alarms button. an alarm whose Audio property is enabled is acknowledged. the Remote Silence controls value changes to a new non-zero value. the operator presses the clear alarm history button.
Method for sorting alarms
When the operator presses the sort alarms button, the sort order toggles from time to trigger value or from trigger value to time. The sort order applies to all alarms in all alarm lists and in the alarm log file.
9-6
Resetting alarms affects how alarms are displayed in the alarm status list. When alarms are reset: the accumulated time an alarm has been in alarm is reset to 0. If the alarm is still active, the time begins accumulating again. the number of times the alarm has been triggered is reset to 0. If the alarm is still active, the number changes to 1. the date and time are sent to the system tag AlarmResetDateAnd TimeString. All alarms are reset when: the operator presses a reset alarm status button. the operator presses a clear alarm history button. the Remote Status Reset controls value changes to a new non-zero value. For more information about resetting alarms, see page 9-46.
9-8
tag points to an address in a programmable controller that is linked to a sensor in the tank. The tags minimum value is 0 and its maximum value is 100. Use this expression for the alarm trigger: if ((Acid_tank_level > 74) AND (Acid_tank_level < 90)) then 1 else if (Acid_tank_level > 89) then 2 else 0
2. Use the Value trigger type for the alarm trigger. 3. Specify these trigger values and alarm messages for the alarm
trigger:
Trigger value Message
1 2
Warning! The acid tank has exceeded safe fill levels. Danger! The level in the acid tank is too high.
At run time, when the value of Acid_tank_level is 75 or greater, RSView generates the first alarm message. The second message is generated when the tag value is 90 or greater. Using the expression in step 1 allows a range of values to trigger each alarm. This is useful in case the tag is not being read at the exact moment it reaches a threshold level.
Bit address
Bit position
The tag is currently generating alarms at bit positions 2, 6, 12, 21, 22, 26, and 30. To set up alarms for this array tag:
1. Create an alarm trigger for the array tag. Use the Bit trigger
type. The tag uses the integer data type (16 bits per element). Append L2 to the tags starting address to indicate that the trigger will monitor 2 tag elements (32 bits), as follows: ::[PLC5]N7:0,L2 PLC5 is the RSLinx Enterprise device shortcut name. The two colons at the beginning are necessary when the tag reference contains a colon.
2. Specify trigger values and alarm messages for the alarm trigger.
1 2
1 2
9-10
Bit position
Trigger value
Message
3 4 .. 32
3 4 .. 32
Line 2: Conveyor has stopped. Line 2: Power failure. .. Oven door open.
9-11
Preface
location of sensors that are linked to an array tag in the programmable controller.
L1 L2
CR
Overload Bit 02
If power to the motor is lost, the manual stop and overload switch also lose power, generating alarms for all three motor parts. The only alarm the operator needs to see is the alarm for the motor, since the cause of the alarm is power loss to the motor, not a problem with the other two motor parts. If someone stops the motor manually, power to the overload switch is lost. Alarms are generated for the manual stop and the overload switch, but the only alarm the operator needs to see is the alarm for the manual stop.
1. Create an alarm trigger for the tag Motor_starter. The tag uses
16 bits, and points to the programmable controller address N7:61, although only the first three bit positions are used in this example. Use the LSBit (Least Significant Bit) trigger type. Because you are using only the first three bits in a single tag element, there is no need to specify a length for the array tag in this example. You can use a simple tag type. However, if you were also monitoring bits in N7:62, you would need to add L2 to the address, as follows: ::[PLC5]N7:61,L2
9-12
2. Specify these trigger values and alarm messages for the alarm
trigger:
Bit in the array Bit position Trigger value Message
00 01 02
1 2 3
1 2 3
The motor has lost power. The motor has stopped. The overload switch has lost power.
At run time, if power to the motor is lost, the programmable controller changes all three bit values from 0 to 1, but RSView generates the first alarm message only (since bit 00 is the lowestthat is, least significantbit in alarm). If the operator acknowledges the first alarm and power is not yet restored, the second alarm is generated, and so on.
8 8 16 16 32 32
The right column shows the number of bits for each data type. This is useful for helping to determine how many data elements to address to achieve the required number of bits. To create an array tag, specify how many elements to use, beginning with the first element at the tags address. For example, if you want to monitor 128 bit positions for an alarm trigger, and you are using the Integer data type, you would append the modifier [4] to the tag name (because 4 x 32 = 128). For detailed information about tag syntax, see page 9-15. You cannot use digital or string tags for array tags.
9-13
When creating array tags, you can use analog HMI tags with these data types:
Data type Number of bits
Byte Unsigned Integer Integer 3-Digit BCD 4-Digit BCD Long Integer
8 16 16 16 16 32
You can view a tags data type in the Tag Browser, as described on page 6-14. All of the HMI tag data types described in the previous table are displayed with the Item Canonical Data Type of Integer.
PLC and SLC tags
When creating array tags, you can use PLC and SLC tags with this data type:
Data type Number of bits
Short Integer
16
Data server tags with the Short Integer data type are displayed in the Tag Browser with the Item Canonical Data Type of Integer.
ControlLogix tags
When creating array tags, you can use ControlLogix tags with these data types:
Data type Number of bits
8 16 32
9-14
Data server tags with the data types described in the previous table are displayed in the Tag Browser with the Item Canonical Data Types of Character, Short Integer, and Long Integer, respectively.
Preface
There are two sets of optional alarm controls: controls that work with a specific alarm trigger. You can assign a different set of controls to each alarm trigger. controls that apply to all alarms
9-16
9-17
Programmable controller
1. Create an alarm trigger for an analog tag called Alarm. Use the
control.
4. Create an alarm message for the alarm trigger, with the trigger
value 1.
5. Set up the data source to write the value at the Ack control to
the Remote Ack control whenever the value of the Ack control changes from 0 to a non-zero value. At run time, when an alarm with the trigger value 1 is generated, the alarm message appears at both locations simultaneously. If the operator acknowledges the alarm at Location 1, RSView writes the value 1 to the Ack control. Since the Ack control is write-only (not read), the acknowledgement doesnt appear at Location 2. However, the programmable controller writes the value from the Ack control (1) to the Remote Ack control, and the alarm at Location 2 is acknowledged.
9-18
Preface
Assign tags or expressions to these controls in the Advanced tab of the Alarm Setup editor, as described on page 9-28. For more detailed information about how these controls work, see the next sections.
9-20
The Status Reset control is also set to 1 if the Remote Status Reset control changes to a new non-zero value, and remains set for the hold time. While the hold time is in effect, the alarm status cannot be reset again. The status of alarms keeps updating during the hold time.
Summary of steps
Follow these steps to set up alarms:
1. In the Alarm Setup editor, set up alarm triggers (the tags or
expressions to monitor), define the alarm messages and their trigger values, and specify the graphic display to open when alarms occur (if any).
9-21
Summary of steps
Preface
Also use this editor to specify trigger types, Acknowledge all values, the maximum alarm log file size, the hold time, and optional controls.
2. In the Startup editor, ensure that the Alarms box is checked (it is
[ALARM] display, or create your own graphic display to use for alarms. For example, if you wont be using audible alarm signals, edit the default display to remove the silence alarms button. For information about graphic displays, see Chapter 14.
4. Test alarms on the run-time system.
Define alarm triggers. Create alarm messages. Specify the graphic display to use to display alarm messages at run time.
To set up alarms 1. Open the Alarm Setup editor. 2. Set up alarms in the tabs of the editor, as described in the
9-22
The Select trigger box displays the tags and expressions that have been added so far. To edit a trigger, click it and then click Edit. Make your changes in the Trigger dialog box. To remove a trigger, click it and then click Remove.
Each trigger is a control (a tag or an expression) you want to monitor for alarm conditions. For detailed information about alarm triggers, see page 9-3. The Select trigger box lists the triggers you create.
To create alarm triggers 1. In the Triggers tab, click Add.
You can use analog, digital, and array tags to generate alarms. For information about specifying tags and expressions, see page 6-17. For information about using array tags, see page 9-13.
9-23
Preface
3. Click OK. The trigger you create is selected in the Select
trigger box.
4. Specify these properties for the trigger: Trigger type
Select the type of data the triggers tag or expression uses (for details, see page 9-8): Valueinteger or floating-point values. Floating-point values are rounded to the nearest integer. Use with analog or digital tags. Bitan array tag consisting of one or more bit positions. Use this trigger type to generate multiple alarm messages with a single tag (or array tag) or expression. LSBitan array tag consisting of one or more bit positions. Use this trigger type to trigger alarms based on a priority sequence determined by bit position.
Trigger label
Type a name for the trigger, up to 40 characters. This name is used to select the triggers to display in the alarm list and alarm status list graphic objects. Some alarm objects can be set up to display or print the trigger label.
Use ack all value
Check this box to send a value to the data source when the operator presses the acknowledge all alarms button. Type the integer value to send. The Acknowledge all value works with the Ack and Remote Ack controls. For details, see page 9-17.
Optional trigger connections
If desired, assign tags to use for handshaking and acknowledgement for the selected trigger. You can also specify a tag to send alarm messages to. For more information about optional trigger controls, see page 9-16. HandshakeAssign a digital tag to this control to notify the data source when the triggers value changes. AckAssign an analog or digital tag to this control to notify the data source when the operator acknowledges an alarm (or all alarms).
9-24
Remote AckAssign an analog tag or an expression to this control to allow the data source to acknowledge alarms. Remote Ack HandshakeAssign a digital tag to this control to notify the data source when a remote acknowledgement has been detected by RSView. MessageAssign a tag to this control to send alarm messages to the control. Make sure the tag supports the type of data sent in the alarm message. For example, if the message is a string of text, assign a string tag to the Message control. For information about assigning tags and expressions, see page 6-17.
5. Repeat steps 1 through 4 to create and set up additional triggers.
9-25
Preface
To create alarm messages 1. In the Messages tab, in the Trigger column, select the trigger for
which to create messages. To assign the same message to all the triggers you set up in the Triggers tab, select <AllTriggers>. If you are creating messages before setting up triggers, select <Unassigned>. Once you set up triggers, select the appropriate trigger for each message.
2. Specify these properties for the message: Trigger value
Type a non-zero integer value or bit position. When the trigger controls value changes to this value, or when the bit in this position changes from 0 to 1, the associated message is generated. This column cannot be blank. For more information about trigger values, see page 9-3.
Message
Type the message, up to 256 characters. To create a line break in the message, type \n. The message will continue at the beginning of the next line. (Multi-line messages are supported in the alarm banner graphic object only.) If you want the character sequence \n to appear in the message, type \\n. This way the sequence wont be interpreted as a line break. For example, to create the message Logging to \norms bakery\logs has been interrupted. you would type this: Logging to \\norms bakery\logs has been interrupted.
Display
Check this box to open the alarm display (if it is not already open) when this alarm is generated. The message is added to the alarm log file, and can be displayed in any alarm list, alarm banner, and alarm status list objects in your graphic displays, even if you do not check this box.
Audio
For Windows 2000 and Windows XP applications, check this box to sound the run-time computers internal beeper when this alarm is generated. The beeper beeps continuously, .5 seconds on and .5 seconds off, until the alarm is silenced.
Print
Check this box to print the alarm message when this alarm is generated.
9-26
To print alarm messages at run time, set up a printer on the run-time terminal. For information about other methods of printing alarm information, see page 9-8. For information about specifying which printer to use at run time for Windows 2000 or Windows XP applications, see page 24-8. For information about the type of printer to use with a PanelView Plus or VersaView CE terminal, see page 25-2. For information about the type of printer to use with a RAC6182 terminal, see page 26-2.
Message to Tag
Check this box to send the alarm message to the Message control.
Background
Click this button to select a different color for the background of the message text.
Foreground
Click this button to select a different color for the message text.
3. To use an embedded variable in the message, right-click the
Message column, and then click Edit String. If the context menu doesnt open, click in another cell, then right-click the Message column.
4. In the String Edit dialog box, position the cursor where you
OK. For more information about creating embedded variables, see Chapter 20.
7. Repeat steps 1 through 6 to create additional messages.
9-27
Select any cell in the messages row, and then press Delete. Shift-click in a column to select cells for multiple messages.
Copying messages
To copy a message 1. In the Message column, select one or more messages and then
press Ctrl-C (or right-click the selected cells and then click Copy).
2. In the Message column, click the cell to paste the first message
in, and then press Ctrl-V (or right-click the cell and then click Paste).
9-28
To specify how alarms are displayed, stored, and silenced 1. In the Advanced tab, in the Current alarms box, select the Browse button
graphic display to use to display alarm messages. Click the Browse button to select from a list of all the graphic displays in the application. The specified display opens when an alarm occurs, if you select the Display option for the alarm message (in the Messages tab). If you dont want to open a graphic display automatically when alarms occur, clear the box. For information about the different graphic displays you can use to display alarm information, see page 9-4.
2. To edit the selected graphic display, click Edit. The Graphic
Displays editor opens with the selected display open for editing. For information about graphic displays, see Chapter 14.
3. Specify these settings: History Size
Type the number of alarms to retain in the alarm log file, up to 10,000. When the log file contains this number of alarms, the oldest alarms are deleted when new alarms occur. For more information about the alarm log file, see page 9-7.
Hold time
Select the hold time to use when acknowledging, silencing, and resetting alarms. RSView holds the values at the Ack, Silence, Status Reset, and Close Display controls for the specified length of time, then resets the controls to 0.
Maximum update rate
Select the rate at which to update tag values. Data servers use this rate to send tag values to RSView. This rate is used for the tags youve defined as alarm triggers, including tags used in expressions. This rate is also used for tags assigned to the Remote controls, and for tags used as embedded variables in alarm messages. All other alarm tags are updated when specific events occur, as described in the section beginning on page 9-15. Tag values are also updated when the application is started.
Optional connections
If desired, assign tags to use for silencing and remotely acknowledging all alarms, resetting the alarm status, and closing the alarm display (for details, see page 9-19).
9-29
Preface
The Silence and Remote Silence controls apply to applications that will run in Windows 2000 and Windows XP only. SilenceAssign a tag to this control to notify the data source that alarms have been silenced. Remote SilenceAssign a tag or an expression to this control to allow the data source to silence alarms. Remote Ack AllAssign a tag to this control to allow the data source to acknowledge all alarms at once. Status ResetAssign a tag to this control to notify the data source that alarm status has been reset. Remote Status ResetAssign a tag or expression to this control to allow the data source to reset the alarm status. Close DisplayAssign a tag to this control to notify the data source that the alarm display has closed. Remote Close DisplayAssign a tag or expression to this control to allow the data source to close the alarm display. For information about assigning tags and expressions, see page 6-17.
9-30
You can use the [ALARM] display as is, or modify the display. For example, you can change the color of the objects, or add and remove buttons. Another option is to create your own graphic display to use when an alarm occurs, as described on page 9-36. Or, you can use one of the default alarm displays in the graphic library. These displays are described in the next three sections. A copy of the [ALARM] display is included in the graphic library, with the name [ALARM BANNER].
The alarm banner graphic object
The [ALARM] display contains an alarm banner graphic object, which lists the most recent alarm message. You can set up the alarm banner to queue new alarms until the displayed alarm has been acknowledged, or to show new alarms as they occur. The alarm banner in the [ALARM] display is set up to display new alarms as they occur and to display active alarms only (but you can edit it, if desired). For more information about the alarm banner, see page 9-39.
Buttons in the [ALARM] display
The [ALARM] display contains alarm buttons for acknowledging, clearing, and silencing alarms, as well as a button for closing the display. For information about how the buttons work, see page 9-41.
Preface
Header Alarm list graphic object
Buttons
You can use the [ALARM MULTI-LINE] display as is, or modify the display. For example, you can select which alarm triggers alarms to display in the list.
The alarm list graphic object
The [ALARM MULTI-LINE] display contains an alarm list graphic object, which lists the time the alarms occurred and were acknowledged, as well as the alarm messages. You can set up the alarm list to show all alarms, or to show unacknowledged alarms only. The alarm list in the [ALARM MULTI-LINE] display is set up to show all alarms (but you can edit it, if desired). For more information about the alarm list, see page 9-37.
Buttons in the [ALARM MULTI-LINE] display
The [ALARM MULTI-LINE] display contains alarm buttons for acknowledging and silencing alarms, as well as buttons for scrolling the list and closing the display. For information about how the buttons work, see page 9-41.
9-32
Buttons
You can use the [STATUS] display as is, or modify the display. For example, you can select which alarm triggers alarms to display in the list, or remove buttons that you dont want to use.
The alarm status list graphic object
The [STATUS] display contains an alarm status list graphic object, which lists the alarm messages. You can set up the alarm status list to show the status of all alarms that have been set up, active alarms only, or all alarms that have occurred since the alarm status was last reset. The alarm status list in the [STATUS] display is set up to show the status of active alarms (but you can edit it, if desired). For more information about the alarm status list, see page 9-40.
Buttons in the [STATUS] display
The [STATUS] display contains alarm buttons for resetting and silencing alarms, changing the display mode, printing the status of alarms, and opening the [HISTORY] display, as well as buttons for scrolling the list and closing the display. For information about how the buttons work, see page 9-41.
9-33
Preface
Header
Buttons
You can use the [HISTORY] display as is, or modify the display. For example, you can select which alarm triggers alarms to display in the list, or remove buttons that you dont want to use.
The alarm list graphic object
The [HISTORY] display contains an alarm list graphic object, which lists the time the alarms occurred and were acknowledged, as well as the alarm messages. You can set up the alarm list to show all alarms, or to show unacknowledged alarms only. The alarm list in the [HISTORY] display is set up to show all alarms (but you can edit it, if desired). For more information about the alarm list, see page 9-37.
9-34
The [HISTORY] display contains alarm buttons for acknowledging, silencing, and clearing alarms, sorting the list of alarms, printing the alarm history list, and opening the [STATUS] display, as well as buttons for scrolling the list and closing the display. For information about how the buttons work, see page 9-41.
the name of the display to add, for example, [HISTORY].gfx. The Libraries folder is located in \Documents and Settings\All Users\Documents\RSView Enterprise\ME. For information about changing the location of library component files see page 14-20.
4. Click Open. The display is copied into the Displays folder.
Once you copy the display into your application, you can use it as the display to open when alarms are triggered, or use it in conjunction with other alarm displays.
9-35
[ALARM] display as the display to open when alarms are triggered, if it is not already selected. (It is selected by default.)
2. Add the [HISTORY] display from the library. 3. Edit the [ALARM] display by adding a goto display button that
9-36
You can also create a goto display button that the operator can press to open the alarm display. For information about setting up a goto display button and specifying the display to open, see Chapter 16.
What is displayed
If you set up the list to show the alarms for specific alarm triggers, only alarms for those triggers are displayed. If the list is set up to show unacknowledged alarms only, the alarms displayed in the list are unacknowledged and the acknowledge time column, if any, is always blank.
9-37
Preface
If the list is set up to show all alarms, acknowledged alarms show an asterisk (*) at the left end of the row, and the acknowledge time appears in the acknowledge time column, if displayed. If the message is too long to fit in the object, the last displayed character is replaced with an asterisk. Similarly, if a column heading is too long to fit in the column, the last displayed character is replaced with an asterisk. The number of alarm messages that fits in the display depends on the height of the alarm list, the lists font size, and whether the column headings are displayed. If alarms are currently being sorted by time, alarms are listed with the newest alarms on top. If alarms are currently being sorted by trigger value, alarms from the first trigger in the Alarm Setup editor are listed first, with alarms from subsequent triggers listed after. Alarms in the list from the same trigger are grouped together and then sorted by trigger value, from lowest to highest. If there are multiple instances of the same alarm, these alarms are sorted by time with the newest on top.
9-38
to be highlighted and maintains its position in the displayed portion of the list. If alarms are sorted by trigger value, as new alarms occur the currently highlighted alarm continues to be highlighted and maintains its position in the list. If the sort order changes, the highlighted alarm is displayed at the top of the displayed portion of the list, or as close to the top as possible.
What is displayed
You can set up the banner to queue new alarms until the operator clears the current alarm, or to always display the most recent alarm. When a display containing an alarm banner is first opened, the alarm banner is blank, unless the display is the alarm display specified in the Alarm Setup editor and it was opened in response to an alarm. When the displayed alarm is acknowledged, it is removed from the alarm banner. If there are no newer alarms, the banner is blank. If the operator presses a clear alarm history button or if all alarms are acknowledged, the banner is blank. If the list is set up to show both active and inactive alarms, when an alarm is active, an asterisk (*) appears in the alarm status column, if displayed.
9-39
Preface
What is displayed
If you set up the list to show the alarms for specific alarm triggers, only alarms for those triggers are displayed. If an alarm is active, an asterisk (*) appears in the alarm state column, if displayed. If the message is too long to fit in the object, the last character that would fit is replaced with an asterisk. Similarly, if a column heading is too long to fit in the column, the last character that would fit is replaced with an asterisk. The number of alarm messages that fits in the display depends on the height of the alarm status list, the lists font size, and whether the column headings are displayed. For value-triggered alarms, the accumulated time column shows how long the alarm has been set to the trigger value. For bit-triggered alarms, the accumulated time column shows how long the bit has been set to 1. For LSBit-triggered alarms, the accumulated time column shows how long the corresponding alarms least significant bit has been set to 1.
9-40
Using buttons with the alarm list, alarm banner, and alarm status list
Alarm buttons
You can use these alarm buttons to interact with the alarm list, alarm banner, or alarm status list:
Use this button With this graphic object To do this
Acknowledge and silence the selected alarm. Acknowledge and silence all currently unacknowledged alarms. Change the type of alarms displayed in the alarm status list, from all alarms to active alarms to past alarms. Clear the alarm in the alarm banner without removing the alarm from the alarm log file and alarm lists.
Alarm banner
Using buttons with the alarm list, alarm banner, and alarm status list
9-41
Preface
Use this button With this graphic object To do this
Alarm list
Remove all alarms from the alarm log file and all alarm lists. If the Ack control is assigned for any of the alarm triggers, the operator is prompted to acknowledge all alarms before clearing them. Pressing this button also resets the number of times an alarm has been triggered to 0, and the accumulated time in alarm to 0, for all alarms.
Print a report of all the alarm messages in the alarm log file. The report can include the time alarms occurred and were acknowledged. Print a report of the status of alarms. The report can include how many times each alarm was triggered, and the accumulated time in alarm. Alarm status list Reset the number of times an alarm has been triggered to 0, and the accumulated time in alarm to 0, for all alarms. Silence the audio indicator for all alarms (Windows 2000 and Windows XP applications only). Alarm list Toggle between sorting alarms in alarm lists and the alarm log file by time and by trigger value.
Silence alarms
Sort alarms
9-42
You can assign any caption you choose to the labels on the alarm buttons.
For information about See
Setting up print alarm status buttons Page 16-212 How alarm buttons work at run time Pages 9-44 and 9-46
Key buttons
You can also use these key button graphic objects to interact with the alarm list, alarm status list, or alarm banner:
This button Does this
Scrolls up one row in the list. Scrolls down one row in the list. Moves the highlight bar up one page in the list. Moves the highlight bar down one page in the list. Moves the highlight bar to the top alarm in the list. Moves the highlight bar to the bottom alarm in the list. Acknowledges the currently highlighted alarm (in alarm lists and alarm banners).
Using buttons with the alarm list, alarm banner, and alarm status list
9-43
Preface
You can link key buttons to a specific alarm object, or set up the buttons to work with whichever object is selected in the graphic display. For more information, see page 16-14. For information about creating graphic objects, see Chapter 15. For information about setting up key buttons, see page 16-31.
9-44
Silencing alarms
When the operator presses the silence alarms button, any audible signal triggered by an alarm is silenced and the Silence control is set to 1 for the hold time or for the duration of the button press, whichever is longer. Then the controls value is reset to 0. If the hold time for any alarm is still in effect and the operator presses silence alarms, the button press is ignored. The audio alarm indicator is available for applications running in Windows 2000 and Windows XP only.
When the operator presses the clear alarm history button, all alarms in the system are deleted from the alarm log file and from all alarm lists. For information about the alarm log file, see page 9-7. If the Ack control is assigned for any of the alarm triggers, the operator is prompted to acknowledge the unacknowledged messages before deleting them. If the operator chooses to acknowledge the alarms, the Acknowledge all value (if any) is sent to the Ack control before deleting the messages. If the Ack control is not assigned, or if the operator chooses not to acknowledge alarms, all messages are deleted immediately.
9-45
Preface
From the alarm banner
When the operator presses the clear alarm banner button, the displayed alarm is cleared from the banner. The alarm remains in the alarm log file and in all alarm lists it appears in.
9-46
9-47
10
Chapter
Destinations
FactoryTalk Diagnostics allows you to send diagnostics messages to multiple destinations.
During application development
During application development, you can send diagnostics messages to: the Diagnostics List at the bottom of the RSView Studio window. a local log, which is viewable using the FactoryTalk Diagnostics Viewer tool. an ODBC database.
10-2
At run time
At run time, you can send diagnostics messages to: diagnostics list graphic objects, either in the default [DIAGNOSTICS] display, or in a display you create. a printer a local log (Windows 2000 and Windows XP applications only), which is viewable using the FactoryTalk Diagnostics Viewer. a remote log (PanelView Plus or Windows CE terminals only). an ODBC database. The FactoryTalk Diagnostics Viewer is available on computers running Windows 2000 and Windows XP only. However, if you send diagnostics messages from a PanelView Plus or Windows CE terminal to a computer running Windows 2000 or Windows XP, you can view the messages in the FactoryTalk Diagnostics Viewer.
IMPORTANT
The destinations available on your computer might vary, depending on which Rockwell Software products you have installed.
Message routing
You can decide which destinations receive which kinds of messages. This allows you to make the right information available to the right person, in the right place. For example: You can send messages that contain information about what the system is doing to the local log file. You can also send warnings about things that might go wrong if left unattended to the local log file. This allows a control systems engineer to analyze system activity and performance, and make corrections during scheduled maintenance times. You can send errors that require immediate action to the diagnostics list object in the [DIAGNOSTICS] display, as well as the log file. You can set up the display to open automatically when system activity occurs, to allow the operator to respond to problems that might stop production if they are not solved immediately.
10-3
Preface
During scheduled maintenance time, the engineer can use the diagnostics messages recorded in the local log file to analyze operation of the system, and then make the necessary corrections.
Categories
FactoryTalk Diagnostics categorizes messages by severity, and by audience. For each destination, you can specify the message severity and audience.
If messages of a particular category are not routed to any destination, the messages for that category are not logged. For example, you might not want to log information messages, or you might not want to send any messages to the Operator.
Message severities
RSView categorizes messages in four severities: Errors indicate that a process or action has failed. For example, a tags value could not be written, or a user typed the wrong password while logging on to the system. Warnings indicate that a process or action might not function correctly, or might eventually fail if preventive action isnt taken. For example, if an ActiveX Control used in a graphic display is a different version than the one installed on the run-time computer, a warning is logged to indicate the mismatch. Mismatched ActiveX Controls might not behave as expected at run time.
10-4
Information indicates that a process or action has completed successfully. For example, a user logged on to the system or a tag value has been written to the data source. Audit indicates that the system configuration has been changed. RSView records all tag writes as Audit messages. Other Rockwell Software products make more extensive use of Audit messages. For example, If you set up an Audit log in RSMACC, RSViews Audit messages will be sent there, as well as to FactoryTalk Diagnostics. In the FactoryTalk Diagnostics Viewer, the message severity is shown in the Severity column, indicated by the ! symbol. The content of the messages is provided by the systemyou dont need to do anything to set up message content.
Audiences
FactoryTalk Diagnostics allows messages to be categorized differently for the various people for whom the messages are relevant. You can sort the messages in the Diagnostics Viewer, so that those relevant to a particular person are grouped together. RSView automatically sends audit messages to the Secured audience. The Secured audience allows auditing tools, such as those required for US Government 21CFR Part 11 compliance, to track system activity. RSView does not make use of the Developer category. Selecting this option has no effect on messages generated by RSView.
Who receives which messages?
Messages for all tag writes, whether successful or unsuccessful, are sent to the Engineer and Secured audiences. All other messages are sent to the Operator.
Preface
By default, all warning and error messages are displayed in the Diagnostics List. To change what is displayed in the Diagnostics List, use the Diagnostics Setup tool, as described on page 10-7. For information about testing graphic displays, see page 14-11.
To display the Diagnostics List
"
On the View menu, click Diagnostics List. A check mark beside the menu item indicates the Diagnostics List is displayed.
For information about moving, resizing, and clearing messages in the Diagnostics List, see page 2-4.
If you dont want to display diagnostics messages
"
On the View menu, click Diagnostics List. The option is turned off when no check mark appears.
In RSView Studio, click the Tools menu, and then click Diagnostics Viewer. On the Windows Start menu, select Programs, Rockwell Software, Utilities, and then click Diagnostics Viewer.
10-6
For information about setting up FactoryTalk Diagnostics to send messages to the local log, see page 10-9. For additional information about setting up and using the FactoryTalk Diagnostics Viewer, see the FactoryTalk Diagnostics Viewer Help.
In RSView Studio, on the Tools menu, click Diagnostics Setup. In the RSView ME Station dialog box, click Diagnostics Setup. For information about opening the RSView ME Station dialog box in Windows 2000 or XP, see page 24-4. For information about opening the RSView ME Station dialog box on a PanelView Plus or VersaView CE terminal, see page 25-4. For informatin about opening the RSView ME Station dialog box on a RAC6182 terminal, see page 26-13. On the Windows Start menu, select Programs, Rockwell Software, Utilities, and then click Diagnostics Setup.
10-7
Preface
10-8
Browse button.
Browse button 3. In the Browse for Folder dialog box, click the folder in which to
file in kilobytes.
Overwrite events as needed Select this option to overwrite the oldest event in the log file when the log file becomes full and a new event occurs. Overwrite events older than x days Select this option to overwrite events older than the specified number of days only. The system does not overwrite events newer than the specified number of days. If the log file becomes full, and there are no
10-9
Preface
events older than the specified number of days, new events are discarded.
Do not overwrite events Select this option if you dont want the system to overwrite any events in the log file. To prevent the log file from becoming full, clear the log file manually, as described on page 10-15. If the log file becomes full, new events are discarded.
10-10
For information about the contents of the FactoryTalk Diagnostics ODBC tables, see Appendix D.
To log data to an ODBC database 1. In the Diagnostics Setup tool, click ODBC Database. 2. Fill in the options as described in the sections that follow. 3. To save the changes without closing the Diagnostics Setup dialog
Preface
Log messages to database every Type a number, and then select a time interval, to specify how frequently messages are exported from the local log file to the ODBC-compliant database. Ensure this interval is lower than the interval at which the contents of the log file is overwritten. Buffer message locally for up to Type a number, and then select a time interval, to specify how long messages should remain in the local log file before they are deleted.
Browse button
Data source name Type the name of the ODBC data source. To browse for the data source name, click the Browse button. Target table Type the name of the target table in the
ODBC-compliant database. To browse for the target table, 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.
Maintain connection Specify how long you want the connection to the ODBC-compliant database to remain open. Type the number of minutes, or click indefinitely.
10-12
on different computers, you must enter a Database user ID and password to connect to the database. Check Login required, and then type the user ID and password.
Routing messages
For each destination you set up, you can specify how messages are routed. To route messages, specify: the types of messages to log. the audiences to send the messages to. whether to accept messages from Windows CE devices. For information about who receives which types of messages, see page 10-5.
Routing messages
Preface
Use the FactoryTalk Diagnostics Viewer to view messages in the local log.
2. Check the boxes for the messages types you want to log, and the
audiences you want to receive them. Clear a check box if you dont want the message type to be sent to a particular audience.
IMPORTANT
RSView does not log any messages for the audience called Developer. Selecting check boxes for the audience Developer has no effect.
RSView Studio, and to the diagnostics list graphic object at run time, click RSView Diagnostics List.
5. Repeat steps 2 and 3. 6. To specify which messages are sent to an ODBC database, click
If desired, you can select multiple destinations at once, to apply the same message routing to the selected destinations simultaneously.
10-14
For information about setting up the PanelView Plus or Windows CE terminal to log to the Windows 2000 or Windows XP computer, see page 25-16.
To set up the Windows 2000 or Windows XP computer to receive messages from a PanelView Plus or Windows CE terminal 1. In the Diagnostics Setup tool, click Destination Setup. 2. Check Enable this computer to receive messages broadcast from
Windows CE devices.
3. In the Port box, type the port number on the Windows 2000 or
10-15
Preface
2. Click Clear Log. 3. If you want to save a copy of the log file before it is cleared, click
In RSView Studio, in the Diagnostics List Setup editor, clear the Display name box, or clear the four Open display automatically when boxes.
10-16
print, the graphic display to use, when to open the graphic display, and the maximum number of messages to store.
2. If desired, modify the default [DIAGNOSTICS] display, or
create your own graphic display to use for diagnostics messages. For example, if you dont want the operator to clear all messages at once, edit the default display to remove the clear all button. For information about graphic displays, see Chapter 14.
10-17
Preface
To set up how messages are displayed and printed at run time 1. Open the Diagnostics List Setup editor.
text
2. To print messages at run time, check the box for the severity of
message to print. Set up a printer on the run-time terminal. For information about specifying which printer to use at run time for Windows 2000 or Windows XP applications, see page 24-8. For information about the type of printer to use with a PanelView Plus or VersaView CE terminal, see page 25-2. For
10-18
information about the type of printer to use with a RAC6182 terminal, see page 26-2.
3. In the Display name box, select the graphic display to use to Browse button
display diagnostics messages. Click the Browse button to select from a list of all the graphic displays in the application. If you dont want to display diagnostics messages at run time, clear the box. For information about the different graphic displays you can use to display diagnostics messages, see page 10-17.
4. To edit the selected graphic display, click Edit. The Graphic
Displays editor opens with the selected display open for editing. For information about graphic displays, see Chapter 14.
5. Specify these settings: Open display automatically when
Specify when to open the diagnostics display. Select any or all options: Error occursRSView opens the diagnostics display when a new error occurs. Warning occursRSView opens the diagnostics display when a new warning occurs. Information occursRSView opens the diagnostics display when a new information message occurs. Audit occursRSView opens the diagnostics display when a new audit message occurs. If you dont want the diagnostics display to open automatically, clear all the check boxes. If you elect not to open a diagnostics display automatically, you can still display diagnostics messages in any diagnostics list graphic object, in any graphic display. Create a goto display button that the operator can use to open the graphic display containing the diagnostics list.
Maximum number of messages
Type the maximum number of messages to store in memory, up to 2000. When this number is reached, the oldest message is deleted to make room for a new message.
6. Click OK.
10-19
Preface After you set up how to print and display messages at run time
If desired, use the Graphic Displays editor to modify the default [DIAGNOSTICS] display or to create your own graphic display for diagnostics messages. For example, if you dont want the operator to clear all messages at once, edit the default display to remove the clear all button. See the topics in the remainder of this chapter.
You can use the [DIAGNOSTICS] display as is, or modify the display. For example, you can change the color of the objects, or add and remove buttons. Or, you can create your own graphic display to use for displaying diagnostics messages. In the Diagnostics List Setup editor, specify the display to use.
The diagnostics list graphic object
The [DIAGNOSTICS] display contains a diagnostics list graphic object, which lists the diagnostics messages. For more information about the diagnostics list, see page 10-21.
10-20
The [DIAGNOSTICS] display contains diagnostics list buttons for clearing the messages, as well as buttons for scrolling the list and closing the display. For information about how the buttons work, see page 10-22.
Preface
You can use multiple diagnostics lists, in the same display or in different displays. Each diagnostics list displays the same information. For information about setting up diagnostics lists, see page 16-237.
What is displayed
If the message is too long to fit in the list, the last displayed character is replaced with an asterisk (*). The number of diagnostics messages that is visible at one time depends on the height of the diagnostics list and the lists font size. Messages are listed with the newest diagnostics message on top.
You can use these diagnostics buttons to interact with the diagnostics list:
This button Does this
Clears the selected message from all diagnostics lists in the application. Clears all diagnostics messages from all diagnostics lists in the application.
You can assign any captions you choose to the labels on the diagnostics buttons. You can link the diagnostics clear button to a specific diagnostics list. When the operator presses the button, the selected message is deleted from the linked diagnostics list, and also from any other diagnostics lists in the application. For information about linking buttons to objects, see page 16-14.
Key buttons
You can also use these key button graphic objects to interact with the diagnostics list:
This button Does this
Scrolls up one row in the list. Scrolls down one row in the list.
10-22
This button
Does this
Moves the cursor up one page in the list. Moves the cursor down one page in the list. Moves the cursor to the top message in the list. Moves the cursor to the bottom message in the list.
You can set up the key buttons to work only with the specified diagnostics list, or to work with whichever object is selected in the graphic display. For information about linking buttons to objects, see page 16-14. For information about creating graphic objects, see Chapter 15. For information about setting up buttons, see page 16-23.
10-23
11
Chapter
Preface
You can set up multiple data log models, but you can run only one data log model at a time. For information about running a different data log model, see page 11-12.
If you delete a tag from the data log model, previously logged data for the tag is not accessible unless you add the tag back to the model.
RSView creates two data log files: Data Log Model Name.log Data Log Model Name.tag Youll need this information if you log to a custom path and want to delete the log files manually.
11-2
Logging periodically
Periodic logging is used to take a snapshot of all tag values at a particular point in time. Tag values are logged even if there has been no change. You cannot change the periodic log rate at run time.
Logging on change
On-change logging is used to log only tags whose values have changed. For HMI tags, before logging occurs, the change must equal a specified percentage of change in the tag value. The percentage is based on HMI tags minimum and maximum values as set up in the Tags editor. Only the tags that change by the specified percentage are logged. If you specify a percentage of 0, all changes are logged. If a tag does not have a minimum or maximum attribute (for example a data server tag in ControlLogix), when you specify on-change logging, all changes are logged for that tag. You dont need to specify a percentage.
Using a heartbeat rate
You can also specify a heartbeat rate, to log values at specified times even if no tag value changes have occurred. 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. The heartbeat cannot be less than the maximum update rate, which is the rate at which data servers send tag values to RSView. If you specify a heartbeat of 0, the heartbeat is not used.
Preface
The PanelView Plus or Windows CE terminal cannot be part of a domain. However, you can verify that the user who is logged into the PanelView Plus or Windows CE terminal is on a user list that is part of a domain. For more information about logging in to a Windows domain or authenticating users, see page 27-1.
Summary of steps
Follow these steps to set up data logging:
1. In the Data Log Models editor, set up a data log model that
specifies how many log values to store, the conditions that trigger data logging, where to log data, and which tags to monitor.
2. In the Startup editor, turn on data logging by selecting the Data
logging check box. Also use this editor to specify the data log model to use at run time. See Chapter 23.
3. In the Graphic Displays editor, create a graphic display
containing the trend graphic object, and set up how the object looks, which tag values to display, the start time, and the time span for the data. Also specify the name of the data log model to use. For information about graphic displays, see Chapter 14. For information about setting up trends, see Chapter 18.
11-4
Set up general aspects of the model. Specify where to log the data. Specify how logging occurs. Specify which tags to log data for.
11-5
Preface
You specify a name for the model when you save it.
To specify the maximum amount of data to store 1. In the Setup tab, type a description of the model, up to 50
and 300,000 (do not type the comma). When your data exceeds the limit, the oldest data is deleted from the data log file. The higher the limit, the more space the data log file requires on the run-time computer, or on the remote computer (if logging to a custom path on a remote computer).
11-6
If you select this option, the location where log files are stored depends on the run-time platform. Log files for Windows 2000 and Windows XP applications are stored in this folder: \Documents and Settings\All Users\Documents\ RSView Enterprise\ME\Logs\Runtime Application Name\ DLGLOG\Data Log Model Name
11-7
Preface
Log files for PanelView Plus or Windows CE terminal applications are stored in this folder: \Storage Card\Rockwell Software\RSViewME\Logs\ Runtime Application Name\DLGLOG\Data Log Model Name
Custom
If you select this option, type the path to the folder where you want the log files to be stored. The path syntax depends on the run-time platform. For Windows 2000 and Windows XP applications, the path must contain a drive letter (such as C:\) or use the Universal Naming Convention (UNC) style. Paths using UNC style begin with two backslashes. For example, \\server\logs uses UNC style. In this example, logs is a shared folder on a network server. For PanelView Plus or Windows CE terminal applications, you can log to a location on the PanelView Plus or Windows CE terminal or to a PC card. For example, \Storage Card\Data\Logs specifies a location on the PanelView Plus or Windows CE terminal. To log from the PanelView Plus or Windows CE terminal to a network folder, use UNC style. You can specify a path to a folder that does not exist. If it doesnt exist, it is created at run time, as long as the user logged in to the run-time computer has folder creation rights at the specified location.
11-8
whether logging takes place at regular intervals or when tag values change.
2. Fill in the boxes as follows: Log Periodically
In the Interval box, type a time and click a time unit to specify how often tag values are logged. All tags in the model are logged each time this interval expires.
Log on tag change
11-9
Preface
Maximum update rate
Select the rate at which to update tag values. Data servers use this rate to send tag values to RSView. This rate is used for all the tags in the data log model. Tag values are also updated when the application is started.
Change percentage
In the Change percentage box, type the percent the tag value has to change in order to trigger logging. To log all changes, type 0. The percentage is based on HMI tags minimum and maximum values as set up in the Tags editor. If a tag does not have a minimum or maximum attribute, for example a data server tag in ControlLogix, all changes are logged for that tag.
Heartbeat
To specify how often tag values are logged even if no change has occurred, in the Heartbeat box type a time, and then click a time unit. The heartbeat cannot be less than the maximum update rate. If you do not want to use the heartbeat, type 0. If you type 0, tags values are logged only when a tag value changes.
11-10
The Tags in model box displays the tags that have been added to the model so far. To remove a tag from the model, click it and then click Remove. To remove all the tags from the model, click Remove All.
To specify the tags to log data for 1. In the Tags in Model tab, in the Tags to add box, type the
Tag Browser.
Browse button
For information about selecting multiple tags in the Tag Browser, see page 6-13.
3. Click Add. The tags listed in the Tags to add box move to the
Tags in model box. If you are using on-change logging, the percentage of change is calculated using HMI tags minimum and maximum values as set up in the Tags editor.
11-11
Preface
For information about transferring applications to a PanelView Plus or Windows CE terminal, see Chapter 25. For information about transferring applications to a computer running the Windows 2000 or Windows XP operating system, see Chapter 24.
6. Run the new application.
11-12
If the storage device becomes full due to lack of disk space, data logging stops and an error message is sent to FactoryTalk Diagnostics. When sufficient disk space becomes available, data logging continues, but the data that would have been logged during the intervening time cannot be retrieved. If there is not enough disk space at application startup, the data log model does not start when the application starts. An error message is sent to FactoryTalk Diagnostics.
11-13
12
Chapter
Preface
12-2
an address in a programmable controller that is linked to a sensor on the first conveyor belt. When the belt is running, the tags value is 0. When the belt stops running, the value changes to 1.
2. Create a second digital tag called Conveyor_2_status. This tag
points to an address in a programmable controller that is linked to a sensor on the second conveyor belt. When the belt is running, the tags value is 0. When the belt stops running, the value changes to 1.
3. Create an analog tag called Information_messages. Set up the
data source to send a value of 1 to this tag when Conveyor_1_status has a value of 1, and to send a value of 2 to this tag when the Conveyor_2_status tag has a value of 1.
4. In the Information Messages editor, create these messages with
trigger values matching the values that will be sent to the Information_messages tag:
Trigger value Message
1 2
tag to the Value control, and select the Conveyor belts message file. At run time, when the value of Conveyor_1_status changes to 1, the first message is displayed (in the default information message display). When the value of Conveyor_2_status changes to 1, the second message is displayed.
12-3
12-4
Summary of steps
Follow these steps to set up information messages:
1. In the Information Messages editor, set up the messages and their
trigger values.
2. In the Information Setup editor, specify the graphic display to
open when information messages occur, and the file of messages to display. Also use this editor to assign a tag or expression to the Value control. If you want the operator to acknowledge messages, assign the Ack control and specify the acknowledge hold time.
3. In the Startup editor, ensure that the Information messages box is
[INFORMATION] display, or create your own graphic display to use for information messages. For example, if you dont want the operator to acknowledge messages, edit the default display to remove the information acknowledge button. For information about graphic displays, see Chapter 14.
Preface
Type a non-zero integer value. When the Value control changes to this value, the associated message is generated. This column cannot be blank. For more information about trigger values, see page 12-4.
Message
continue at the beginning of the next line. If you want the character sequence \n to appear in the message, type \\n. This way the sequence wont be interpreted as a line break. For example, to create the message Logging to \norms bakery\logs has been interrupted. you would type this: Logging to \\norms bakery\logs has been interrupted.
4. To use an embedded variable in the message, right-click the
Message column, and then click Edit String. If the context menu doesnt open, click in another cell, then right-click the Message column.
5. In the String Edit dialog box, position the cursor where you want
OK. For more information about creating embedded variables, see Chapter 20.
8. Repeat steps 2 through 7 to create additional messages. 9. On the File menu click Save, or click the Save tool. Save tool 10. In the Component name box, type a name for the file, and then
click OK.
11. Click Close.
12-6
Deleting messages
To delete a message
"
Select any cell in the messages row, and then press Delete. Shift-click in a column to select cells for multiple messages.
Copying messages
To copy a message 1. In the Message column, select one or more messages and then
press Ctrl-C (or right-click the selected cells and then click Copy).
2. In the Message column, click the cell to paste the first message in,
and then press Ctrl-V (or right-click the cell and then click Paste).
12-7
Preface
To set up how information messages are displayed 1. Open the Information Setup editor. 2. In the Display file name box, select the graphic display to use
to display information messages. Click the Browse button to select from a list of all the graphic displays in the application. If you clear the box, no display is opened when the Value control changes to an assigned trigger value. For information about the different graphic displays you can use to display information messages, see page 12-4.
3. To edit the selected graphic display, click Edit. The Graphic
Displays editor opens with the selected display open for editing.
Browse button
messages to display. Click the Browse button to select from a list of all the information message files in the application. If you leave the box blank, no messages are ever displayed. If you specify a message file, it is used for all Information Message display objects you place in your graphic displays. For information about creating information message files, see page 12-6.
5. To edit the selected message file, click Edit. The Information
Messages editor opens with the selected message file open for editing.
6. Specify these settings: Acknowledge hold time
Select the hold time to use when acknowledging information messages. RSView sets the value at the Ack control to 1 for the specified length of time (or as long as the operator presses the information acknowledge button, whichever is longer), then resets the control to 0.
Maximum Update Rate
Select the rate at which to update tag values. Data servers use this rate to send tag values to RSView. This rate is used for the tag assigned to the Value control, including tags used in an expression. Tag values for the Value control are also updated when the application is started.
12-8
Connection
Assign a tag or expression to these controls: ValueAssign a tag or expression to this control. The information message graphic display opens when the Value control at the data source changes from 0 to a non-zero value. If you assign an expression, RSView calculates the value of the expression and opens the display when the expression value changes from 0 to a non-zero value. AckAssign a digital tag to this control to notify the data source when the operator acknowledges an information message. For information about assigning tags and expressions, see page 6-17.
7. Click OK.
12-9
Preface
Buttons
You can use the [INFORMATION] display as is, or modify the display. For example, you can change the color of the objects, or add and remove buttons. Or, you can create your own graphic display to use for displaying information messages. In the Information Setup editor, specify the display to use.
The information message display graphic object
The [INFORMATION] display contains an information message display graphic object, which lists one information message at a time. For information about how the information message display object works at run time, see page 12-12.
Buttons in the [INFORMATION] display
You can assign any caption you choose to the labels on the buttons.
Using the information acknowledge button
When the operator presses the information acknowledge button, if the Ack control is assigned, the control value is set to 1 at the data source. The value is held as long as the operator presses the button, or for the acknowledge hold time, whichever is longer. Then the control is reset to 0.
12-10
12-11
Preface
What is displayed
If the Value control is unassigned, the information message graphic display never opens automatically. If the operator opens a graphic display containing an information message display object, the object is blank. The Value control is rounded up 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 (?). For information about how values are rounded, see page 7-2. If the message is too long to fit in the information message display object, the last displayed character is replaced with an asterisk (*). When the Value controls value is 0, the information message graphic display is closed.
message file.
12-12
4. Create the run-time application. See Chapter 23. 5. Transfer the run-time application to the run-time platform.
For information about transferring applications to a PanelView Plus or Windows CE terminal, see Chapter 25. For information about transferring applications to a computer running the Windows 2000 or Windows XP operating system, see Chapter 24.
6. Run the new application.
12-13
13
Chapter
Setting up security
Set up security in your application to prevent users from accessing certain graphic displays. This chapter describes the RSView security system, and outlines how to: set up user accounts. set up security. assign security to graphic displays. use the User Accounts editor. change passwords. provide a way for users to log in and log out. prevent unauthorized users from running or stopping the application.
Preface
To limit the users who have access to the application or parts of the application, you must set up user accounts and passwords.
IMPORTANT
If you set up the data source to open graphic displays remotely (using global connections), remote display changes occur whether or not the logged-in user has security access to a given display. For details about controlling display changes remotely, see page 8-5.
Summary of steps
Follow these steps to set up security:
1. In the User Accounts editor, set up users and passwords, and
assign security codes to users. set up users. You can add users or groups from a Windows network domain, or you can add RSView users. You cannot use both Windows network domain users or groups and RSView users at the same time. assign a security code to each user or group.
2. Provide users with a method for logging in and out. 3. In the Graphic Displays editor, assign security codes to graphic
application.
5. If desired, assign visibility animation to graphic objects that only
13-2
A B C D
A, B, C A, B All None
13-3
Preface
The users have access to these graphic displays: SUPERVISOR has access to the first three graphic displays. OPERATOR has access to the Alarm History and Boiler displays, but not to the Furnace or Top Secret displays. The ADMIN user has access to every graphic display. The DEFAULT user has access only to graphic displays to which no security has been assigned (that is, graphic displays with the security code *). In this example, the DEFAULT user does not have access to any of the four graphic displays. In this example, you could have assigned the same security code to the Alarm History and Boiler displays, since all users except the DEFAULT user have access to these displays.
13-4
A, B A, B, C All None
2. Create a numeric input enable button. 3. Assign visibility animation to the button using this expression:
CurrentUserHasCode( E ) For the Expression True State, click Visible. When the graphic display containing the numeric input enable button is open, the SUPERVISOR and ADMIN user can see the button. If the OPERATOR or DEFAULT user is logged in, the button is not visible.
13-5
Preface
Form area
Spreadsheet area
Use the scroll bar or drag the border of the editor to see more columns.
Double-click in the security code columns to toggle between Yes and No.
Show or hide the spreadsheet area Show or hide the form area Change the font used in the spreadsheet area Restore the default font
Spreadsheet Form Spreadsheet Font. In the Font dialog box, specify the font, style, and size to use. Restore Default Settings
13-6
Cut
Cut the selected text and place it on the clipboard. Cutting a No security code setting changes it to a Yes. You cannot cut Yes security code settings.
Copy the selected text. Paste the cut or copied text from the clipboard. Delete the selected text. Deleting a No security code setting changes it to a Yes. You cannot delete Yes security code settings.
Duplicate
Create a duplicate of the selected user, with all the same settings, including name. Insert a blank row above the row in which the cursor is located. With multiple rows selected, copy the settings from the first row into the other selected rows. With multiple cells in a column selected, sort the user accounts alphanumerically by the selected cells contents. Undo the previous operation or sequence of operations. Redo the previously undone operation or sequence of operations.
Sort
Undo Redo
13-7
TEXT
first blank row in the spreadsheet, or click Next to scroll to a blank row.
13-8
Type a user name or ID for the account, up to 20 characters including spaces. The name is not case sensitive when the user types it at run time. However, RSView uses all uppercase for names in expressions.
Login Macro
Browse button
To run a macro when this user logs in, type the name of the macro, or click the Browse button to select from a list of macros in the application. For information about creating macros, see Chapter 21.
Logout Macro
To run a macro when this user logs out, type the name of the macro, or click the Browse button to select from a list of macros in the application.
Password
Type a password for the account, up to 14 characters including spaces, and then press Enter. The password is not case sensitive.
In the Password Confirmation dialog box, retype the password, and then click OK. You can use the form or spreadsheet section of the editor to enter all user information except passwords. Use the form area to enter passwords.
13-9
Preface
Security Codes
To prevent the user from having access to a security code, clear the check box for the code, or double-click in the codes column in the spreadsheet to change the setting to N.
4. Click Accept. 5. Repeat steps 2 through 4 to set up additional user accounts. 6. Click Close. When prompted to save your changes, click Yes.
In the spreadsheet area, click the number at the left end of the row for the user to delete, and then press Delete on your keyboard.
13-10
names you want to include in the RSView User Accounts list. To select multiple users, do one of the following: Click a user name, and then drag the mouse up or down. Click a user name, and then Shift-click other user names immediately above or below the first selected user name. Click a user name, and then Ctrl-click other user names anywhere in the list.
5. To add the selected names to the RSView User Accounts, click
the Move button ( ). To add all the names, click the Move All button ( ).
6. Click OK.
Preface
The user or groups 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.
To set up user accounts for Windows network account users 1. Open the User Accounts editor.
TEXT
You cannot modify the Account ID for a Windows Network User or group.
13-12
Login Macro
Browse button
To run a macro when this user logs in, type the name of the macro, or click the Browse button to select from a list of macros in the application. For information about creating macros, see Chapter 21.
Logout Macro
To run a macro when this user logs out, type the name of the macro, or click the Browse button to select from a list of macros in the application.
Password
You cannot assign or modify a password for a Windows Network account from RSView. To change the password, use the Users and Passwords tool in Windows.
Security Codes
To prevent the user from having access to a security code, clear the check box for the code, or double-click in the codes column in the spreadsheet to change the setting to N.
4. Click Accept. 5. Repeat steps 2 through 4 to set up additional user accounts. 6. Click Close. When prompted to save your changes, click Yes.
Logging in
When the application starts, the DEFAULT user is automatically logged in until a new user logs in.
To provide a way for users to log in
Specify the startup display in the Startup editor, in the Initial graphic box. Create a login button in the startup graphic display (the graphic display that opens when your application starts running). For information about creating graphic objects, see Chapter 15. For information about setting up login buttons, see page 16-23. For information about using the Startup editor, see Chapter 23. For more information about logging in, see Chapter 27.
13-13
Create a logout button in a graphic display that all logged-in users have access to.
At run time, when the inactivity period expires, the current user is logged out, and the default user is logged in. Any macros configured to run at user logout will run.
Do not use a title bar on the application window. To turn off the title bar for the application window, in the Project Settings editor, in the Runtime tab, clear the Title bar check box. For more information about using the Project Settings editor, see Chapter 4.
13-14
Assign visibility animation to the shutdown button, so that the button is only visible when a user who is authorized to stop the application is logged in. For an example, see page 13-20. Set up security for the graphic display in which the shutdown button is located, so only users who are authorized to stop the application can open the display.
Additional step for Windows 2000 and Windows XP applications
Use the DeskLock tool to prevent users from having access to the desktop, to prevent access to operating system functions such as restarting Windows or shutting down tasks. For more information, see page 24-15.
Additional step for RAC6182 applications
Use the Keypad Configuration Utility that ships on CD with the RAC6182 to disable the Win key and the Alt-Tab key combinations. Otherwise, the user can press the Win key or press Alt-Tab to open the Windows Taskbar. For information about using the Keypad Configuration Utility, see the utilitys Help.
Additional step for VersaView CE and RAC6182 applications
Taskbar.
2. Clear the Always on top check box. 3. Select Auto hide. 4. In the RSView User Accounts list, click the user name or group
13-15
Preface
To select multiple users, do one of the following: Click a user name, and then drag the mouse up or down. Click a user name, and then Shift-click other user names immediately above or below the first selected user name. Click a user name, and then Ctrl-click other user names anywhere in the list.
5.Click the Remove button. 6.When you are finished, click OK.
13-16
To allow unlimited access to the display, select the asterisk (*). The * is selected by default.
3. Click OK to close the dialog box.
navigation buttons that give the operator access to the different displays in the application. Assign a security code to the display so that only authorized users can open it.
13-17
Preface
4. Create a graphic display called Log In containing these button
objects:
This button Does this
Opens the Login dialog box. Logs the current user out and logs in the DEFAULT user. Opens the Main Menu graphic display. Shuts down the application.
5. Set up the goto display button to open the Main Menu display. If
desired, attach visibility animation to the goto display button, so that only authorized users can see the button. For more information, see Example 1 on page 13-19.
6. Attach visibility animation to the shutdown button, so that only
authorized users can see (and therefore use) the button. For more information, see Example 2 on page 13-20.
7. Specify captions for the buttons, and add explanatory text to the
display. Until an authorized user is logged in, further access to the application is denied. In addition, only authorized users can stop the application. Users who have access to the application can use the application and log out. Make sure you provide a way for users to navigate back to this display to log out.
IMPORTANT
When a user logs out, the DEFAULT user is automatically logged in. Do not give the DEFAULT user access to the goto display button or shutdown button.
To see what the startup Log In display looks like when different users are logged in, see Example 3 on page 13-21.
13-18
You can also use the Remote Display Number control to open the startup Log In display when a user logs out. This might be useful if users can log out from various locations (graphic displays) within the application. For an example, see page 8-6.
For more information about See
Using the Application Settings editor Attaching animation to graphic objects Setting up display navigation Using the Startup editor Logging in, logging out, and stopping applications
click Visibility.
2. In the Animation dialog box, in the Expression box, type this:
13-19
click Visibility.
2. In the Animation dialog box, in the Expression box, type this:
CurrentUserName( ) == ADMIN
3. For the Expression True State, click Visible. 4. Click Apply.
13-20
13-21
Preface
This is what the display looks like when a user who is authorized to use the application but not to stop the application has logged in:
13-22
This is what the display looks like when the ADMIN user (who has authority to stop the application) has logged in:
13-23
14
Chapter
Before creating graphic displays, specify application settings. Application settings determine important aspects of your graphic displays such as display size and position. For more information, see page 4-9.
Preface
The elements that make up a graphic display are called graphic objects. You can create objects in the Graphic Displays editor, or copy them from a graphic library or from another application. For information about creating and copying graphic objects, see Chapter 15. You can use up to 1,000 tags per graphic display. This limit includes the tags contained in embedded variables.
Planning your displays and creating a template Setting up application security to control access to displays Setting up display navigation and creating a display hierarchy Setting up how objects are used at run time
14-2
right-click Displays and then click New. click the New Display tool. drag and drop the Displays icon into the workspace.
New Display tool 2. On the Edit menu, click Display Settings to open the Display
Settings dialog box and specify settings for the display. For more information, see page 14-12.
3. Create the objects you want to put in the display.
then click OK. The display is added to the list in the Displays folder. The display is created as a Replace display by default, but you can change it to an On Top display in the Display Settings dialog box. For more information, see page 14-13.
To open a graphic display
"
In the Graphics folder, open the Displays folder and then double-click the display name, or right-click the display name and then click Open. You can also drag and drop the display from the Application Explorer to an empty area in the RSView Studio workspace.
14-3
Preface
This example shows a graphic display from the Malthouse sample application, with the Application Explorer closed.
Standard toolbar Graphics toolbar Objects toolbar
Display area
Object Explorer
The Graphic Displays editor provides an array of toolbars in addition to the Standard toolbar available in other editors. The toolbars contain tools for creating and setting up graphic objects. The illustration shows the Graphics and Objects toolbars, which youll probably want to keep open at all times. There are other toolbars that you can use when performing specific tasks such as assigning colors to objects. For more information, see page 14-7.
14-4
Display area
This area is your graphic display. The appearance of the display in the Graphic Displays editor is similar to what you see at run time, except for the title bar and the display position. If you change the zoom settings, or resize a Replace display by dragging the borders, these changes do not affect the appearance of the run-time display. If you want to use a title bar at run time, set up the title bar in the Application Settings editor. Also use the Application Settings editor to specify the display size (for Replace displays), position, and whether to use a border at run time. For more information, see page 4-9. You can change the display type, color, and other settings in the Display Settings dialog box. For more information, see page 14-13.
Property Panel
The Property Panel displays the properties of the selected objects, and shows what values are assigned to the properties. For example, it shows whether an objects background style (BackStyle) is solid or transparent. It also lists the objects controls, and shows which tags or expressions have been assigned to them. In addition to displaying information, you can use the Property Panel to modify the properties of graphic objects and assign tags and expressions to the objects. You can keep the Property Panel open as you work on different objects and in different displays. For more information, see page 15-35.
Object Explorer
The Object Explorer lists all the objects and groups of objects in your display (except objects that are converted to wallpaper). You can click an object in the list to select it in your display. You can also right-click the object to open the context menu for the object. You can also use the Object Explorer to highlight objects by object type, highlight objects that have animation attached, and to highlight objects with specific tag or expression assignments. You can keep the Object Explorer open as you work on different objects and in different displays. For more information, see page 15-27.
14-5
Preface
Status bar
The status bar describes the action to be performed by the selected menu item or tool. The status bar also displays the X and Y coordinates, width, height, and name of the selected object.
14-6
... a menu opens. It contains menu items for working with the selected object.
14-7
Preface
Click the grab bars and drag to undock a docked toolbar. Click the Close button to close the toolbar. Click the title bar and drag to move a floating (undocked) toolbar.
To display a toolbar
"
On the View menu, select Toolbars, and then click the toolbar to display. The menu displays a check mark beside the toolbars that are already open.
To undock a toolbar
"
Click the double grab bars at the left or top of the toolbar, and then drag. Press the Ctrl key to prevent accidental redocking.
Click the toolbars title bar, and then drag. Press the Ctrl key to prevent accidental redocking.
14-8
To dock a toolbar
"
Click the toolbars title bar, and then drag to any edge of the workspace.
To close a toolbar
"
On the View menu, select Toolbars, and then click the toolbar to close, or click the toolbars Close button.
Check this box to make the grid visible. Check this box to make the grid active.
14-9
Preface
3. To turn on the grid, click Show Grid.
When the Grid Settings dialog box is not open you can turn the grid on by clicking Show Grid on the View menu.
4. To make the grid active, click Snap To Grid.
When the Grid Settings dialog box is not open you can make the grid active by clicking Snap On on the View menu.
5. Click OK. To make the grid passive
"
In the Grid Settings dialog box, clear the Snap To Grid check box, or on the View menu click Snap On to toggle the option off. There is no check mark beside the menu item when it is deselected.
In the Grid Setting dialog box, clear the Show Grid check box, or on the View menu, click Show Grid to toggle the option off.
On the View menu, click Zoom Out, or click the Zoom Out tool.
Correcting mistakes
If you change your mind about something you did, you can undo the action. If you change your mind again, you can redo the action. You can undo and redo all the operations you performed since you last saved the display, one operation at a time.
14-10
The operations you perform between opening and closing a dialog box are treated as a single operation. Operations you perform in the Property Panel are treated as separate operations.
To undo an operation
"
Undo tool
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. Alarm and information messages are not displayed, although if communications are set up, tag values are read and written. Display navigation, data logging, parameters, and macros do not work in this mode. If you want to test these features, test the application as described on page 23-3.
The Diagnostics List shows messages about system activities when you test your graphic displays. You can specify the types of messages to display in the Diagnostics List, move the list, resize it, and clear the messages in it. For information about using the Diagnostics List, see page 2-4. For information about specifying the types of messages to show in the Diagnostics List, see page 10-5.
14-11
Preface
To use test mode
"
On the View menu, click Test Display, or click the Test Display tool.
On the View menu, click Edit Display, or click the Edit Display tool.
Replace is the default display type. Replace displays are full-sized displays. They use the application window size specified in the Application Settings editor. For more information about the application window size, see page 4-10. At run time, you can have only one Replace display open at a time. When the operator opens a Replace display, this is what happens: The Replace display that was open closes. On Top displays that do not use the Cannot Be Replaced option are closed. The new Replace display opens. On Top displays that use the Cannot Be Replaced option remain open, on top of the new Replace display. If the operator attempts to open a Replace display that is already open (for example, using a goto display button to which the same display is assigned), the display does not close and RSView sends an error message to the activity log.
On Top
Use this option to create pop-up displays that open on top of the current Replace display. Usually, On Top displays are smaller than Replace displays, so the operator doesnt lose track of display navigation.
14-12
You can open multiple On Top displays. If more than one On Top display is open, the display that has focus, or had the most recent focus, appears on top. Use the Cannot Be Replaced option if you want the On Top display to remain open when a new Replace display is opened. On Top displays do not have a Close button in the title bar. Be sure to create a close button graphic object in On Top displays so the operator can close them. The operator cannot move an On Top display by dragging its title bar. The run-time position of the display is fixed (according to the position settings defined for the display).
Resizing displays
The application window size is used for all Replace displays. If you change the application window size after you have designed any graphic displays, Replace displays are resized, but any objects in the displays remain in the same position as before. On Top displays are not resized. For information about specifying the application window size, see page 4-10.
Changing the display area while working
You can change the display area of a display while youre working on it by dragging the border of the display area. For example, you might want to make the display area smaller so you can see parts of two displays in order to drag and drop objects between them. Changing the display area in this manner does not change the display size for Replace displays. For On Top displays that are sized with the Use Current Size option, dragging the border does resize the display. Another way to arrange multiple displays while working on them is to use the options on the Windows menu. For example, Tile Horizontal arranges all the open displays with as much of the top part of each display showing as possible.
Preface
Set up how the display looks. Set up how the display works at run time.
Select the display type. If you select On Top and you want the display to remain open when a new Replace display opens, select Cannot Be Replaced.
Display Number
For Replace displays, if you want the data source to open the display remotely at run time, specify a unique display number. Otherwise, accept the default number. For information about remote display changes, see page 8-5.
14-14
Security Code
To restrict access to the display, select a security code. At run time, only users with access to the security code can open the display. For information about setting up security and user accounts, see Chapter 13.
Title Bar
This option is available only for On Top displays. To use a title bar, check this box and then type the title in the box below.
Disable Initial Input Focus
Check this box if you dont want the display to have input focus when it opens. This option is useful for On Top displays, if you want the Replace display to retain the focus after the On Top display opens. The operator can still touch or click the On Top display to give it input focus.
Maximum Tag Update Rate
Select the rate at which to update tag values. Data servers use this rate to send tag values to RSView. This rate is used for the tags assigned to objects in the graphic display, including tags used in expressions and embedded variables. Tag values are also updated when the graphic display is opened.
Size
For On Top displays, specify the display size. The operator cannot resize the display at run time. Use Current SizeSelect this option to size the display using the mouse. Specify Size in PixelsSelect this option to specify the width and height manually. Type the width and height (in pixels) in the boxes.
Position
For On Top displays, specify the display position relative to the upper left inside corner of the application window. (That is, inside the windows border and below the title bar, if these are selected in the Application Settings editor.) XType the number of pixels from the left of the application windows edge.
14-15
Preface
YType the number of pixels from the top of the application windows edge.
IMPORTANT
If the operator opens the display using a goto display button that uses the Display position enabled option, the position specified by the button overrides the position specified in the Display Settings dialog box.
Background Color
Click this box to select a different background color for the display.
3. Click the Behavior tab, and then specify these settings: Startup Macro
Click the Browse button to select a macro to run while the display opens.
Browse button
A macro assigns values to tags. For more information, see page 21-1.
14-16
Shutdown Macro
Click the Browse button to select a macro to run after the display closes.
Disable Highlight When Object has Focus
Check this box if you dont want a highlight box to appear around objects when they have the input focus. (When an object has input focus it is ready to accept keyboard input.) The operator can still select and use input objects, but there is no visual indication that the object is selected. For more information about input focus, see page 16-12.
Highlight Color
Click this box to select a different highlight color for input objects. Select a color that stands out from the displays background color or wallpaper objects. For information about wallpaper objects, see the next section.
4. Click OK to save your changes and close the dialog box.
14-17
Preface
For information about selecting objects, see page 15-26.
2. On the Edit menu, select Wallpaper, and then click Convert to
Wallpaper. For a single object, you can right-click it and then click Convert to Wallpaper.
To unlock the wallpaper
"
On the Edit menu, select Wallpaper, and then click Unlock All Wallpaper. All objects in the graphic display are converted back to their original state.
14-18
To open a graphic library 1. In the Application Explorer, open the Graphics folder, and then
Open.
then click OK. The library is added to the list in the Libraries folder. You can also create a graphic display and then use Add Component Into Application to add the display to the Libraries folder.
To add a graphic display to the library 1. Create the graphic display. 2. In the Application Explorer, in the Graphics folder, right-click
.gfx file for the display to use. The Gfx folder is located in \Documents and Settings\All Users\Documents\RSView Enterprise\ME\HMI projects\Application Name where Application Name is the name of your application.
5. Click Open. The display is copied into the Libraries folder.
14-19
the .gfx file for the library to use. The Libraries folder is located in \Documents and Settings\All Users\Documents\RSView Enterprise\ME.
4. Click Open. The library is copied into the Displays folder.
14-20
14-21
Preface
store library component files. To create a new folder, click New Folder and then specify the name for the folder. Click the new folder to select it.
4. With the desired folder selected, click OK. 5. Click OK to close the Options dialog box.
14-22
You import and place .dxf and .wmf files in your displays in one step. Once imported, they are converted to drawing objects. For more information about using these types of files in your displays, see page 15-22.
The bitmap files that come with RSView Studio are stored in this directory: \Documents and Settings\All Users\Documents\RSView Enterprise\Images The images are in folders called Arrows, DIN, ISA, ListKey, and Parts.
Preface
For information about placing images in your display once youve imported them, see page 15-15. use the Image Browser to import images as needed while setting up your graphic objects. This method is useful for images that you use as labels on your graphic objects. For information about using the Image Browser, see page 14-26. copy and paste images from the graphic libraries. For information about copying and pasting objects, see page 15-52. copy and paste images from one application to another. For information about opening two applications at once, see page 4-7. If you will be using images that have more than 256 colors, before importing the images set up your video adapter to display more than 256 colors. This will ensure that the colors of imported images appear the same as in the original. For more tips about using images, see page 14-28.
14-24
To import bitmap and JPEG images 1. In the Graphics folder, right-click Images and then click Add
2. In the Files of type box, select the type of image to add. 3. Navigate to the directory where the .bmp or .jpg file is stored,
and then click the file name. Shift-click or Ctrl-click to select additional files.
4. Click Open to add the selected files to the list in the Images
folder.
14-25
Preface
To view an image that youve already imported
"
In the Images folder, double-click the image name, or right-click it and then click Open.
In an objects Properties dialog box, click the Browse button next to the Image box.
Browse button
Depending on the type of object, the Image box could be located on the General tab, Label tab, or States tab. For information about opening the Properties dialog box, see page 15-33. With one or more objects selected, in the Property Panel click the Image property, and then click the Browse button. For information about opening the Property Panel, see page 15-35.
14-26
To use the Image Browser to import and select an image 1. Click Add. 2. Navigate to the directory where the .bmp or .jpg file is stored,
and then click the file name. Shift-click or Ctrl-click to select additional files.
3. Click Open to add the images to the Select image list. The first
image you added is displayed in the Preview box. The images are also added to the Images folder in the Application Explorer. JPEG images are given the file extension .bmp in the Windows Explorer, but they are not converted to bitmaps.
4. To view another image, click it in the list.
To scroll quickly through all the images in the list, select the first image and then press the Down Arrow key.
5. When youre finished viewing images, click the image to use on
Preface
6. Click OK to close the Image Browser and use the selected image
on the objects label. To close the browser without using the selected image, click Cancel. Clicking Cancel does not remove the imported images from the Images folder.
To use the Image Browser to delete images from the application 1. In the Select image list, click the file to delete.
Clicking Cancel does not restore the images you deleted. You can also remove an image by clicking it in the Images folder and then right-clicking Remove or Delete. For more information, see page 2-15.
When deciding whether to use a bitmap image or a JPEG image, consider these points: RSView supports 256 color (grayscale) and 16 million color JPEG images only. For all other color types, use bitmaps. For large color images (16 million color, 320 x 240 pixels or larger), JPEG images load faster than bitmaps. In all other cases, bitmaps load faster than JPEGs. Color JPEG images have a much smaller file size than the equivalent bitmap image, and therefore require less disk space at run time.
Guidelines for using images
Images consume Windows resources, so when using graphic images use the lowest color depth possible. The more colors you use, the more memory is consumed, and the longer the image takes to load and display.
14-28
For example, a 24-bit bitmap image that measures 800x600 pixels consumes 1440 KB of memory. If the bitmap color depth is decreased to 256 colors, the image might have minor color loss, but the new image uses only 480 KB of memory.
these parameters:
Corn Peas
14-30
#1 #2 #3 #4
4. Use descriptive text to illustrate the objects in the display. 5. In the Main Menu display, create a display list selector for
At run time, when the operator selects the Peas state on the display list selector in the Main Menu, and presses the Enter key, the Canning Overview display opens and shows the values of the Pea_ tags. When the operator selects the Corn state, the values of the Corn_ tags are displayed.
14-31
Preface
The Canning Overview display looks like this when the operator selects the Peas state:
Summary of steps
Follow these steps to use parameter files and tag placeholders:
1. In the Parameters editor, create parameter files for each set of tags
that the display will use. In the parameter files, specify which tags to substitute for which placeholders.
2. In the Graphic Displays editor, create graphic objects and assign
14-32
For information about creating graphic objects and assigning tag placeholders, see Chapter 15.
3. In the Graphic Displays editor, create goto display buttons or
display list selectors for opening the display containing tag placeholders. Specify the appropriate parameter files in the Goto Display Button Properties dialog box or Display List Selector Properties dialog box. For information about setting up goto display buttons, see page 16-128. For information about setting up display list selectors, see page 16-142.
4. If the startup display uses tag placeholders, in the Startup editor
specify the parameter file to use with the startup display. For information about the Startup editor, see Chapter 23.
14-33
format <placeholder>=<tag name>. The placeholder consists of the # symbol and a number between 1 and 500. For example: #1=pea_weight #2=pea_level #3=pea_temp
3. To open the Tag Browser and select a tag, double-click the editor
click OK.
14-34
The RSView documentation uses the term data source as a generic term that includes all possible sources of tag data, for both data server tags and HMI tags. The data source can be memory or a device such as a programmable controller or OPC server. RSView writes values to and reads values from the data source. The data source is set up to exchange information (in the form of numeric or string values) between RSView and the machine that your application is controlling.
Identifying the tags and values to monitor
To set up local messages, determine which tags associated with machine processes to monitor, and identify the values for those tags that will trigger local messages. For information about creating tags, see Chapter 7.
address in a programmable controller that is linked to sensors on the hoist. The tag has five possible values:
The tag has this value When the hoist has this status
1 2 3 4 5
At bottom Raising Stopped between the top and bottom Lowering At top
values matching the values that will be sent to the Hoist_Status tag:
Trigger value Message
1 2 3 4 5
The hoist is ready to rise. The hoist is raising the pallet. The hoist has stopped. The hoist is lowering the pallet. The hoist is finished rising.
object. In the objects Properties dialog box, assign the Hoist_Status tag to the Value control, and select the Hoist status message file. At run time, when the operator views the graphic display containing the local message display object, the status of the hoist is displayed.
14-36
Summary of steps
Follow these steps to set up local messages:
1. In the Local Messages editor, set up the messages and their
trigger values.
2. In the Graphic Displays editor, create local message display
objects in the graphic displays in which you want the messages to appear at run time. For each local message display, assign a tag or expression to the Value control and specify the file of messages to display. For information about creating graphic objects, see Chapter 15. For information about setting up local message display objects, see page 16-190.
14-37
Type a non-zero integer value. When the Value control changes to this value, the associated message is generated. This column cannot be blank. For more information about trigger values, see page 14-37.
Message
continue at the beginning of the next line. If you want the character sequence \n to appear in the message, type \\n. This way the sequence wont be interpreted as a line break. For example, to create the message Logging to \norms bakery\logs has been interrupted. you would type this: Logging to \\norms bakery\logs has been interrupted.
14-38
Message column, and then click Edit String. If the context menu doesnt open, click in another cell, then right-click the Message column.
5. In the String Edit dialog box, position the cursor where you want
OK. For more information about creating embedded variables, see Chapter 20.
8. Repeat steps 2 through 7 to create additional messages. 9. On the File menu click Save, or click the Save tool. 10. In the Component name box, type a name for the file, and then Save tool
click OK.
11. Click Close. To delete a message
"
Select any cell in the messages row, and then press Delete. Shift-click in a column to select cells for multiple messages.
To copy a message 1. In the Message column, select one or more messages and then
press Ctrl-C (or right-click the selected cells and then click Copy).
2. In the Message column, click the cell to paste the first message in,
and then press Ctrl-V (or right-click the cell and then click Paste).
If the Value control is unassigned, the display is filled with question marks (?).
14-39
Preface
The Value control 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. For information about how values are rounded, see page 7-2. If the message is too long to fit in the object, the last displayed character is replaced with an asterisk (*). When the Value controls value is 0, the display is cleared.
Printing displays
You can print your graphic displays on the development computer. This might be useful if you want other people to review the displays before implementing the application, or if you want to keep a visual record of the displays. You can also print graphic displays at run time, to provide a printed record of process values such as trend data. For information about printing on the development computer, see page 2-17.
Create display print buttons in the graphic displays you want to print. At run time, the operator presses the buttons to print the displays. For information about creating graphic objects, see Chapter 15. Assign a tag or expression to the Remote Display Print control (in the Global Connections editor). When the value of the tag or
14-40
expression changes from 0 to a non-zero value, the current displays are automatically printed. Program the data source to trigger the change as often as you want the data printed. For more information about setting up remote display printing, see page 8-2.
Printing displays
14-41
15
Chapter
Preface
RSView comes with a complete range of configurable objects such as push buttons, list selectors, bar graphs, and trends. Some objects interact with the data source, allowing the operator to change or view tag values. For example, the operator can push a button to set a tag value to 1, causing a programmable controller to start a conveyor belt. Other objects are used to control your application. For example, there are button objects that you can use to change displays and scroll through lists. RSView also comes with drawing objects that you can use to illustrate your graphic displays. The drawing objects include text, bitmap images, and geometric and freehand shapes. RSView also supports the use of ActiveX objectsthird-party software components that you can use to control processes and display information. The ActiveX objects available depend on which third-party applications are installed on your development computer. For example, products such as Microsoft Visual Basicr, Rockwell Software RSToolst, and Microsoft Office provide ActiveX objects that are configurable in RSView Studio.
Using the tables
The tables beginning on the next page will help you choose which objects to use to control your application, machines, and process. The tables group the objects according to function, provide an overview of what each object does, and list cross-references to more detailed information about using the objects.
About controls
Many of the objects use controls to interact with the data source. A control is the link between the object and the data source. Depending on an objects function, the object may have more than one control. For example, a momentary push button has a Value control and an Indicator control. The Value control is used to set a value at the data source, and the Indicator control is used to display the data source value in your graphic display. By assigning tags or expressions to an objects controls, you control the flow of data between the application and the data source, which in turn controls your process or machines. Assign tags or expressions to an objects controls in the Connections tab of the objects Properties dialog box (see page 15-31) or in the Connections tab of the Property Panel (see page 15-35).
15-2
Text Image
Create text for labels or instructions in the display. See page 15-12. Place bitmap images in your display. For information about bitmaps, see page 14-22. For details about creating image graphic objects, see page 15-15. Draw rectangles that have borders. See page 15-17. Draw an arc (a segment of an ellipse or circles perimeter). See page 15-17. Draw ellipses and circles. See page 15-18. Draw freehand shapes as you would with a pen on paper. See page 15-19. Draw straight diagonal, horizontal, and vertical lines. See page 15-19. Draw a series of connected straight lines forming a closed shape. See page 15-19. Draw a series of connected straight lines. See page 15-19. Draw rectangles and squares. See page 15-21. Draw rectangles and squares with rounded corners. See page 15-21. Draw a filled segment of an ellipse or circle. See page 15-17.
Panel Arc Ellipse Freehand Line Polygon Polyline Rectangle Rounded rectangle Wedge
15-3
Preface
Goto display button Goto configure mode button Return to display button Close display button Display list selector Login button Logout button Display print button Print alarm history button Print alarm status button Shutdown button
Open a graphic display. For details, see page 22-4. Open RSView ME Station. For details, see page 22-5. Close a display and return to the previous display. For details, see page 22-5. Close a display. Can also send a value to a tag. For details, see page 22-6. Select a display to open from a list of displays. For details, see page 22-7. Open the Login dialog box and then log in. For details, see page 13-13. Log out of the application. For details, see page 13-13. Print the current display. For details, see page 14-40. Print a report of all the alarm messages in the alarm log file. For details, see page 16-204. Print a report of the status of alarms, including how many times each alarm was triggered and the time in alarm. For details, see page 16-212. Stop the application and shut down RSView ME Station. For details, see page 22-8.
15-4
Start a process or action by sending one value to the tag when pressed, and another value when released. For details, see page 16-42. Toggle between two values, by sending one value to the tag when pressed, and a second value the next time the button is pressed and released. This button is useful for changing a setting within a machine or process, but not for starting the machine or process. For details, see page 16-51. Start a machine or process. The button remains set (latched) until the process is complete. For example, use this button to start a bag filling machine. When the process is complete (the bag is full), the button is reset (unlatched) by the Handshake control. For details, see page 16-59. Cycle through a series of values. Each time the operator presses the button, the value for the next state is sent to the tag. When the button is in its last state, pressing it changes the button to its first state and writes out the first state value. This button is useful when you want the operator to see and select multiple options in sequence, using a single button. The button displays the current state of an operation by showing a different color, caption, or image to reflect the different states. For details, see page 16-67.
Use a group of buttons to send values to the same tag. When the operator presses one button in the group, the buttons value is sent to the tag, and the button remains highlighted as long as the tag value is the same as the buttons value. Pressing another button in the group releases the first button, and sends a new value to the tag. For details, see page 16-75. You can also use a single button to send a value to a tag. Increase or decrease the value of a tag by a specified integer or floating-point value. For example, use two ramp buttons together to create a raise/lower control. For details, see page 16-82. Select from a list of states for a process or operation. The list is highlighted to show the current state, and the operator can scroll through the list to select a different state. The value assigned to the selected state is written to the tag. For details, see page 16-181. Set the value of a tag by dragging the slider object. The pixel position of the slider is translated into a value that is written to the tag. If the value of the tag is changed at the data source, the position of the slider changes to reflect this. For information about animation, see Chapter 17. Change tag values using a third-party object connected to an analog, digital, or string tag. When the objects property value changes, the new value is written to the associated tag. For details, see page 15-23.
Ramp button
15-5
Preface
Bar graph
Numeric values in bar graph format. The bar graph increases or decreases in size to show the changing value. For details, see page 16-167. Numeric values in dial format. The gauges needle moves around the dial to show the changing value. For details, see page 16-167. A static indication of the range of values for a bar graph. For details, see page 16-167. The state of a process, on a panel that changes its color, image, or caption to indicate the current state. Each state is set up to correspond to a numeric tag value. For details, see page 16-148. The state of a process, using a monochrome image that changes color to indicate the current state. Each state corresponds to a numeric tag value. This object is useful for showing the state of a process or operation at a glance. For details, see page 16-148.
Symbol
List indicator
The state of a process, using a list of possible states with the current state highlighted. Each state is represented by a caption in the list, and corresponds to a numeric tag value. This indicator is useful if you want to view the current state, but also want to see the other possible states. For sequential processes, the list can alert the operator about what happens next in the process. For details, see page 16-148.
Trend
Historical or current numeric tag values, plotted against time or displayed in an XY plot (where one or more tags values are plotted against another tags values to show the relationship between them). For details, see Chapter 18. Display the current time and date. For details, see page 16-201. Data using a third-party object connected to an analog, digital, or string tag. The format of the data displayed depends on the object. For details, see page 15-23. The value of a tag using a pictorial representation of the current value in relation to a range of possible values. For example, use rotation animation to show the tag value as a needles position on a dial. For color animation, assign different colors to represent different values. For information about animation, see Chapter 17.
Drawing object with rotation, width, height, fill, color, or horizontal or vertical position animation
15-6
Working with lists, trends, alarm banners, and numeric input objects
Use this button With this graphic object To do this
Toggle a trend between pausing and automatic scrolling. Change the vertical axis labels for a trend to the scale for the next pen. Move the cursor back to the highlighted item in the list. Listmove to the bottom item visible in the list. Trendresume trend scrolling and move to the current (latest) data in the trend.
Select the item the cursor is pointing to. Acknowledge the displayed alarm. Listmove to the top item visible in the list. Trendpause the trend and move to the earliest data in the trend.
Pause the trend and scroll to the left or right. Listmove up or down one item in the list. Trendscroll up or down to display higher or lower values on the vertical scale. Numeric input cursor point and numeric input enable buttonramp the value up or down.
Page up / down buttons Acknowledge alarm button Acknowledge all alarms button Alarm status mode button
Lists Alarm list Alarm banner Alarm list Alarm status list
Move up or down one page in the list. Acknowledge and silence the selected alarm. Acknowledge and silence all currently unacknowledged alarms. Change the type of alarms displayed in the alarm status list, from all alarms to active alarms to past alarms. Clear the alarm in the alarm banner without removing the alarm from the alarm log file and alarm lists.
Alarm banner
Working with lists, trends, alarm banners, and numeric input objects
15-7
Preface
Use this button With this graphic object To do this
Alarm list
Remove all alarms from the alarm log file and all alarm lists. Also resets the number of times an alarm has been triggered to 0, and the accumulated time in alarm to 0, for all alarms. Reset the number of times an alarm has been triggered to 0, and the accumulated time in alarm to 0, for all alarms. Silence the audio indicator for all current alarms (Windows 2000 and Windows XP applications only).
Sort alarms button Diagnostics clear button Diagnostics clear all button Information acknowledge button
Toggle between sorting alarms in alarm lists and the alarm log file by time and by trigger value. Remove the selected message from all diagnostics lists. Remove all diagnostics messages from all diagnostics lists.
For more information about using the buttons with lists and trends, see the topics on these pages:
For information about See
Linking a button to a specific list or trend object Using buttons with alarm lists, alarm banners, and alarm status lists Using buttons with information message displays Using buttons with diagnostics lists Using buttons with trends
Page 16-14 Page 9-41 Page 12-10 Page 10-22 Page 18-25
15-8
Numeric input enable button Numeric input cursor point String input enable button Numeric display String display
Enter a numeric value and then write the value to a tag or an expression, or ramp a value at the data source. For details, see page 27-4. Enter a numeric value and then write the value to a tag or an expression, or ramp a value at the data source. For details, see page 27-4. Enter a string value and then write the value to a tag. For details, see page 27-9. Display numeric tag values. For example, display the current temperature of an oven. For details, see page 16-89. Display string tag values. For example, set up the data source to generate strings that report on the state of a process or operation, or that provide the operator with instructions about what to do next. For details, see page 16-115. Enter or display data using a third-party object connected to an analog, digital, or string tag. The format of the data entered or displayed depends on the object. For details, see page 15-23.
ActiveX object
Alarm list Alarm banner Alarm status list Diagnostics list Information message display Local message display
Multiple alarm messages, including the time the alarms are triggered and acknowledged. For details, see page 9-37. A single unacknowledged alarm message. For details, see page 9-39. The status of alarms, including how many times an alarm has been triggered and how long it has been active. For details, see page 9-40. Messages about system activity such as tag reads, tag writes, and communication errors. For details, see page 10-21. Messages about the process, prompts or instructions, and information about current states. For details, see page 12-12. Ongoing information about the status of devices or processes. For details, see page 14-34.
15-9
Preface
Before you can create an object, you must select the objects tool, either by clicking a menu item or by clicking the tool on the toolbar. When you position a cursor over a tool on the toolbar, the name of the tool is displayed in a tooltip and in the status bar.
To select a tool
"
Click the tool on the toolbar or on the Objects menu. When you click a tool, the pointer changes to show which tool is active.
Freehand tool
Text tool
15-10
Double-click an empty area in the display. Click the Select tool. Click another tool.
Select tool
For some drawing objects, double-clicking an empty area of the display creates another instance of the object. For these objects, to finish drawing, click the Select tool. For more information, see the instructions for creating drawing objects, beginning on page 15-12.
On the View menu, click Show Grid, and then click Snap On. For information about setting up the grid, see page 14-9.
The next sections describe how to create graphic objects. For information about setting up graphic objects once youve created them, see Chapter 16. For information about attaching animation to the objects you create, see Chapter 17.
drag to draw a rectangle the general size you want the object to be.
3. Double-click the object to open its Properties dialog box. 4. In the dialog box, specify how the object looks, its behavior, and
controls. For more information about the Properties dialog box, see page 15-31. You can also use the Property Panel to set up objects. For information about using the Property Panel, see page 15-35.
15-11
Preface
Creating text
Choosing fonts
You can select any font you have installed, but TrueTypet and OpenTyper fonts are recommended. These fonts can be resized easily, without losing text quality. If you run an application on a computer that does not have the fonts you used when setting up the application, Windows substitutes with the fonts that most closely match the fonts you specified.
To create a text object 1. Select the Text tool. 2. Click the mouse where you want to position the text, and then Text tool
15-12
OK. For more information about embedded variables, see Chapter 20.
6. In the General tab, specify how the text looks and the font to
use:
Font, size, and style Click a font for the text in the Font list. Type or click a size for the font in the Size box. Click B to make
15-13
Preface
the font bold, click I to make the font italic, click U to underline the text. Or, click the Browse button to open the Font dialog box and set up font attributes.
Browse button
Back color Click the color box, and then click a color for the texts background. Fore color Click the color box, and then click a color for the
text.
Size to fit Check this box to resize the text object so that all the
text you type appears in the display. Clear the box if you want the text to be cropped within the objects bounding box. For information about bounding boxes, see page 16-8.
Word wrap Check this box to wrap words to the next line if
they are too long for the width of the text object. Clear this check box to wrap on characters instead. The maximum number of characters displayed depends on the size of the texts bounding box and the font. This option does not apply if you select Size to fit.
Alignment Click a position in the grid, relative to the text
objects bounding box. In the default alignment position, the text is centered vertically and horizontally within the bounding box.
Back style Click Solid to cover the display behind the text object with a solid rectangle in the shape of the texts bounding box. Click Transparent to allow the displays background to show through between the letters.
on page 16-1.
8. To close the dialog box, click OK.
and then repeat steps 2 through 8. After youve set up one text object to look the way you want, copy and paste it to create additional text objects with the same formatting. Then edit the text of the new objects.
15-14
Creating images
Use the image graphic object to place bitmap and JPEG images in your graphic displays. Images support visibility animation only.
Using bitmaps and JPEG images
Before you can place a bitmap or JPEG image in a display, you must import the image into your application. For more information, see page 14-22.
To place a bitmap or JPEG image in a display 1. Select the Image tool. 2. Click the mouse where you want to position the image, and then Image tool
15-15
Preface
3. In the Select image list, click the image to add, and then click
OK. For more information about using the Image Browser, see page 14-26. The image is placed where you drew the rectangle, but the actual size of the image is used, rather than the size of the rectangle you drew.
4. To change the images attributes, double-click the image to open
style, and whether the image blinks. For color bitmaps, specify the background style.
6. If desired, set up the properties in the Common tab, as described
on page 16-1.
7. Click OK to close the dialog box.
15-16
Creating panels
Panels support visibility animation only.
To create a panel 1. Select the Panel tool. 2. Click the mouse where you want to position the panel, and then Panel tool
drag to draw a rectangle the general size you want the panel to be.
3. To change how the panel looks, double-click the panel to open
on page 16-1.
6. To close the dialog box, click OK.
Arc
Transparent wedge
Solid wedge
To create an arc or wedge 1. Select the Arc or Wedge tool. 2. Click the mouse where you want to position the object, and then Arc tool
drag to draw an ellipse or circle. To base the arc or wedge on a circle rather than an ellipse, hold down Ctrl while you drag. When you release the mouse button, a set of handles appears so you can decrease the angle of the wedge or arc from 360 degrees to the desired angle.
15-17
Preface
3. Click a handle, and drag the mouse to cut out part of the circle.
4. To finish drawing, right-click the object. 5. To change how the object looks, click Properties on the context
For example, if the shape you created has a solid background and you dont want the shape to be filled, select the transparent background style.
7. If desired, set up the properties in the Common tab, as described
on page 16-1.
8. To close the dialog box, click OK.
You can also use the Arc and Wedge tools to reshape arcs and wedges. For more information, see page 15-55.
drag to draw an ellipse or circle of the desired size. To draw a circle, hold down Ctrl while you drag.
3. To change how the object looks, double-click it to open the
on page 16-1.
6. To close the dialog box, click OK.
15-18
For example, if the shape you created has a solid background and you dont want the shape to be filled, select the transparent background style.
5. If desired, set up the properties in the Common tab, as described
on page 16-1.
6. To close the dialog box, click OK.
Creating lines
To create a line 1. Select the Line tool. 2. Click where you want the line to start, and then drag from the Line tool
beginning point to the end point. To draw horizontal or vertical lines, hold down Ctrl while you drag the mouse.
3. To change how the line looks, right-click the line and then click
Properties on the context menu. The Line Properties dialog box opens.
4. In the General tab, specify how the line looks. 5. If desired, set up the properties in the Common tab, as described
on page 16-1.
6. To close the dialog box, click OK.
You can use the Polyline tool to convert the line into a polyline. For more information, see page 15-55.
Preface
Polyline
Transparent polygon
Solid polygon
To create a polygon or polyline 1. Select the Polygon or Polyline tool. 2. Click and drag to create the first segment of the object. Release Polygon tool
the mouse button. To draw horizontal or vertical lines, hold down Ctrl while you drag.
Polyline tool 3. Move the mouse to where you want the next segment to end, and
then click. Repeat this step until you have completed the object.
For example, if the shape you created has a solid background and you dont want the shape to be filled, select the transparent background style.
7. If desired, set up the properties in the Common tab, as described
on page 16-1.
8. To close the dialog box, click OK.
You can use the Polygon tool to reshape lines, polygons, polylines, and rectangles. For more information, see page 15-55.
15-20
drag until the rectangle or square is the size you want. To draw a square, hold down Ctrl while you drag.
3. To change how the object looks, double-click it to open the
on page 16-1.
6. To close the dialog box, click OK.
You can use the Polygon tool to reshape the rectangle into a polygon. For more information, see page 15-55.
drag until the rectangle or square is the size you want. To draw a square, hold down Ctrl while you drag. You can change how rounded the corners are by using the handle that appears inside the rounded rectangle. Click the handle and drag inward to increase roundedness, or outward to decrease roundedness.
15-21
Preface
4. To change how the object looks, click Properties on the context
on page 16-1.
7. To close the dialog box, click OK.
For information about using the Rounded Rectangle tool to reshape the rounded rectangle, see page 15-56.
drag to draw a rectangle the general size you want the final object to be.
15-22
3. In the Files of type box, select the type of file to import. 4. Navigate to the directory where the file is stored, and then click
The file is converted to drawing objects and grouped, and then the grouped object is placed in the graphic display.
15-23
Preface
IMPORTANT
If your application will run on a PanelView Plus or Windows CE terminal, the ActiveX object must be available for both the development system (Windows 2000 or Windows XP) and PanelView Plus or Windows CE terminal (Windows CE) platforms. Make sure you install and register the Windows CE version of the ActiveX object on the run-time computer.
3. In the dialog box that opens, click the object to add to your
graphic display. The list of objects depends on the software you have installed. If an object you have installed does not appear in the list, the object might not be registered.
4. To register an object, click Register, select the object to add to the
Unregister.
6. Click OK.
15-24
The object is placed in the display. Depending on how the third party implemented the object, it might be a different size than the rectangle you drew.
7. To specify the objects properties and assign tags or expressions
to its controls, do one of the following: Right-click the object, and then click Properties to open the objects Properties dialog box. Depending on how the third party implemented the object, it might not have a Properties dialog box. If the Properties menu item is not available, use the next method. Right-click the object, and then click Property Panel.
8. In the Properties dialog box or Properties tab of the Property
on page 16-1.
10. In the Connections tab, assign tags or expressions to the objects
controls.
11. To close the Properties dialog box, click OK. To close the
Property Panel, click the Close button. For information about using the Properties dialog box, see page 15-31. For information about using the Property Panel, see page 15-35.
On the Objects menu, click Select, or on the Objects toolbar click the Select tool. The mouse pointer changes to a single arrow.
Select tool
G Click the object or group. G In the Object Explorer, click the object or group.
G Double-click the group, and then click the object. G In the Object Explorer, open the group, and then click the object.
Click the first object, and then Ctrl-click additional objects. Click and drag diagonally to draw a selection border around the objects. Ctrl-click objects outside the border to add them to the selection.
Ctrl-click the object. Hold down Ctrl and drag a selection border around the objects. Click in the drawing area, away from any objects.
15-26
On the View menu, click Object Explorer. Right-click an object, and then click Object Explorer. You can keep the Object Explorer open as you work in the Graphic Displays editor.
To view the objects in a group
"
Click the + icon next to the group name, or double-click the group name. The list expands to show the objects and groups within the group. If the list is already expanded, double-clicking the group name collapses the group.
15-27
Preface
Right-click an object to open its context menu. Click the + icon to view the objects and groups within a group.
Click the object. The object is selected in the Object Explorer and selection handles appear around the object in the graphic display.
Double-clicking an object in the Object Explorer is the same as double-clicking it in the display: For most graphic objects, including drawing objects, double-clicking the object in the Object Explorer opens the objects Properties dialog box. For ActiveX objects, the behavior of the object when double-clicked depends on the vendors implementation.
15-28
Settings.
To clear all the check boxes, right-click the list and then click Clear All. To select all the check boxes, right-click the list and then click Select All.
Preface
3. To highlight objects with one or more types of animation
assigned, click the check boxes in the By animation type list. Each object that has one or more of the specified animation types assigned will be highlighted.
4. To highlight objects that have a specific tag or expression
assigned, check By tag name, and then select a tag or expression from the list. The list displays all the tags and expressions that have been assigned to objects in the graphic display, except tags contained in embedded variables.
5. Click OK.
Objects with the specified highlight settings are highlighted in the Object Explorer and in the graphic display. Objects that use embedded variables containing the tag specified in step 4 are not highlighted in the Object Explorer (unless they match the criteria specified in steps 2 or 3).
15-30
15-31
Preface
The Properties dialog box contains tabs that you can use to set up the objects properties and controls:
In this tab Do this
General
Set up the objects appearance, audio indicator, and touch margins (for buttons), and settings that are unique to the object, such as the button action for a push button, whether to use key navigation to select the object, or whether to link a button to a specific object. For information about touch margins, see page 16-8. For information about key navigation, see page 16-12. For information about linking buttons to objects, see page 16-14.
States
Set up the states for the object, including the value for each state and whether to display a caption or image for the state. For information about checking that the states are set up the way you intended, see page 15-43.
Label
For objects that dont have multiple states, specify whether to use a caption or image on the object. For information about using the Image Browser to select an image to use in the label, see page 14-26.
Set up the objects auto repeat (see page 16-17) or Enter key handshaking (see page 16-19) settings. Set up the objects spatial properties, name, and visibility. For details, see page 16-1. Assign tags and expressions to the objects controls. For information about assigning tags and expressions, see page 15-44.
The tabs that are available depend on the object: Some objects have only General and Common tabs. If an object can have more than one state, the objects Properties dialog box contains a States tab. The trend and gauge objects have unique tabs that are not listed in the table above. The tabs that an ActiveX object has depends on the vendors implementation, though if you can assign tags or expressions to the object it has a Connections tab.
15-32
Double-click the object. Right-click the object, and then click Properties. Select the object, and then on the Edit menu, click Properties. In the Property Panel, with the object selected, click the (Custom) property and then click the Browse button.
Browse button
In the Property Panel, with the object selected, double-click the (Custom) property. In the Object Explorer, double-click the object.
15-33
Preface
This button is available once you make changes in the dialog box. Click it to apply your changes without closing the dialog box. When you change to a different tab, the changes in the current tab are applied automatically.
You can also use the Property Panel to set up an objects properties, as described next. For more information about assigning tags and expressions to
15-34
objects, see page 15-44. For details about setting up a particular object, see Chapter 16.
On the View menu, click Property Panel. Right-click an object, and then click Property Panel. Right-click an empty area of the display, and then click Property Panel. You can keep the Property Panel open as you work in the Graphic Displays editor. You can drag the panels borders to make the Property Panel larger or smaller.
Setting up properties
Use the Property Panels Properties tab to set up the properties of the selected object or objects.
Viewing properties for multiple objects
If multiple objects are selected, you can specify which properties to display in the Property Panel: To view all the properties of all the selected objects, click All Properties. To view only the properties that are common to the selected objects, click Shared Properties.
Viewing properties for group objects
When you first select a group object, the Property Panel displays the group properties only, such as the groups name and height. To view and edit the properties of the individual objects within the group, click Include Grouped Objects.
15-35
Preface
When you click Include Grouped Objects, if Shared Properties is selected, only the properties that are common to the selected objects are displayed. To view all the properties of all the objects in the group, click All Properties. If different objects in the group have different values assigned to a property, the cell next to the property name is blank.
15-36
If only one object is selected, this box shows the objects name and type.
If a group object is selected, click this button to edit the properties of the objects within the group.
.. or drag the splitter bar to see more properties. This box describes the selected property and indicates the type of data the property value uses.
Click for help on the Property Panel. To set up an objects properties 1. Select one or more objects. 2. Click the Properties tab if it is not already selected. 3. Double-click a propertys row to select the property.
15-37
Preface
If the property has a list of values associated with it, pressing Enter or double-clicking in the propertys row changes the propertys value to the next available value. A down-arrow appears in the right column. Click it to see the options for the property. If the property has a dialog box (such as the Font dialog box) associated with it, double-clicking the row opens the dialog box. Or, a Browse button appears in the right columnclick it to open the dialog box.
Browse button
If the selected object has a dialog box for setting up properties, a (Custom) property appears in the first or second row of the grid. To open the objects Properties dialog box, double-click the row, or click the Browse button.
4. Type the new value for the property, select one from the list, or
The selected object is updated with the new property value and its appearance in the display changes, if appropriate.
The arrows indicate the direction in which the data flows between the control and the data source: A right arrow indicates that the control sends values to the data source. The control is a write control. A left arrow indicates that the data source sends values to the control. The control is a read control. A double arrow indicates that the data flows in both directions. The control is a read-write control.
15-38
This box describes the selected control and indicates the type of data the control uses.
The arrows show the direction in which data flows between the control and the data source. If the control is a read control (arrow points left), data flows from the data source to the object. If the control is a write control (arrow points right), data flows from the object to the data source. If the control is a read and write control (double-headed arrow), data flows in both directions.
To assign tags and expressions to an objects controls 1. Select an object. 2. Click the Connections tab if it is not already selected. 3. Click a controls row to select it. 4. In the Tag / Expression column, type a tag name or expression. Browse button in the Exprn column
You can assign an expression only if the Browse button is available in the Exprn column. To open the Tag Browser and select a tag, click the Browse button in the Tag column. For information about using the Tag Browser, see page 7-24.
15-39
Preface
To open the Expression editor and use it to create an expression, click the Browse button in the Exprn column. For information about creating expressions, see Chapter 19. For the numeric input enable buttons Optional Expression control, you can assign write expressions only. For information about write expressions, see page 19-21.
5. Press Enter or click another row to save the tag or expression
assignment. For more information about assigning tags and expressions to objects, see page 15-44.
To delete a tag or expression assignment
"
The number of color properties an object has depends on the type of object and how you set up it. For example, a button with states can use up to seven different colors for each state. When you select colors using the color toolbars, some properties are assigned the foreground color and some are assigned the background color. Other color properties, such as Fill color, cannot be assigned using the color toolbars (instead, use the objects Properties dialog box or the Property Panel). This table lists the color properties you can assign using the color toolbars:
Property Foreground color Background color
Back color Background color Border color Caption color Caption back color Fore color n n n
n n
15-40
Property
Foreground color
Background color
Foreground color Image color Image back color Legend color Needle color Pattern color
n n n n n n
For objects with states, the selected color is applied to the current states color properties only. In the Property Panel, properties that apply to states have St_ at the beginning of the property name.
When to select colors using the toolbars
For all the drawing objects except image and panel, you can select colors from the color toolbars before you draw an object (either before or after you click the objects tool). The other objects are always drawn using their default colors, but you can select the objects and then click the toolbars to change their colors. The toolbars are especially useful for quickly assigning the same colors to multiple objects.
To display a color toolbar
"
On the View menu, select Toolbars, and then click Foreground Colors or Background Colors.
On the View menu, select Toolbars, and then click Foreground Colors or Background Colors, or click the toolbars Close button.
You can also assign colors using an objects Properties dialog box or the Property Panel. Use one of these methods if you want to assign separate colors to different foreground or background color properties, or to choose colors that dont appear in the toolbars. For example, if you want to use a dark blue background color for a button, with a light blue background color for its image label, you
15-41
Preface
must assign the colors separately. Using the toolbar would assign the same color to both properties. Also use the Properties dialog box or Property Panel to change the default colors for properties that cannot be assigned using the color toolbars.
Naming objects
Objects (and groups of objects) are automatically given a name and number when you create them, for example NumericInputEnable4. If desired, you can assign a more meaningful name to the object, for example Conveyor_speed_input. The object name appears in the status bar, diagnostics bar, Property Panel, and Object Explorer in RSView Studio, and in diagnostics log messages at run time.
To name an object in the Property Panel 1. Select the object. 2. In the Property Panel, click the Properties tab. 3. Double-click the (Name) row, and then type the name.
The name must start with a letter, and cannot contain spaces. You can use the underscore character (_).
To name an object in its Properties dialog box 1. Double-click the object to open its Properties dialog box. 2. Click the Common tab. 3. In the Name box, type the name.
The name must start with a letter, and cannot contain spaces. You can use the underscore character (_).
To name a group object 1. Select the group object. 2. In the Property Panel, click the Properties tab. 3. Double-click the (GroupName) row, and then type the name.
The name must start with a letter, and cannot contain spaces. You can use the underscore character (_).
15-42
To view an objects states using the States toolbar 1. Select one or more objects. 2. In the States toolbar, select the state to view.
If you selected multiple objects, the toolbar shows the states that are common to all the objects.
3. To view the next state, select it in the toolbar or press the Down
Arrow key on your keyboard. You can also use these keys to select the next state to view: To view the previous state, press the Up Arrow key. To view the first state, press the Home key. To see the last state, press the End key.
To view an objects states using the Property Panel 1. Select one or more objects. 2. In the Property Panel, click the State property and then select the
state to view.
3. To view the next state quickly, double-click the row, or press the
15-43
Preface
Assigning tags
To assign tags to a graphic object, use one of these methods
Double-click the object to open the objects Properties dialog box, and then assign tags in the Connections tab.
Select the object and then assign tags in the Connections tab of the Property Panel.
15-44
Select the object, and then on the Edit menu click Connections. Assign tags in the Connections tab of the Properties dialog box. Right-click the object, and then click Connections. Assign tags in the Connections tab of the Properties dialog box. For information about: using the Tag Browser, see page 7-24. using the Properties dialog box, see page 15-31. using the Property Panel, see page 15-35.
15-45
In the Tag / Expression column, type the expression. In the Exprn column click the Browse button and then create an expression in the Expression editor. Use this method if you want to check the expression syntax, or to use multiple lines for the expression. For more information about expressions, see Chapter 19.
15-46
You can replace: a tag name (with or without folder names). a folder name. the text in an expression. Tag substitution does not replace the tags contained in embedded variables. To change the tags in embedded variables, edit the variables directly. For information about editing embedded variables, see page 20-8.
To replace tags 1. Select one or more objects.
To select all the objects in the display, on the Edit menu, click Select All.
2. On the Edit menu, click Tag Substitution.
To replace the tags for a single object, you can right-click it and then click Tag Substitution.
3. In the Search for box, type the name of the tag, folder, or
expression to replace, or click an item in the list box. The list box lists the tags and expressions assigned in the graphic display.
15-47
Preface
Browse button
To open the Tag Browser and select a tag, click the Browse button.
4. In the Replace with box, type the name of the new tag, folder, or
expression. To open the Tag Browser and select a tag, click the Browse button.
5. To confirm each replacement before it is made, check Confirm
replacements. To automatically replace all occurrences of the tag, folder, or expression for the selected object or objects, leave the box unchecked.
6. Click Replace.
If the Confirm Replacements check box is not selected, all occurrences of the text in the Search for box are automatically replaced with the text in the Replace with box (for the selected object or objects). If the Confirm Replacements check box is selected, the Confirm Replacement dialog box opens, showing the objects in which the text is used. The first object is selected in the graphic display.
To move to the next object that uses the text string, click Next. To replace the text for all the objects in the dialog box, click Replace All.
8. When all replacements are done, click Cancel to close the
Confirm Replacements dialog box. (It closes automatically if you click Replace All.)
9. To close the Tag Substitution dialog box, click Close.
15-48
A tag placeholder is the cross-hatch character (#) followed by a number from 1 to 500, as shown in this example:
15-49
Preface
The tag placeholder can replace any part of a tag name, including folder names. For example, you could create a parameter file specifying that the tag placeholder #1=Folder1. You could assign the folder and a tag name to a graphic objects control: #1\Tag1. You can use tag placeholders in: the Connections tab of an objects Properties dialog box. the Connections tab of the Property Panel. the Expression box in the Animation dialog box. anywhere that you can insert an embedded variable. For information about embedded variables, see Chapter 20.
To create a tag placeholder
"
Type the cross-hatch character followed by a number (no space in between). For example, #1.
Moving objects
You can move objects using the mouse or the keyboard. The keys give you fine positioning, allowing you to move objects in small increments. You can also use the grid to position objects precisely. Another option is to position an object using the objects Top and Left properties in the Property Panel. For information about using the Property Panel, see page 15-35. Once youve moved objects into position, you might want to align other objects with them, or lock them into place. For information about aligning objects, see page 15-61. For information about locking objects into position, see page 15-66.
15-50
On the View menu, select Snap On. A check mark appears beside the menu item when the option is selected.
handles).
3. Drag the objects to the desired position.
If you selected several objects, dragging one of the objects moves all the selected objects. The objects maintain their position relative to each other.
To move objects in small increments using the keyboard 1. Select one or more objects. 2. Place the pointer on the object, not on its edge or handle. 3. Hold down Shift while you press an arrow key.
To adjust the amount of the increment, first hold down the Shift key and press the + or - keys on the keyboards numeric keypad.
4. Release the Shift key when the object is in place.
Copying objects
To copy objects, you can: drag and drop objects in the same display. drag and drop objects between displays, or from a graphic library to a display. copy and paste objects. When an object is copied, any animation attached to the object is also copied. If a group is copied, the new copy of the group can be ungrouped to individual objects, just like the original.
15-51
Preface
To drag objects in the same display 1. Select one or more objects. 2. Drag the object, and then press Ctrl.
and then the Ctrl key. A new copy of the object is created. If you selected several objects, dragging one of the objects copies all the selected objects. The objects maintain their position relative to each other.
To drag objects between displays 1. Open both displays (or a graphic library and a display). 2. Position or resize the displays so both are visible.
If you selected several objects, dragging one of the objects copies all the selected objects. The objects maintain their position relative to each other.
Copying and pasting objects
You can cut, copy, or paste objects using the menu items on the Edit menu or the buttons on the toolbar. Once you cut or copy an object, you can paste it anywhere in the drawing area of: the same graphic display. a graphic display in the same or a different application. a graphic library in the same or a different application.
To cut or copy objects 1. Select one or more objects. 2. On the Edit menu, click Cut or Copy, or click the Cut or Copy
To remove the original object, click Cut. To retain the original object, click Copy.
To paste objects 1. Click in the display or library to paste to. 2. On the Edit menu, click Paste, or click the Paste tool on the
Graphics toolbar.
Paste tool
Duplicating objects
When an object is duplicated, any animation attached to the object is also duplicated. If a group is duplicated, the new copy of the group can be ungrouped to individual objects, just like the original.
To duplicate objects 1. Select one or more objects. 2. On the Edit menu, click Duplicate, or click the Duplicate tool on
The duplicated object is placed slightly offset from the original. Duplicate also duplicates actions. For example, if you duplicate an object, move it, and then duplicate it again, the second Duplicate will, in one step, duplicate and move the object. This is useful for creating a series of objects with an equal distance between them.
Select object.
Duplicate object.
Move object.
Duplicate again.
Resizing objects
You can resize objects using the mouse or using the keyboard. The keys let you resize objects in small increments. You can also use the grid to resize objects precisely. Another option is to size an object using the objects Height and Width properties in the Property Panel. This method is especially
15-53
Preface
useful for quickly resizing multiple objects to the same size. For information about using the Property Panel, see page 15-35. When you resize text objects, the font size is adjusted to fit the new object size as closely as possible.
To automatically align objects to the grid as you resize them
"
On the View menu, select Snap On. A check mark appears beside the menu item when the option is selected.
Drag a side handle to change width or height, or a corner handle to change both.
For perfect circles and squares, press Ctrl and hold the key down while you drag a corner handle. To maintain the objects original proportions (width to height), press Shift and hold the key down while you drag a corner handle.
To resize an object in small increments using the keyboard 1. Select the object. 2. Place the pointer on one of the handles.
desired size. To adjust the amount of the increment, first hold down the Shift key and press the + or - keys on the keyboards numeric keypad.
15-54
Edit.
Polygon tool
The cursor changes to the Polygon tool, and handles appear on the object.
3. Move the cursor over any line or corner of the object.
Dragging from a point along the line (between corners) creates a new angle between the two corners.
5. To delete an angle, position the pointer at the tip of the angle, and
click Edit.
Arc tool
The cursor changes to the Arc or Wedge tool, and handles appear on the object.
3. Place the pointer on one of the handles.
A cross-hair appears.
Wedge tool 4. Drag the handle until the object is the desired shape.
15-55
Preface
To reshape rounded rectangles 1. Select the rounded rectangle. 2. Click the Rounded Rectangle tool, or right-click the object and
Deleting objects
If you accidentally delete an object, use the Undo tool to restore it.
To delete objects Undo tool 1. Select one or more objects. 2. On the Edit menu, click Delete, or press Delete on the keyboard. To delete all the objects in the display
"
The handles around each object are replaced by a set of handles around the group.
15-56
... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...
Select the objects. To ungroup objects 1. Select the group of objects to ungroup.
Group them.
The handles around the group are replaced with handles around each object.
Ungroup it.
Ungrouping deletes any animation attached to the group, because the group no longer exists. However, animation attached to the individual objects that were in the group remains active.
15-57
Edit. A hatched border appears around the group. When the hatched border is around the group, you are in group edit mode. In this mode, you can select individual objects in the group and modify them. You can also add new objects to the group.
15-58
Double-click to edit the group. A hatched border appears around the group.
Click again to select an object in the group. Handles appear to indicate the object is selected.
You can also use the Object Explorer to select objects within the group. For details, see page 15-27. The status bar and Object Explorer indicate which object or group is selected.
3. Make your changes to the object.
You can change the selected objects shape, size, or position, or use the objects Properties dialog box or the Property Panel to edit the objects properties.
4. If desired, create new objects inside the hatched border. 5. To stop editing, click outside the group.
Arranging objects
You can arrange objects (or groups of objects) in a number of ways. You can: layer objects by moving them in front of or behind other objects. align objects with each other and with the grid. space objects horizontally or vertically. flip drawing objects horizontally or vertically. rotate drawing objects. lock objects into position.
15-59
Arranging objects
To select an object thats behind another object, place your pointer on the front object, click once, pause, and then click again. Do not double-click and do not move the mouse. You can also select a concealed object easily by clicking the object in the Object Explorer.
2. On the Arrange menu, click Bring to Front, or click the Bring to
Front tool.
Bring to Front tool
Select the object in back. To send an object to the back 1. Select an object.
Back tool.
Send to Back tool
15-60
Aligning objects
You can align objects (or groups of objects) with each other and with the grid.
To align objects 1. Select the objects you want to align. 2. On the Arrange menu, click the appropriate menu item, or click a
Align Left
Align Center
Align Right
Align Top
Align Middle
Align Bottom
Align to Grid
Grid
Arranging objects
15-61
Preface
To automatically align objects to the grid as you create or move them
"
On the View menu, select Snap On. A check mark appears beside the menu item when the option is selected.
Select objects.
Align left.
Select objects.
Align right.
Select objects.
Align center.
15-62
Align middle.
Align bottom.
Spacing objects
With Space Vertical and Space Horizontal, objects (or groups of objects) are moved vertically or horizontally to have the same amount of space from the center point of each object.
To space objects 1. Select the objects you want to space. 2. On the Arrange menu, click a Space menu item, or click a tool on
Places the centers of the selected objects an equal distance apart horizontally. Places the centers of the selected objects an equal distance apart vertically.
Arranging objects
15-63
Select objects.
Space horizontally.
15-64
Select object.
Flip vertical.
Select object.
Flip horizontal.
appears in the middle of the object. This is the anchor point that is used as the center of rotation.
3. To move the center of rotation, click the cross-hair and drag it to
a new anchor position. The anchor can be inside or outside the object.
15-65
Arranging objects
Preface
You can place the crosshair inside an object...
4. Click an edge of the object and drag in the direction you want to
rotate it. To rotate the object in five-degree increments, press Ctrl while you drag.
5. When the object is in the desired position, release the mouse
button.
15-66
To convert objects to wallpaper 1. Select the objects to convert. 2. On the Edit menu, select Wallpaper, and then click Convert to
Wallpaper. For a single object, you can right-click it and then click Convert to Wallpaper.
To unlock the wallpaper
"
On the Edit menu, select Wallpaper, and then click Unlock All Wallpaper. All objects in the graphic display are converted back to their original state.
Arranging objects
15-67
16
Chapter
Preface
name visibility For ActiveX and trend objects, you can also set up these properties: focus highlight key navigation
16-2
To set up the common properties for an object 1. Click the Common tab. 2. Fill in the boxes as follows. Height
Type the number of pixels for the height of the object. The height includes the objects borders. If the objects shape is a circle or ellipse, the height applies to the objects bounding box. For information about the bounding box, see page 16-8.
Width
Type the number of pixels for the width of the object. The width includes the objects borders. If the objects shape is a circle or ellipse, the width applies to the objects bounding box.
Top
Type the number of pixels from the top of the display to position the object. You can type a positive or negative number. If you use a negative number, part or all of the object is off the display. If the objects shape is a circle or ellipse, the top position applies to the objects bounding box.
Left
Type the number of pixels from the left of the display to position the object. You can type a positive or negative number. If you use a negative number, part or all of the object is off the display. If the objects shape is a circle or ellipse, the left position applies to the objects bounding box.
Name
Type a name for the object. The name must start with a letter, and cannot contain spaces. You can use numbers and the underscore character (_) in the name. If you dont specify a name for the object, the default name is used in the status bar, Diagnostics List, Property Panel, and Object Explorer in RSView Studio, and in diagnostics messages at run time.
Visible
Click this box to make the object visible. Clear the box if you dont want the object to appear at run time.
16-3
Preface
If you are using visibility animation, the visibility animation setting overrides this option.
3. For ActiveX and trend objects, specify these options as well: Focus highlight
Check this box to display a highlight box around the ActiveX or trend object when it has focus at run time. Clear the check box if you dont want the object to display a highlight box at run time. For more information about focus highlight, see page 16-12.
Key navigation
Check this box to allow the operator to navigate to the ActiveX or trend object using the keyboard and give the object focus. Clear the check box if you dont want the operator to navigate to the object using the keyboard. For more information about keyboard navigation, see page 16-12.
16-4
16-5
Preface
2. In the Select state list, click the state. 3. Specify options for the state. 4. Repeat steps 2 and 3 for each additional state, including the
copy.
2. Click the Copy button.
3. In the Copy State Settings dialog box, select the settings to copy.
Clear the check boxes for settings you dont want to copy, or click Clear All to clear all the check boxes and then specify the settings to copy.
16-6
4. Click OK. 5. In the Select state box, click the state to which to paste the
settings.
6. Click the Paste button.
the settings to the selected (current) state only, or to all the objects states.
8. Click OK.
Preface
use buttons to work with lists and trends. repeat a buttons action by pressing and holding it. ensure that tag values are read by the data source before sending new values.
If the objects shape is a circle or ellipse, the touch margin applies to the objects bounding box, not the objects border. The bounding box is an invisible square or rectangle that surrounds the object. When you select the object, the selection handles show the location of the bounding box.
16-8
In the General tab of the buttons Properties dialog box, type the number of pixels for the touch margins in the Horizontal margin and Vertical margin boxes. In the Properties tab of the Property Panel, type the number of pixels for the HorizontalMargin and VerticalMargin properties.
Preface
If your application will run in Windows 2000 or Windows XP, the keyboard contains the function keys F1 to F12 only. The remaining function keys are associated with these key combinations:
For this function key Use this key combination
F13 F14 K1 - K12 K13 K14 K15 K16 K17 K18 K19 K20
Left Shift-F1 Left Shift-F2 Right Alt-F1 to Right Alt-F12 Right Shift-F1 Right Shift-F2 Right Shift-F3 Right Shift-F4 Right Shift-F5 Right Shift-F6 Right Shift-F7 Right Shift-F8
At run time, the operator presses the key combination to activate the object to which the function key is assigned.
To assign function keys to buttons 1. On the Edit menu, click Key Assignments, or right-click a
16-10
The list shows all the buttons in the graphic display to which a function key can be assigned, and indicates which keys have already been assigned.
2. In the Select an object list, click the button to which to assign
a function key.
3. In the Select a key assignment box, select the key to assign.
The assigned key appears after the button name in the list.
4. Repeat steps 2 and 3 to assign keys to the other buttons in the
display.
5. Click OK to close the dialog box. To change the function key assigned to a button
"
In the Key Assignment Properties dialog box, select the button and then select a new function key.
16-11
Preface
Highlight box
For ActiveX and trend objects, you can specify whether or not to display a highlight box in the objects Properties dialog box, on the Common tab. For more information about setting up options on the Common tab, see page 16-1. If the Disable Highlight When Object has Focus box is checked (in the Display Settings dialog box), that setting overrides the setting you specify in the Common tab.
16-12
Move from the upper left to the lower right. Move from the lower right to the upper left. Move left, right, up, or down
In the Properties tab of the Property Panel, set the KeyNavigation property to False for off or True for on. For list objects, alarm banners, numeric input cursor points, numeric input enable buttons, and string input enable buttons, in the General tab of the objects Properties dialog box, clear the Key navigation box for off. Check the box for on. For ActiveX and trend objects, in the Common tab of the objects Properties dialog box, clear the Key navigation box for off. Check the box for on.
16-13
Preface
16-14
These move up and move down buttons work with all the objects in the display.
16-15
Preface
Each object has its own set of buttons. To link a button to a specific object using the buttons Properties dialog box 1. Double-click the button to open its Properties dialog box. 2. In the General tab, in the Send press to box, select Linked
Object.
3. To select from a list of all the objects in the display that you can Browse button
link the button to, click the Browse button next to the Linked object box.
16-16
4. Click the name of the object to link the button to, and then click
OK.
5. Click OK to close the buttons Properties dialog box. To link a button to a specific object using the Property Panel
"
Once you have linked buttons to an object, you might want to turn off the objects key navigation, since this option is no longer needed. For details, see page 16-13.
Preface
You can use auto repeat with these buttons:
For this button Each button press does this
Multistate push
Sends the value for the next state to the data source. External changes to the Value control are not recognized when the button is in auto repeat mode. Sends the new ramped value to the data source. External changes to the Value control are not recognized when the button is in auto repeat mode. Moves the highlight up an item in the list, scrolls up in the trend, or ramps the numeric input cursor point or numeric input enable button value. Moves the highlight down an item in the list, scrolls down in the trend, or ramps the numeric input cursor point or numeric input enable button value. Moves the highlight up a page in the list. Moves the highlight down a page in the list. Scrolls the trend to the left. Scrolls the trend to the right.
Ramp
Move up
Move down
For each button that uses auto repeat, you can specify these properties: Auto repeat ratethe number of times per second a button press is registered when the button goes into auto repeat mode. The default rate is 0, which means that auto repeat is turned off. Auto repeat delaythe length of time the button has to be pressed and held down before auto repeat starts.
To set up auto repeat for a button, use one of these methods
In the Timing tab of the buttons Properties dialog box, specify the Auto repeat rate and Auto repeat delay properties. In the Properties tab of the Property Panel, specify the AutoRepeatRate and AutoRepeatDelay properties.
16-18
To set up auto repeat for arrow keys on the RAC6182 or VersaView CE terminal
"
In the Windows Control Panel, double-click Keyboard Settings. Specify the auto repeat settings in the dialog box that opens.
To set up auto repeat for arrow keys on the PanelView Plus or VersaView CE terminal 1. In the RSView ME dialog box, click Terminal Settings. 2. Double-click Input Devices. 3. In the Input Devices dialog, double click Keyboard. 4. In the Keyboard dialog, double-click Key Repeat Settings. 5. In the Keyboard Repeat Settings, click a repeat delay, and then
Ensuring values are read by the data source before sending new values
To ensure a value is read by the data source before the operator sends a new value, use Enter key handshaking. While Enter key handshaking is in effect for an object, the operator cannot send a new value to the objects Value control. You can use Enter key handshaking with these graphic objects: control list selector numeric input enable button string input enable button numeric input cursor point If Enter key handshaking is in effect for one of these objects, the operator can still provide input to other objects in the graphic display. If the graphic display is closed while Enter key handshaking is in effect, the handshaking is cancelled.
Ensuring values are read by the data source before sending new values
Preface
There are two ways you can use Enter key handshaking: to hold the value at the data source for a specific period of time. to hold the value at the data source until the data source notifies RSView that the value has been read. Choose the method that best suits your application needs and communication system.
the Value control and the Enter key control delay timer begins timing. (The use of a delay is optional.)
2. If you specify an Enter key control delay, when the time is up,
the Enter control is set to 1. If you dont use the delay, the Enter control is set to 1 as soon as the operator presses Enter. As long as the Enter control is set to 1, the operator cannot send new values to the data source.
3. When the Enter control is set to 1, the Enter key hold time
reset to 0 and the operator can send a new value to the Value control.
To set up Enter key handshaking to hold the value for a specific period of time 1. In Timing tab of the objects Properties dialog box, specify the
Enter key control delay (optional) and Enter key hold time properties.
2. In the Connections tab, assign a tag to the Enter control. A
digital tag is recommended. You can also use the Property Panel to specify the properties and assign a tag to the Enter control.
16-20
Holding the value until the data source acknowledges that it has read the value
To set up an objects Enter key handshaking so that the value at the Value control is held until the data source notifies RSView that it has read the value, use two controls: the Enter control and the Enter handshake control. Instead of using an Enter key hold time, specify an Enter key handshake time. You must also specify the Handshake reset type. You can use an Enter key control delay, if desired.
How the Handshake reset type works
How the Enter handshake control resets the Enter control depends on which Handshake reset type you select:
With this Handshake reset type The Enter control is set to 0 when
Non-zero Value
The Enter handshake control has a non-zero value. If the Enter handshake control already has a non-zero value when the value is sent to the Value control (or when the Enter key control delay has expired, if the delay is used), then the Enter control is not set to 1, and Enter key handshaking does not take place.
Set up the data source to send a non-zero value to the Enter handshake control when it has read the new value at the Value control, and then to reset the Enter handshake control to 0. If the Enter key handshake time expires before the Enter handshake control resets the Enter control, an error message is sent to the Diagnostics List.
How handshaking works
If you use the Enter handshake control, handshaking works like this:
1. When the operator presses the Enter button, the value is sent to
the Value control and the Enter key control delay timer begins timing. (The use of a delay is optional.)
16-21
Ensuring values are read by the data source before sending new values
Preface
2. If you specify an Enter key control delay, when the time is up,
the Enter control is set to 1. If you dont use the delay, the Enter control is set to 1 as soon as the operator presses Enter. As long as the Enter control is set to 1, the operator cannot send new values to the data source. If the Handshake reset type is Non-zero Value, the Enter handshake control must be 0 when the delay expires in order to set the Enter control to 1.
3. When the Enter control is set to 1, the Enter key handshake
time expires or until reset by the Enter handshake control, whichever happens first.
5. The Enter control is reset to 0 and the operator can send a new
these properties: Enter key control delay (optional) Enter key handshake time Handshake reset type
2. In the Connections tab, assign these controls:
handshake control when it has read the new value at the Value control, and then to reset the Enter handshake control to 0. You can also use the Property Panel to specify the properties and assign tags to the controls.
16-22
Return to display button Login button Logout button Display print button Shutdown button Goto Configure Mode button Acknowledge all alarms button Clear alarm history button
Close a display and return to the previous display. For details, see page 22-5. Open the Login dialog box and then log in. For details, see page 13-13. Log out of the application. For details, see page 13-13. Print the current display. For details, see page 14-40. Shut down the application and exit RSView ME Station. For details, see page 22-8. Stop the application and open the RSView ME Station dialog box. For details, see page 22-8. Acknowledge and silence all currently unacknowledged alarms. For details, see page 9-45. Remove all alarms from the alarm log file and all alarm lists. Also resets the number of times an alarm has been triggered to 0, and the accumulated time in alarm to 0, for all alarms. For details, see page 9-45. Reset the number of times an alarm has been triggered to 0, and the accumulated time in alarm to 0, for all alarms. For details, see page 9-46. Silence the audio indicator for all current alarms (Windows 2000 and Windows XP applications only). For details, see page 9-45. Toggle between sorting alarms in the alarm log file and alarm lists by time and by trigger value. For details, see page 9-46. Remove all diagnostics messages from all diagnostics lists. For details, see page 10-22. Acknowledge the current message in the information message display. For details, see page 12-10.
Reset alarm status button Silence alarms button Sort alarms button
16-23
Preface
You can set up any combination of these buttons in a graphic display. For example, you might want to put a login, logout, and shutdown button in the same graphic display. Create and then set up each button separately. For information about setting up the goto display button, see page 16-128.
16-24
tab, as described in the sections that follow. When you are finished, click OK.
16-25
Clear the check box if you want the buttons border to have a different color than the buttons background, and then choose a Border color.
Back color Click the color box, and then click a color for the buttons background. Border color Click the color box, and then click a color for the
buttons border.
Back style Click Solid to cover objects or the display background
behind the button. Click Transparent to allow objects or the display background behind the button to show through.
Pattern style Click a pattern style for the button. Pattern color Click the color box, and then click a color for the
pattern.
Highlight color Click the color box, and then click a color for the selection border that appears around the button when it is pressed. If the button does not use a border, the highlight color is not visible when the button is pressed. Blink Check this box to make the button blink at run time. Clear
the check box to prevent the button from blinking at run time.
Shape Click a shape for the button.
touch-insensitive margin inside the objects left and right edges. For information about using touch margins, see page 16-8.
16-26
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.
16-27
Preface
Caption Type the text you want to appear on the button. If you
dont want any text on the button, leave the Caption box blank. To use an embedded variable in the caption, click Insert Variable, and then click the type of variable to use. Make your choices in the dialog box that opens, and then click OK. For more information about embedded variables, see Chapter 20.
16-28
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, and then click a color for the
captions text.
Caption back color Click the color box, and then click a color for
the captions background. The captions background color is visible only if the Caption back style is Solid.
Caption blink Check this box to make the caption blink at run
time. Clear the check box to prevent the caption from blinking at run time.
Word wrap Check this box if you want the caption to continue on
the next line at the beginning of a new word. If this box is not checked, the caption continues on the next line whenever the maximum text length is reached, even if this occurs in the middle of a word. The maximum text length depends on the width of the object and the font size.
Alignment Click a position in the grid, relative to the button. In
the default alignment position, the text is centered vertically and horizontally on the button.
Caption back style Click Solid to cover the buttons background (such as a graphic image) behind the text. Click Transparent to allow the buttons background to show through between the letters.
16-29
Preface
Image Type the name of the image file to display on the button, or
If you click the Browse button, the Image Browser opens. Click an image in the Select image box, and then click OK.
Image back style Click Solid to cover the buttons background
behind the image. Click Transparent to allow the buttons background to show through spaces in the image.
Image color Click the color box, and then click a color for a monochrome image. You cannot change the color of grayscale or color images. Image back color Click the color box, and then click a color for the background of a monochrome image. You cannot change the background color of grayscale or color images. Image blink Check this box to make a monochrome image blink at
run time. Clear the check box to prevent the image from blinking at run time. You cannot make grayscale or color images blink.
Image scaled Check this 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 if it is too large to fit on the button. If the buttons shape is a circle or ellipse, the image is shaped to fit inside the circle or ellipse.
Alignment Click a position in the grid, relative to the button. In
the default alignment position, the image is centered vertically and horizontally on the button.
16-30
Using buttons with lists, trends, alarm banners, and numeric input objects
The button graphic objects in the table are useful for scrolling through and selecting items in lists and trends. You can also use some of the buttons with the alarm banner, numeric input cursor point, and numeric input enable button.
Use this button With this graphic object To do this
Toggle a trend between pausing and automatic scrolling. Change the vertical axis labels for a trend to the scale for the next pen. Move the cursor back to the highlighted item in the list. Listmove to the bottom item visible in the list. Trendresume trend scrolling and move to the current (latest) data in the trend.
Enter button
Select the item the cursor is pointing to. Acknowledge the displayed alarm. Listmove to the top item visible in the list. Trendpause the trend and move to the earliest data in the trend.
Home button
Pause the trend and scroll to the left. Pause the trend and scroll to the right. Listmove down one item in the list. Trendscroll down to display lower values on the vertical scale. Numeric input cursor point and numeric input enable buttonramp the value down.
Using buttons with lists, trends, alarm banners, and numeric input objects
16-31
Preface
Use this button With this graphic object To do this
Move up button
Listmove up one item in the list. Trendscroll up to display higher values on the vertical scale. Numeric input cursor point and numeric input enable buttonramp the value up.
Page down button Page up button Acknowledge alarm button Clear alarm banner button
Move down one page in the list. Move up one page in the list. Acknowledge and silence the selected alarm. For details, see page 9-44. Clear the alarm in the alarm banner without removing the alarm from the alarm log file and alarm lists. For details, see page 9-46. Change the type of alarms displayed in the alarm status list, from all alarms to active alarms to past alarms. For details, see page 9-47. Remove the selected message from all diagnostics lists.
Diagnostics list
Working with lists, trends, alarm banners, and numeric input objects
The buttons in the table work with these graphic objects: control list selectors display list selectors diagnostics lists alarm lists, alarm banners, and alarm status lists trends numeric input cursor points and numeric input enable buttons You can set up any combination of these buttons in a graphic display that contains a list object or trend. Create and then set up each button separately.
16-32
See
Using buttons with alarm lists, alarm banners, and alarm status lists Using buttons with diagnostics lists Using buttons with trends
16-33
Preface
tab, as described in the sections that follow. When you are finished, click OK.
16-34
Clear the check box if you want the buttons border to have a different color than the buttons background, and then choose a Border color.
Back color Click the color box, and then click a color for the buttons background. Border color Click the color box, and then click a color for the
buttons border.
Back style Click Solid to cover objects or the display background
behind the button. Click Transparent to allow objects or the display background behind the button to show through.
Pattern style Click a pattern style for the button. Pattern color Click the color box, and then click a color for the
pattern.
Highlight color Click the color box, and then click a color for the selection border that appears around the button when it is pressed. If the button does not use a border, the highlight color is not visible when the button is pressed. Blink Check this box to make the button blink at run time. Clear
the check box to prevent the button from blinking at run time.
Shape Click a shape for the button.
touch-insensitive margin inside the objects left and right edges. For information about using touch margins, see page 16-8.
16-35
Preface
Vertical margin Type the number of pixels for the
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.
Send press to Select Object With Focus to send the buttons press action to the object that is selected on the display.
Select Linked Object to send the buttons press action to the object to which the button is linked. For more information about linking buttons to graphic objects, see page 16-14.
Linked object Click the Browse button, and then click the object you want to link the button to.
Browse button
16-36
Caption Type the text you want to appear on the button. If you
dont want any text on the button, leave the Caption box blank. To use an embedded variable in the caption, click Insert Variable, and then click the type of variable to use. Make your choices in the dialog box that opens, and then click OK. For more information about embedded variables, see Chapter 20.
16-37
Preface
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, and then click a color for the
captions text.
Caption back color Click the color box, and then click a color for
the captions background. The captions background color is visible only if the Caption back style is Solid.
Caption blink Check this box to make the caption blink at run
time. Clear the check box to prevent the caption from blinking at run time.
Word wrap Check this box if you want the caption to continue on
the next line at the beginning of a new word. If this box is not checked, the caption continues on the next line whenever the maximum text length is reached, even if this occurs in the middle of a word. The maximum text length depends on the width of the object and the font size.
Alignment Click a position in the grid, relative to the button. In
the default alignment position, the text is centered vertically and horizontally on the button.
Caption back style Click Solid to cover the buttons background (such as a graphic image) behind the text. Click Transparent to allow the buttons background to show through between the letters.
16-38
Image Type the name of the image file to display on the button, or
If you click the Browse button, the Image Browser opens. Click an image in the Select image box, and then click OK.
Image back style Click Solid to cover the buttons background
behind the image. Click Transparent to allow the buttons background to show through spaces in the image.
Image color Click the color box, and then click a color for a monochrome image. You cannot change the color of grayscale or color images. Image back color Click the color box, and then click a color for the background of a monochrome image. You cannot change the background color of grayscale or color images. Image blink Check this box to make a monochrome image blink at
run time. Clear the check box to prevent the image from blinking at run time. You cannot make grayscale or color images blink.
Image scaled Check this 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 if it is too large to fit on the button. If the buttons shape is a circle or ellipse, the image is shaped to fit inside the circle or ellipse.
Alignment Click a position in the grid, relative to the button. In
the default alignment position, the image is centered vertically and horizontally on the button.
Preface
In the Timing tab, set up whether or not the button press repeats automatically when the operator presses and holds the button down. You can also set up the rate at which the button press repeats. For more information about auto repeat, see page 16-17.
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 dont want the button press to repeat automatically, select 0. Auto repeat delay Click the number of milliseconds or seconds
Never use push buttons for emergency stops. Emergency stop buttons must always be hard-wired.
You can use different kinds of push buttons, depending on what kind of machinery you are running or process you are controlling:
Momentary push buttons change a tag to one value when the
button is pressed, and another value when the button is released. The machine is on only while the button is held down. When the button is released, the machine turns off. Momentary push buttons are useful for jogging a motor, and they can be set up to start and stop a machine or process.
Maintained push buttons toggle between two values. This type of
16-40
but not for starting the machine or process. For example, use the maintained push button for changing modes, such as Auto to Manual, or Metric to Imperial.
Latched push buttons latch in the on position, and must be unlatched by another button or process to return to the off position. This type of button is useful for starting a machine or process. Multistate push buttons allow an operator to cycle through multiple options consecutively, using a single button. The current state of a process or operation is displayed on the button by a different color, caption, or image for each state. Interlocked push buttons work in groups, and share the same tag. The buttons work together like the preset station selector buttons on a car radio: pressing one button cancels another. Although interlocked push buttons work as a group, you add them to the display one at a time. Ramp buttons increase or decrease the value of a tag by either an
integer or floating-point value. You can use two ramp buttons together to create an increase/decrease control, for example for the speed of a motor. Or, you can use a numeric input enable button or numeric input cursor point. For information about the numeric input enable button, see page 16-94. For information about the numeric input cursor point, see page 16-106.
16-41
Preface
16-42
options on each tab, as described in the sections that follow. When you are finished, click OK.
16-43
Preface Setting up the appearance and action of the momentary push button
In the General tab, specify what the momentary push button looks like at run time, and what type of action the button performs.
Clear the check box if you want the buttons border to have a different color than the buttons background, and then choose a Border color on the States tab.
Highlight color Click the color box, and then click a color for the selection border that appears around the button when it is pressed. If the button does not use a border, the highlight color is not visible when the button is pressed. Back style Click Solid to cover objects or the display background
behind the button. Click Transparent to allow objects or the display background behind the button to show through.
Shape Click a shape for the button.
16-44
Button action Click Normally open to change the buttons tag to 1 when the button is pressed, and 0 when the button is released.
Click Normally closed to change the buttons tag to 0 when the button is pressed, and 1 when the button is released. Click Value to specify values for each of the buttons states. Type values on the States tab, described on page 16-46.
Hold time Select 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 tag, click the shortest hold time. The operator cannot press the object 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.
touch-insensitive margin inside the objects left and right edges. For information about using touch margins, see page 16-8.
Vertical margin Type the number of pixels for the
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.
16-45
Preface Setting up what the momentary push button does when it is pressed and released
In the States tab, specify what the button does when it is pressed and released. For tips about setting up states, see page 16-5.
The error state
The buttons error state is displayed at run time when: the Value control is unassigned. the Indicator controls value does not match one of the state values you set up.
16-46
Value The value to which the button changes the Value control
when the selected state is in effect. When the Indicator control changes to this value, the buttons appearance changes to the settings you specify for the state. If you selected 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 buttons error state.
16-47
Preface
If you selected 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. If you selected Normally closed for the button action on the General tab, state 0 has a value of 1, and state 1 has a value of 0. You cannot change these values.
Back color Click the color box, and then click a color for the buttons background. Border color Click the color box, and then click a color for the
buttons border. If you select the Border uses back color option, on the General tab, the border color you specify here is not used. Instead, the back color is used.
Blink Check this box to make the button blink at run time. Clear
the check box to prevent the button from blinking at run time.
Pattern style Click a pattern style for the button. Pattern color Click the color box, and then click a color for the
pattern.
Caption Type the text you want to appear on the button. If you
dont want any text on the button, leave the Caption box blank. To use an embedded variable in the caption, click Insert Variable, and then click the type of variable to use. Make your choices in the dialog box that opens, and then click OK. For more information about embedded variables, see Chapter 20.
16-48
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, and then click a color for the
captions text.
Caption back color Click the color box, and then click a color for
the captions background. The captions background color is visible only if the Caption back style is Solid.
Caption blink Check this box to make the caption blink at run
time. Clear the check box to prevent the caption from blinking at run time.
Word wrap Check this box if you want the caption to continue on
the next line at the beginning of a new word. If this box is not checked, the caption continues on the next line whenever the maximum text length is reached, even if this occurs in the middle of a word. The maximum text length depends on the width of the object and the font size.
Alignment Click a position in the grid, relative to the button. In
the default alignment position, the text is centered vertically and horizontally on the button.
Caption back style Click Solid to cover the buttons background (such as a graphic image) behind the text. Click Transparent to allow the buttons background to show through between the letters.
Image Type the name of the image file to display on the button, or
If you click the Browse button, the Image Browser opens. Click an image in the Select image box, and then click OK.
16-49
Preface
Image back style Click Solid to cover the buttons background
behind the image. Click Transparent to allow the buttons background to show through spaces in the image.
Image color Click the color box, and then click a color for a monochrome image. You cannot change the color of grayscale or color images. Image back color Click the color box, and then click a color for the background of a monochrome image. You cannot change the background color of grayscale or color images. Image blink Check this box to make a monochrome image blink at
run time. Clear the check box to prevent the image from blinking at run time. You cannot make grayscale or color images blink.
Image scaled Check this 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 if it is too large to fit on the button. If the buttons shape is a circle or ellipse, the image is shaped to fit inside the circle or ellipse.
Alignment Click a position in the grid, relative to the button. In
the default alignment position, the image is centered vertically and horizontally on the button.
Value The Value control triggers the buttons action. For example,
when the tag assigned to the control is set to 1, the data source starts a motor.
16-50
button of its state. For example, the control can show whether a motor is running. If you assign this control, the button does not display the pressed state until it receives a response from the Indicator control. Set up the data source to change the Indicator controls value when it has read the Value controls value.
16-51
Preface
options on each tab, as described in the sections that follow. When you are finished, click OK.
16-52
Setting up the appearance of the maintained push button and how it changes state
In the General tab, specify what the button looks like at run time, and how the button changes state.
Border style Click a border style in the list, or click None to
Clear the check box if you want the buttons border to have a different color than the buttons background, and then choose a Border color on the States tab.
Highlight color Click the color box, and then click a color for the selection border that appears around the button when it is pressed. If the button does not use a border, the highlight color is not visible when the button is pressed. Back style Click Solid to cover objects or the display background
behind the button. Click Transparent to allow objects or the display background behind the button to show through.
Shape Click a shape for the button.
Next state based on Click Current state to toggle the buttons state relative to its current state. For example, if the buttons current state is 0, its next state is 1. If the buttons current state is 1, its next state is 0.
Click Value control to toggle the buttons state relative to the Value control. If the operator presses the button, changing its state to 1, and then the data source changes the buttons state to 0, the next time the operator presses the button, the buttons state will be 1.
16-53
Preface
touch-insensitive margin inside the objects left and right edges. For information about using touch margins, see page 16-8.
Vertical margin Type the number of pixels for the
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.
Setting up what the maintained push button does when it is pressed and released
In the States tab, specify what the button does when it is pressed and released. For tips about setting up states, see page 16-5.
The error state
The buttons error state is displayed at run time when: the Value control is unassigned. the Indicator controls value does not match one of the state values you set up.
16-54
The error state is also displayed when the display containing the maintained push button first opens, if the Value controls value does not match one of the state values you set up.
Value The value to which the button changes the Value control
when the selected state is in effect. When the Indicator control changes to this value, the buttons appearance changes to the settings you specify for the state.
16-55
Preface
Back color Click the color box, and then click a color for the buttons background. Border color Click the color box, and then click a color for the
buttons border. If you select the Border uses back color option, on the General tab, the border color you specify here is not used. Instead, the back color is used.
Blink Check this box to make the button blink at run time. Clear
the check box to prevent the button from blinking at run time.
Pattern style Click a pattern style for the button. Pattern color Click the color box, and then click a color for the
pattern.
Caption Type the text you want to appear on the button. If you
dont want any text on the button, leave the Caption box blank. To use an embedded variable in the caption, click Insert Variable, and then click the type of variable to use. Make your choices in the dialog box that opens, and then click OK. For more information about embedded variables, see Chapter 20.
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.
16-56
Caption color Click the color box, and then click a color for the
captions text.
Caption back color Click the color box, and then click a color for
the captions background. The captions background color is visible only if the Caption back style is Solid.
Caption blink Check this box to make the caption blink at run
time. Clear the check box to prevent the caption from blinking at run time.
Word wrap Check this box if you want the caption to continue on
the next line at the beginning of a new word. If this box is not checked, the caption continues on the next line whenever the maximum text length is reached, even if this occurs in the middle of a word. The maximum text length depends on the width of the object and the font size.
Alignment Click a position in the grid, relative to the button. In
the default alignment position, the text is centered vertically and horizontally on the button.
Caption back style Click Solid to cover the buttons background (such as a graphic image) behind the text. Click Transparent to allow the buttons background to show through between the letters.
Image Type the name of the image file to display on the button, or
If you click the Browse button, the Image Browser opens. Click an image in the Select image box, and then click OK.
Image back style Click Solid to cover the buttons background
behind the image. Click Transparent to allow the buttons background to show through spaces in the image.
16-57
Preface
Image color Click the color box, and then click a color for a monochrome image. You cannot change the color of grayscale or color images. Image back color Click the color box, and then click a color for the background of a monochrome image. You cannot change the background color of grayscale or color images. Image blink Check this box to make a monochrome image blink at
run time. Clear the check box to prevent the image from blinking at run time. You cannot make grayscale or color images blink.
Image scaled Check this 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 if it is too large to fit on the button. If the buttons shape is a circle or ellipse, the image is shaped to fit inside the circle or ellipse.
Alignment Click a position in the grid, relative to the button. In
the default alignment position, the image is centered vertically and horizontally on the button.
Value The Value control triggers the buttons action. For example,
when the tag assigned to the control is set to 1, the data source changes the machine to Auto mode. RSView reads the Value control when the Next state based on option is set to Value control.
16-58
button of its state. For example, the control can show which mode a machine is using. If you assign this control, the button does not display the pressed state until it receives a response from the Indicator control. Set up the data source to change the Indicator controls value when it has read the Value controls value.
16-59
Preface
options on each tab, as described in the sections that follow. When you are finished, click OK.
16-60
Setting up the appearance of the latched push button and how to unlatch it
In the General tab, specify what the button looks like at run time, and how to unlatch it.
Border style Click a border style in the list, or click None to
Clear the check box if you want the buttons border to have a different color than the buttons background, and then choose a Border color on the States tab.
Highlight color Click the color box, and then click a color for the selection border that appears around the button when it is pressed. If the button does not use a border, the highlight color is not visible when the button is pressed. Back style Click Solid to cover objects or the display background
behind the button. Click Transparent to allow objects or the display background behind the button to show through.
Shape Click a shape for the button.
Latch reset type To unlatch the push button when the Handshake control has a non-zero value, click Non-zero Value.
To unlatch the push button when the Handshake control changes from a 0 to a non-zero value, click Zero to Non-zero transition. Be sure to assign values to states 0 (unlatched) and 1 (latched) on the States tab, and assign a tag or expression to the Handshake control in the Connections tab.
16-61
Preface
touch-insensitive margin inside the objects left and right edges. For information about using touch margins, see page 16-8.
Vertical margin Type the number of pixels for the
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.
Setting up what the latched push button does when it is latched and unlatched
In the States tab, specify what the button does when it is latched and unlatched. For tips about setting up states, see page 16-5.
The error state
The buttons error state is displayed at run time when: the Value control is unassigned. the Indicator controls value does not match one of the state values you set up. The Handshake control is unassigned.
16-62
The error state is also displayed when the display containing the latched push button first opens, if the Value controls value does not match one of the state values you set up.
Value The value to which the button changes the Value control
when the selected state is in effect. When the Indicator control changes to this value, the buttons appearance changes to the settings you specify for the state.
16-63
Preface
Back color Click the color box, and then click a color for the buttons background. Border color Click the color box, and then click a color for the
buttons border.
Blink Check this box to make the button blink at run time. Clear
the check box to prevent the button from blinking at run time.
Pattern style Click a pattern style for the button. Pattern color Click the color box, and then click a color for the
pattern.
Caption Type the text you want to appear on the button. If you
dont want any text on the button, leave the Caption box blank. To use an embedded variable in the caption, click Insert Variable, and then click the type of variable to use. Make your choices in the dialog box that opens, and then click OK. For more information about embedded variables, see Chapter 20.
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, and then click a color for the
captions text.
Caption back color Click the color box, and then click a color for
16-64
The captions background color is visible only if the Caption back style is Solid.
Caption blink Check this box to make the caption blink at run
time. Clear the check box to prevent the caption from blinking at run time.
Word wrap Check this box if you want the caption to continue on
the next line at the beginning of a new word. If this box is not checked, the caption continues on the next line whenever the maximum text length is reached, even if this occurs in the middle of a word. The maximum text length depends on the width of the object and the font size.
Alignment Click a position in the grid, relative to the button. In
the default alignment position, the text is centered vertically and horizontally on the button.
Caption back style Click Solid to cover the buttons background (such as a graphic image) behind the text. Click Transparent to allow the buttons background to show through between the letters.
Image Type the name of the image file to display on the button, or
If you click the Browse button, the Image Browser opens. Click an image in the Select image box, and then click OK.
Image back style Click Solid to cover the buttons background
behind the image. Click Transparent to allow the buttons background to show through spaces in the image.
Image color Click the color box, and then click a color for a monochrome image. You cannot change the color of grayscale or color images.
16-65
Preface
Image back color Click the color box, and then click a color for the background of a monochrome image. You cannot change the background color of grayscale or color images. Image blink Check this box to make a monochrome image blink at
run time. Clear the check box to prevent the image from blinking at run time. You cannot make grayscale or color images blink.
Image scaled Check this 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 if it is too large to fit on the button. If the buttons shape is a circle or ellipse, the image is shaped to fit inside the circle or ellipse.
Alignment Click a position in the grid, relative to the button. In
the default alignment position, the image is centered vertically and horizontally on the button.
Value The Value control triggers the buttons action. For example,
when the tag assigned to the control is set to 1, the data source starts a motor.
Indicator The Indicator control provides visual feedback to the
button of its state. For example, the control can show whether a motor is running. If you assign this control, the button does not display the pressed state until it receives a response from the Indicator control. Set up the data source to change the Indicator controls value when it has read the Value controls value.
Handshake To unlatch the button, the Handshake control works
with the Latch reset type setting (on the General tab, see page 16-61).
16-66
Depending on which latch reset method you select, the Handshake control unlatches the button either when the Handshake control has a non-zero value, or when the Handshake control changes from a 0 to a non-zero value.
16-67
Preface
options on each tab, as described in the sections that follow. When you are finished, click OK.
16-68
Setting up the appearance of the multistate push button and how it changes state
In the General tab, specify what the button looks like, and how the button changes state.
Border style Click a border style in the list, or click None to
Clear the check box if you want the buttons border to have a different color than the buttons background, and then choose a Border color on the States tab.
Highlight color Click the color box, and then click a color for the selection border that appears around the button when it is pressed. If the button does not use a border, the highlight color is not visible when the button is pressed. Back style Click Solid to cover objects or the display background
behind the button. Click Transparent to allow objects or the display background behind the button to show through.
Shape Click a shape for the button.
Number of states Click the number of states you want the button
to have.
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 control.
Click Current state to use the current state as the basis for deciding what the next state will be. With this method, the button itself determines what its next state will be. Click Value control to use the Value control as the basis for deciding what the next state will be. With this method, other devices can change the Value controls value, and determine what the buttons next state will be.
16-69
Preface
If the Value control does not match one of the buttons state values, the button changes to State 0, and changes the Value control to the value of State 0.
touch-insensitive margin inside the objects left and right edges. For information about using touch margins, see page 16-8.
Vertical margin Type the number of pixels for the
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.
Setting up what the multistate push button does when it is pressed and released
In the States tab, specify what the button does when it is pressed and released. For tips about setting up states, see page 16-5.
The error state
The buttons error state is displayed at run time when: the Value control is unassigned. the Indicator controls value does not match one of the state values you set up. The error state is also displayed when the display containing the multistate push button first opens, if the Value controls value does not match one of the state values you set up.
16-70
Value The value to which the button changes the Value control
when the selected state is in effect. When the Indicator control changes to this value, the buttons appearance changes to the settings you specify for the state.
Back color Click the color box, and then click a color for the buttons background.
16-71
Preface
Border color Click the color box, and then click a color for the
buttons border.
Blink Check this box to make the button blink at run time. Clear
the check box to prevent the button from blinking at run time.
Pattern style Click a pattern style for the button. Pattern color Click the color box, and then click a color for the
pattern.
Caption Type the text you want to appear on the button. If you
dont want any text on the button, leave the Caption box blank. To use an embedded variable in the caption, click Insert Variable, and then click the type of variable to use. Make your choices in the dialog box that opens, and then click OK. For more information about embedded variables, see Chapter 20.
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, and then click a color for the
captions text.
Caption back color Click the color box, and then click a color for
the captions background. The captions background color is visible only if the Caption back style is Solid.
16-72
Caption blink Check this box to make the caption blink at run
time. Clear the check box to prevent the caption from blinking at run time.
Word wrap Check this box if you want the caption to continue on
the next line at the beginning of a new word. If this box is not checked, the caption continues on the next line whenever the maximum text length is reached, even if this occurs in the middle of a word. The maximum text length depends on the width of the object and the font size.
Alignment Click a position in the grid, relative to the button. In
the default alignment position, the text is centered vertically and horizontally on the button.
Caption back style Click Solid to cover the buttons background (such as a graphic image) behind the text. Click Transparent to allow the buttons background to show through between the letters.
Image Type the name of the image file to display on the button, or
If you click the Browse button, the Image Browser opens. Click an image in the Select image box, and then click OK.
Image back style Click Solid to cover the buttons background
behind the image. Click Transparent to allow the buttons background to show through spaces in the image.
Image color Click the color box, and then click a color for a monochrome image. You cannot change the color of grayscale or color images. Image back color Click the color box, and then click a color for the background of a monochrome image. You cannot change the background color of grayscale or color images.
16-73
Preface
Image blink Check this box to make a monochrome image blink at
run time. Clear the check box to prevent the image from blinking at run time. You cannot make grayscale or color images blink.
Image scaled Check this 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 if it is too large to fit on the button. If the buttons shape is a circle or ellipse, the image is shaped to fit inside the circle or ellipse.
Alignment Click a position in the grid, relative to the button. In
the default alignment position, the image is centered vertically and horizontally on the button.
Setting up whether the multistate push button press repeats when held down
In the Timing tab, set up whether or not the button press repeats automatically when the operator presses and holds the button down. You can also set up the rate at which the button press repeats. For more information about auto repeat, see page 16-17.
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 dont want the button press to repeat automatically, select 0. Auto repeat delay Click the number of milliseconds or seconds
16-74
Value The Value control triggers the buttons action. For example,
when the tag assigned to the control changes to the next state, the data source changes the speed of a conveyor belt. RSView reads the Value control when the Next state based on option is set to Value control.
Indicator The Indicator control provides visual feedback to the
button of its state. For example, the control can show the speed of a conveyor belt. If you assign this control, the button does not display the pressed state until it receives a response from the Indicator control. Set up the data source to change the Indicator controls value when it has read the Value controls value.
Preface
To set up an interlocked push button 1. Double-click the interlocked push button.
options on each tab, as described in the sections that follow. When you are finished, click OK.
16-76
Clear the check box if you want the buttons border to have a different color than the buttons background, and then choose a Border color on the States tab.
Highlight color Click the color box, and then click a color for the selection border that appears around the button when it is pressed. If the button does not use a border, the highlight color is not visible when the button is pressed. Back style Click Solid to cover objects or the display background
behind the button. Click Transparent to allow objects or the display background behind the button to show through.
Shape Click a shape for the button.
Button value Type an integer value for the button. When the
operator presses the button, the button changes to State 1, and changes the Value control to this value.
touch-insensitive margin inside the objects left and right edges. For information about using touch margins, see page 16-8.
16-77
Preface
Vertical margin Type the number of pixels for the
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.
Setting up the appearance of the interlocked push button when it is pressed and released
In the States tab, specify what the button looks like when it is pressed and released at run time. For tips about setting up states, see page 16-5.
16-78
Back color Click the color box, and then click a color for the buttons background. Border color Click the color box, and then click a color for the
buttons border.
Blink Check this box to make the button blink at run time. Clear
the check box to prevent the button from blinking at run time.
16-79
Preface
Pattern style Click a pattern style for the button. Pattern color Click the color box, and then click a color for the
pattern.
Caption Type the text you want to appear on the button. If you
dont want any text on the button, leave the Caption box blank. To use an embedded variable in the caption, click Insert Variable, and then click the type of variable to use. Make your choices in the dialog box that opens, and then click OK. For more information about embedded variables, see Chapter 20.
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, and then click a color for the
captions text.
Caption back color Click the color box, and then click a color for
the captions background. The captions background color is visible only if the Caption back style is Solid.
Caption blink Check this box to make the caption blink at run
time. Clear the check box to prevent the caption from blinking at run time.
16-80
Word wrap Check this box if you want the caption to continue on
the next line at the beginning of a new word. If this box is not checked, the caption continues on the next line whenever the maximum text length is reached, even if this occurs in the middle of a word. The maximum text length depends on the width of the object and the font size.
Alignment Click a position in the grid, relative to the button. In
the default alignment position, the text is centered vertically and horizontally on the button.
Caption back style Click Solid to cover the buttons background (such as a graphic image) behind the text. Click Transparent to allow the buttons background to show through between the letters.
Image Type the name of the image file to display on the button, or
If you click the Browse button, the Image Browser opens. Click an image in the Select image box, and then click OK.
Image back style Click Solid to cover the buttons background
behind the image. Click Transparent to allow the buttons background to show through spaces in the image.
Image color Click the color box, and then click a color for a monochrome image. You cannot change the color of grayscale or color images. Image back color Click the color box, and then click a color for the background of a monochrome image. You cannot change the background color of grayscale or color images. Image blink Check this box to make a monochrome image blink at
run time. Clear the check box to prevent the image from blinking at run time. You cannot make grayscale or color images blink.
16-81
Preface
Image scaled Check this 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 if it is too large to fit on the button. If the buttons shape is a circle or ellipse, the image is shaped to fit inside the circle or ellipse.
Alignment Click a position in the grid, relative to the button. In
the default alignment position, the image is centered vertically and horizontally on the button.
Value The Value control triggers the buttons action. For example,
when the tag assigned to the control is set to 1, the data source changes the machine to Auto mode. When the Value control changes to a value that doesnt match the buttons value, the button changes to state 0.
16-82
each tab, as described in the sections that follow. When you are finished, click OK.
16-83
Preface Setting up the appearance of the ramp button and how it works
In the General tab, specify what the button looks like, and whether the button ramps a value up or down.
Border style Click a border style in the list, or click None to
Clear the check box if you want the buttons border to have a different color than the buttons background, and then choose a Border color.
Back color Click the color box, and then click a color for the buttons background. Border color Click the color box, and then click a color for the
buttons border.
Back style Click Solid to cover objects or the display background
behind the button. Click Transparent to allow objects or the display background behind the button to show through.
Pattern style Click a pattern style for the button. Pattern color Click the color box, and then click a color for the
pattern.
Highlight color Click the color box, and then click a color for the selection border that appears around the button when it is pressed. If the button does not use a border, the highlight color is not visible when the button is pressed. Shape Click a shape for the button. Blink Check this box to make the button blink at run time. Clear
the check box to prevent the button from blinking at run time.
16-84
Ramp up Click Ramp up to increase the value of the tag. Ramp down Click Ramp down to decrease the value of the tag. Upper limit This box appears only if you select Ramp up. Type the
touch-insensitive margin inside the objects left and right edges. For information about using touch margins, see page 16-8.
Vertical margin Type the number of pixels for the
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.
16-85
Preface
Caption Type the text you want to appear on the button. If you
dont want any text on the button, leave the Caption box blank. To use an embedded variable in the caption, click Insert Variable, and then click the type of variable to use. Make your choices in the dialog box that opens, and then click OK. For more information about embedded variables, see Chapter 20.
16-86
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, and then click a color for the
captions text.
Caption back color Click the color box, and then click a color for
the captions background. The captions background color is visible only if the Caption back style is Solid.
Caption blink Check this box to make the caption blink at run
time. Clear the check box to prevent the caption from blinking at run time.
Word wrap Check this box if you want the caption to continue on
the next line at the beginning of a new word. If this box is not checked, the caption continues on the next line whenever the maximum text length is reached, even if this occurs in the middle of a word. The maximum text length depends on the width of the object and the font size.
Alignment Click a position in the grid, relative to the button. In
the default alignment position, the text is centered vertically and horizontally on the button.
Caption back style Click Solid to cover the buttons background (such as a graphic image) behind the text. Click Transparent to allow the buttons background to show through between the letters.
Image Type the name of the image file to display on the button, or
If you click the Browse button, the Image Browser opens. Click an image in the Select image box, and then click OK.
16-87
Preface
Image back style Click Solid to cover the buttons background
behind the image. Click Transparent to allow the buttons background to show through spaces in the image.
Image color Click the color box, and then click a color for a monochrome image. You cannot change the color of grayscale or color images. Image back color Click the color box, and then click a color for the background of a monochrome image. You cannot change the background color of grayscale or color images. Image blink Check this box to make a monochrome image blink at
run time. Clear the check box to prevent the image from blinking at run time. You cannot make grayscale or color images blink.
Image scaled Check this 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 if it is too large to fit on the button. If the buttons shape is a circle or ellipse, the image is shaped to fit inside the circle or ellipse.
Alignment Click a position in the grid, relative to the button. In
the default alignment position, the image is centered vertically and horizontally on the button.
Setting up whether the ramp button press repeats when held down
In the Timing tab, set up whether or not the button press repeats automatically when the operator presses and holds the button down. You can also set up the rate at which the button press repeats. For more information about auto repeat, see page 16-17.
16-88
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 dont want the button press to repeat automatically, select 0. Auto repeat delay Click the number of milliseconds or seconds
Value The Value control triggers the buttons action. For example,
when the tag assigned to the control is increased, the data source increases a motors speed.
Preface
Number formats
The numeric display uses the number format you set up on the run-time computer. For example, if the run-time computer is set up to use a comma for the decimal symbol, the numeric display uses a comma for the decimal symbol. For information about specifying time, date, and number formats on the PanelView Plus or Windows CE terminal, see page 25-35. For information about specifying time, date, and number formats in Windows 2000 and Windows XP, see page 24-15.
Number formats
The numeric display uses the number formats you set up on the run-time computer. For information about specifying number formats on the PanelView Plus or Windows CE terminal, see page 25-35. For information about specifying number formats in Windows 2000 and Windows XP, see page 24-15. Specify the appearance of the display, the number of digits to display, and the tag or expression to display.
To set up a numeric display 1. Double-click the numeric display.
16-90
on each tab, as described in the sections that follow. When you are finished, click OK.
16-91
Clear the check box if you want the numeric displays border to have a different color than the numeric displays background, and then choose a Border color.
Back color Click the color box, and then click a color for the numeric displays background. Border color Click the color box, and then click a color for the
behind the numeric display. Click Transparent to allow objects or the display background behind the numeric display to show through.
Pattern style Click a pattern style for the numeric display. Pattern color Click the color box, and then click a color for the
pattern.
Fore color Click the color box, and then click a color for the text
time. Clear the check box to prevent the numeric display from blinking at run time.
16-92
Font, size, and style Click a font for the numeric displays text 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.
Alignment Click a position in the grid, relative to the numeric
display. In the default alignment position, the text is centered vertically and horizontally on the numeric display.
up to 17 digits. The decimal point and minus sign each count as a digit.
Fill left with Select a character to fill the left of the display with if
the value at the data source contains fewer than the maximum number of digits. If you dont want to use a fill character, select None.
Decimal places Click the maximum number of decimal places to
display.
For example, the numeric display can show the temperature of an oven.
16-93
Preface
Polarity The Polarity control determines whether or not a minus
sign is displayed. A minus sign is displayed when this control has a positive non-zero value. If the Polarity control is assigned, it overrides the polarity of the Value controls value. If the Polarity control uses a tag with a floating-point value, values of less than .5 are rounded down (to 0) and values of .5 or greater are rounded up (to 1).
16-94
options on each tab, as described in the sections that follow. When you are finished, click OK.
16-95
Preface Setting up the appearance and input focus of the numeric input enable button
In the General tab, specify what the button looks like at run time, whether the operator can navigate to the cursor point using the keys on the keyboard or keypad, and whether the operator can press the button to give it focus.
Border style Click a border style in the list, or click None to
Clear the check box if you want the buttons border to have a different color than the buttons background, and then choose a Border color.
Back color Click the color box, and then click a color for the buttons background. Border color Click the color box, and then click a color for the
buttons border.
Back style Click Solid to cover objects or the display background
behind the button. Click Transparent to allow objects or the display background behind the button to show through.
Pattern style Click a pattern style for the button. Pattern color Click the color box, and then click a color for the
pattern.
Highlight color Click the color box, and then click a color for the selection border that appears around the button when it is pressed. If the button does not use a border, the highlight color is not visible when the button is pressed. Blink Check this box to make the button blink at run time. Clear
the check box to prevent the button from blinking at run time.
Shape Click a shape for the button.
16-96
touch-insensitive margin inside the objects left and right edges. For information about using touch margins, see page 16-8.
Vertical margin Type the number of pixels for the
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.
Key navigation Check this box to allow the operator to navigate
to the button and give it focus using the keyboard. For more information about keyboard navigation, see page 16-12.
Take focus on press Check this box if you want the button to
16-97
Preface
Caption Type the text you want to appear on the button. If you
dont want any text on the button, leave the Caption box blank. To use an embedded variable in the caption, click Insert Variable, and then click the type of variable to use. Make your choices in the dialog box that opens, and then click OK. For more information about embedded variables, see Chapter 20.
16-98
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, and then click a color for the
captions text.
Caption back color Click the color box, and then click a color for
the captions background. The captions background color is visible only if the Caption back style is Solid.
Caption blink Check this box to make the caption blink at run
time. Clear the check box to prevent the caption from blinking at run time.
Word wrap Check this box if you want the caption to continue on
the next line at the beginning of a new word. If this box is not checked, the caption continues on the next line whenever the maximum text length is reached, even if this occurs in the middle of a word. The maximum text length depends on the width of the object and the font size.
Alignment Click a position in the grid, relative to the button. In
the default alignment position, the text is centered vertically and horizontally on the button.
Caption back style Click Solid to cover the buttons background (such as a graphic image) behind the text. Click Transparent to allow the buttons background to show through between the letters.
16-99
Preface
Image Type the name of the image file to display on the button, or
If you click the Browse button, the Image Browser opens. Click an image in the Select image box, and then click OK.
Image back style Click Solid to cover the buttons background
behind the image. Click Transparent to allow the buttons background to show through spaces in the image.
Image color Click the color box, and then click a color for a monochrome image. You cannot change the color of grayscale or color images. Image back color Click the color box, and then click a color for the background of a monochrome image. You cannot change the background color of grayscale or color images. Image blink Check this box to make a monochrome image blink at
run time. Clear the check box to prevent the image from blinking at run time. You cannot make grayscale or color images blink.
Image scaled Check this 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 if it is too large to fit on the button. If the buttons shape is a circle or ellipse, the image is shaped to fit inside the circle or ellipse.
Alignment Click a position in the grid, relative to the button. In
the default alignment position, the image is centered vertically and horizontally on the button.
16-100
Setting up numeric and pop-up options for the numeric input enable button
In the Numeric tab, set up which pop-up window opens (if any), the ramp value (if any), minimum and maximum values to send to the data source, and decimal point settings.
16-101
Preface
Numeric pop- up Select whether to use the keypad or scratchpad. If -
you want the button to behave like a ramp button, select None. The keypad is larger than the scratchpad. To use the scratchpad, the run-time computer must have an external keyboard or keypad. To use the button as a ramp button, ensure that the operator has a way to give the button focus. On the General tab, select Key navigation, Take focus on press, or both.
control. If you select the Fixed Position type of decimal point, and the Fixed position output option is Stripped Value, the minimum applies to the stripped value, not the displayed value (unless you are using the button for ramping, in which case the decimal point setting is ignored). If you use the Optional Expression control, the minimum applies to the value sent to the expression, not the value sent to the Value control.
Maximum value Type the maximum value to send to the Value
control. If you select the Fixed Position type of decimal point, and the Fixed position output option is Stripped Value, the maximum applies to the stripped value, not the displayed value (unless you are using the button for ramping, in which case the decimal point setting is ignored). If you use the Optional Expression control, the maximum applies to the value sent to the expression, not the value sent to the Value control.
16-102
Ramp value Specify the amount by which the tag assigned to the
Value control increases or decreases when the operator ramps the button. A ramp value of 0 means that ramping is turned off. If you assign the Optional Expression control, ramping is turned off.
decimal point and you want the decimal point to be used when the value is sent to the Value control. Select Fixed Position if the values to enter in the pop-up window always have the same number of digits after the decimal point. If you select this type of decimal point, specify a Digits after decimal value. When you ramp a value, this setting is ignored.
Fixed position output If you select the Fixed Position type of decimal point, select the kind of output to send to the Value control. If you select Stripped Value, the decimal point is stripped when the value is sent to the Value control. If you select Displayed Value, the value is sent as is.
decimal point, select the number of digits to appear after the decimal point. When you ramp a value, this setting is ignored.
Setting up how the numeric input enable buttons pop-up works with an Enter key
In the Timing tab, set up the timing and handshake settings for the Enter key. These settings do not apply when you ramp a value.
16-103
Preface
For information about using Enter key handshaking, see page 16-19.
seconds to delay between pressing the Enter key and setting the Enter control to 1. Specify the tag to use for the Enter control in the Connections tab.
Enter key hold time Click the number of milliseconds or seconds
the Enter control remains at a value of 1. This setting applies only if the Enter control is assigned and the Enter handshake control is not assigned (in the Connections tab).
Enter key handshake time Click the maximum number of
seconds the Enter control remains at a value of 1. This setting applies only if the Enter control and Enter handshake control are both assigned (in the Connections tab).
Handshake reset type Click Non-zero Value to reset the Enter control when the Enter handshake control is a non-zero value. Click Zero to Non-zero transition to reset the Enter control when the Enter handshake control changes from 0 to a non-zero value.
16-104
Value When the operator presses the pop-up windows Enter key,
the numeric value the operator enters is sent to the Value control. For example, the operator could enter a value to change the fill level for a tank. If the button is set up as a ramp button, when the operator gives the button focus and presses a move up or move down button (or the Up Arrow or Down Arrow key on the keyboard), the value at the Value control is increased or decreased by the Ramp value amount. For example, the operator could ramp the button to increase an ovens temperature 5 degrees. If you do not assign a tag to this control, at run time when the operator presses the button the pop-up keypad or scratchpad does not open.
Optional Expression The Optional Expression control is an
optional write control. Assign a write expression to this control. When the operator enters a value, the expressions logic is performed on the value, and the result is sent to the Value control. The write expression must contain a question mark (?) as a placeholder for the value the operator enters at run time. Do not assign an expression to this control if you want to use the button for ramping. For more information about write expressions, see page 19-21.
16-105
Preface
Enter The Enter control accepts values of 0 or 1 only. The control determines how long the Enter key press is registered. No further values can be entered by the button when the Enter control is set to 1. Enter handshake The Enter handshake control resets the Enter
control, using the Handshake reset type option specified on the Timing tab. Use this control for Enter key handshaking if you want to reset the Enter control when a value in the programmable controller changes.
16-106
16-107
Preface
2. In the Numeric Input Cursor Point Properties dialog box, fill in
the options on each tab, as described in the sections that follow. When you are finished, click OK.
Setting up the appearance and key navigation of the numeric input cursor point
In the General tab, specify what the cursor point looks like at run time, and whether the operator can navigate to the cursor point using the keys on the keyboard or keypad.
Border style Click a border style in the list, or click None to
Clear the check box if you want the cursor points border to have a different color than the cursor points background, and then choose a Border color.
Back color Click the color box, and then click a color for the cursor points background. Border color Click the color box, and then click a color for the
behind the cursor point. Click Transparent to allow objects or the display background behind the cursor point to show through.
Pattern style Click a pattern style for the cursor point. Pattern color Click the color box, and then click a color for the
pattern.
Highlight color Click the color box, and then click a color for the selection border that appears around the cursor point when it is pressed. If the cursor point does not use a border, the highlight color is not visible when the cursor point is pressed. Blink Check this box to make the cursor point blink at run time.
Clear the check box to prevent the cursor point from blinking at run time.
16-108
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.
Alignment Click a position in the grid, relative to the cursor
points edges. In the default alignment position, the text is centered vertically and horizontally on the cursor point.
touch-insensitive margin inside the objects left and right edges. For information about using touch margins, see page 16-8.
Vertical margin Type the number of pixels for the
when the operator presses the cursor point. If the computer running the display does not have an internal speaker, pressing the cursor point does not trigger a beep.
Key navigation Check this box to allow the operator to navigate
to the cursor point and give it focus using the keyboard. For more information about keyboard navigation, see page 16-12.
16-109
Preface Setting up numeric and pop-up options for the numeric input cursor point
In the Numeric tab, set up which pop-up window opens (if any), the ramp value (if any), minimum and maximum values to send to the data source, decimal point settings, and display settings.
16-110
you want the cursor point to behave like a ramp cursor point, select None. The keypad is larger than the scratchpad. To use the scratchpad, the run-time computer must have an external keyboard or keypad. To use the cursor point as a ramp button, ensure that the operator has a way to give the cursor point focus. On the General tab, select Key navigation.
control. If you select the Fixed Position type of decimal point, and the Fixed position output option is Stripped Value, the minimum applies to the stripped value, not the displayed value (unless you are using the cursor point for ramping, in which case the decimal point setting is ignored). If you use the Optional Expression control, the minimum applies to the value sent to the expression, not the value sent to the Value control.
Maximum value Type the maximum value to send to the Value
control. If you select the Fixed Position type of decimal point, and the Fixed position output option is Stripped Value, the maximum applies to the stripped value, not the displayed value (unless you are using the cursor point for ramping, in which case the decimal point setting is ignored). If you use the Optional Expression control, the maximum applies to the value sent to the expression, not the value sent to the Value control.
Ramp value Specify the amount by which the tag assigned to the
Value control increases or decreases when the operator ramps the cursor point. A ramp value of 0 means that ramping is turned off. If you assign the Optional Expression control, ramping is turned off.
16-111
Preface
decimal point and you want the decimal point to be used when the value is sent to the Value control. Select Fixed Position if the values to enter in the pop-up window always have the same number of digits after the decimal point. If you select this type of decimal point, specify a Digits after decimal value. When you ramp a value, this setting is ignored.
Fixed position output If you select the Fixed Position type of decimal point, select the kind of output to send to the Value control. If you select Stripped Value, the decimal point is stripped when the value is sent to the Value control. If you select Displayed Value, the value is sent as is.
decimal point, select the number of digits to appear after the decimal point. When you ramp a value, this setting is ignored.
up to 17 digits. The decimal point and minus sign each count as a digit.
Fill left with Select a character to fill the left of the display with if
the value at the data source contains fewer than the maximum number of digits. If you dont want to use a fill character, select None.
16-112
Decimal places Type the maximum number of digits to display after the decimal point.
Setting up how the numeric input cursor points pop-up works with an Enter key
In the Timing tab, set up the timing and handshake settings for the Enter key. These settings do not apply when you ramp values. For information about using Enter key handshaking, see page 16-19.
seconds to delay between pressing the Enter key and setting the Enter control to 1. Specify the tag to use for the Enter control in the Connections tab.
Enter key hold time Click the number of milliseconds or seconds
the Enter control remains at a value of 1. This setting applies only if the Enter control is assigned and the Enter handshake control is not assigned (in the Connections tab).
Enter key handshake time Click the maximum number of
seconds the Enter control remains at a value of 1. This setting applies only if the Enter control and Enter handshake control are both assigned (in the Connections tab).
Handshake reset type Click Non-zero Value to reset the Enter control when the Enter handshake control is a non-zero value. Click Zero to Non-zero transition to reset the Enter control when the Enter handshake control changes from 0 to a non-zero value.
16-113
Value When the operator presses the pop-up windows Enter key,
the numeric value the operator enters is sent to the Value control. For example, the operator could enter a value to change the fill level for a tank. If the cursor point is set up as a ramp button, when the operator gives the cursor point focus and presses a move up or move down cursor point (or the Up Arrow or Down Arrow key on the keyboard), the value at the Value control is increased or decreased by the Ramp value amount. For example, the operator could ramp the cursor point to increase an ovens temperature 5 degrees. If you do not assign a tag to this control, at run time when the operator activates the cursor point the pop-up keypad or scratchpad does not open.
Optional Expression The Optional Expression control is an
optional write control. Assign a write expression to this control. When the operator enters a value, the expressions logic is performed on the value, and the result is sent to the Value control. The write expression must contain a question mark (?) as a placeholder for the value the operator enters at run time. Do not assign an expression to this control if you want to use the cursor point for ramping. For more information about write expressions, see page 19-21.
16-114
value at the Value control. For example, the Indicator control can show the fill level of a tank or the temperature of an oven. If you assign this control, the cursor point does not display the value sent to the Value control until it receives a response from the Indicator control. Set up the data source to change the Indicator controls value when it has read the Value controls value.
Enter The Enter control accepts values of 0 or 1 only. The control determines how long the Enter key press is registered. No further values can be entered by the cursor point when the Enter control is set to 1. Enter handshake The Enter handshake control resets the Enter
control, using the Handshake reset type option specified on the Timing tab. Use this control for Enter key handshaking if you want to reset the Enter control when a value in the programmable controller changes.
Preface
To set up a string display 1. Double-click the string display.
each tab, as described in the sections that follow. When you are finished, click OK.
16-116
Clear the check box if you want the string displays border to have a different color than the string displays background, and then choose a Border color.
Back color Click the color box, and then click a color for the string displays background. Border color Click the color box, and then click a color for the
behind the string display. Click Transparent to allow objects or the display background behind the string display to show through.
Pattern style Click a pattern style for the string display. Pattern color Click the color box, and then click a color for the
pattern.
Fore color Click the color box, and then click a color for the text
Clear the check box to prevent the string display from blinking at run time.
16-117
Preface
Font, size, and style Click a font for the string displays text 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.
Alignment Click a position in the grid, relative to the string
display. In the default alignment position, the text is centered vertically and horizontally on the string display.
Word wrap Check this box if you want the caption to continue on
the next line at the beginning of a new word. If this box is not checked, the caption continues on the next line whenever the maximum text length is reached, even if this occurs in the middle of a word. The maximum text length depends on the width of the object and the font size.
Value The Value controls value is shown in the string display. For
example, the display can show a message about the status of a conveyor belt. Assign a tag or expression that can support up to 82 characters (bytes).
16-118
16-119
Preface
options on each tab, as described in the sections that follow. When you are finished, click OK.
16-120
Setting up the appearance and action of the string input enable button
In the General tab, specify what the button looks like at run time.
Border style Click a border style in the list, or click None to
Clear the check box if you want the buttons border to have a different color than the buttons background, and then choose a Border color.
Back color Click the color box, and then click a color for the buttons background. Border color Click the color box, and then click a color for the
buttons border.
Back style Click Solid to cover objects or the display background
behind the button. Click Transparent to allow objects or the display background behind the button to show through.
Pattern style Click a pattern style for the button. Pattern color Click the color box, and then click a color for the
pattern.
Highlight color Click the color box, and then click a color for the selection border that appears around the button when it is pressed. If the button does not use a border, the highlight color is not visible when the button is pressed. Blink Check this box to make the button blink at run time. Clear
the check box to prevent the button from blinking at run time.
Shape Click a shape for the button.
touch-insensitive margin inside the objects left and right edges. For information about using touch margins, see page 16-8.
16-121
Preface
Vertical margin Type the number of pixels for the
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.
Key navigation Check this box to allow the operator to navigate
to the button and give it focus using the keyboard. For more information about keyboard navigation, see page 16-12.
Take focus on press Check this box if you want the button to
16-122
Caption Type the text you want to appear on the button. If you
dont want any text on the button, leave the Caption box blank. To use an embedded variable in the caption, click Insert Variable, and then click the type of variable to use. Make your choices in the dialog box that opens, and then click OK. For more information about embedded variables, see Chapter 20.
16-123
Preface
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, and then click a color for the
captions text.
Caption back color Click the color box, and then click a color for
the captions background. The captions background color is visible only if the Caption back style is Solid.
Caption blink Check this box to make the caption blink at run
time. Clear the check box to prevent the caption from blinking at run time.
Word wrap Check this box if you want the caption to continue on
the next line at the beginning of a new word. If this box is not checked, the caption continues on the next line whenever the maximum text length is reached, even if this occurs in the middle of a word. The maximum text length depends on the width of the object and the font size.
Alignment Click a position in the grid, relative to the button. In
the default alignment position, the text is centered vertically and horizontally on the button.
Caption back style Click Solid to cover the buttons background (such as a graphic image) behind the text. Click Transparent to allow the buttons background to show through between the letters.
16-124
Image Type the name of the image file to display on the button, or
If you click the Browse button, the Image Browser opens. Click an image in the Select image box, and then click OK.
Image back style Click Solid to cover the buttons background
behind the image. Click Transparent to allow the buttons background to show through spaces in the image.
Image color Click the color box, and then click a color for a monochrome image. You cannot change the color of grayscale or color images. Image back color Click the color box, and then click a color for the background of a monochrome image. You cannot change the background color of grayscale or color images. Image blink Check this box to make a monochrome image blink at
run time. Clear the check box to prevent the image from blinking at run time. You cannot make grayscale or color images blink.
Image scaled Check this 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 if it is too large to fit on the button. If the buttons shape is a circle or ellipse, the image is shaped to fit inside the circle or ellipse.
Alignment Click a position in the grid, relative to the button. In
the default alignment position, the image is centered vertically and horizontally on the button.
Preface
String pop- up Select whether to use the scratchpad or keyboard. The keyboard is larger than the scratchpad.
To use the scratchpad, the run-time computer must have an external keyboard or keypad.
Number of input characters Specify the maximum number of
operator enters fewer than the maximum number of input characters. When the value is sent to the Value control, the fill characters are placed after the string the operator enters. The characters do not appear in the pop-up window.
Mask scratchpad Check this box to hide the text the operator
enters by using the # character instead of the actual text. If you dont want to hide the text the operator types, clear the check box.
Setting up how the string input enable buttons pop-up works with an Enter key
In the Timing tab, set up the timing and handshake settings for the Enter key.
16-126
For information about using Enter key handshaking, see page 16-19.
seconds to delay between pressing the Enter key and setting the Enter control to 1. Specify the tag to use for the Enter control in the Connections tab.
Enter key hold time Click the number of milliseconds or seconds
the Enter control remains at a value of 1. This setting applies only if the Enter control is assigned and the Enter handshake control is not assigned (in the Connections tab).
Enter key handshake time Click the maximum number of
seconds the Enter control remains at a value of 1. This setting applies only if the Enter control and Enter handshake control are both assigned (in the Connections tab).
Handshake reset type Click Non-zero Value to reset the Enter control when the Enter handshake control is a non-zero value. Click Zero to Non-zero transition to reset the Enter control when the Enter handshake control changes from 0 to a non-zero value.
16-127
Value The string value the operator enters is sent to the Value
control. Assign a tag that can support up to 82 characters (bytes). When the operator presses the Enter key, the alphanumeric string is sent to the data source. If you do not assign a tag to this control, at run time when the operator presses the button the pop-up window does not open.
Enter The Enter control accepts values of 0 or 1 only. The control determines how long the Enter key press is registered. No further values can be entered by the button when the Enter control is set to 1. Enter handshake The Enter handshake control resets the Enter
control, using the Handshake reset type option specified on the Timing tab. Use this control for Enter key handshaking if you want to reset the Enter control when a value in the programmable controller changes.
16-128
Specify the graphic display to open, and a parameter file to use with tag placeholders in the display (if any).
To set up a goto display button 1. Double-click the goto display button.
16-129
Preface
2. In the Goto Display Button Properties dialog box, fill in the
options on each tab, as described in the sections that follow. When you are finished, click OK.
Clear the check box if you want the buttons border to have a different color than the buttons background, and then choose a Border color.
Back color Click the color box, and then click a color for the buttons background. Border color Click the color box, and then click a color for the
buttons border.
Back style Click Solid to cover objects or the display background
behind the button. Click Transparent to allow objects or the display background behind the button to show through.
Pattern style Click a pattern style for the button. Pattern color Click the color box, and then click a color for the
pattern.
Highlight color Click the color box, and then click a color for the selection border that appears around the button when it is pressed. If the button does not use a border, the highlight color is not visible when the button is pressed. Blink Check this box to make the button blink at run time. Clear
the check box to prevent the button from blinking at run time.
Shape Click a shape for the button.
16-130
Display Type the name of the graphic display to open when the
Browse button
button is pressed. To browse for a graphic display, click the Browse button.
Parameter file Type the name of the parameter file to run when
the button is pressed. To browse for a parameter file, click the Browse button. A parameter file assigns tags to tag placeholders in the display when the display opens. For more information about parameter files, see page 14-29.
Top position Type the number of pixels from the top edge of the
application window to position the display. This option applies only if the graphic display the button opens is an On Top display.
Left position Type the number of pixels from the left edge of the application window to position the display. This option applies only if the graphic display the button opens is an On Top display. Display position Check this box if you want to use the Top position and Left position options to position the display the button opens.
touch-insensitive margin inside the objects left and right edges. For information about using touch margins, see page 16-8.
Vertical margin Type the number of pixels for the
Preface
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.
16-132
Caption Type the text you want to appear on the button. If you
dont want any text on the button, leave the Caption box blank. To use an embedded variable in the caption, click Insert Variable, and then click the type of variable to use. Make your choices in the dialog box that opens, and then click OK. For more information about embedded variables, see Chapter 20.
16-133
Preface
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, and then click a color for the
captions text.
Caption back color Click the color box, and then click a color for
the captions background. The captions background color is visible only if the Caption back style is Solid.
Caption blink Check this box to make the caption blink at run
time. Clear the check box to prevent the caption from blinking at run time.
Word wrap Check this box if you want the caption to continue on
the next line at the beginning of a new word. If this box is not checked, the caption continues on the next line whenever the maximum text length is reached, even if this occurs in the middle of a word. The maximum text length depends on the width of the object and the font size.
Alignment Click a position in the grid, relative to the button. In
the default alignment position, the text is centered vertically and horizontally on the button.
Caption back style Click Solid to cover the buttons background (such as a graphic image) behind the text. Click Transparent to allow the buttons background to show through between the letters.
16-134
Image Type the name of the image file to display on the button, or
If you click the Browse button, the Image Browser opens. Click an image in the Select image box, and then click OK.
Image back style Click Solid to cover the buttons background
behind the image. Click Transparent to allow the buttons background to show through spaces in the image.
Image color Click the color box, and then click a color for a monochrome image. You cannot change the color of grayscale or color images. Image back color Click the color box, and then click a color for the background of a monochrome image. You cannot change the background color of grayscale or color images. Image blink Check this box to make a monochrome image blink at
run time. Clear the check box to prevent the image from blinking at run time. You cannot make grayscale or color images blink.
Image scaled Check this 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 if it is too large to fit on the button. If the buttons shape is a circle or ellipse, the image is shaped to fit inside the circle or ellipse.
Alignment Click a position in the grid, relative to the button. In
the default alignment position, the image is centered vertically and horizontally on the button.
Preface
For more information about using close display buttons, see page 22-6. Specify the appearance of the button, and whether to write out a value when the display closes.
To set up a close display button 1. Double-click the button.
16-136
tab, as described in the sections that follow. When you are finished, click OK.
Clear the check box if you want the buttons border to have a different color than the buttons background, and then choose a Border color.
Back color Click the color box, and then click a color for the buttons background. Border color Click the color box, and then click a color for the
buttons border.
Back style Click Solid to cover objects or the display background
behind the button. Click Transparent to allow objects or the display background behind the button to show through.
Pattern style Click a pattern style for the button. Pattern color Click the color box, and then click a color for the
pattern.
Highlight color Click the color box, and then click a color for the selection border that appears around the button when it is pressed. If the button does not use a border, the highlight color is not visible when the button is pressed. Blink Check this box to make the button blink at run time. Clear
the check box to prevent the button from blinking at run time.
Shape Click a shape for the button.
16-137
Preface
Write on close Check this box to write out a value when the
touch-insensitive margin inside the objects left and right edges. For information about using touch margins, see page 16-8.
Vertical margin Type the number of pixels for the
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.
16-138
Caption Type the text you want to appear on the button. If you
dont want any text on the button, leave the Caption box blank. To use an embedded variable in the caption, click Insert Variable, and then click the type of variable to use. Make your choices in the dialog box that opens, and then click OK. For more information about embedded variables, see Chapter 20.
16-139
Preface
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, and then click a color for the
captions text.
Caption back color Click the color box, and then click a color for
the captions background. The captions background color is visible only if the Caption back style is Solid.
Caption blink Check this box to make the caption blink at run
time. Clear the check box to prevent the caption from blinking at run time.
Word wrap Check this box if you want the caption to continue on
the next line at the beginning of a new word. If this box is not checked, the caption continues on the next line whenever the maximum text length is reached, even if this occurs in the middle of a word. The maximum text length depends on the width of the object and the font size.
Alignment Click a position in the grid, relative to the button. In
the default alignment position, the text is centered vertically and horizontally on the button.
Caption back style Click Solid to cover the buttons background (such as a graphic image) behind the text. Click Transparent to allow the buttons background to show through between the letters.
16-140
Image Type the name of the image file to display on the button, or
If you click the Browse button, the Image Browser opens. Click an image in the Select image box, and then click OK.
Image back style Click Solid to cover the buttons background
behind the image. Click Transparent to allow the buttons background to show through spaces in the image.
Image color Click the color box, and then click a color for a monochrome image. You cannot change the color of grayscale or color images. Image back color Click the color box, and then click a color for the background of a monochrome image. You cannot change the background color of grayscale or color images. Image blink Check this box to make a monochrome image blink at
run time. Clear the check box to prevent the image from blinking at run time. You cannot make grayscale or color images blink.
Image scaled Check this 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 if it is too large to fit on the button. If the buttons shape is a circle or ellipse, the image is shaped to fit inside the circle or ellipse.
Alignment Click a position in the grid, relative to the button. In
the default alignment position, the image is centered vertically and horizontally on the button.
16-141
Value The value specified in the Close value box (on the General
tab) is sent to the Value control. Assign a tag that can receive the integer value specified. When the display closes, the integer value is sent to the data source.
16-142
options on each tab, as described in the sections that follow. When you are finished, click OK.
16-143
Clear the check box if you want the display list selectors border to have a different color than the selectors background, and then choose a Border color.
Back color Click the color box, and then click a color for the display list selectors background. Border color Click the color box, and then click a color for the
pattern.
Selection back color Click the color box, and then click a color
time. Clear the check box to prevent the selector from blinking at run time.
Font, size, and style Click a font for the display list selectors text
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.
16-144
Caption truncate Select Word to cut off captions that exceed the maximum length at the beginning of a word. Select Character to cut off captions that exceed the maximum length in the middle of a word.
The maximum caption length depends on the width of the display list selector and the font size. When a caption has been truncated, an asterisk ( * ) appears at the right end of the caption to indicate that text is missing.
Number of states Click the number of states you want the display
to the display list selector and give it focus using the keyboard. For more information about key navigation, see page 16-12.
Wrap around Check this box if you want the list to wrap from the end of the list to the beginning when scrolling down and from the beginning of the list to the end when scrolling up.
16-145
Preface
For tips about setting up states, see page 16-5.
Display Type the name of the graphic display for the selected state.
the display is opened. To browse for a parameter file, click the Browse button.
16-146
A parameter file assigns tags to tag placeholders in the display when the display opens. For more information about parameter files, see page 14-29.
Display position Check this box if you want to use the Top position and Left position options to position the display the list opens. Top position Type the number of pixels from the top edge of the
application window to position the display. This option applies only if the graphic display the list opens is an On Top display.
Left position Type the number of pixels from the left edge of the application window to position the display. This option applies only if the graphic display the list opens is an On Top display.
Use display name Check this 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
captions text.
Caption back color Click the color box, and then click a color for
the captions background. The captions background color is visible only if the Caption back style is Solid.
Caption blink Check this box to make the caption blink at run
time. Clear the check box to prevent the caption from blinking at run time.
16-147
Preface
Caption back style Click Solid to cover the display list selectors background behind the text. Click Transparent to allow the display list selectors background to show through between the letters. Alignment Click a position in the grid for the text, relative to the
display list selector. In the default alignment position, the text is positioned at the left of the display list selector, inside the border (if a border is used).
a process or operation. This allows the operator to see the status of a process or operation at a glance.
List indicators display a list of states for a process or operation, and highlight the current state. 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.
16-148
options on each tab, as described in the sections that follow. When you are finished, click OK.
16-149
Preface Setting up the appearance of the multistate indicator and its number of states
In the General tab, specify what the indicator looks like, and the number of states for the indicator.
Border style Click a border style in the list, or click None to
Clear the check box if you want the indicators border to have a different color than the indicators background, and then choose a Border color on the States tab.
Back style Click Solid to cover objects or the display background
behind the indicator. Click Transparent to allow objects or the display background behind the indicator to show through.
Shape Click a shape for the indicator.
indicator to have.
Trigger type Select Value to trigger a state based on the value of the Value control. Select LSB to trigger a state based on the least significant bit that is set to 1 in the Value control.
16-150
Setting up how the multistate indicators appearance changes to match its value
In the States tab, specify how the indicators appearance changes when its tag or expressions value changes. For tips about setting up states, see page 16-5.
The error state
The multistate indicators error state is displayed at run time when: the Indicator control is unassigned. the Indicator controls value does not match one of the state values you set up. the Trigger type is set to Value and the Indicator control value does not match one of the configured state values. the Trigger type is set to LSB and the position of the least significant bit set in the Value control does not match one of the configured state values the Trigger type is set to Value and an array tag has been assigned to the objects Value control.
16-151
Preface
Value Type the integer value for the selected state. When the
Indicator control changes to this value, the indicators appearance changes to use the settings you specify for the state.
Back color Click the color box, and then click a color for the indicators background. Border color Click the color box, and then click a color for the
indicators border.
16-152
Blink Check this box to make the indicator blink at run time. Clear
the check box to prevent the indicator from blinking at run time.
Pattern style Click a pattern style for the indicator. Pattern color Click the color box, and then click a color for the
pattern.
Caption Type the text you want to appear on the indicator. If you
dont want any text on the indicator, leave the Caption box blank. To use an embedded variable in the caption, click Insert Variable, and then click the type of variable to use. Make your choices in the dialog box that opens, and then click OK. For more information about embedded variables, see Chapter 20.
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, and then click a color for the
captions text.
Caption back color Click the color box, and then click a color for
the captions background. The captions background color is visible only if the Caption back style is Solid.
Caption blink Check this box to make the caption blink at run
time. Clear the check box to prevent the caption from blinking at run time.
16-153
Preface
Word wrap Check this box if you want the caption to continue on
the next line at the beginning of a new word. If this box is not checked, the caption continues on the next line whenever the maximum text length is reached, even if this occurs in the middle of a word. The maximum text length depends on the width of the object and the font size.
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.
Caption back style Click Solid to cover the indicators background (such as a graphic image) behind the text. Click Transparent to allow the indicators background to show through between the letters.
Image Type the name of the image file to display on the indicator,
If you click the Browse button, the Image Browser opens. Click an image in the Select image box, and then click OK.
Image back style Click Solid to cover the indicators background
behind the image. Click Transparent to allow the indicators background to show through spaces in the image.
Image color Click the color box, and then click a color for a monochrome image. You cannot change the color of grayscale or color images. Image back color Click the color box, and then click a color for the background of a monochrome image. You cannot change the background color of grayscale or color images. Image blink Check this box to make a monochrome image blink at
run time. Clear the check box to prevent the image from blinking at run time. You cannot make grayscale or color images blink.
16-154
Image scaled Check this box to scale the image to fit the area of
the indicator. Clear the check box to crop the image to the area of the indicator if it is too large to fit on the indicator. If the indicator shape is a Circle or Ellipse, the image is shaped to fit inside the circle or ellipse.
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.
object of its state. For example, the control can indicate the status of a hoist.
Setting up symbols
The symbol is an indicator that displays a single monochrome image that changes color to match the state of a process or operation. This allows the operator to see the status of a process or operation at a glance. Specify the state values, and the color of the image for each state. At run time, the symbol displays the state that matches the Indicator controls value.
To set up a symbol 1. Double-click the symbol.
Setting up symbols
16-155
Preface
tab, as described in the sections that follow. When you are finished, click OK.
16-156
Number of states Click the number of states you want the symbol
to have.
Image Type the name of the monochrome image file to display on
the symbol, or click the Browse button to browse for the image.
Browse button
If you click the Browse button, the Image Browser opens. Click an image in the Select image box, and then click OK.
Trigger type Select Value to trigger a state based on the value of the Value control. Select LSB to trigger a state based on the least significant bit that is set to 1 in the Value control.
Setting up symbols
16-157
Preface Setting up how the symbol changes appearance when its value changes
In the States tab, specify how the symbols appearance changes when its tag or expressions value changes. For tips about setting up states, see page 16-5.
The error state
The symbols error state is displayed at run time when: the Indicator control is unassigned. the Indicator controls value does not match one of the state values you set up. the Trigger type is set to Value and the Indicator control value does not match one of the configured state values. the Trigger type is set to LSB and the position of the least significant bit set in the Value control does not match one of the configured state values the Trigger type is set to Value and an array tag has been assigned to the objects Value control.
16-158
Value Type the integer value for the selected state. When the
Indicator control changes to this value, the symbols appearance changes to the settings you specify for the state.
Border color Click the color box, and then click a color for the
symbols border.
16-159
Setting up symbols
Preface
Image color Click the color box, and then click a color for the
monochrome image.
Image back color Click the color box, and then click a color for the background of the monochrome image. Image back style Click Solid to cover the symbols background
behind the image. Click Transparent to allow the symbols background to show through spaces in the image.
Image blink Check this box to make the monochrome image blink
at run time. Clear the check box to prevent the image from blinking at run time.
object of its state. For example, the control can indicate the state of a pump.
16-160
16-161
Preface
each tab, as described in the sections that follow. When you are finished, click OK.
16-162
Setting up the appearance of the list indicator and its number of states
In the General tab, specify what the indicator looks like at run time, and the number of states for the indicator.
Border style Click a border style in the list, or click None to
Clear the check box if you want the indicators border to have a different color than the indicators background, and then choose a Border color.
Back color Click the color box, and then click a color for the indicators background. Border color Click the color box, and then click a color for the
indicators border.
Pattern style Click a pattern style for the indicator. Pattern color Click the color box, and then click a color for the
pattern.
Selection fore color Click the color box, and then click a color for the text of a highlighted item in the list. Selection back color Click the color box, and then click a color
the check box to prevent the indicator from blinking at run time.
Font, size, and style Click a font for the indicators text 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.
16-163
Preface
Caption truncate Select Word to cut off captions that exceed the maximum length at the beginning of the word. Select Character to cut off captions that exceed the maximum length in the middle of a word.
The maximum caption length depends on the width of the indicator and the font size. When a caption has been truncated, an asterisk ( * ) appears at the right end of the caption to indicate that text is missing.
indicator to have.
Trigger type Select Value to trigger a state based on the value of the Value control. Select LSB to trigger a state based on the least significant bit that is set to 1 in the Value control.
Setting up how the list indicators appearance changes when its value changes
In the States tab, specify how the indicators appearance changes when its tag or expressions value changes. For tips about setting up states, see page 16-5.
16-164
Value Type the integer value for the selected state. When the
Indicator control changes to this value, this state becomes the highlighted state.
16-165
Preface
Caption Type the text to display on the indicator for this state. Caption color Click the color box, and then click a color for the
captions text.
Caption back color Click the color box, and then click a color for
the captions background. The captions background color is visible only if the Caption back style is Solid.
Caption blink Check this box to make the caption blink at run
time. Clear the check box to prevent the caption from blinking at run time.
Caption back style Click Solid to use the Caption back color behind the text. Click Transparent to allow the indicators background to show through between the letters. Alignment Click a position in the grid for the text, relative to the
indicator. In the default alignment position, the text is positioned at the left of the indicator, inside the border (if a border is used).
16-166
object of its state. For example, the control can indicate the mode of operation of a blower.
Preface
If you want to use a different fill color on a bar graph to show abnormal conditions, make sure enough of the new fill color is visible when the abnormal condition occurs that the operator can see the condition.
16-168
If you plan to use colored fills on a gauge to show abnormal conditions, make sure enough of the fill is visible when the abnormal condition occurs that the operator can see the condition.
IMPORTANT
Some people are color blind to red and green so dont rely on color alone to establish meaning.
16-169
Preface
each tab, as described in the sections that follow. When you are finished, click OK.
16-170
Clear the check box if you want the bar graphs border to have a different color than the bar graphs background.
Back style Click Solid to cover objects or the display background
behind the bar graph. Click Transparent to allow objects or the display background behind the bar graph to show through.
Back color Click the color box, and then click a color for the bar graphs background. Border color Click the color box, and then click a color for the bar
graphs border.
Fill color Click the color box, and then click a color for the filled
part of the graph. The filled part represents a numeric value, and is displayed against the graphs background. If you use thresholds, this color is used until the graphs value reaches the first threshold.
16-171
Preface
percentage, depending on the threshold type. When the tag or expression crosses this value, the fill color changes. The section of the graph above the threshold can also begin to blink.
Fill color Click the color box, and then click a color for the filled
blink at run time. Clear the check box to prevent the filled section from blinking at run time.
16-172
Value The Value control changes the fill level on the bar graph. For
example, the Value control can show the temperature in an oven going up.
Setting up gauges
The gauge graphic object represents numeric values using a needle on a dial.
Number formats
The numeric display uses the number formats you set up on the run-time computer. For information about specifying number formats on the PanelView Plus or Windows CE terminal, see page 25-35. For information about specifying number formats in Windows 2000 and Windows XP, see page 24-15. Specify the minimum and maximum values of the gauge, and the tag or expression to which the gauge is connected. At run time, the gauge indicates the value of the tag or expression in relation to the gauges minimum and maximum values.
To set up a gauge 1. Double-click the gauge.
Setting up gauges
16-173
Preface
tab, as described in the sections that follow. When you are finished, click OK.
16-174
behind the gauge. Click Transparent to allow objects or the display background behind the gauge to show through.
Back color Click the color box, and then click a color for the gauges background. Fill color Click the color box, and then click a color for the filled
part of the gauge. The filled part represents a numeric value, and is displayed against the gauges background. If you use thresholds, this color is used until the gauges value reaches the first threshold.
Line style Click a line style for the gauges scale. If you want a line style other than solid, the line width must be 1 pixel. Line width Type a number to change the line thickness of the
gauges needle.
Fore color Click the color box, and then click a color for the
gauges scale. The scale is the curved line and ticks that form the dial shape.
Sweep style Select Point to point the needle at the scale as the
needle sweeps over the gauge. Select Fill to fill the area behind the needle with color as the needle sweeps over the gauge.
Needle width Type a number to change the thickness of the
gauges scale.
Minor ticks Click the number of minor ticks you want on the
gauges scale. Minor ticks are spaced evenly between the major ticks.
Font, size, and style Click a font for the gauges legends (numeric
labels) 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.
Setting up gauges
Preface
If the Value control is at or below this value, the needle is at the left end of the dial.
Maximum value Type the maximum value to display on the gauge.
If the Value control is at or above this value, the needle is at the right end of the dial.
16-176
Show legend Check this box to show numeric labels on the gauge.
The labels show the numeric value for each major tick on the gauge. Clear this check box to remove labels from the gauge.
Digits after decimal Click the number of digits to display after
the decimal point for the numeric labels on the gauges scale.
Legend color Click the color box, and then click a color for the numeric labels on the gauges scale.
percentage, depending on the threshold type. When the tag or expression crosses this value, the fill color changes. The section of the gauge above the threshold can also begin to blink. Threshold fill and blink indicators do not appear if the Sweep style is Point. The Sweep style is specified in the General tab.
Fill color Click the color box, and then click a color for the filled
Setting up gauges
Preface
Blink Check this box to make the filled section above the threshold
blink at run time. Clear the check box to prevent the filled section from blinking at run time.
Value The Value control changes the position of the needle on the
gauge. For example, the Value control can indicate that a machine is overheating, or that a tank is empty.
Setting up scales
Use the scale graphic object to show the possible range of values for a bar graph. Specify how the scale looks. Because the scale doesnt change at run time, you dont need to assign tags or expressions to it. To place value labels on the scale (to create a legend), use text objects. Create the text objects and then position them next to the tick marks on the scale.
To set up a scale 1. Double-click the scale.
16-178
General tab, as described in the next section. When you are finished, click OK.
Setting up scales
Preface
Border style Click a border style in the list, or click None to
Clear the check box if you want the scales border to have a different color than the scales background, and then choose a Border color.
Back color Click the color box, and then click a color for the scales background. Border color Click the color box, and then click a color for the
scales 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 to change the line thickness of the scale.
of the scale.
Blink Check this box to make the scale blink at run time. Clear the
behind the scale. Click Transparent to allow objects or the display background behind the scale to show through.
16-180
Tick direction Click the direction for the ticks to face. For
example, if you are positioning the scale to the right of a vertical bar graph, click right. The tick direction graphic illustrates the selected tick direction.
Major ticks Click the number of major ticks to use on the scale. Minor ticks Click the number of minor ticks to use on the scale.
Preface
the arrow keys and Enter key on a terminals keypad. the arrow keys and Enter key on a keyboard. The operator presses the buttons to scroll up or down the list, or to make selections from the list. The buttons can be set up to work with the control list selector that has input focus, or you can link the buttons to a specific control list selector. For information about how particular buttons work with the control list selector, see page 16-31.
16-182
options on each tab, as described in the sections that follow. When you are finished, click OK.
16-183
Clear the check box if you want the control list selectors border to have a different color than the selectors background, and then choose a Border color.
Back color Click the color box, and then click a color for the control list selectors background. Border color Click the color box, and then click a color for the
pattern.
Selection back color Click the color box, and then click a color
the check box to prevent the selector from blinking at run time.
Font, size, and style Click a font for the selectors text 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.
16-184
Caption truncate Select Word to cut off captions that exceed the maximum length at the beginning of a word. Select Character to cut off captions that exceed the maximum length in the middle of a word.
The maximum caption length depends on the width of the selector and the font size. When a caption has been truncated, an asterisk ( * ) appears at the right end of the caption to indicate that text is missing.
selector to have.
Write on enter Check this box to send the control list selectors state value to the programmable controller when the operator presses Enter.
Clear this check box to send the state value as soon as the operator scrolls to a new state.
Key navigation Check this box to allow the operator to navigate
to the control list selector and give it focus using the keyboard. For more information about key navigation, see page 16-12.
Wrap around Check this box if you want the list to wrap from the end of the list to the beginning when scrolling down and from the beginning of the list to the end when scrolling up.
Preface
For tips about setting up states, see page 16-5.
Value Type the integer value for each state. The Value control
16-186
Caption Type the text to display in the list for this state. Caption color Click the color box, and then click a color for the
captions text.
Caption back color Click the color box, and then click a color for
the captions background. The captions background color is visible only on items in the list that are not highlighted, and if the Caption back style is Solid.
Caption blink Check this box to make the caption blink at run
time. Clear the check box to prevent the caption from blinking at run time.
Caption back style Click Solid to cover the control list selectors background color with the captions background color. Click Transparent to hide the captions background color. Alignment Click a position in the grid, relative to the control list
selector. In the default alignment position, the text is positioned at the left of the control list selector, inside the border (if a border is used).
16-187
Preface
For information about using Enter key handshaking, see page 16-19.
seconds to delay between pressing the Enter key and setting the Enter control to 1. Specify the tag to use for the Enter control in the Connections tab.
Enter key hold time Click the number of milliseconds or seconds
the Enter control remains at a value of 1. This setting applies only if the Enter control is assigned and the Enter handshake control is not assigned (in the Connections tab).
Enter key handshake time Click the maximum number of
seconds the Enter control remains at a value of 1. This setting applies only if the Enter control and Enter handshake control are both assigned (in the Connections tab).
Handshake reset type Click Non-zero Value to reset the Enter control when the Enter handshake control is a non-zero value. Click Zero to Non-zero transition to reset the Enter control when the Enter handshake control changes from 0 to a non-zero value.
16-188
Value The Value control triggers the states action. For example,
when the tag assigned to the control changes to a new state, the data source changes a motors speed to a new setting.
Enter The Enter control accepts values of 0 or 1 only. The control determines how long the Enter key press is registered. No further values can be entered by the selector when the Enter control is set to 1. Enter handshake The Enter handshake control resets the Enter
control, using the Handshake reset type option specified on the Timing tab. Use this control for Enter key handshaking if you want to reset the Enter control when a value in the programmable controller changes.
16-189
Preface
16-190
options on each tab, as described in the sections that follow. When you are finished, click OK.
16-191
Clear the check box if you want the local message displays border to have a different color than the local message displays background, and then choose a Border color.
Back color Click the color box, and then click a color for the local message displays background. Border color Click the color box, and then click a color for the
behind the local message display. Click Transparent to allow objects or the display background behind the local message display to show through.
Pattern style Click a pattern style for the local message display. Pattern color Click the color box, and then click a color for the
pattern.
Fore color Click the color box, and then click a color for the text
run time. Clear the check box to prevent the display from blinking at run time.
16-192
Font, size, and style Click a font for the local message displays
text 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 Check this box if you want the caption to continue on
the next line at the beginning of a new word. If this box is not checked, the caption continues on the next line whenever the maximum text length is reached, even if this occurs in the middle of a word. The maximum text length depends on the width of the object and the font size.
Alignment Click a position in the grid, relative to the local message
display. In the default alignment position, the text is centered vertically and horizontally on the local message display.
Browse button
Message file Type the name of the local message file to use for this local message display. Click the Browse button to browse for the file instead of typing its name.
file is displayed in the local message display. For example, if the Value control is 1, the local message display shows the message whose trigger value is 1. If no message exists for the trigger value, the display is filled with question marks (?).
16-193
Preface
16-194
tab, as described in the sections that follow. When you are finished, click OK.
16-195
Preface Setting up the appearance of the button and the macro to run
In the General tab, specify what the button looks like at run time, and the macro to run when the button is pressed.
Border style Click a border style in the list, or click None to
Clear the check box if you want the buttons border to have a different color than the buttons background, and then choose a Border color.
Back color Click the color box, and then click a color for the buttons background. Border color Click the color box, and then click a color for the
buttons border.
Back style Click Solid to cover objects or the display background
behind the button. Click Transparent to allow objects or the display background behind the button to show through.
Pattern style Click a pattern style for the button. Pattern color Click the color box, and then click a color for the
pattern.
Highlight color Click the color box, and then click a color for the selection border that appears around the button when it is pressed. If the button does not use a border, the highlight color is not visible when the button is pressed. Blink Check this box to make the button blink at run time. Clear
the check box to prevent the button from blinking at run time.
Shape Click a shape for the button.
Macro Type the name of the macro to run when the button is
A macro assigns values to tags. For more information about macros, see Chapter 21.
16-196
touch-insensitive margin inside the objects left and right edges. For information about using touch margins, see page 16-8.
Vertical margin Type the number of pixels for the
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.
16-197
Preface
Caption Type the text you want to appear on the button. If you
dont want any text on the button, leave the Caption box blank. To use an embedded variable in the caption, click Insert Variable, and then click the type of variable to use. Make your choices in the dialog box that opens, and then click OK. For more information about embedded variables, see Chapter 20.
16-198
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, and then click a color for the
captions text.
Caption back color Click the color box, and then click a color for
the captions background. The captions background color is visible only if the Caption back style is Solid.
Caption blink Check this box to make the caption blink at run
time. Clear the check box to prevent the caption from blinking at run time.
Word wrap Check this box if you want the caption to continue on
the next line at the beginning of a new word. If this box is not checked, the caption continues on the next line whenever the maximum text length is reached, even if this occurs in the middle of a word. The maximum text length depends on the width of the object and the font size.
Alignment Click a position in the grid, relative to the button. In
the default alignment position, the text is centered vertically and horizontally on the button.
Caption back style Click Solid to cover the buttons background (such as a graphic image) behind the text. Click Transparent to allow the buttons background to show through between the letters.
16-199
Preface
Image Type the name of the image file to display on the button, or
If you click the Browse button, the Image Browser opens. Click an image in the Select image box, and then click OK.
Image back style Click Solid to cover the buttons background
behind the image. Click Transparent to allow the buttons background to show through spaces in the image.
Image color Click the color box, and then click a color for a monochrome image. You cannot change the color of grayscale or color images. Image back color Click the color box, and then click a color for the background of a monochrome image. You cannot change the background color of grayscale or color images. Image blink Check this box to make a monochrome image blink at
run time. Clear the check box to prevent the image from blinking at run time. You cannot make grayscale or color images blink.
Image scaled Check this 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 if it is too large to fit on the button. If the buttons shape is a circle or ellipse, the image is shaped to fit inside the circle or ellipse.
Alignment Click a position in the grid, relative to the button. In
the default alignment position, the image is centered vertically and horizontally on the button.
16-200
16-201
Preface
options on the General tab, as described in the next section. When you are finished, click OK.
16-202
Clear the check box if you want the time and date displays border to have a different color than the displays background, and then choose a Border color.
Back color Click the color box, and then click a color for the time and date displays background. Border color Click the color box, and then click a color for the
behind the time and date display. Click Transparent to allow objects or the display background behind the time and date display to show through.
Pattern style Click a pattern style for the time and date display. Pattern color Click the color box, and then click a color for the
pattern.
Fore color Click the color box, and then click a color for the text
run time. Clear the check box to prevent the display from blinking at run time.
16-203
Preface
Font, size, and style Click a font for the time and date displays
text 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 Check this box if you want the caption to continue on
the next line at the beginning of a new word. If this box is not checked, the caption continues on the next line whenever the maximum text length is reached, even if this occurs in the middle of a word. The maximum text length depends on the width of the object and the font size.
Alignment Click a position in the grid, relative to the time and
date display. In the default alignment position, the text is centered vertically and horizontally on the display.
Time and date format Click the format in which to display the
time and date. The options include date only and time only.
16-204
the options on each tab, as described in the sections that follow. When you are finished, click OK.
16-205
Clear the check box if you want the buttons border to have a different color than the buttons background, and then choose a Border color.
Back color Click the color box, and then click a color for the buttons background. Border color Click the color box, and then click a color for the
buttons border.
Back style Click Solid to cover objects or the display background
behind the button. Click Transparent to allow objects or the display background behind the button to show through.
Pattern style Click a pattern style for the button. Pattern color Click the color box, and then click a color for the
pattern.
Highlight color Click the color box, and then click a color for the selection border that appears around the button when it is pressed. If the button does not use a border, the highlight color is not visible when the button is pressed. Blink Check this box to make the button blink at run time. Clear
the check box to prevent the button from blinking at run time.
Shape Click a shape for the button.
touch-insensitive margin inside the objects left and right edges. For information about using touch margins, see page 16-8.
16-206
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.
16-207
Preface
Caption Type the text you want to appear on the button. If you
dont want any text on the button, leave the Caption box blank. To use an embedded variable in the caption, click Insert Variable, and then click the type of variable to use. Make your choices in the dialog box that opens, and then click OK. For more information about embedded variables, see Chapter 20.
16-208
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, and then click a color for the
captions text.
Caption back color Click the color box, and then click a color for
the captions background. The captions background color is visible only if the Caption back style is Solid.
Caption blink Check this box to make the caption blink at run
time. Clear the check box to prevent the caption from blinking at run time.
Word wrap Check this box if you want the caption to continue on
the next line at the beginning of a new word. If this box is not checked, the caption continues on the next line whenever the maximum text length is reached, even if this occurs in the middle of a word. The maximum text length depends on the width of the object and the font size.
Alignment Click a position in the grid, relative to the button. In
the default alignment position, the text is centered vertically and horizontally on the button.
Caption back style Click Solid to cover the buttons background (such as a graphic image) behind the text. Click Transparent to allow the buttons background to show through between the letters.
16-209
Preface
Image Type the name of the image file to display on the button, or
If you click the Browse button, the Image Browser opens. Click an image in the Select image box, and then click OK.
Image back style Click Solid to cover the buttons background
behind the image. Click Transparent to allow the buttons background to show through spaces in the image.
Image color Click the color box, and then click a color for a monochrome image. You cannot change the color of grayscale or color images. Image back color Click the color box, and then click a color for the background of a monochrome image. You cannot change the background color of grayscale or color images. Image blink Check this box to make a monochrome image blink at
run time. Clear the check box to prevent the image from blinking at run time. You cannot make grayscale or color images blink.
Image scaled Check this 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 if it is too large to fit on the button. If the buttons shape is a circle or ellipse, the image is shaped to fit inside the circle or ellipse.
Alignment Click a position in the grid, relative to the button. In
the default alignment position, the image is centered vertically and horizontally on the button.
16-210
To set up what appears on the report 1. In the Select a column list, click the type of information to
include on the report: Trigger labelprints the trigger label associated with the alarm. Trigger valueprints the trigger value of the alarm.
16-211
Preface
Alarm timeprints the date and time at which the alarm was triggered. Acknowledge timeprints the date and time at which the alarm was acknowledged. Messageprints the alarm message.
2. Check the Print box to include the information on the report.
Clear the box if you dont want the information to appear on the report.
3. In the Width box, type the number of characters for the width
of the column. This box applies to the width of the column for the trigger label and trigger value only.
4. Repeat steps 1 through 3 for each column of information.
5. In the Title box, type the title for the report, up to 80 characters.
16-212
the options on each tab, as described in the sections that follow. When you are finished, click OK.
16-213
Clear the check box if you want the buttons border to have a different color than the buttons background, and then choose a Border color.
Back color Click the color box, and then click a color for the buttons background. Border color Click the color box, and then click a color for the
buttons border.
Back style Click Solid to cover objects or the display background
behind the button. Click Transparent to allow objects or the display background behind the button to show through.
Pattern style Click a pattern style for the button. Pattern color Click the color box, and then click a color for the
pattern.
Highlight color Click the color box, and then click a color for the selection border that appears around the button when it is pressed. If the button does not use a border, the highlight color is not visible when the button is pressed. Blink Check this box to make the button blink at run time. Clear
the check box to prevent the button from blinking at run time.
Shape Click a shape for the button.
touch-insensitive margin inside the objects left and right edges. For information about using touch margins, see page 16-8.
16-214
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.
16-215
Preface
Caption Type the text you want to appear on the button. If you
dont want any text on the button, leave the Caption box blank. To use an embedded variable in the caption, click Insert Variable, and then click the type of variable to use. Make your choices in the dialog box that opens, and then click OK. For more information about embedded variables, see Chapter 20.
16-216
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, and then click a color for the
captions text.
Caption back color Click the color box, and then click a color for
the captions background. The captions background color is visible only if the Caption back style is Solid.
Caption blink Check this box to make the caption blink at run
time. Clear the check box to prevent the caption from blinking at run time.
Word wrap Check this box if you want the caption to continue on
the next line at the beginning of a new word. If this box is not checked, the caption continues on the next line whenever the maximum text length is reached, even if this occurs in the middle of a word. The maximum text length depends on the width of the object and the font size.
Alignment Click a position in the grid, relative to the button. In
the default alignment position, the text is centered vertically and horizontally on the button.
Caption back style Click Solid to cover the buttons background (such as a graphic image) behind the text. Click Transparent to allow the buttons background to show through between the letters.
16-217
Preface
Image Type the name of the image file to display on the button, or
If you click the Browse button, the Image Browser opens. Click an image in the Select image box, and then click OK.
Image back style Click Solid to cover the buttons background
behind the image. Click Transparent to allow the buttons background to show through spaces in the image.
Image color Click the color box, and then click a color for a monochrome image. You cannot change the color of grayscale or color images. Image back color Click the color box, and then click a color for the background of a monochrome image. You cannot change the background color of grayscale or color images. Image blink Check this box to make a monochrome image blink at
run time. Clear the check box to prevent the image from blinking at run time. You cannot make grayscale or color images blink.
Image scaled Check this 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 if it is too large to fit on the button. If the buttons shape is a circle or ellipse, the image is shaped to fit inside the circle or ellipse.
Alignment Click a position in the grid, relative to the button. In
the default alignment position, the image is centered vertically and horizontally on the button.
16-218
To set up what appears on the report 1. In the Select a column list, click the type of information to
include on the report: Trigger labelprints the trigger label associated with the alarm. Trigger valueprints the trigger value of the alarm.
16-219
Preface
Alarm quantityprints the number of times the alarm has been triggered. Accumulated timeprints the total time the alarm has been in alarm (since the alarm status was last reset). Alarm stateprints the alarm status. At run time, an asterisk (*) indicates the alarm is active. If the column is blank, the alarm is off. Messageprints the alarm message.
2. Check the Print box to include the information on the report.
Clear the box if you dont want the information to appear on the report.
3. In the Width box, type the number of characters for the width
of the column. This box applies to the width of the column for the trigger label and trigger value only.
4. Repeat steps 1 through 3 for each column of information.
5. In the Title box, type the title for the report, up to 80 characters.
All alarmsprints all the alarms for each alarm trigger that has been set up, whether or not an alarm has ever been active. Active alarmsprints all the alarms that are active at the time the button is pressed. Past alarmsprints all the alarms that have been active since the alarm status was last reset.
16-220
16-221
Preface
each tab, as described in the sections that follow. When you are finished, click OK.
16-222
Clear the check box if you want the alarm lists border to have a different color than the lists background, and then choose a Border color.
Back color Click the color box, and then click a color for the alarm lists background. Border color Click the color box, and then click a color for the
Font, size, and style Click a font for the alarm lists text 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.
16-223
Preface
to the alarm list and give it focus using the keyboard. For more information about key navigation, see page 16-12.
Wrap around Check this box if you want the list to wrap from the end of the list to the beginning when scrolling down and from the beginning of the list to the end when scrolling up.
16-224
To set up what appears in the list 1. In the Select a column list, click the type of information to
include in the list: Alarm timedisplays the time the alarm was triggered.
16-225
Preface
Acknowledge timedisplays the time the alarm was acknowledged. If the List type is unacknowledged alarms only, the acknowledge time never appears in this column. Messagedisplays the alarm message.
2. Check the Display box to include the information in the list.
Clear the box if you dont want the information to appear in the list.
3. For the alarm time and acknowledge time, click the format in
All alarmsdisplays all the alarms in the alarm log file. Unacknowledged alarms onlydisplays all the alarms that have not been acknowledged.
16-226
8. If you want to show only the alarms for specific alarm triggers, Browse button
type the trigger labels in the Filtered triggers box. Or, click the Browse button to browse for the trigger names. Type a comma between trigger names.
16-227
Preface
the General tab, as described in the next section. When you are finished, click OK.
16-228
Setting up the appearance of the banner and the types of alarms to display
In the General tab, specify what the banner looks like at run time, whether to queue alarms, and whether to display all alarms or active alarms only.
Border style Click a border style in the list, or click None to
Clear the check box if you want the banners border to have a different color than the banners background, and then choose a Border color.
Back color Click the color box, and then click a color for the banners background. Border color Click the color box, and then click a color for the
banners border.
Back style Click Solid to cover objects or the display background
behind the banner. Click Transparent to allow objects or the display background behind the banner to show through.
Pattern style Click a pattern style for the banner. Pattern color Click the color box, and then click a color for the
pattern.
Blink Check this box to make the banner blink at run time. Clear
the check box to prevent the banner from blinking at run time.
Font, size, and style Click a font for the banners text 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.
16-229
Preface
Alignment Click a position in the grid, relative to the banner. In
the default alignment position, the text is centered vertically and horizontally on the banner.
Word wrap Check this box if you want the caption to continue on
the next line at the beginning of a new word. If this box is not checked, the caption continues on the next line whenever the maximum text length is reached, even if this occurs in the middle of a word. The maximum text length depends on the width of the object and the font size.
Queue new alarms Check this box to queue new alarms until the operator clears the current alarm from the banner. When the banner is cleared, the next alarm is displayed, if there is one.
Clear the check box if you want the banner to always display the most recent alarm.
Display trigger value Check this box to display the trigger value associated with the alarm. Display trigger label Check this box to display the trigger label associated with the alarm. Display inactive alarms Check this box to display inactive alarms. If an alarm is inactive, that means it is no longer in alarmthe condition that triggered the alarm no longer exists. Display alarm state If you select Display inactive alarms, check
this box to display the alarm state. If an alarm is still active, an asterisk (*) appears beside the message.
Display alarm time Check this box to display the alarm time. Alarm time format If you select Display alarm time, click the
format in which to display the time and date for the alarm time.
16-230
to the alarm banner and give it focus using the keyboard. For more information about key navigation, see page 16-12.
16-231
Preface
2. In the Alarm Status List Properties dialog box, fill in the options
on each tab, as described in the sections that follow. When you are finished, click OK.
16-232
Clear the check box if you want the alarm status lists border to have a different color than the lists background, and then choose a Border color.
Back color Click the color box, and then click a color for the alarm status lists background. Border color Click the color box, and then click a color for the
Font, size, and style Click a font for the alarm status lists text 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.
16-233
Preface
Key navigation Check this box to allow the operator to navigate
to the alarm status list and give it focus using the keyboard. For more information about key navigation, see page 16-12.
Wrap around Check this box if you want the list to wrap from the end of the list to the beginning when scrolling down and from the beginning of the list to the end when scrolling up.
16-234
To set up what appears in the list 1. In the Select a column list, click the type of information to
include in the list: Trigger labeldisplays the trigger label associated with the alarm. Trigger valuedisplays the trigger value of the alarm.
16-235
Preface
Alarm quantitydisplays the number of times the alarm has been triggered. Accumulated timedisplays the total time the alarm has been in alarm (since the alarm status was last reset). Alarm statedisplays the alarm status. At run time, an asterisk (*) indicates the alarm is active. If the column is blank, the alarm is off. Messagedisplays the alarm message.
2. Check the Display box to include the information in the list.
Clear the box if you dont want the information to appear in the list.
3. In the Width box, type the number of pixels for the width of the
column.
4. In the Header text box, type the heading to appear at the top of
6. Click the status mode (type of alarms) to display in the list when
it first opens: All alarmsdisplays the status of all the alarms that have been defined in the Alarm Setup editor. Active alarmsdisplays the status of all the alarms that are currently active. Past alarmsdisplays the status of all the alarms that have been active since the alarm status was last reset.
7. In the Titles box, type a title for the alarm status list, up to 80
characters. Type a title for each status mode. At run time, the title for the current status mode appears at the top of the list.
16-236
8. Specify whether to display the column headings and title for the
alarm status list. Check the boxes to display the headings and title.
9. If you want to show only the alarm status for specific alarm Browse button
triggers, type the trigger labels in the Filtered triggers box. Or, click the Browse button to browse for the trigger names. Type a comma between trigger names.
16-237
Preface
on the General tab, as described in the next section. When you are finished, click OK.
16-238
Clear the check box if you want the diagnostics lists border to have a different color than the lists background, and then choose a Border color.
Back color Click the color box, and then click a color for the diagnostics lists background. Border color Click the color box, and then click a color for the
Font, size, and style Click a font for the diagnostics lists text 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.
16-239
Preface
to the diagnostics list and give it focus using the keyboard. For more information about key navigation, see page 16-12.
Wrap around Check this box if you want the list to wrap from the end of the list to the beginning when scrolling down and from the beginning of the list to the end when scrolling up.
16-240
in the options on the General tab, as described in the next section. When you are finished, click OK.
16-241
Clear the check box if you want the information message displays border to have a different color than the displays background, and then choose a Border color.
Back color Click the color box, and then click a color for the information message displays background. Border color Click the color box, and then click a color for the
behind the information message display. Click Transparent to allow objects or the display background behind the information message display to show through.
Pattern style Click a pattern style for the information message
display.
Pattern color Click the color box, and then click a color for the
pattern.
Fore color Click the color box, and then click a color for the text
blink at run time. Clear the check box to prevent the display from blinking at run time.
16-242
Font, size, and style Click a font for the information message
displays text 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 Check this box if you want the caption to continue on
the next line at the beginning of a new word. If this box is not checked, the caption continues on the next line whenever the maximum text length is reached, even if this occurs in the middle of a word. The maximum text length depends on the width of the object and the font size.
Alignment Click a position in the grid, relative to the information
message display. In the default alignment position, the text is centered vertically and horizontally on the display. Congratulations! You have reached the end of Chapter 16.
16-243
17
Chapter
Types of animation
Animation associates graphic objects with tags so the appearance or position of an object changes to reflect changes to the tags value. For example, an objects color could change from yellow to orange to red as the tags value increases. Or a slider could move from left to right as a tags value increases. You can use these types of animation: color fill height horizontal position horizontal slider rotation
17-1
Types of animation
Preface
vertical position vertical slider visibility width The Objects sample application contains many examples of animation. In particular, see the graphic displays called Animation I and Animation II.
Drawing objects, except images, panels, and rounded rectangles Rounded rectangles All other objects
You can also attach animation to groups of drawing objects. For more information, see page 17-30. You can attach as many types of animation to a drawing object (except images and panels) as you like. For example, apply width, height, horizontal position, and vertical position animation to an object to give it the appearance of moving into or out of the display as it shrinks and grows.
Select an object, and then on the View menu click Animation. Select an object, and then on the Animation menu click an animation type. Animation types that are not supported for the selected object are unavailable.
17-2
Right-click an object, select Animation, and then click an animation type. Animation types that are not supported for the selected object are unavailable.
View menu Animation menu
17-3
Preface
Animation tabs Expression box
Expression range
Animation result
Animation tabs
Click the tab for the type of animation to set up. If the animation type is not supported for the selected object, the boxes in the tab are unavailable. Touch and OLE Verb animation are not supported in machine-level applications.
Expression box
Create an expression either by typing it or by clicking the Expression button. If you click Expression, the Expression editor opens. You can use the editor to check your expression syntax to make sure its valid.
17-4
To supply a tag name for an expression, click the Tags button and then select a name, or type the name in the Expression box. If you use multiple tags in an expression, the first tags minimum and maximum values are used if you select the expression range Use tags min and max property values. Enclose tag names that contain dashes or start with a number in braces { } when you use them in an expression. This distinguishes the characters in the tag name from the characters in the expression. For more information about creating expressions, see Chapter 19. For horizontal and vertical sliders, you assign a single tag to define animation. In the Animation tabs for slider animation, there is a Tags box rather than an Expression box.
Expression range
Specify how to calculate the minimum and maximum values for the tag or expression. If a value falls outside the specified range, it will be evaluated as either the minimum or maximum value. For details, see page 17-8.
Animation Result
Specify how the objects appearance changes based on the result of the expression. The boxes in this area change for each type of animation. For some types of animation, you specify a change of state. For example, an object with visibility animation switches between visible and invisible.
17-5
Preface
For other types of animation, you specify a range of motion. For example, an object can move from a fixed starting point to a fixed end point. The range of motion is related to the minimum and maximum values for the expression. The object moves from the At minimum position to the At maximum position as the expression value changes to the maximum value.
Apply, Delete, and Close Buttons
Apply
Applies the animation set up for the selected object or group of objects. Choosing another tab is the same as choosing Applythe animation you set up is applied to the object. Deletes the animation for the selected object. Prompts to apply changes and closes the dialog box.
Delete Close
Testing animation
To test the animation you have set up in a graphic display, use the Test Display tool to switch to test mode. When you are finished testing, switch back to edit mode to continue editing.
17-6
On the View menu, click Test Display or Edit Display, or click the Test Display and Edit Display tools.
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 box.
Tag names
You can use tag names that you have already added to the HMI tag database or you can use a new tag name.
Tag placeholders
Tag placeholders allow you to create displays that can be used with different tags. You can use tag placeholders in: the graphic display that opens when the application is first run. graphic displays that are opened using a goto display button. graphic displays that are opened using a display list selector. Use parameter files to specify which tags to substitute for which placeholders. For information about creating parameter files, see page 14-29.
17-7
Preface
The tag placeholder can replace any part of a tag name, including folder names. For example, you could create a parameter file specifying that the tag placeholder #1=Folder1. You could assign the folder and a tag name to a graphic objects control: #1\Tag1.
To create a tag placeholder
"
In the Expression box, type the cross-hatch character followed by a number (no space in between). For example, #1.
Using expressions
Many types of animation can be achieved using expressions. You can use expressions containing tag values, constants, mathematical equations, and if-then-else logic. A tag name or tag placeholder can be included as part of an expression, or it can stand alone as the entire expression. For more information about expressions, see Chapter 19.
17-8
Browse button
Read from tagsselect this method to read two tags values to determine the minimum and maximum values. Type the tag names in the boxes, or click the Browse buttons to open the Tag Browser and select the tags. If you use this method, the tags are read when the graphic display opens. Their values at that time are used for the minimum and maximum values. The tags are not read again after this.
Example: Using Object Smart Path to define the range of motion for horizontal slider animation
To define a range of motion for a slider object 1. In the Graphic Displays editor, create a slider object using a line
and a rectangle, or copy a slider object from the Sliders graphic library.
2. Open the Animation dialog box and click the Horizontal Slider
tab.
17-9
Preface
3. In the display, select the rectangle in the slider object. 4. In the Tag box of the Animation dialog box, specify a tag name.
5. In the display, drag the rectangle to the position that will indicate
In the Animation dialog box, set this position by clicking the At minimum check box.
6. In the display, drag the rectangle to the position that will indicate
17-10
In the Animation dialog box, set this position by clicking the At maximum check box.
When you finish setting up the animation, the rectangle returns to its original position.
If you use a tags value to control visibility animation as well as in an expression to control some other aspect of animation, when you set up visibility you should set the Expression true state to Invisible. If you do not do this, the object could appear briefly in its design-time location and orientation before animating properly.
17-11
Preface
To set up visibility animation 1. Select the object. 2. In the Animation dialog box, click the Visibility tab. 3. In the Expression box, create an expression. 4. Specify the Expression true state:
InvisibleClick this if you want the object to be invisible when the tag or expression value is truethat is, when it does not equal 0. VisibleClick this if you want the object to be visible when the tag or expression value is truethat is, when it does not equal 0.
5. Click Apply.
17-12
The CurrentUserName( ) function is case sensitive. All user names use uppercase letters, so make sure that you use uppercase letters in your expression.
To specify which user can view an object in a display 1. Select the object to which to limit visibility. 2. Open the Animation dialog box and click the Visibility tab. 3. In the Expression box, type this:
CurrentUserName( ) == ADMIN
4. For the Expression true state, click Visible.
At run time, the object is visible only if the Admin user is logged in.
Preface
Color animation is available for all drawing objects except images and panels.
The list box displays the values and colors for each threshold.
17-14
Foreground color Background color If you select white, the color box is not visible against the white background of the dialog box.
A box with two colors shows the colors the object will alternate between when blinking.
To set up color animation 1. Select the object. 2. In the Animation dialog box, click the Color tab. 3. In the Expression box, create an expression. 4. In the list box, select a threshold (A through P) for which to set
up a value and colors. You can change the default values and colors for thresholds A and B. The other thresholds have no defaults.
5. In the Value box, type the threshold value. When the expression
value reaches this threshold, the objects color changes. Enter threshold values in ascending order. That is, A must be lower than B, B must be lower than C, and so on. To delete a value for a threshold (A - P), select the threshold and delete the value in the Value box. In the list box, the value is replaced with No value.
6. Click Solid or Blink for the foreground and background colors,
and then select the foreground and background colors to use. Foreground colors apply to the objects Fore color and Pattern color properties. Background colors apply to the objects Back color properties.
17-15
Preface
To select a color, click the color box, and then click the desired color.
Specify the solid color here. Specify the blinking colors here.
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.
box as 0.)
5. For the foreground color, click Blink. (If desired, click Blink for
use.
7. Click Apply.
17-16
Example 2: Creating an object that changes color as the fill level changes
This example describes how to create a rectangle object that changes color as the objects fill level increases. This example uses a tag called Hopper1\FlourLevel. The tag has a range of 1 to 100. When the flour level reaches 80, the rectangle blinks between gray and yellow to warn the operator that the hopper is nearly full. When the flour level reaches 95, the rectangle blinks between gray and red. You could use a bar graph object (without animation) to achieve a similar result.
1. Double-click the rectangle to open the Polygon Properties dialog
box. Assign these properties to the rectangle: In the Back style box, select Solid. For the Fore color and Back color, select gray.
2. Click OK to close the Polygon Properties dialog box. 3. With the rectangle selected, open the Animation dialog box, and
In the Expression box, type Hopper1\FlourLevel (this is the tag that monitors the fill level). For Fill Direction, click Up.
5. Click the Color tab and then attach color animation as follows:
In the Expression box, type Hopper1\FlourLevel (the same tag that was used in the Fill tab).
Set up the color for the normal state
In the list box, click A. (In the Value box, leave the value as 0.) For foreground and background colors, click Solid. For each, click the color box, and then click gray (the same gray used for the rectangle).
Set up the color for the first warning
In the list box, click B. In the Value box, type 80. For foreground and background colors, click Blink.
17-17
Preface
Yellow Gray
For the foreground colors, select gray for the first color and yellow for the second color. Repeat for the background colors.
Set up the color for the second warning
In the list box, click C. In the Value box, type 95. For the foreground and background colors, click Blink.
Gray Red
For the foreground colors, select gray for the first color and red for the second color. Repeat for the background colors.
6. Click Apply.
17-18
To set up fill animation 1. Select the object. 2. In the Animation dialog box, click the Fill tab. 3. In the Expression box, create an expression. 4. Specify At minimum and At maximum values for the fill
percentage levels.
5. Click a fill direction. 6. If you want the objects outline to remain constant so only the
inside fill level varies, select the Inside Only check box.
7. Select the method to use to calculate the expressions minimum
Preface
To set up horizontal position animation 1. Select the object. 2. In the Animation dialog box, click the Horizontal Position tab. 3. In the Expression box, create an expression. 4. Set the starting point for the object by dragging the object or by
typing a value in pixels (in relation to its current position on the display).
5. Click the At minimum check box. 6. Set the ending point for the object by dragging the object or by
typing a value in pixels (in relation to its current position on the display).
7. Click the At maximum check box. 8. Select the method to use to calculate the expressions minimum
17-20
Vertical position animation is available for all drawing objects except images and panels.
To set up vertical position animation 1. Select the object. 2. In the Animation dialog box, click the Vertical Position tab. 3. In the Expression box, create an expression. 4. Set the starting point for the object by dragging the object or by
typing a value in pixels (in relation to its current position on the display).
5. Click the At minimum check box. 6. Set the ending point for the object by dragging the object or by
typing a value in pixels (in relation to its current position on the display).
7. Click the At maximum check box. 8. Select the method to use to calculate the expressions minimum
Preface
Width animation is available for all drawing objects except images and panels.
following: Click a handle on the left or right side of the object and drag it to resize the object. Type the width (as a percentage of the full width) you want the object to be when the expression evaluates to its minimum value.
5. Click the At minimum check box. 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. Type the width (as a percentage of the full width) you want the object to be when the expression evaluates to its maximum value.
17-22
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.
9. Select the method to use to calculate the expressions minimum
Preface
2. In the Animation dialog box, click the Height tab. 3. In the Expression box, create an expression. 4. Set the minimum height for the object by doing one of the
following: Click a handle on the top or bottom of the object and drag it to resize the object. Type the height (as a percentage of the full height) you want the object to be when the expression evaluates to its minimum value.
5. Click the At minimum check box. 6. Set the maximum height for the object by doing one of the
following: Click a handle on the top or bottom of the object and drag it to resize the object. Type the height (as a percentage of the full height) you want the object to be when the expression evaluates to its maximum value.
7. Click the At maximum check box. 8. 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.
9. Select the method to use to calculate the expressions minimum
17-24
To set up rotation animation 1. Select the object. 2. In the Animation dialog box, click the Rotation tab. 3. In the Expression box, create an expression. 4. Set the center of rotation using one of the methods described
next. The center of rotation is the point around which the object will rotate. This point can be inside or outside of the object. If it is outside, the object will appear as if it is moving in an arc.
Using the default center points
To use the default center points, click a Center of rotation button. Why use the default center points? If you set the center of rotation with the default center points, the object will rotate around the same point even if the object is resized. For example, the top-middle point will always be the center of rotation no matter what size the object is.
Specifying coordinates
17-25
Preface
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:
Objects cross-hair
Select the button beside the coordinates box. Place the mouse pointer over the objects cross-hair until the cursor changes to a cross-hair, and then click and drag the cross-hair to the desired center of rotation. Type values in the coordinates box, and then select the button beside the box.
5. Set the range of motion for the object.
To set the minimum, do one of the following and then select the At minimum check box: With the cursor indicating the Rotate tool (not the cross-hair), visually set the degree of rotation by clicking the mouse and dragging until the object is in the desired minimum (beginning) position.
Rotate tool
Type the desired minimum degree of rotation (this value is relative to the objects current position). For clockwise rotation, use a positive number. For counterclockwise rotation, use a negative number. To set the maximum, do one of the following and then select the At maximum check box: With the cursor indicating the Rotate tool (not the cross-hair), visually set the degree of rotation by clicking the mouse and dragging until the object is in the desired maximum (ending) position. Type the desired maximum degree of rotation (this value is relative to the objects current position). For clockwise rotation, use a positive number. For counterclockwise rotation, use a negative number.
6. Select the method to use to calculate the expressions minimum
17-26
Tips
Here are some tips for creating slider objects: The Sliders graphic library contains several slider objects you can drag and drop into your graphic displays. Attach slider animation to the button portion of the slider object. If you create your own slider object, its useful to draw an object (for example, a line) to represent the path the slider will move along.
To set up horizontal slider animation 1. Select the object. 2. In the Animation dialog box, click the Horizontal Slider tab.
17-27
Preface
3. In the Tag box, type the name of the tag whose value will be set
by the slider.
4. Set the starting point for the slider object by dragging the object
17-28
To set up vertical slider animation 1. Select the object. 2. In the Animation dialog box, click the Vertical Slider tab. 3. In the Tag box, type the name of the tag whose value will be set
by the slider.
4. Set the starting point for the slider object by dragging the object
17-29
Preface
Color, fill
Animation attached to individual objects within the group overrides group animation. Group animation overrides animation attached to individual objects within the group. Animation results for individual objects and the group are combined. For example, if an individuals horizontal position animation result is to offset the object by 100 pixels, and the groups result is to offset the group by 200 pixels, the individual object is offset by 300 pixels. When the groups animation visibility is False (the group is not visible), then no objects in the group are visible, regardless of the animation status of the individual objects. When the groups animation visibility is True (the group is visible), the visibility of an object within the group is determined by the individual object animation.
Horizontal slider, vertical slider Height, width, horizontal position, vertical position, and rotation
Visibility
Test your animation to ensure you achieve the intended results. To apply animation to objects within groups, use the group edit feature. For details, see page 15-58.
17-30
To view the animation on an object using the Animation menu 1. Select an object. 2. View the animation by doing one of the following:
Click the Animation menu and see which items have a check mark. Right-click the object and then select Animation to see which items have a check mark.
This object has visibility, color, fill, and horizontal slider animation.
To view the animation on an object using the Animation dialog box 1. Select an object. 2. On the View menu, click Animation.
When the Animation dialog box opens, look at which tabs have check marks on them to see which types of animation have been set up.
17-31
Preface
17-32
For information about copying and duplicating objects, see pages 15-51 and 15-53.
To paste to a single object, you can right-click the object and then click Paste Animation.
17-33
18
Chapter
Setting up trends
This chapter describes: what trends are. the parts of the trend graphic object. the different chart types. choosing colors, fonts, lines and markers for the trend. testing the trend. steps for creating trends. creating and setting up trend graphic objects. using objects from the Trends graphic library. using buttons to control the trend at run time. printing trend data. run-time errors for trends.
About trends
A trend is a visual representation of current or historical tag values. The trend provides operators with a way of tracking plant activity as it is happening. You can: plot data for as many as eight tags or expressions on one trend. create a trend that is part of a graphic display or acts as the entire graphic display. plot data over time, or plot one variable against another in an XY Plot chart to show the relationship between them. display isolated or non-isolated graphs. Isolated graphing places each pen in a separate band of the chart. With non-isolated graphing, pen values can overlap. create buttons to allow the operator to pause, scroll, and print the trend data.
18-1
About trends
Preface
The illustration below shows a trend that has been added to a graphic display. You can view the Kiln Status display by opening the Malthouse sample application.
18-2
For information about specifying time, date, and number formats on the PanelView Plus or Windows CE terminal, see page 25-35. For information about specifying time, date, and number formats in Windows 2000 and Windows XP, see page 24-15.
Digital plotting
Pen marker
x-axis
Trend border
The border appears around the trend object at run time when the trend is selected. The border uses the highlight color for the graphic display, specified in the Behavior tab of the Display Settings dialog box.
18-3
Chart
The chart is the area of the trend in which values are plotted. It is bounded by the y-axis on the left and the x-axis on the bottom. It contains the plotted trend data (shown using pen lines and pen markers), as well as grid lines (if you choose to display them).
Y-axis
The y-axis is the left vertical edge of the chart. It is also known as the vertical axis.
X-axis
The x-axis is the bottom horizontal edge of the chart. It is also known as the horizontal axis.
18-4
Pens
Pens are the lines and/or symbols used to represent values. The values can be tags you are monitoring, expressions that manipulate tag values, or constants. For details, see page 18-21. If there is no data for a pen, or if the data is outside the vertical axis range, the pen does not appear in the chart.
Pen icons
Pen icons appear at the right edge of the chart at run time, if you choose to display them. The icons position indicates the pens most recent recorded value (from the value table), even if the trend is paused or if the most recent value has not been plotted yet.
Pen markers
Pen markers are symbols that indicate data points. If data is plotted frequently, the markers might not appear as distinct, separate symbols. For example, see the lowest pen in the illustration on page 18-3.
Chart types
Standard vs. XY Plots
You can create a standard chart, which plots tag values against time, or an XY Plot chart, which plots one (or more) tags values against anothers.
18-5
Chart types
Preface
This illustration shows what an XY Plot chart could look like:
Time period
Notice that the horizontal axis labels display the range for the specified x-axis pen. The time period covered by the chart is at the upper left.
Isolated graphing
For charts with multiple pens, you can allow the pen values to overlap, or you can isolate each pen in its own horizontal band on the chart.
18-6
This is an example of isolated graphing, with a 10% buffer between each pens band:
Notice that in this illustration each pen uses its own scale. If desired, you can use the same scale for all pens. With isolated graphing, a grid line is automatically placed above each pens band.
Chart types
Preface
In the Connections tab, assign to a pen the tag, expression, or constant whose value will be used to determine the position of the line, and then in the Pens tab, choose the pen type Full Width. As soon as the trend is displayed, the pen appears as a horizontal line across the full width of the chart. Its vertical position is determined by the tag, expression, or constants value. If the value changes, the position changes.
Chart background color Horizontal label color Text font, style, and size Pen line, pen marker, pen icon, and vertical label color Pen line width Pen line style Pen marker Vertical grid line color Horizontal grid line color
18-8
In the Property Panel, select the opaque WindowStyle, and then specify the WindowColor property.
For information about using the Property Panel, see page 15-35.
On the View menu, click Test Display or Edit Display, or click the Test Display and Edit Display tools.
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 box. Also, data logging is not enabled in test mode.
Summary of steps
These are the steps for creating a trend:
1. To plot historical data, create a data log model in the Data Log
buttons in the same graphic display, to allow the operator to switch between pens, pause the trend, or scroll the trend.
18-9
Summary of steps
Preface
For information about the buttons you can use with trends, see page 18-25.
5. To keep a printed record of the trend data, provide a way for the
operator to print the graphic display. For information see page 18-27.
In the Objects toolbox, click the Trend tool. On the Objects menu, select Trending, and then click Trend.
3. Drag the mouse to create a box approximately the size you want
dialog box.
5. Set up the trend as described in the next section. 6. When youre finished setting up the trend, click OK to save your
changes.
7. To name the trend, open the Property Panel and then type a
name in the (Name) row. The name can contain letters, numbers, and the underscore character (_), but the first character must be a letter. Do not use spaces in the name. The name is used in the status bar, activity bar, Property Panel, Object Explorer, and activity log messages. 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. For more information about graphic objects, see Chapter 15.
Setting up trends
When you double-click a trend object, the Trend Object Properties dialog box opens. Use the dialog box to set up the trend.
18-10
Set up how the trend looks. Set up how the trend works at run time. Set up pens. Set up the horizontal axis. Set up the vertical axis. Set up focus highlight and keyboard navigation. Set up the tags and expressions to plot data for.
Setting up trends
18-11
Preface
Before you set up the pens in the Pens tab, use the Connections tab to specify the tags and expressions for which to plot data.
Specify the plotting style of the trend: Standardplots each pen against time (with time on the horizontal axis). XY Plotplots each pen against a pen that serves as the x-axis. In the X-Axis pen box, select the pen to use for the x-axis.
Chart update mode
Specify how often the trend updates with new data: Automaticupdates data at regular time intervals. In the Refresh Rate box, type a time and click a time unit to specify how often the trend acquires data. The refresh rate range is 50 milliseconds to 596 hours. On Changeupdates the data as values change. This mode is useful for data that changes rapidly. To specify how often data is updated even if no change has occurred, in the Heartbeat box type a time, and then click a time unit. If you do not want to use the heartbeat, type 0. To specify a percentage by which a value must change before the trend displays the new value, in the Deadband box type a number.
18-12
Select how the trend displays time: Use system time formatdisplays time using the format specified in the Windows Control Panel, in the Regional Options dialog box. 24-hour format AM/PM format
18-13
Setting up trends
Preface
Chart radix
Specify the number base to use for displaying numeric values in the trend labels. If you select the XY Plot chart style, this setting affects the labels on the y-axis and the x-axis. However, if the number of decimal places specified in the Y-Axis tab is set to anything other than 0, that setting overrides the radix selection and all numbers are displayed as decimals.
Data point connection
Specify how data points on the trend are connected: Connect pointsdata points are connected with a line. Show discontinuityplot lines are disconnected between the start and end of a discontinuity in data. A discontinuity in data indicates a communication error, or a break in a models data logging (for example, when the operator stops and then restarts the application). Show only markersa marker is displayed for each data point. Lines do not connect the data points, so if a pen doesnt have a marker assigned to it (in the Pens tab), then the pen does not appear in the trend.
Display milliseconds
If you select the standard chart style, select this box to display milliseconds in the time labels on the x-axis. (To display time labels, in the X-Axis tab select the Display Scale check box.)
Display pen icons
Select this box to display an icon for each pen at the right side of the trend chart. The pen icon moves vertically to indicate the current value of the pen, even if the chart is not scrolling, so some pen icons might not be at the end of a line.
Background color
Click this box to select a background color for the chart. The chart border is always black. For information about specifying the background color for the other areas in the trend, see page 18-9.
Text color
Click this box to select the text color for the labels above and below the chart. The labels on the vertical axis use the color of the first pen, unless you select the Each pen on independent scale option (in the
18-14
Y-Axis tab), in which case the labels color matches the pen whose range is currently displayed on the vertical axis. If you use isolated graphing, each pen is shown in a separate section of the chart, with its own color labels.
Font
Click this button to select the font to use for the text in the trend.
Allow scrolling
Check this box to continually update the trend with new data at run time. If you clear this box, once the trend has filled with data up to the buffer limit the chart does not update until the operator manually toggles the scroll mode (using the pause button). If you allow scrolling, select a scroll mode: Continuous Scrollchart scrolls from right to left for each new data reading. Half Screen Scrollchart scrolls half a screen at a time. Pens scroll from the middle of the chart to the right. When the pens reach the right side of the screen, the screen scrolls left and the pens continue at the middle of the chart. Full Screen Scrollchart 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 side of the screen, the entire screen scrolls and the pens begin again at the left side.
Buffer for extra data
Specify the number of extra data points (outside of the display area) to store for each pen. The operator can view these data records by manually scrolling (using the key buttons). The maximum buffer size is 32,767 data points. Divide this number by the number of pens in the trend to determine the maximum data records per pen. The more data points held in the buffer, the faster it is to scroll. However, a larger buffer size also requires more system resources.
Setting up trends
18-15
For a standard chart, the horizontal axis represents time; for an XY Plot chart, the horizontal axis represents the selected pens values. The settings in this tab apply to both types of chart.
To set up the horizontal axis
"
These settings are not available if you select Allow scrolling, on the Display tab. If you want to specify a starting date and time for the trend, clear the Allow scrolling check box. To select a date from the calendar, click the Down Arrow beside the Start date box.
18-16
These settings determine when to begin displaying data for the trend. As the operator manually scrolls, the chart updates with the latest data for the specified time span. If the trend is plotting current values only, and it is first displayed after the specified time, the current time is used as the starting point. If the trend is plotting historical data, and the data log model is running at the specified start time, data is displayed from this time onwards. Otherwise, the earliest available data (after the start time) is displayed. Once the operator scrolls to the current time, values are taken from the value table, not the data log file.
Time span
In this box type a time, and then click a time unit, to specify the amount of data the trend displays at run time. For a standard chart, the time span controls the horizontal scale. For an XY Plot chart, the Min and Max values (specified in the Pens tab) of the selected pen control the horizontal scale, and the time span controls the number of data points plotted.
Display scale
Check this box to display x-axis labels at the bottom of the trend. For a standard chart, the labels show the start and end times. If theres room, intermediate times are shown below each vertical grid line. For an XY Plot chart, the labels show the minimum and maximum value range of the pen selected as the x-axis. If theres room, intermediate values are shown as well.
Display grid lines
Check this box to display vertical grid lines on the chart, and then type the number of major and minor lines to display. 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 display grid lines, click this box to select the color for the lines.
18-17
Setting up trends
Select the method for determining the minimum and maximum values for the vertical axis: Automaticthe lowest data reading serves as the minimum value and the highest data reading serves as the maximum. As the trend acquires new data, the y-axis might rescale to fit the new values.
18-18
Presetthe minimum and maximum pen values, set up in the Pens tab, serve as the y-axis scale. The scale does not change. Which pens minimum and maximum values are used depends on the scale options you select in this tab. Customallows you to specify constant minimum and maximum values, or to assign tags or expressions whose values are used to determine the minimum and maximum values. To use constant minimum and maximum values, click Actual minimum value and type the value in the box. Repeat for the maximum value. To use tags or expressions to determine the values, you must first assign the tags or expressions in the Connections tab. Then return to this tab and click Controlled by tag.
Isolated graphing
Check this box to place each pen in a separate band of the chart, and then, in the % isolation box, type the distance between bands. The distance is a percentage of the chart height, between 0 and 10%. To allow pens to overlap, clear the check box. If you select isolated graphing, you cannot display horizontal grid lines. Instead, a horizontal line appears above each band.
Display scale
Check this box to display y-axis labels at the left of the trend. To display decimals in the labels, type a number in the Decimal places box. If you type a number other than 0, this setting overrides the Chart radix setting in the Display tab, and all numbers are displayed as decimals.
Display grid lines
Check this box to display horizontal grid lines on the chart, and then type the number of major and minor lines to display. 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 display grid lines, click this box to select the color for the lines.
18-19
Setting up trends
Preface
If you use isolated graphing, this color is used for the horizontal lines between bands.
Scale options
Specify how multiple pens with different minimum and maximum ranges scale together on the chart (this option is not available if you use the Custom minimum/maximum value option): All pens on same scaledisplays all pens relative to the same scale, determined by the lowest minimum and highest maximum values of all pens. Each pen on independent scalescales each pen independently using the pens minimum and maximum values as the range. Only one pens range is used in the labels on the vertical axis, which can be misleading if other pens use a different range. To allow the operator to view each pens vertical axis labels, create a next pen button. When the operator presses the button, the vertical axis changes to the new pens range. The color for the labels changes to the color of the selected pen. Scale using penuses the same scale for all pens, based on the minimum and maximum values for the specified pen, or based on the best fit for the pens actual data. Select the pen to use. If you use the Preset minimum/maximum value option, set up the minimum and maximum values in the Pens tab, as described on page 18-22.
Scale as percentage
Check this box to display the y-axis values as a percentage of the minimum and maximum range. The y-axis labels display the percentage range, from 0 to 100%.
18-20
To specify the tags and expressions to plot data for 1. In the Connections tab, specify up to 8 tags or expressions to
plot values for. Do not use string tags. To plot historical values, specify tags from the data log model youll be using at run time. (Specify the data log model in the Pens tab.) If desired, you can specify both tags that are in a data log model and tags that are not. You cannot use expressions to plot historical values. For information about specifying tags and expressions, see page 6-17.
2. To control the vertical axis minimum and maximum values using
tags or expressions (using the Custom setting in the Y-Axis tab), assign tags or expressions to the Minimum and Maximum controls.
Setting up trends
18-21
Before you set up pens, assign tags or expressions to the pens in the Connections tab.
To set up pens
"
This column is for display purposes only. Assign a tag or expression to the pen in the Connections tab.
Color
Click this box to select the color for the pens lines, markers, and icon.
18-22
At run time, the selected pens color is also used for the labels on the vertical axis. If you use isolated graphing, each pen is shown in a separate section of the chart, with its own color labels.
Visible
Click in this column to toggle between On and Off. When visibility is off, the pen is not displayed on the trend.
Width
Type the number of pixels for the width of the pens line. If you use a width other than 1, you cannot change the line style setting.
Type
Specify how to plot the pen lines: Analogplots pen lines using diagonals from one point to the next. Digitalplots pen lines using only horizontal and vertical lines between points. Full-Widthplots a tags value as a horizontal line that extends across the full width of the chart. The line moves up and down in the chart as the tag or expression value changes.
Style
Click in the column to select a line style. If you select a style other than solid, the line width must be 1 pixel.
Marker
Click in the column to select a plot symbol for each data point. If you use the Show only markers option (specified in the Display tab), only pens that you select a plot symbol for are displayed in the trend. If a pen displays new data frequently, for example every few seconds, the markers might appear to form a solid line.
Min and Max
If you specify the Preset minimum/maximum value option (in the Y-Axis tab), type the minimum and maximum values for the pens. The minimum and maximum values, together with the scaling options you select in the Y-Axis tab, determine the range of the trends vertical axis. Tag values outside this range do not appear on the chart.
18-23
Setting up trends
Preface
Link Data
Check this box to use the assigned tags minimum and maximum values. Checking this box disables the Min and Max columns. If the tags minimum and maximum values are not available, ??? appears in the columns. For digital tags, the minimum is 0 and the maximum is 1. For analog HMI tags, specify the minimum and maximum values in the Tags editor.
Data Log Model
For historical data, select the data log model to use to supply the data when the trend is first displayed or you scroll back in time (using the key buttons). If buffered data is available, that data is used instead of the data from the model. If the trend plots current values only, accept the default of None. Make sure you add the tags to the data log model.
To set up multiple pens at the same time 1. Select the pens to set up by Shift-clicking or Ctrl-clicking in the
You can apply one, some, or all the attributes at once. To clear the Multiple Pen Edits columns, click Clear Selections.
3. To apply the attributes, click Apply to Selected Pens.
18-24
You can use the trend and objects as they are, or you can edit them to suit your needs. To use the objects, drag and drop (or copy and paste) them into your graphic display. For information about copying and pasting objects from the graphic libraries, see page 15-51.
To use the Trends graphic library 1. Open the Graphics folder, and then open the Libraries folder. 2. Double-click the Trends library. 3. Drag and drop or copy and paste objects into your display.
Preface
Use these buttons with trends:
This button Does this
Pause
Toggles between pausing and automatic scrolling. When the trend is paused, the pen icons continue to move vertically to indicate the pens current values. When the trend resumes scrolling, values that occurred while the trend was paused are filled in, bringing the trend up to the current time (unless you are scrolling historical data).
Next pen
Changes the vertical axis labels to the scale for the next pen. The color of the labels matches the color of the selected pen. Scrolls up to display higher values on the vertical scale. For example, if the visible scale range is 0 to 100, pressing move up changes the visible range to 10 to 110. The incremental amount the axis scrolls depends on the pens range and the number of horizontal grid lines. This button does not work if the Minimum / maximum value option in the Y-Axis tab is set to Automatic.
Move up
Move down
Scrolls down to display lower values on the vertical scale. This button does not work if the Minimum / maximum value option in the Y-Axis tab is set to Automatic.
Pauses the trend and scrolls to the left. Pauses the trend and scrolls to the right.
18-26
This button
Does this
Home End
Pauses the trend and moves to the earliest data in the trend. Resumes trend scrolling and moves to the current (latest) data in the trend.
To see how the buttons work with the trend, open the Trends graphic library (see page 18-24), and start test mode (see page 18-9). For information about creating buttons, see Chapter 15. For details about setting up the buttons, see page 16-31.
Preface
18-28
19
Chapter
Creating expressions
This chapter describes: the types of expression components. which editors use expressions. using the Expression editor. creating and formatting expressions. using tag names and tag placeholders with expressions. using constants. using operators, math and security functions, and if-then-else logic in expressions. the evaluation order of operators. using write expressions.
About expressions
Sometimes the data you gather from devices is meaningful only when you: compare it to other values. combine it with other values. create a cause-effect relationship with other values. Expressions allow you to create mathematical or logical combinations of data that return more meaningful values. Depending on the components used in the expression, the value returned can be in the form of a numeric value, a true/false value, or a text string.
About expressions
19-2
Alarm SetupWhen setting up alarms, you can use expressions for alarm triggers, and with some of the controls that silence and acknowledge alarms. For more information, see Chapter 9. Information SetupYou can use expressions to determine when to display information messages. For more information, see Chapter 12. MacrosYou can use expressions in macros to assign values to tags. For more information, see page 21-1.
Type an expression up to 999 characters long. Expressions that you type directly are not checked for syntax.
Click the Browse button in the Exprn column for a control that accepts expressions.
Browse button in the Exprn column 19-3
Preface
The Browse button is not available for controls to which you can assign only tags. In the Animation dialog box, click the Expression button.
Cursor position
Validation area
Expression box
The Expression box is a text edit area where you can build expressions. Type text directly and use the expression buttons to build the expression.
19-4
Expression buttons
These are the expression buttons:
This button Displays a list of
If-then-else operators Logical operators Relational operators Arithmetic operators Bitwise operators Mathematical and security functions (clicking the button opens the Functions box) Tags in the Tag Browser
Tags
Validation area
To validate your expression, click the Check Syntax button. You can check the syntax as often as you like. When you make changes, the expression is no longer validated. If an expression is without errors, Valid appears in the text box. If an expression has not been validated, the text box remains empty. If there are errors in the expression, a description of the error and the location appears in the text box.
Cursor position
The Line and Column boxes show the cursor position in the Expression box.
19-5
Preface
Creating expressions
Create an expression.
To create an expression in the Expression editor 1. Type the expression in the Expression box, up to 999 characters
long.
2. To use a tag in the expression, you can type the tag name directly
or click Tags and then select the tag to use. For more information about using tags in expressions, see page 19-8.
3. To use an operator, you can type it directly or click an expression
button and then click the operator to use. For information about using a specific operator, see pages 19-9 through 19-16. For information about using if-then-else logic, see pages 19-18 through 19-21.
4. To use a function, click Functions.
19-6
5. In the Functions box, click the function to use, and then click
OK. For information about using a specific function, see pages 19-17 and 19-18.
6. To validate your expression, click Check Syntax.
If your expression has a syntax error, the line and column location appears beside the Check Syntax button. For information about formatting expressions, see page 19-8.
Select the text Select the text Double-click in the column or click in the Expression box and then position the cursor where you want the text
19-7
Preface
Formatting expressions
You can format expressions so they are easier to read. However, do not let tag names, function names, or function arguments span more than one line. When formatting expressions, you can use line returns and multiple spaces. Enclose strings in quotes. The string can contain any character, and can include spaces.
19-8
Type the cross-hatch character followed by a number (no space in between). For example, #1.
Constants
A constant can have any of the following formats: integer (123) floating-point (123.45) string constant (character string)
Arithmetic operators
Arithmetic operators perform math on two or more numeric values and calculate the result. The arithmetic operators are:
Symbol Operator Example (For these examples, tag1 = 5 and tag2 = 7)
addition
tag1 + tag2 returns a value of 12 You can also use this operator with string operands. See page 19-10.
subtraction
Arithmetic operators
19-9
Preface
Symbol Operator Example (For these examples, tag1 = 5 and tag2 = 7)
* / MOD, %
tag1 * tag2 returns a value of 35 tag1 / tag2 returns a value of 0.7142857 tag2 MOD tag1 returns a value of 2 The modulus operator is the remainder of one number divided by another. In this example, the remainder of 7 divided by 5 is 2; so 7 % 5 = 2. Important: This operator is for integers only, not floating-point numbers.
**
exponent
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
The + operator can be used to join string operands. For example, the expression hello + world returns: helloworld. You cannot join string tags to analog tags.
Relational operators
Relational operators compare two numeric or string values to provide a true or false result. If the statement is true, a value of 1 is returned. If false, 0 is returned. The relational operators are:
Symbols Operator Numeric Example String Example
For the numeric examples, tag1 = 5 and tag2 = 7 For the string examples, serial_no = ST009 EQ, == equal tag1 == tag2 false serial_no == ST011 false
19-10
Symbols
Operator
Numeric Example
String Example
NE, <> LT, < GT, > LE, <= GE, >=
not equal less than greater than less than or equal to greater than or equal to
tag1 <> tag2 true tag1 < tag2 true tag1 > tag2 false tag1 <= tag2 true tag1 >= tag2 false
serial_no <> ST011 true serial_no < ST011 true serial_no > ST011 false serial_no <= ST011 true serial_no >= ST011 false
Logical operators
Logical operators determine the validity of one or more statements. There are three logical operators: AND, OR, and NOT. The operators return a non-zero value if the expression is true, or a 0 if the expression is false. Any statement that evaluates to a non-zero value is regarded as true. For example, the statement tag1 is false if the value of tag1 is 0, and true if tag1 has any other value.
Logical operators
19-11
Preface
The logical operators are:
Symbols Operator Action Example (For these examples, tag1 = 5 and tag2 = 7)
Returns a 1 if the statements to the right and left of the operator are both true. Returns a 1 if either the statement to the left or right of the operator is true. Reverses the logical value of the statement it operates on.
(tag1 < tag2) AND (tag1 == 5) both statements are true; returns a 1
OR, ||
or
NOT
negation
NOT (tag1 < tag2) although tag1 < tag2 is true, NOT reverses the logical value; returns a 0
IMPORTANT
The parentheses are essential in the above expressions. They determine the evaluation order of the operators. For more information, see page 19-14.
Bitwise operators
Bitwise operators examine and manipulate individual bits within a value.
IMPORTANT
These operators are for integers only, not floating-point numbers. Do not use them with tags or expressions that return floating-point values.
19-12
Symbol
Operator
&
AND
Compares two integers or tags on a bit-by-bit basis. Returns an integer with a bit set to 1 if both the corresponding bits in the original numbers are 1. Otherwise, the resulting bit is 0.
inclusive OR
Compares two integers or tags on a bit-by-bit basis. Returns an integer with a bit set to 1 if either or both of the corresponding bits in the original numbers are 1. If both bits are 0, the resulting bit is 0.
exclusive OR (XOR)
Compares two integers or tags on a bit-by-bit basis. Returns an integer with a bit set to 1 if the corresponding bits in the original numbers differ. If both bits are 1 or both are 0, the resulting bit is 0.
>>
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. Either a 0 or a 1 is shifted in on the left, depending on whether the left-most bit is a 0 or a 1, and whether the operand consists of a signed or unsigned data type. For signed data types, if the left-most bit is 0, a 0 is shifted in. If the left-most bit is 1, a 1 is shifted in. In other words, the sign of the number is preserved. For unsigned data types, a 0 is always shifted in.
<<
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. See Using the left shift operator, next.
complement
Returns ones complement; that is, it toggles the bits within an integer or tag. Reverses every bit within the number so every 1 bit becomes a 0 and vice versa.
Bitwise operators
19-13
19-14
1 (highest) 2 3
() NOT ~ * / MOD, % ** AND, && & >> << + OR, || | ^ EQ, == NE, <> LT, < GT, > LE, <= GE, >=
5 (lowest)
Preface
_____________________________ tag1 > tag2 AND tag3 is evaluated in this sequence:
1. tag2 AND tag3 = 1 2. tag1 > 1 = 1
The expression evaluates to 1 (true). _____________________________ NOT tag1 AND tag2 > tag3 ** 2 is evaluated in this sequence:
1. NOT tag1 = 0 2. 0 AND tag2 = 0 3. tag3 ** 2 = 100 4. 0 > 100 = 0
19-16
Mathematical functions
Use math functions to calculate the square root, log (natural or base 10), or trigonometry ratios (in radians or degrees) of a tag. These functions perform math on an expression:
This function Returns this value
SQRT (expression) LOG (expression) LOG10 (expression) SIN (expression) COS (expression) TAN (expression) ARCSIN (expression) ARCCOS (expression) ARCTAN (expression) SIND (expression) COSD (expression) TAND (expression) ARCSIND (expression) ARCCOSD (expression) ARCTAND (expression)
The square root of the expression The natural log of the expression The base ten log of the expression The sine of the expression in radians The cosine of the expression in radians The tangent of the expression in radians The arc sine of the expression in radians The arc cosine of the expression in radians The arc tangent of the expression in radians The sine of the expression in degrees The cosine of the expression in degrees The tangent of the expression in degrees The arc sine of the expression in degrees The arc cosine of the expression in degrees The arc tangent of the expression in degrees
Mathematical functions
19-17
Preface
Security functions
Use security functions to control access to your application. These functions allow you to determine a users identity or security rights in order to limit access to the application based on these criteria.
This function Returns this value
True (1) if any of the specified security codes have been assigned to the user; false (0) if not. If checking multiple security codes, do not type a space between the security code letters. For example: CurrentUserHasCode (ABP) returns the value 1 if the user has been assigned one or more of the specified codes.
CurrentUserName( )
A string containing the name of the current user. This function is case sensitive. All user names use uppercase letters, so make sure that you use uppercase letters in your expression.
For more information about setting up security for your application, see Chapter 13. For an example of using the CurrentUserHasCode( x ) function, see page 13-5. For examples of using the CurrentUserName( ) function, see page 13-19.
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. To build conditional expressions, use the relational operators and the logical operators for the statement and values. The if-then-else structure is: if statement then value1 else value2
19-18
If the statement is true then the expression returns value1; if the statement is false then the expression returns value2. If the result of the statement is a non-zero value, the statement is true (and returns value1); if the result is 0, the statement is false (and returns value2). The if-then-else structure is illustrated below.
enter
true
value1
exit
If-then-else
19-19
exit
19-20
true
true
value1
exit
States tab, set up these states: State 0Value: 0, Caption: Feet/S State 1Value: 1, Caption: Meters/S
2. In the Connections tab, assign a digital tag called Feet_or_meters
if Feet_or_meters == 0 then ? else ? * 3.281 RSView writes the result of the expression to the Conveyor_speed tag at the data source.
19-22
20
Chapter
Preface
The Objects sample application contains examples of embedded variables.
20-2
The Caption box is on the Label tab or the States tab, depending on the type of object. For text objects, use the Text box on the General tab.
3. Click Insert Variable. 4. Click the type of variable to insert. 5. Fill in the options in the dialog box that opens, as described in
Messages, or Alarm Setup editor, right click and then click Edit String.
2. Click Insert Variable. 3. Click the type of variable to insert. 4. Fill in the options in the dialog box that opens, as described in
In a graphic objects Properties dialog box, click Insert Variable, and then click Numeric. In a Message column, right-click, click Edit String, click Insert Variable, and then click Numeric.
20-3
Preface
Type the name of an analog or digital tag, or type a tag placeholder. To open the Tag Browser and select a tag, click the Browse button.
Browse button Number of digits
Select the maximum number of digits to display, up to 17 digits. The decimal point and minus sign each count as a digit.
Decimal places
Select a character to fill the left of the display with if the value at the data source contains fewer than the maximum number of digits. If you dont want to use a fill character, select None.
3. Click OK.
20-4
Fill_character is the fill character to use: NOFILL, ZEROFILL, or SPACEFILL. # indicates the number of decimal places. To display the current value of an analog tag called Oven_temp, with 3 digits, no decimal places, and no fill character, you would type this: /*N:3 Oven_temp NOFILL DP:0*/
In a graphic objects Properties dialog box, click Insert Variable, and then click String. In a Message column, right-click, click Edit String, click Insert Variable, and then click String.
Type the name of a string tag, or type a tag placeholder. To open the Tag Browser and select a tag, click the Browse button.
Browse button Fixed number of characters
Check this box if you want the variable to always display the same number of characters, and then select the number of characters to display, up to 255. If you clear this box, the length of the embedded variable changes to accommodate the length of the string tags value.
3. Click OK.
20-5
In a graphic objects Properties dialog box, click Insert Variable, and then click Time/Date. In a Message column, right-click, click Edit String, click Insert Variable, and then click Time/Date.
2. Select the time and date format to display. The options include
20-6
Short date Long date Short date and time Long date and time Time Time and short date Time and long date
To display the time followed by the short date, you would type this: /*TSD*/ A space is placed between the time and date when the embedded variable is displayed at run time.
Select the text Select the text Double-click in the Message column or click in the Caption box and then position the cursor where you want the text
20-7
Preface
embedded variable, or right-click the variable and then click Edit Variable.
2. Make your changes in the dialog box that opens. 3. Click OK.
Click the embedded variable to select it, and then press Delete.
20-8
The numeric variable uses the number format you set up on the run-time computer. For example, if the run-time computer is set up to use a comma for the decimal symbol, the numeric variable uses a comma for the decimal symbol. For information about specifying time, date, and number formats on the PanelView Plus or Windows CE terminal, see page 25-35. For information about specifying time, date, and number formats in Windows 2000 and Windows XP, see page 24-15.
20-9
Time and date embedded variables use the time and date formats you set up on the run-time computer. For example, if you specify the short date format, at run time the display uses the short date format that the run-time computer uses. For information about specifying time, date, and number formats on the PanelView Plus or Windows CE terminal, see page 25-35. For information about specifying time, date, and number formats in Windows 2000 and Windows XP, see page 24-15.
20-10
21
Chapter
Creating macros
This chapter describes: using macros to assign values to tags. when to use macros. running macros when tags or expressions change value. creating macros. where to assign macros.
Preface
1Pump = {Industry-2} + {2Pump} Adds the values of Industry-2 and 2Pump and stores the result in 1Pump. Braces surround Industry-2 because of the dash in the name. Braces surround 2Pump because the name starts with a number. No braces are used for 1Pump because this name is on the left side of the equal sign. For more information about expression syntax, see Chapter 19.
At run time, the tag assignments are executed asynchronously. That is, the system does not wait for the completion of one tag assignment before executing the next. Therefore, do not rely on the order of assignments to control your process.
21-2
have been reset. Create a close display button in the display, with the caption OK. Call the display Reset Message.
3. Create a goto display button with the caption Reset Production
Data. Assign the Reset Message display and the Reset macro to the button. At run time when the operator presses the Reset Production Data button, the display opens and the macro runs. When the operator presses OK the display closes.
Preface
4. In the Global Connections editor, assign the ResetProdData tag
to the Remote Macro1 control. When the operator presses the Reset Production Data button, the value of the ResetProdData tag changes from 0 to 1. This tells RSView to run Macro1, which writes the specified values to the tags in the macro.
Creating macros
To create a macro 1. Open the Macros editor.
text
21-4
2. In the Tag column, type the name of the tag to assign a value to,
or click the Browse button to open the Tag Browser and select a tag.
Browse button in the Tag column 3. In the Expression column, type a tag name, expression, or
numeric value, or click the Browse button to open the Expression editor and create an expression. Create the expression in the Expression editor if you want to check the expression syntax.
4. Repeat steps 2 and 3 to assign values to other tags. 5. On the File menu click Save, or click the Save tool.
Save tool
6. In the Component name box, type a name for the macro, and
Assign application startup and shutdown macros. See Chapter 23. Assign macros to run when displays open or close, using the Display Settings dialog box. See Chapter 14. Assign macros to run when users log in and log out. See Chapter 13. Specify the tags or expressions that will run the macros named Macro1 to Macro5. See Chapter 19.
21-5
22
Chapter
Preface
In the Startup editor, specify the graphic display to open when the application starts. For information about specifying the startup display, see Chapter 23. Set up security so that only authorized users have access to the application or parts of the application. For information about setting up security, see Chapter 13.
22-2
Log In
Main Menu
Alarm Summary
System Status
Process Overview
Process Monitoring 1
Process Monitoring 2
Process Monitoring 3
Preface
Goto display button Goto Configuration Mode button Return to display button Close display button Display list selector
Open the specified graphic display. Stop the application and open the Configuration mode dialog box. Close the current display and open the previous display. Close the current display. Can send a value to a tag when the display closes. Provide a list of graphic displays so the operator can select which display to open. Stop the application and exit RSView ME Station.
Shutdown button
The behavior of these graphic objects depends on which types of graphic displays are used. See the following sections for details. For detailed information about setting up graphic objects, see Chapter 16.
Display type
The display type you use gives you additional control over how the operator navigates between displays. For example, use the On Top type to keep a graphic display on top at all times, even when another display has focus. Or use the Replace type if you want a display to replace all other open displays when it opens. For information about specifying the display type, see page 14-12.
22-4
For information about setting up goto display buttons, see page 16-128.
How display types affect the buttons behavior
The goto display buttons behavior at run time also depends on which types of graphic displays are already open and which type of display it is opening: If the graphic display assigned to the button is a Replace display, it closes any open On Top or Replace displays. It does not close any On Top displays that use the Cannot Be Replaced option. If the display assigned to the button is already open, but does not have focus, pressing the button gives the display focus. The operator cannot use the goto display button to open Replace displays if display change is currently controlled remotely (using global connections). But the operator can still open On Top displays.
Preface
For information about setting up return to display buttons, see page 16-23.
How display types affect the buttons behavior
Both the current display and the previous display must be Replace displays. When the operator presses the return to display button: If the graphic display that is closing is a Replace display, the display closes and the previously opened Replace display opens. Any On Top displays that were previously open with the Replace display are not reopened. If the graphic display that is closing is an On Top display, the display closes but no display is reopened. We therefore recommend that you use return to display buttons in Replace displays only.
return to display button to close the current display and reopen the Process Overview display.
4. In the Process Overview display, the operator presses a return to
display button. Which display opens? The Process Monitoring 1 display (because this was the previously opened display). To return to the Main Menu display from the Process Overview display, the operator would have to press a goto display button that is set up to open the Main Menu display.
22-6
If the graphic display that is closing is a Replace display, and the display change is controlled remotely, the display does not close. If the display does not close, the close value, if any, is not written out. If the display change is controlled by the operator and the graphic display that is closing is a Replace display, if there are no On Top displays open, an empty window is displayed. The operator will not be able to use the application again (unless a remote display change occurs or an alarm, activity, or information message display opens). We therefore recommend that you use close display buttons in On Top displays only. For information about setting up close display buttons, see page 16-135.
The display list selectors behavior at run time also depends on which types of graphic displays are already open and which type of display it is opening: If the selected graphic display is a Replace display, it closes any open On Top and Replace displays. It does not close On Top displays that use the Cannot Be Replaced option. If the selected display is an On Top display, it opens on top of the current display. The current display does not close. The operator cannot use the display list selector to open Replace displays if display change is currently controlled remotely. But the operator can still open On Top displays (with or without the Cannot Be Replaced option).
22-7
Preface
Selecting the display to open
The operator can scroll through the list and select displays using the key button graphic objects, or, if the list has the input focus, by using the arrow keys and Enter key on a keypad or external keyboard. You can link key buttons to a specific display list selector, or set up the buttons to work with whichever object is selected in the graphic display. For information about input focus, see page 16-12. For information about linking buttons to the display list selector, see page 16-14.
Shutdown buttons
When the operator presses the shutdown button at run time, the application stops and RSView ME Station closes. To prevent an unauthorized user from stopping the application, assign visibility animation to the shutdown button. For details, see page 13-20. For information about setting up shutdown buttons, see page 16-23.
22-8
23
Chapter
23-1
Preface
To specify startup settings 1. Open the Startup editor.
text
application starts:
Alarms
Check this box to monitor tag values for alarm conditions at run time. For information about setting up alarms, see Chapter 9.
23-2
Information messages
Check this box to display information messages at run time. For information about setting up information messages, see Chapter 12.
Data logging
Check this box to start data logging when the application starts. Select the data log model to use from the list of models in the application. For information about setting up data logging, see Chapter 11.
Startup macro
Check this box to use a startup macro. The startup macro assigns values to tags when the application starts. Select the macro to use from the list of macros in the application. For information about creating macros, see Chapter 21.
Shutdown macro
Check this box to use a shutdown macro. The shutdown macro assigns values to tags when the application shuts down. Select the macro to use from the list of macros in the application.
Initial graphic
Check this box to specify the graphic display to open when the application starts. Select the display to open from the list of displays in the application. If you do not select a display, an empty window is displayed at run time. For information about creating graphic displays, see Chapter 14.
Parameter file for the initial graphic
Check this box to use a parameter file to replace tag placeholders in the graphic display that opens when the application starts. Select the parameter file from the list of parameter files in the application. For information about creating parameter files, see page 14-34.
3. Click OK.
Preface
If the development computer is connected to the data source, you can test all functions of the application, including communications and alarm monitoring. An RSView ME Station emulator opens on the development computer and runs the application. This run-time version of the application is a temporary version for testing use only. You cannot run it on another computer. There is a two-hour time limit for test running the application in RSView Studio. The procedure in this section shows you how to test your entire application. For information about testing a single graphic display, see page 14-11.
To test your application in RSView Studio 1. On the Application menu, click Test Application, or click the
Make sure you provide the operator with a method for shutting down the application at run time. For more information about methods for shutting down applications, see page 25-37. Once youve tested your application to make sure everything works the way you intend, create the run-time application file and transfer the file to the run-time computer.
23-4
run-time application file. The default directory is \Documents and Settings\All Users\Documents\RSView Enterprise\ME\Runtime.
3. If desired, in the File name box, type a different name for the
run-time application file. The default is to use the same name as the development application.
4. Click Save.
RSView creates a run-time version of the application in the directory you specify. If any editors are open, you are first prompted to save any unsaved changes. For information about transferring the run-time application to a Windows 2000 or Windows XP platform, see Chapter 24. For information about transferring the run-time application to a PanelView Plus or VersaView CE terminal, see Chapter 25. For information about transferring the run-time application to a RAC6182 terminal, see Chapter 26.
23-5
24
Chapter
Preface
Summary of steps
Follow these steps to: install the necessary hardware and software on the run-time computer. transfer your Windows 2000 or Windows XP application to the run-time computer. run your application. For information about installing RSView ME Station, see the RSView Machine Edition Installation Guide.
Installing hardware and software on the run-time computer 1. If you will be printing displays, alarms, or diagnostics messages,
set up printer connections on the run-time computer. For more information, see page 24-8.
2. If you are using RSLinx Enterprise, set up communications as
explained in Chapter 5.
3. If you are using an OPC server other than RSLinx, install the
OPC server software on the run-time computer or on another computer on the network. For installation information, see the documentation supplied by your OPC server vendor. For information about OPC, see Chapter 5. If you are using RSLinx as the OPC server on the run-time computer, install RSLinx on the run-time computer. If you are using RSLinx on a remote computer, install RSLinx on the remote computer.
4. If your application uses third-party ActiveX objects, install and
register the Windows 2000 or Windows XP version of the objects on the run-time computer. For information about ActiveX objects, see page 15-23.
5. If the run-time computer uses different time, date, or number
formats than the development computer, specify the time, date, and number formats to use at run time. For more information, see page 24-15.
6. If desired, use the DeskLock tool to prevent users from
switching to another software application or the desktop at run time. For more information, see page 24-15.
24-2
Move the application to the Windows 2000 or Windows XP run-time computer. For more information, see page 24-3.
Preparing to run the application 1. On the run-time computer, start RSView ME Station.
have not already done so). For more information, see page 24-7.
3. In RSView ME Station, set up FactoryTalk Diagnostics (if you
have not already done so). For more information, see Chapter 10.
4. In RSView ME Station, specify the printers to use.
transferred. For more information, see page 24-5. Once youve completed these steps, youre ready to run the application. For information about running your application, see Chapter 27.
Preface
On the Windows Start menu, select Programs, Rockwell Software, RSView Enterprise, and then click RSView ME Station. The RSView ME Station dialog box opens.
For information about other methods of starting RSView ME Station, see page 24-10.
24-4
The application name is displayed in the Current application name box in the RSView ME Station dialog box.
4. Click yes to replace the terminals RSLinx Enterprise settings
with the applications RSLinx Enterprise settings. Click No to keep the terminals RSLinx Enterprise settings.
5. To run the application, click Run Application.
Preface
To edit device shortcuts 1. In the RSView ME Station dialog box, click Application Settings. 2. Double-click Device Shortcuts. 3. Double-click the name of the shortcut you want to edit. 4. In the Select Device dialog, navigate through the tree, click the
device you want the shortcut to point to, and then click OK. If you cannot see the device you want, use the up and down arrows. When the device goes off the screen to the right, press CTRL and the right or left arrows on the scrollbar.
The FactoryTalk Diagnostics Setup dialog opens. Set up FactoryTalk Diagnostics as described in Chapter 10.
3. Click OK to save your changes and return to RSView ME
Station.
24-6
3. In the KepServer Serial Port IDs box, click the serial port ID you
specified when you set up the KEPServerEnterprise channel. If you forget which serial port ID you specified, in the KEPServerEnterprise software click the channel, and then click Edit Port. The ID box displays the serial port you assigned to the channel.
4. Click Close to confirm your changes.
Preface
To set up the Windows 2000 or Windows XP driver to use at run time 1. In the RSView ME Station dialog box, click Terminal Settings. 2. Double-click Networks and Communications. 3. Click RSLinx Communications, and then click the enter key. 4. Click the driver you want to edit, and then click Edit Driver.
For information about setting up RSLinx Enterprise drivers, see the RSLinx documentation.
5. When youre finished setting up the driver, click Close.
Once the driver is set up, RSView ME Station automatically starts the driver software when you run the application.
24-8
3. Click Printer.
24-9
Preface
4. Modify the print options as required.
For detailed information about printer options, refer to your Windows documentation.
5. Click OK. 6. Repeat steps 2 through 4 to set up additional printers. 7. Click OK to confirm the printer settings and return to the
ME Station dialog box. You can use local or network printers to print diagnostics messages, alarm messages, and graphic displays at run time. If desired, you can use a different printer for each type of printing.
On the Windows Start menu, select Programs, Rockwell Software, RSView Enterprise, and then click RSView ME Station. On the desktop, double-click the shortcut icon RSView ME Station. In the Windows Explorer, double-click MERuntime.exe. This file is located in \Program Files\Rockwell Software\ RSView Enterprise. On the Windows Start menu, click Run. In the Open box, type the path to the MERuntime.exe file.
24-10
To search for the file, click Browse. When youve specified the file to open, click OK. The RSView ME Station dialog box opens. Use the dialog box to set up communication drivers, set up FactoryTalk Diagnostics, specify printers, delete log files, set up serial ports for use with KEPServerEnterprise communications, and specify the application to run. For information about setting up FactoryTalk Diagnostics, see Chapter 10. For information about deleting log files, see Chapter 26.
To start RSView ME Station and start an application at the same time
"
In the Windows Explorer, double-click the applications .mer file. By default, this file is located in \Documents and Settings\All Users\Documents\RSView Enterprise\ME\Runtime.
The RSView ME Station dialog box opens, with the application selected.
Preface
To use startup parameters 1. On the Windows Start menu, click Run. 2. In the Open box, type the path to the MERuntime.exe file, then a
space, then the path to the applications .mer file, followed by the startup parameters to use. If the paths contain spaces, enclose them in double quotes. If you accepted the default file locations, you would type this: C:\Program Files\Rockwell Software\RSView Enterprise\ MERuntime.exe C:\Documents and Settings\All Users\Documents\RSView Enterprise\ME\ Runtime\ApplicationName.mer /r /d /o If you dont want to delete the applications log files, omit the /d parameter. If you dont want to replace the terminals communication configuration, omit the /o parameter.
3. Click OK.
24-12
From now on, RSView ME Station starts automatically when you start Windows.
To start RSView ME Station and run an application automatically 1. In Windows 2000, on the Windows Start menu, select Settings,
and then click Taskbar & Start Menu. In Windows XP, on the Windows Start menu, click Control Panel, Taskbar & Start Menu, Appearance and Themes, Taskbar & Start Menu, Start Menu Tab, and then click Classic Start Menu.
2. In Windows 2000, click the Advanced tab, and then click Add.
MERuntime.exe file, then a space, then the path to the applications .mer file, followed by the startup parameters to use. If the paths contain spaces, enclose them in double quotes. If you accepted the default file locations, you would type this: C:\Program Files\Rockwell Software\RSView Enterprise\ MERuntime.exe C:\Documents and Settings\All Users\Documents\RSView Enterprise\ME\ Runtime\ApplicationName.mer /r /d /o If you dont want to delete the applications log files, omit the /d parameter. If you dont want to replace the terminals communication configuration, omit the /o parameter.
4. Click Next. 5. Click the Startup folder (in the Start menu\Programs folder), and
From now on, RSView ME Station starts automatically when you start Windows, and the specified application starts running. For more information about changing settings in Windows 2000 or Windows XP, see your Windows documentation.
24-13
Preface
In the RSView ME Station dialog box, click Yes to Delete log files before running. Click No to keep the log files.
All alarm and data log files for the selected application are deleted.
To delete log files for all applications on the run-time computer 1. In the RSView ME Station dialog box, click Terminal settings. 2. Double-click Delete Log Files. 3. Click Yes to Delete all log files on the run-time computer. Click
No to keep all log files on the run-time computer. Only log files for data log models that use the default path are deleted when you use this option. All alarm log files are deleted. For more information about data log files, see page 11-2.
24-14
Control Panel.
2. Double-click Regional Options. 3. Specify the locale to use, and then select the number, time, and
Before using the tool, read the DeskLock Help file completely.
24-15
Preface
To open the DeskLock tool
"
On the run-time computer, on the Windows Start menu, select Programs, Rockwell Software, RSView Enterprise, Tools, and then click DeskLock.
For details about using the tool, see the tools Help.
Running applications
To run the selected application
"
For information about other methods of starting a Windows 2000 or Windows XP application, see page 24-10.
Press a shutdown button in a graphic display. If the application is set up to use a title bar with a Control box, click the Close button at the right end of the title bar. If the application is set up to use a title bar with a Control box, on the Control menu at the left end of the title bar, click Close.
Control box
Control menu
Close button
For information about using a title bar in graphic displays, see page 4-11. For information about preventing unauthorized users from shutting down applications, see page 13-14.
24-16
24-17
25
Chapter
Preface
Summary of steps
Follow these steps to: install the necessary hardware and software on a PanelView Plus or VersaView CE terminal transfer your application to the PanelView Plus or VersaView CE terminal. run your application. For information about installing RSView ME Station, see the RSView Machine Edition Installation Guide.
Installing hardware and software on a Windows CE terminal 1. If you will be printing displays, alarms, or diagnostics messages,
connect a printer to the USB or Network port. The PanelView Plus or VersaView terminal supports printing using the Microsoft Windows CE PCL3 printer driver, which is already installed on the PanelView Plus or VersaView CE terminal. Printing is supported for most laser and ink-jet printers. If you have problems printing, check that your printer is compatible with the PCL3 printer driver.
2. If you are using RSLinx Enterprise, set up communications as
described in Chapter 5.
3. If you are using an OPC server other than RSLinx for RSView,
install the OPC server software on the PanelView Plus or VersaView CE terminal. For installation information, see the documentation supplied by your OPC server vendor. For information about OPC data servers, see Chapter 5. If you are using RSLinx as the OPC server on the VersaView CE terminal, install RSLinx on the VersaView CE.
4. If your application uses third-party ActiveX objects, install and
register the Windows CE version of the objects on the run-time computer. For information about ActiveX objects, see page 15-23.
5. If the run-time computer uses different time, date, or number
formats than the development computer, specify the time, date, and number formats to use at run time. For more information, see page 25-35.
25-2
Transferring the application 1. On the PanelView Plus or VersaView CE terminal, start RSView
connection, specify and set up the serial driver . If you are using Ethernet for the transfer, you can skip this step. For more information, see page 25-5.
3. On the development computer, set up the driver to use for the
transfer. You can use an RSLinx Enterprise or an RSLinx driver. For more information, see page 25-7.
4. Move the application to the PanelView Plus or VersaView CE
terminal using the Transfer Utility tool. For more information, see page 25-7.
Running the application 1. In RSView ME Station, set up the driver to use at run time.
for printing graphic displays, alarm messages and diagnostic messages. For more information, see page 25-28.
3. In RSView ME Station, load the application you just transferred.
Summary of steps
25-3
Preface
If you set up an application to open directly when Windows starts, this dialog box is bypassed. To open the dialog box, use a Goto Configure Mode button. For more information about the Goto Configure Mode button, see page 16-23.
If you are running a VersaView CE terminal, on the Windows Start menu, select Programs, Rockwell Software, RSView Enterprise, and then click RSView ME Station. The RSView ME Station dialog box opens.
25-4
"
If you are running a PanelView Plus terminal, the RSView ME Station dialog box opens automatically on start up.
For information about other methods of starting RSView ME Station, see page 25-30.
Specifying the driver to use for the transfer on the PanelView Plus or VersaView CE terminal
You can download the run-time application file to the PanelView Plus or VersaView CE terminal using: Ethernet a direct serial connection If you are using an Ethernet connection for the transfer, you dont need to set up a driver for the transfer, since the Ethernet driver is selected and loaded by default. If you are using a serial connection for the transfer, specify and set up the driver.
To specify and set up a serial driver for the transfer 1. In the RSView ME Station dialog box, click Terminal Settings,
Specifying the driver to use for the transfer on the PanelView Plus or VersaView CE terminal
Preface
RSLinx communications.
3. Click the Device you want to set up and then click Edit Device. 4. Set up the device, and then click OK. 5. Click the Driver you want to set up and then click Edit Driver. 6. Set up the driver, and then click OK. 7. Click Close.
You are prompted to restart the computer for the changes to take effect.
8. Click Yes to restart now. Click No to restart later.
25-6
Preface
IMPORTANT
If the download process fails or is cancelled, the application file will be deleted from the destination directories. Make a copy of the application file before you begin and make sure there is enough storage space on the destination computer.
Serial downloads
To perform a serial download, make sure the terminal is connected to the development computer using the correct cable: Connect a PanelView Plus or VersaView CE terminal to the PC using the Allen-Bradley serial cable 2711-NC13.
To transfer an application to the PanelView Plus or VersaView CE terminal 1. On the development computer, do one of the following:
In RSView Studio, on the Tools menu, click Transfer Utility. On the Windows Start menu, select Programs, Rockwell Software, RSView Enterprise, Tools, and then click ME Transfer Utility.
25-8
2. Click the Download tab. 3. In the Source file box, type the location of the run-time Browse button
application file (with the extension .mer) or Windows True Type font (with the extension .ttf or .ttc) on the development computer. To browse for the file, click the Browse button. The default location for the run-time file is \Documents and Settings\All Users\Documents\RSView Enterprise\ME\ Runtime.
4. To use a different name for the application or Windows True
Type font file at run time, check the Download as box and then type the new name.
5. In the Destination storage box, select the kind of storage in
Preface
8. Click the + beside the driver to use for the download, and then
click the PanelView Plus or VersaView CE terminal to which to download the application file or Windows True Type font file.
9. To begin the transfer, click Download.
If you selected a destination that is not a valid PanelView Plus or VersaView CE terminal, you are prompted to select a new destination. If the application file already exists at the destination, you are given the opportunity to replace it. If the terminal doesnt respond within the timeout interval, a message is displayed and the download is cancelled. Check that the correct driver is specified on the PanelView Plus or VersaView CE terminal, and that the driver is set up properly, and then repeat step 6.
If the upload process fails or is cancelled, the application file will be deleted from the destination directories. Make sure there is enough storage space on the destination computer.
25-10
Serial uploads
To perform a serial upload, make sure the terminal is connected to the development computer using the correct cable: Connect a PanelView Plus or VersaView CE terminal to the PC using the Allen-Bradley serial cable 2711-NC13.
To transfer an application from the PanelView Plus or VersaView CE terminal 1. On the development computer, do one of the following:
In RSView Studio, on the Tools menu click Transfer Utility. On the Windows Start menu, select Programs, Rockwell Software, RSView Enterprise, Tools, and then click ME Transfer Utility.
2. Click the Upload tab. 3. In the Source storage type box, select the storage device type. For
Preface
4. In the Source file box, type the location of the run-time Browse button
application file (with the extension .mer) on the development computer. To browse for the file, click the Browse button. The default location for the run-time file is \Storage Card\RSView Enterprise\ME\Runtime.
5. To use a different name for the application file at run time, check
where the file will be uploaded. To browse for the file, click the Browse button. The default location for the run-time file is \Documents and Settings\All Users\Documents\RSView Enterprise\ME\ Runtime.
7. Click the + beside the driver to use for the upload, and then click
the PanelView Plus or VersaView CE terminal to upload the application file from.
8. To begin the transfer, click Upload.
If you selected a destination that is not a valid Windows 2000 or Windows XP computer, you are prompted to select a new destination. If the application file already exists at the destination, you are given the opportunity to replace it. If the terminal doesnt respond within the timeout interval, a message is displayed and the upload is cancelled. Check that the correct driver is specified on the PanelView Plus or VersaView CE terminal, and that the driver is set up properly, and then repeat step 6.
25-12
Comparing applications
You can use the Transfer Utility tool to compare an application on the development computer with an application on the terminal. The comparison tool can tell you whether the files are identical or different.
To compare applications 1. On the development computer, do one of the following:
In RSView Studio, on the Tools menu click Transfer Utility. On the Windows Start menu, select Programs, Rockwell Software, RSView Enterprise, Tools, and then click ME Transfer Utility.
Comparing applications
25-13
Preface
3. In the Local file box, type the location of the run-time Browse button
application file (with the extension .mer) on the development computer. To browse for the file, click the Browse button. The default location for the run-time file is \Rockwell Software\RSViewME\Runtime
4. In the Remote Storage Type list, select the storage location of the
application on the terminal. If you are unable to find your file at the location you specified, try changing the Remote Storage Type.
5. In the communications tree, select the terminal on which the
application file (with the extension .mer) on the terminal. To browse for the file, click the Browse button. The default location for the run-time file is \Storage Card\Rockwell Software\RSView ME\Runtime.
7. Click Compare.
25-14
External Storage 2), and then click the name of the application.
3. Click Load.
The application name is displayed in the Current Application box in the RSView ME Station dialog box.
4. To run the application, click Run Application.
For information about deleting log files before running the application, see the topics in the remainder of this chapter.
device you want the shortcut to point to, and then click OK.
25-15
Preface
If you cannot see the device you want, use the up and down arrows. When the device goes off the screen to the right, press CTRL and the right or left arrows on the scrollbar.
25-16
2. Fill in the options as described in the sections that follow. 3. When you are finished, click Close.
25-17
Preface
4. Click to select or clear a message type to send to the remote log. 5. To save changes and return to the Message Routing dialog, click
OK.
Diagnostic List.
5. To save changes and return to the Message Routing dialog, click
OK.
25-18
To set up Display Intensity 1. In the RSView ME Station dialog box, click Terminal Settings,
on automatically. You can also disable the screen saver, and set the screen saver intensity.
4. Click OK.
25-19
Preface
To delete an application or font file 1. In the RSView ME Station dialog box, click Terminal Settings,
25-20
5. Click OK. 6. Double-click Key Settings. 7. Click Enabled to allow operators to use Single Key Mode. Click
Enabled with Abort to allow operators to use Single Key Mode with an abort key. Click Disabled to prevent operators from using Single Key Mode.
8. Type a Hold Off Time, in seconds. A Hold Off time of 0 will
Preface
2. Double-click Touch Screen. 3. Double-click Double Tap Sensitivity 4. Double-click Set to set the double-click speed of the touch
screen.
5. Double-click Test to test the double-click speed of the touch
25-22
Ethernet
Click this driver to connect the terminal to a DHPlus network.For details, see the next section.
3. Click Close.
Use Auto-Configuration
Select yes if you want the driver to automatically detect baud rate, parity, and error checking settings when you start the application. Select No if you do not want the driver to automatically detect configuration settings. RSView queries the network to determine the correct settings to use. If information is not available, RSView uses the settings you specify in this dialog box.
25-23
Preface
Device
Select the COM port to which the serial cable is attached on the run-time computer.
Stop bits
Select the station number setting for the source DF1 device, from 0 to 77 (octal).
ACK/Poll Timeout (mSec)
Type the number of milliseconds to wait for acknowledgement before retrying to connect with the device.
Max retries
Type the maximum number of times to retry to connect to the device before the driver fails (stops trying to communicate).
Baud
Select the type of error checking the controller uses to verify that the data it sends is complete and correct. RSView will use the same type of error checking when it receives the data. Newer controllers generally use the CRC (Cyclical Redundancy Check) method. Older controllers could use CRC or BCC (Block Character Check). If youre not sure which type to select, consult the controllers documentation.
25-24
Station number
Select the station number setting for the source DHPlus device, from 0 to 77 (octal).
Jumper ID
Edit Device.
25-25
Preface
5. In the Edit Device Address dialog box, type the new address, and
then click OK. The settings available in this dialog box are determined by the type of device you selected in the previous step.
25-26
3. In the Serial Port IDs box, click the serial port ID you specified
when you set up the KEPServerEnterprise channel. If you forget which serial port ID you specified, in the KEPServerEnterprise software right-click the channel, and then click Properties. The ID box displays the serial port you assigned to the channel.
4. Click Edit Port. In the KepServerCommunications Port dialog
25-27
Preface
25-28
3. Modify the print options as required. 4. Click OK to confirm the printer settings and return to the
Preface
On the Windows Start menu, select Programs, Rockwell Software, RSView Enterprise, and then click RSView ME Station. On the desktop, double-click the shortcut icon RSView ME Station. In the Windows Explorer, double-click MERuntime.exe. This file is located in \Storage Card\Rockwell Software\RSViewME. On the Windows Start menu, click Run. In the Open box, type this: \Storage Card\Rockwell Software\RSViewME\ MERuntime.exe To search for the file, click Browse. When youve specified the file to open, click OK. A keyboard is required to use this method. The RSView ME Station dialog box opens.
25-30
To start RSView ME Station on a PanelView Plus or VersaView CE terminal and start an application at the same time 1. In the RSView ME Station dialog box, click Terminal Settings. 2. Double-click Startup Options. 3. Double-click RSView ME Station Startup. 4. Click Run Application. 5. Click Run Options, and specify the .mer file to run. 6. Click OK.
The RSView ME Station dialog box opens, with the application selected.
Preface
To use startup parameters 1. On the Windows Start menu, click Run. 2. In the Open box, type this:
\Storage Card\Rockwell Software\RSViewME\ MERuntime.exe \Storage Card\Rockwell Software\ RSViewME\Runtime\ApplicationName.mer /r /d /o If you dont want to delete the applications log files, omit the /d parameter. If you dont want to replace the terminals communication configuration with the applications communication configuration, omit the /o parameter.
3. Click OK.
Storage Card is the only permanent directory on the VersaView CE. All other directories are stored in volatile memory, and are wiped out when Windows shuts down. When you restart Windows, the terminal recreates the other directories using information stored in the Storage Card directory. This means that changes you make to the Windows desktop are not permanent unless you store the changes in the Storage Card directory. The instructions below show you how to create a permanent shortcut in the \Storage Card\Windows\Startup directory, so that RSView ME Station starts automatically each time Windows starts. To create the shortcut, a keyboard must be attached to the run-time computer.
25-32
To start RSView ME Station automatically 1. In the Windows Explorer, open the folder \Storage
From now on, RSView ME Station starts automatically when you start Windows.
To start RSView ME Station and run an application automatically 1. Follow steps 1 through 4 in the previous procedure. 2. In the Startup folder, right-click RSView ME Station, and then
click Properties.
3. In the Target box, type a space at the end of the existing text, and
then type this: \Storage Card\Rockwell Software\RSViewME\ Runtime\ApplicationName.mer /r /d /o If you dont want to delete the applications log files, omit the /d parameter. If you dont want to replace the terminals communication configuration with the applications communication configuration, omit the /o parameter.
4. Click OK.
From now on, RSView ME Station starts automatically when you start Windows, and the specified application starts running. For more information about changing settings in Windows CE, see your Windows documentation.
25-33
Preface
message.
4. Click Clear All to remove all messages from the log. 5. Click OK.
The Terminal Information Dialog displays read-only information about the battery, processor temperature, and memory available on the terminal.
4. Click Close. To change memory allocation 1. In the RSView ME Station dialog box, click Terminal Settings. 2. Double-click System Information. 3. Double-click Terminal Information. 4. Click Memory Allocation. 5. Click the Up and Down buttons to change the allocated and in
25-34
In the RSView ME Station dialog box, click Yes to Delete log files before running. Click No to keep the log files.
All alarm and data log files for the selected application are deleted.
To delete log files for all applications on the run-time computer 1. In the RSView ME Station dialog box, click Terminal settings. 2. Double-click File Management. 3. Double-click Delete Files. 4. Double-click Delete Log Files. 5. Click Yes to Delete all log files on the run-time computer. Click
No to keep all log files on the run-time computer. Only log files for data log models that use the default path are deleted when you use this option. All alarm log files are deleted For more information about data log files, see page 11-2.
Running applications
To run the selected application
"
For information about other methods of starting a PanelView Plus or VersaView CE terminal application, see page 25-30.
25-36
Press a shutdown button in a graphic display. If the application is set up to use a title bar with a Control box, click the Close button at the right end of the title bar. If the application is set up to use a title bar with a Control box, on the Control menu at the left end of the title bar, click Close.
Control box
Control menu
Close button
For information about using a title bar in graphic displays, see page 4-11. For information about preventing unauthorized users from shutting down applications, see page 13-14.
25-37
26
Chapter
Preface
Summary of steps
Follow these steps to: install the necessary hardware and software on a RAC6182 terminal transfer your application to the RAC6182 terminal run your application. For information about installing RSView ME Station, see the RSView Machine Edition Installation Guide.
Installing hardware and software on a Windows CE terminal 1. If you will be printing displays, alarms, or diagnostics messages,
connect a printer to the LPT1 or Network port on the RAC6182 terminal. The RAC6182 terminal supports printing using the Microsoft Windows CE PCL3 printer driver, which is already installed. Printing is supported for most laser and ink-jet printers. If you have problems printing, check that your printer is compatible with the PCL3 printer driver.
2. If you are using RSLinx Enterprise, set up communications as
described in Chapter 5.
3. If you are using an OPC server other than RSLinx, install the
OPC server software on the RAC6182 terminal. For installation information, see the documentation supplied by your OPC server vendor. For information about OPC data servers, see Chapter 5. If you are using RSLinx as the OPC server on the RAC6182 terminal, install RSLinx.
4. If your application uses third-party ActiveX objects, install and
register the Windows CE version of the objects on the run-time terminal. For information about ActiveX objects, see page 15-23.
5. If the run-time computer uses different time, date, or number
formats than the development computer, specify the time, date, and number formats to use at run time. For more information, see page 26-33.
26-2
preserve internal storage space on the RAC6182 terminal, insert the PC card. For more information, see page 26-19.
Transferring the application 1. On the RAC6182 terminal, start RSView ME Station.
connection, specify and set up the serial driver . If you are using Ethernet for the transfer, you can skip this step. For more information, see page 26-4.
3. On the development computer, set up the RSLinx Enterprise or
RSLinx driver to use for the transfer. For more information, see page 26-20.
4. Move the application to the RAC6182 terminal using the
for printing graphic displays, alarm messages, or diagnostic messages. For more information, see page 26-28.
3. In RSView ME Station, load the application you just transferred.
to store temporary files (RAC182 only). For more information, see page 26-19.
5. Click Run Application.
Summary of steps
Preface
Specifying the driver to use for the transfer on the RAC6182 terminal
You can download the run-time application file to the RAC6182 or MobileView terminal using: Ethernet a direct serial connection If you are using an Ethernet connection for the transfer, you dont need to set up a driver for the transfer, since the Ethernet driver is selected and loaded by default. If you are using a serial connection for the transfer, specify and set up the driver.
To specify and set up a serial driver for the transfer 1. In the RSView ME Station dialog box, click Terminal Settings,
RSLinx communications.
26-4
3. Click the Device you want to set up and then click Edit Device. 4. Set up the device, and then click OK. 5. Click the Driver you want to set up and then click Edit Driver. 6. Set up the driver, and then click OK. 7. Click Close.
You are prompted to restart the computer for the changes to take effect.
8. Click Yes to restart now. Click No to restart later.
Preface
If the download process fails or is cancelled, the application file will be deleted from the destination directories. Make a copy of the application file before you begin and make sure there is enough storage space on the destination computer.
Serial downloads
To perform a serial download, make sure the terminal is connected to the development computer using the correct cable: Connect a RAC6182 to the PC using the Allen-Bradley serial cable 6189-2NMCBL. For details about wiring the cable, see Table Q of Appendix D in the 6182 Windows CE Industrial Computer User Manual.
26-6
To transfer an application to the RAC6182 terminal 1. On the development computer, do one of the following:
In RSView Studio, on the Tools menu, click Transfer Utility. On the Windows Start menu, select Programs, Rockwell Software, RSView Enterprise, Tools, and then click ME Transfer Utility.
2. Click the Download tab. 3. In the Source file box, type the location of the run-time Browse button
application file (with the extension .mer) or Windows True Type font (with the extension .ttf or .ttc) on the development computer. To browse for the file, click the Browse button. The default location for the run-time file is \Documents and Settings\All Users\Documents\RSView Enterprise\ME\ Runtime.
4. To use a different name for the application or Windows True
Type font file at run time, check the Download as box and then type the new name.
26-7
Preface
5. In the Destination storage box, select the kind of storage in
download, and then click the RAC6182 terminal to which to download the application file or Windows True Type font file. Information about the selected computer is displayed in the right pane. To update the list of destinations, click Refresh or check the Autobrowse box. To change the format of the list, click the icon and list buttons.
9. To begin the transfer, click Download.
If you selected a destination that is not a valid RAC6182 terminal, you are prompted to select a new destination. If the application file already exists at the destination, you are given the opportunity to replace it. If the terminal doesnt respond within the timeout interval, a message is displayed and the download is cancelled. Check that the correct driver is specified on the RAC6182 terminal, and that the driver is set up properly, and then repeat step 6.
26-8
If the upload process fails or is cancelled, the application file will be deleted from the destination directories. Make a copy of the application file before you begin and make sure there is enough storage space on the destination computer.
Serial uploads
To perform a serial upload, make sure the terminal is connected to the development computer using the correct cable: Connect a RAC6182 to the PC using the Allen-Bradley serial cable 6189-2NMCBL. For details about wiring the cable, see Table Q of Appendix D in the 6182 Windows CE Industrial Computer User Manual.
To transfer an application from the RAC6182 terminal 1. On the development computer, do one of the following:
In RSView Studio, on the Tools menu click Transfer Utility. On the Windows Start menu, select Programs, Rockwell Software, RSView Enterprise, Tools, and then click ME Transfer Utility.
26-9
Preface
2. Click the Upload tab. 3. In the Source storage type box, select the storage device type. For
application file (with the extension .mer) on the development computer. To browse for the file, click the Browse button. The default location for the run-time file is \Storage Card\RSView Enterprise\ME\Runtime.
5. To use a different name for the application file at run time, check
where the file will be uploaded. To browse for the file, click the Browse button. The default location for the run-time file is \Documents and Settings\All Users\Documents\RSView Enterprise\ME\ Runtime.
26-10
7. In the left pane, click the + beside the driver to use for the
upload, and then click the RAC6182 terminal to upload the application file from. Information about the selected computer is displayed in the right pane. To update the list of destinations, click Refresh or check the Autobrowse box. To change the format of the list, click the icon and list buttons.
8. To begin the transfer, click Upload.
If you selected a destination that is not a valid Windows 2000 or Windows XP computer, you are prompted to select a new destination. If the application file already exists at the destination, you are given the opportunity to replace it. If the terminal doesnt respond within the timeout interval, a message is displayed and the upload is cancelled. Check that the correct driver is specified on the RAC6182 terminal, and that the driver is set up properly, and then repeat step 6.
Comparing applications
You can use the Transfer Utility tool to compare an application on the development computer with an application on the terminal. The comparison tool can tell you whether the files are identical or different.
To compare applications 1. On the development computer, do one of the following:
In RSView Studio, on the Tools menu click Transfer Utility. On the Windows Start menu, select Programs, Rockwell Software, RSView Enterprise, Tools, and then click ME Transfer Utility.
Comparing applications
26-11
Preface
2. Click the Compare tab. 3. In the Local file box, type the location of the run-time Browse button
application file (with the extension .mer) on the development computer. To browse for the file, click the Browse button. The default location for the run-time file is \Rockwell Software\RSViewME\Runtime
4. In the Remote Storage Type list, select the storage location of the
application on the terminal. If you are unable to find your file at the location you specified, try changing the Remote Storage Type.
5. In the communications tree, select the terminal on which the
26-12
application file (with the extension .mer) on the terminal. To browse for the file, click the Browse button. The default location for the run-time file is \Storage Card\Rockwell Software\RSView ME\Runtime.
7. Click Compare.
If you set up an application to run directly when Windows starts, this dialog box is bypassed. To open the dialog box, use a Goto Configure Mode button. For more information about the Goto Configure Mode button, see page 16-23.
Preface
specify a PC card on which to store temporary files (RAC6182 only). For details, see page 26-19. if you are using a KEPServerEnterprise data server, specify the port to use for serial communications.
To start RSView ME Station on the RAC6182 terminal
"
On the Windows Start menu, select Programs, Rockwell Software, RSView Enterprise, and then click RSView ME Station. The RSView ME Station dialog box opens.
For information about other methods of starting RSView ME Station, see page 25-30.
26-14
External Storage 2), and then click the name of the application.
3. Click Load.
The application name is displayed in the Current Application box in the RSView ME Station dialog box.
4. To run the application, click Run Application.
For information about deleting log files before running the application, see the topics in the remainder of this chapter.
device you want the shortcut to point to, and then click OK.
26-15
Preface
If you cannot see the device you want, use the up and down arrows. When the device goes off the screen to the right, press CTRL and the right or left arrows on the scrollbar.
26-16
2. Fill in the options as described in the sections that follow. 3. When you are finished, click Close.
26-17
Preface
4. Click to select or clear a message type to send to the remote log. 5. To save changes and return to the Message Routing dialog, click
Close.
Diagnostic List.
5. To save changes and return to the Message Routing dialog, click
Close.
26-18
26-19
Preface
If only one PC card is inserted in the RAC6182, use Storage Card2. If two cards are inserted, you can use either Storage Card2 or Storage Card3.
4. Click OK.
26-20
Click this driverto connect the terminal to a DHPlus network. For details, see the next section.
DH485
Click this driver if you are using a DH-485 network (RAC6182 only). For details, see page 26-24.
3. Click Close.
Preface
2. Specify these setting in the dialog box that opens:
Use Auto-Configuration
Select yes if you want the driver to automatically detect baud rate, parity, and error checking settings when you start the application. Select No if you do not want the driver to automatically detect configuration settings. RSView queries the network to determine the correct settings to use. If information is not available, RSView uses the settings you specify in this dialog box.
Device
Select the COM port to which the serial cable is attached on the run-time computer.
Stop bits
Select the station number setting for the source DF1 device, from 0 to 77 (octal) or 0 to 31 (decimal). Whether the number is octal or decimal depends on the device type.
ACK/Poll Timeout (mSec)
Type the number of milliseconds to wait for acknowledgement before retrying to connect with the device.
26-22
Max retries
Type the maximum number of times to retry to connect to the device before the driver fails (stops trying to communicate).
Baud
Select the type of error checking the controller uses to verify that the data it sends is complete and correct. RSView will use the same type of error checking when it receives the data. Newer controllers generally use the CRC (Cyclical Redundancy Check) method. Older controllers could use CRC or BCC (Block Character Check). If youre not sure which type to select, consult the controllers documentation.
26-23
Preface
Station number
Select the station number setting for the source DF1 device, from 0 to 77 (octal).
Jumper ID
Select the card jumper ID. This ID is used to identify the card if there are multiple cards installed on the RAC6182.
Baud rate
to edit.
26-24
2. Specify these settings in the dialog box that opens: Station number
Select the station number setting for the source DF1 device, from 0 to 77 (octal).
Jumper ID
Select the card jumper ID. This ID is used to identify the card if there are multiple cards installed on the RAC6182.
Baud rate
26-25
Preface
Edit Device.
5. In the Edit Device Address dialog box, type the new address, and
then click OK. The settings available in this dialog box are determined by the type of device you selected in the previous step. The run-time application file is updated with the new address information.
26-26
3. In the Serial Port IDs box, click the serial port ID you specified
when you set up the KEPServerEnterprise channel. If you forget which serial port ID you specified, in the KEPServerEnterprise software right-click the channel, and then click Properties. The ID box displays the serial port you assigned to the channel.
4. Click Edit Port. In the KepServerCommunications Port dialog
Preface
26-28
3. Modify the print options as required. 4. Click OK to confirm the printer settings and return to the
Preface
To start RSView ME Station on a RAC6182 terminal, do one of the following
On the Windows Start menu, select Programs, Rockwell Software, RSView Enterprise, and then click RSView ME Station. On the desktop, double-click the shortcut icon RSView ME Station. In the Windows Explorer, double-click MERuntime.exe. On the RAC6182, this file is located in \Storage Card\Rockwell Software\RSViewME. On the Windows Start menu, click Run. In the Open box, type this: \Storage Card\Rockwell Software\RSViewME\ MERuntime.exe To search for the file, click Browse. When youve specified the file to open, click OK. A keyboard is required to use this method. The RSView ME Station dialog box opens.
To start RSView ME Station on a RAC6182 terminal and start an application at the same time
"
In the Windows Explorer, double-click the applications .mer file. On the RAC6182, the file is located in \Storage Card\Rockwell Software\RSViewME\Runtime.
The RSView ME Station dialog box opens, with the application selected.
26-30
/rruns the application /ddeletes the applications alarm and data log files before running the application /o replaces the terminals communication configuration with the applications communication configuration. For more information about deleting data log files, see page 26-33. You can use the /r parameter alone, or with the /d parameter. You cannot use the /d parameter alone. To use the startup parameters, you must specify both the path to the MERuntime.exe file and the path to the applications .mer file.
To use startup parameters 1. On the Windows Start menu, click Run. 2. In the Open box, type this:
\Storage Card\Rockwell Software\RSViewME\ MERuntime.exe \Storage Card\Rockwell Software\ RSViewME\Runtime\ApplicationName.mer /r /d If you dont want to delete the applications log files, omit the /d parameter.
3. Click OK.
Storage Card is the only permanent directory on the RAC6182. All other directories are stored in volatile memory, and are wiped out when Windows shuts down. When you restart Windows, the terminal recreates the other directories using information stored in the Storage Card directory. This means that changes you make to the Windows desktop are not permanent unless you store the changes in the Storage Card directory.
26-31
Preface
The instructions below show you how to create a permanent shortcut in the \Storage Card\Windows\Startup directory, so that RSView ME Station starts automatically each time Windows starts. To create the shortcut, a keyboard must be attached to the run-time computer.
To start RSView ME Station automatically 1. In the Windows Explorer, open the folder \Storage
From now on, RSView ME Station starts automatically when you start Windows.
To start RSView ME Station and run an application automatically 1. Follow steps 1 through 4 in the previous procedure. 2. In the Startup folder, right-click RSView ME Station, and then
click Properties.
3. In the Target box, type a space at the end of the existing text, and
then type this: \Storage Card\Rockwell Software\RSViewME\ Runtime\ApplicationName.mer /r /d /o If you dont want to delete the applications log files, omit the /d parameter. If you dont want to replace the terminals communication configuration with the applications communication configuration, omit the /o parameter.
4. Click OK.
From now on, RSView ME Station starts automatically when you start Windows, and the specified application starts running. For more information about changing settings in Windows CE, see your Windows documentation.
26-32
Control Panel.
2. Double-click Regional Options. 3. Specify the locale to use, and then select the number, time, and
Preface
For more information about the alarm log file, see page 9-7. For more information about data log files, see page 11-2.
In the RSView ME Station dialog box, click Yes to Delete log files before running. Click No to keep the log files.
All alarm and data log files for the selected application are deleted.
To delete log files for all applications on the run-time computer 1. In the RSView ME Station dialog box, click Terminal settings. 2. Double-click File Management. 3. Double-click Delete Files. 4. Double-click Delete Log Files. 5. Click Yes to Delete all log files on the run-time computer. Click
No to keep all log files on the run-time computer. Only log files for data log models that use the default path are deleted when you use this option. All alarm log files are deleted. For more information about data log files, see page 11-2.
Running applications
To run the selected application
"
For information about other methods of starting a RAC6182 application, see page 25-30.
26-34
Press a shutdown button in a graphic display. If the application is set up to use a title bar with a Control box, click the Close button at the right end of the title bar. If the application is set up to use a title bar with a Control box, on the Control menu at the left end of the title bar, click Close.
Control box
Control menu
Close button
For information about using a title bar in graphic displays, see page 4-11. For information about preventing unauthorized users from shutting down applications, see page 13-14.
26-35
27
Chapter
When Windows starts, type a user name, password, and domain name.
The PanelView Plus or Windows CE terminals cannot be part of a domain. However, you can verify that the user who is logged in to the PanelView Plus or Windows CE terminal is on a user list that is part of a domain. On the PanelView Plus or Windows CE terminal, logging in hard codes a domain members credentials. This gives the terminal access to permissible network resources such as network folders.
27-1
Preface
To authenticate a user on a Windows CE terminal 1. On the Windows Start menu, select Settings, and then click
Control Panel.
2. Double-click Network. 3. Click the Identification tab. 4. Type a user name, password, and domain name. To authenticate a user on a PanelView Plus or VersaView CE terminal 1. In the RSView ME Dialog box, click Terminal Settings. 2. Double-click Networks and Communications. 3. Double-click Network Connections 4. Type a user name, password, and domain name, and then click
OK.
The string pop-up keyboard opens. For details about using the keyboard, see page 27-9.
27-2
external keyboard, and then press Enter. The name is not case sensitive.
4. To enter a password, press the Password button, or press F3 on
an external keyboard.
5. Type the password in the string pop-up keyboard, or on an
external keyboard, and then press Enter. The password is not case sensitive.
6. To close the Login window and complete the login, press Enter.
Preface
If the user name or password doesnt match the settings in the User Accounts editor, the user is not logged in. If the screen resolution is smaller than 280 pixels wide by 84 pixels high, the Login window cannot open. If the screen resolution is smaller than 236 pixels wide by 208 pixels high, the string pop-up keyboard cannot open.
Logging out
When the current user logs out, the DEFAULT user is logged in.
To log out
"
27-4
the Backspace key, or a backspace button When the operator activates the numeric input cursor point, the numeric pop-up keypad or scratchpad opens.
Scratchpad area
When the keypad is open, no other objects in the graphic display can accept input.
Preface
Scratchpad area
The scratchpad does not contain any buttons. If the run-time computer does not have an external keyboard or keypad attached, the operator will be unable to enter values or close the scratchpad. When the scratchpad is open, no other objects in the graphic display can accept input.
Decimal (.)
Type a decimal point. This button is visible only if the decimal point type for the numeric input enable button is Implicit.
Toggle the value between positive and negative. Close the pop-up window without writing the value to the buttons Value control. Delete the rightmost digit in the scratchpad. If no digits are left, the minus sign, if any, is removed.
27-6
To do this
Enter ()
Close the pop-up window and write the value to the buttons Value control. If the Optional Expression control is assigned to the numeric input enable button, RSView calculates the value of the expression and writes the result to the Value control. For details, see page 19-21. If Enter key handshaking is set up for the numeric input enable button, the buttons Enter control is set to 1 and the handshaking timer begins timing. For details, see page 16-19.
Delete
Clear the scratchpad. There is no Delete button in the pop-up keypad, but you can use the Delete key on an external keyboard or keypad.
Preface
The value the operator enters is compared to the minimum and maximum range for the button. If the value is within the range, the value is written to the Value control. If the Optional Expression control is assigned, and the original value is within the range but the expression result is a value outside the range, the value is still written to the Value control. If the decimal point type is Fixed Position, with a Digits after decimal value that is greater than 0, the decimal point is stripped from the value before comparing it to the minimum and maximum range. For example, if the entered value is 9.25, the stripped value is 925. If the stripped value is within the range, the stripped value is sent to the Value control (or substituted for the ? in the Optional Expression). If the decimal point type is Implicit, and the tag assigned to the Value control uses an integer data type, floating-point values are rounded. If the Optional Expression control is assigned, the floating-point value is substituted for the ? in the expression, and the expression result is rounded. For information about how values are rounded, see page 7-2.
27-8
If the value is outside the minimum and maximum range specified for the numeric input enable button, the pop-up window remains open and the value is not written to the control. The scratchpad area changes to red to alert the operator of the error. If Enter key handshaking is still in effect, the pop-up window closes but the value is not written to the control.
If the operator opens the pop-up keyboard by pressing a string input enable button, the number of characters the keyboard accepts depends on how you set up the button.
27-9
Preface
When the keyboard is open, no other objects in the graphic display can accept input.
The scratchpad does not contain any buttons. If the run-time computer does not have an external keyboard attached, the operator will be unable to enter characters or close the scratchpad (unless the run-time terminal is a keypad terminal). If the run-time terminal is a keypad terminal, the operator can enter numbers (not letters) in the scratchpad, and close the scratchpad. When the scratchpad is open, no other objects in the graphic display can accept input.
Capitalize a single letter, or type a shifted character such as #. Capitalize multiple letters. Toggle between insert and overstrike modes. Insert a space. Move the cursor to the left. Move the cursor to the right.
27-10
To do this
ESC
Esc
Close the pop-up window without writing the string to the Login dialog box or the string input enable buttons Value control. Clear the scratchpad. Delete the character in front of the cursor. Close the pop-up window and write the string to the Login dialog box or the string input enable buttons Value control. If Enter key handshaking is set up for the string input enable button, the buttons Enter control is set to 1 and the handshaking timer begins timing. For details, see page 16-19.
Preface
When the string is written to the Value control, the first character is placed in the high order byte of the first word at the tag address, the second character is placed in the low order byte of the first word, and so on.
Do not use push buttons for emergency stops. Emergency stop buttons must be hard-wired.
27-12
You can also use macros to assign values to tags. For more information, see Chapter 21. The operator can change tag values at run time using these graphic objects:
Use this graphic object To do this
Start a process or action by sending one value to the tag when pressed, and another value when released. Toggle between two values, by sending one value to the tag when pressed, and a second value the next time the button is pressed and released. This button is useful for changing a setting within a machine or process, but not for starting the machine or process.
Start a machine or process and remain set (latched) until the process is completed, by sending a value to the tag when pressed, and retaining this value until reset (unlatched) by the Handshake control. Cycle through a series of values. Each time the operator presses the button, the value for the next state is sent to the tag. When the button is in its last state, pressing it causes the button to change to its first state and write out the first state value. This button is useful when you want the operator to see and select multiple options in sequence, using a single button. The button displays the current state of a process or operation by showing a different color, caption, or image to reflect the different states.
Use a group of buttons to send values to the same tag. When the operator presses a button in the group, the buttons value is sent to the tag, and the button remains highlighted as long as the tag value is the same as the buttons value. Pressing a new button in the group releases the other button and sends a new value to the tag. You can also use a single interlocked push button to send a value to a tag.
27-13
Preface
Use this graphic object To do this
Ramp button
Increase or decrease the value of a tag by a specified integer or floating-point value. Use two ramp buttons together to create a raise/lower control.
String input enable button Enter a string value and write the value to a tag. Drawing object with horizontal or vertical slider animation Control the value of a tag by dragging the slider object with a mouse. The pixel position of the slider is translated into a value that is written to the tag. If the value of the tag is changed externally, the position of the slider changes to reflect this. Control list selector Select from a list of states for a process or operation. The list is highlighted to show the current state, and the operator can scroll through the list to select a different state. The value assigned to the selected state is written to the tag. If the value of the tag is changed externally, the position of the highlight changes to reflect this. ActiveX object A third-party object, connected to an analog, digital, or string tag. When the objects property value changes, the new value is written to the associated tag.
You can attach visibility animation to these graphic objects, to display or hide the objects based on changes in tag or expression values. For information about visibility animation, see page 17-11. For information about creating graphic objects, see Chapter 15. For information about setting up graphic objects, see Chapter 16.
27-14
The operator can view tag data at run time using these graphic objects:
Use this graphic object To display this
Numeric tag values. For example, display the current temperature of an oven. Numeric tag values. For example, display the current temperature of an oven. String tag values. For example, set up the data source to generate strings that report on the state of a process or operation, or that provide the operator with instructions about what to do next. Numeric values in bar graph format. The bar graph increases or decreases in size to show the changing value. Numeric values in dial format. The gauges needle moves around the dial to show the changing value. The state of a process, on a panel that changes its color, image, or caption to indicate the current state. Each state is set up to correspond to a numeric tag value or Least Significant Bit. The state of a process, using a monochrome image that changes color to indicate the current state. Each state is set up to correspond to a numeric tag value or Least Significant Bit. This object is useful for showing the state of a process or operation at a glance.
Bar graph
Gauge
Multistate indicator
Symbol
List indicator
The state of a process, using a list of possible states with the current state highlighted. Each state is represented by a caption in the list, and is set up to correspond to a numeric tag value or Least Significant Bit. This indicator is useful if you want to view the current state but also want to see the other possible states. For sequential processes, the list can alert the operator about what happens next in the process.
27-15
Preface
Use this graphic object To display this
Trend
Historical or current numeric tag values, plotted against time or displayed in an XY plot where one or more tags values are plotted against another tags values to show the relationship between them. Display the value of a tag using a pictorial representation that shows the current value in relation to a range of possible values. For example, use rotation animation to show the tag value as a needles position on a dial. For color animation, assign different colors to represent different values.
Drawing object with rotation, width, height, fill, color, or horizontal or vertical position animation
ActiveX object
A third-party object, connected to an analog, digital, or string tag. The data displayed depends on the object.
Any of these objects can be set up to manipulate tag values using expressions, and display the expression result rather than the original tag value. For information about expressions, see Chapter 19. You can also attach visibility animation to these graphic objects, to display or hide the objects based on changes in tag or expression values. For information about visibility animation, see page 17-11. For information about creating graphic objects, see Chapter 15. For information about setting up graphic objects, see Chapter 16.
Displaying the date and time
To display the current date and time, create a time and date display. This object uses the operating systems date and time and therefore does not use tags or expressions.
[ALARM] [DIAGNOSTICS]
27-16
This information
[INFORMATION] No default
The default alarm and information displays open automatically when the assigned tags match messages trigger values. The default diagnostics display opens automatically when system activity occurs. If desired, you can set up your own graphic displays to open automatically, instead of the default displays. You can also set up any of the displays to open when an operator presses a goto display button or selects a display in the display list selector. The operator can acknowledge alarm and information messages. The operator can clear alarm and diagnostics messages. The operator can sort alarms and reset their status.
27-17
Appendix
Terminology
This section describes terms that are different in PanelBuilder 1400e and RSView.
A-1
Terminology
Preface
PanelBuilder 1400e term RSView term
In RSView, the data source can be memory or a device such as a programmable controller or an OPC server. RSView writes values to and reads values from the data source. The data source is configured to exchange information (in the form of numeric or string values) between RSView and the machine that your application is controlling. The general term data source is used unless specifically discussing a programmable controller.
Summary of steps
Follow these steps to convert PanelBuilder 1400e applications:
1. Convert the application file, as described in the next section. 2. Specify additional project settings, as described on page 4-9.
For example, if you want the application to have a border around its graphic displays, or to use a title bar, you can specify these options in the Project Settings editor.
3. If you select Convert to new windows size, check the position of
A-2
You can convert the PanelBuilder 1400e application when you open RSView Studio, or once RSView Studio is already open.
To convert a PanelBuilder 1400e application when you open RSView Studio 1. Open RSView Studio.
2. In the New tab, in the Application name box, type a name for
PanelBuilder 1400e application contains an Application File Comment, the Application File Comment will overwrite the description you type here. You can add or change the description later, as described on page 4-15.
4. Click Import.
A-3
Preface
Next.
A-4
6. Click the Browse button 7. Navigate to the directory where the PanelBuilder 1400e Browse button
A-5
Preface
or to convert displays to a new size. The size you specify is used for all Replace displays.
10. If you are converting to a new window size, specify the window
scale the displays: To scale the displays, check Scale graphic displays. If you scale the displays, the graphic objects are resized to retain their relative position to each other in the display. To resize the displays without scaling, clear the Scale graphic displays check box. If you resize the displays without scaling, objects retain their original size and position in the display. Some objects might be outside the display area, but you can still select them and move them onto the display.
A-6
keypad-only application, specify whether to enable the Touch property for graphic objects that the operator presses: If you want the operator to press objects using a touch screen or mouse, check Enable touch on graphic objects from keypad-only applications. If you want the operator to press objects using a keypad or external keyboard only, clear the Enable touch on graphic objects from keypad-only applications check box.
14. Click Finish.
RSView Studio converts the PanelBuilder 1400e application, creates the converted applications folders and files, and then displays the converted application in the Application Explorer window in RSView Studio. If there are any messages about conversion, they are displayed automatically in the Project Status dialog box. The converted application is created in the ME\HMI projects directory, in a folder with the same name as the application name you specified in step 2. This is the path to the ME\HMI projects directory: \Documents and Settings\All Users\Documents\RSView Enterprise\ME\HMI projects Conversion messages are saved in a file called Convert.log, in the HMI projects directory.
To convert a PanelBuilder 1400e application when RSView Studio is already open 1. On the File menu, click New Application, or click the New
Application tool.
New Application tool
If an application is already open, RSView Studio asks you whether to close the application that is currently open. Click Yes.
2. Follow steps 2 through 14 in the previous procedure.
Preface
If you select Convert to new windows size, check the position of the graphic objects in each display. Set up communications and edit tags that dont convert directly. For more information, see page A-12. Set up graphic object features that dont convert directly. For more information, see page A-13. Check each expression you used in PanelBuilder 1400e. For more information, see page A-15.
Increment Value Button Decrement Value Button Increment Value Button with Display Decrement Value Button with Display ASCII Input (small and large) Numeric Entry Keypad (small and large) Screen List Selectors list
Ramp button Ramp button Ramp button and numeric display Ramp button and numeric display String input enable button Numeric input enable button Display list selector
During conversion the button is set up to increment. During conversion the button is set up to decrement The Increment Value Button with Display is divided into two separate RSView objects. The Increment Value Button with Display is divided into two separate RSView objects.
The PanelBuilder 1400e Screen List Selector is divided into four separate RSView graphic objects.
Screen List Selectors Enter Key Screen List Selectors Down Cursor Screen List Selectors Up Cursor Control List Selectors list
Enter button Move down button Move up button Control list selector The PanelBuilder 1400e Control List Selector is divided into four separate RSView graphic objects.
A-8
Notes
Control List Selectors Enter Key Control List Selectors Down Cursor Control List Selectors Up Cursor Screen Select Keypad (small and large) Screen Keypad Enable Button Goto Screen Button Return to Previous Screen Button ASCII Display Numeric Keypad Enable Button Normally Open Momentary Push Button Normally Closed Momentary Push Button Screen Print Button Alarm History Sort By Time/Sort By Value Button Alarm Status Reset Qty/Time Button Alarm Panel Single Line Alarm Window Alarm Status Screen Time Display
Enter button Move down button Move up button Display list selector Display list selector Goto display button Return to display button String display Numeric input enable button Momentary push button Momentary push button Display print button Sort alarms button Reset alarm status button Alarm banner Alarm banner Alarm status list Time and date display During conversion the button is set up to be normally open. During conversion the button is set up to be normally closed. Specify the graphic displays that the display list selector can open. Specify the graphic displays that the display list selector can open.
During conversion the display is set up to show the time only. The PanelBuilder 1400e time format is not converted. For details about the RSView time format, see page 16-201.
A-9
Preface
This PanelBuilder 1400e object Is converted to this RSView object Notes
Date Display
During conversion the display is set up to show the date only. The PanelBuilder 1400e date format is not converted. For details about the RSView date format, see page 16-201. Arc (with solid back style) and The line graphic object is added line because the solid RSView arc shape does not have a line between the two points of the arc.
RSView arc
A-10
Block tags
Block tags are not supported in RSView. Block tags that are monitored for alarms in your PanelBuilder 1400e application are converted to bit arrays. For information about monitoring bit arrays for alarm conditions, see Chapter 9.
A-11
Preface
A-12
If you want an object to blink at run time, unlock the wallpaper. In RSView, all of the listed objects except images and panels use color animation to blink. For details, see page 17-13. Panels use the Blink property to blink. Color images do not blink. Monochrome images use the Blink property to blink. For details, see page 15-15. If a PanelView 1400e application was configured with the Polarity control requiring a negative number to display the minus sign, the Numeric Display will not work properly after the application is converted to RSView ME. Use an expression to achieve the same result. Assign the expression to the objects Value control. For information about expressions, see Chapter 19. Use an expression to achieve the same result. Assign the expression to the objects Optional Expression control. For information about expressions, see Chapter 19. The numeric input cursor point retains focus when the operator cancels entering a numeric value.
Numeric Display
Polarity
A-13
Preface
Graphic object Unsupported feature in RSView Notes
If you want to set these objects states on application startup, create a macro to set the appropriate tag values for the objects controls. For information about macros, see Chapter 21. Assign the macro in the Startup editor. For details, see page 23-3. The date is displayed in the title. You can plot tag values in the background by assigning the tags to a data log model. Tags set up for background screen plotting are automatically assigned to a data log model on conversion. However, data log models do not plot expression values. Therefore, expressions set up for background screen plotting are not converted. For information about data logging, see Chapter 11. Object names are replaced with the RSView default object names. The PanelBuilder 1400e object name is used for the objects description. You can view and edit the name and description in the Property Panel. For details, see page 15-35. RSView supports one, three, or nine positions for captions and images, depending on the type of object. On conversion, captions and images are positioned using the closest match. Therefore some captions might overlap images, some captions might be truncated, and some images might be clipped to fit the object. RSView supports one image label per object or state. If a PanelBuilder 1400e object is set up to use multiple image labels, only the top left image is converted.
Trend
All objects
All objects
All objects
A-14
Converting expressions
Some PanelBuilder 1400e expression syntax is not supported in RSView. Expressions are converted without modification, and then turned off by placing warning text at the beginning of the first line of the expression. In addition, exclamation marks (!) are placed at the beginning of each subsequent line of the expression. To enable the expression, you must remove the warning text and exclamation marks, and revise the syntax if necessary. The maximum expression length in RSView is 1,024 characters. If a PanelBuilder 1400e expression contains more than 1,024 characters, the excess characters are not converted. Some PanelBuilder 1400e objects support both tags and expressions. For these objects, if the text assigned to a control could be valid syntax for both a tag and an expression, the control is treated as an expression, and is therefore turned off. For example, N20-0_String_64 could be the name of a tag, or it could be an expression that subtracts 0_String_64 from the tag N20. The text would be converted as an expression, and turned off.
To enable an expression 1. Select the object containing the expression. 2. Open the Property Panel, and then click the Connections tab. 3. In the Exprn column, click the Browse button beside the Browse button
expression to enable.
4. In the Expression editor, delete the warning text and exclamation
marks.
5. Revise the expression, if necessary, using the tables in the
For more information about using the Expression editor, see Chapter 19.
Converting expressions
Preface
Syntax that is not listed in this table or in the next section is okay the way it is.
Type of expression component or operator PanelBuilder 1400e syntax RSView syntax
Comment Line continuation Equality Bitwise Not Bitwise And Bitwise Or Bitwise Xor If both operands are Byte, Integer, Long, Variant, or any combination of these data types, use the RSView syntax. For other data types, no change is needed.
Exit DIM varname AS ... varname = \ If then endif If then else endif SelectCase Case1...CaseN CaseElse EndSelect
not needed
(x - (x MOD y))/y If then else 0 If then else Use nested if then else
Logical Xor (if one or both Xor operands are Boolean or Single data types)
A-16
Order of precedence
The order of precedence is slightly different in RSView. Check your expressions to make sure the result is what you intend.
PanelBuilder 1400e order of precedence RSView order of precedence
()
()
- (negation) *, / (floating point division) \ (integer division) Mod +, - (subtraction) =, <>, <, >, <=, >= Not And Or Xor
NOT, ~ (tilde) *, /, MOD, %, **, AND, &&, &, >>, << +, -, OR, ||, |, ^ EQ, ==, NE, <>, LT, <, GT, >, LE, <=, GE, >=
application.
4. Open the RSLinx data server, and then double-click
Preface
5. In the Communications Setup editor, add a RIO driver. For more
Configure RIO.
7. In the RIO Configuration dialog box, right-click RIO, and then
click Import.
8. Browse to the location of the .xml file. 9. In the RSLinx data server, double-click Device Shortcuts. 10. In the Communications Setup editor, create a device shortcut
named PVRIO that points to the RIO data device. For more information about creating a device shortcut, see the RSLinx help.
11. Correct any invalid RIO configurations, if any. Invalid RIO
A-18
has a data type of Binary and its address has a length or range of 16 bits specified, but its address does not have a bit offset of 0 has a data type of Default Unsigned Integer Signed Integer Long Integer Float String 4 Digit BCD or 8 Digit BCD and its address has a bit offset assigned that is not 0 has a tag type of Block has an invalid PanelView 1400e address.
[default] Unsigned Integer Integer Long Integer Floating Point Bit Position
UWORD UWORD SWORD SLONG FLOAT BIT (only for tags whose address references a single bit) BIT (only for tags whose address references a single bit) UBYTE (for tags whose address references a range or length of 8 bits) UWORD (for tags whose address references a range or length of 16 bits) UWORD (for tags whose address references a single word) 4BCD 8BCD BIT STRING1 This will not be converted.
Analog
Binary
Analog
Binary
Analog
Binary
Analog
Binary
A-19
Appendix
Terminology
This section describes terms that are different in PanelBuilder and RSView.
B-1
Terminology
Preface
PanelBuilder term RSView term
In RSView, the data source can be memory or a device such as a programmable controller or an OPC server. RSView writes values to and reads values from the data source. The data source is configured to exchange information (in the form of numeric or string values) between RSView and the machine that your application is controlling. The general term data source is used unless specifically discussing a programmable controller.
Summary of steps
Follow these steps to convert PanelBuilder applications:
1. Convert the application file, as described in the next section. 2. Specify additional project settings, as described on page 4-9.
For example, if you want the application to have a border around its graphic displays, or to use a title bar, you can specify these options in the Project Settings editor.
3. If you select Convert to new windows size, check the position of
B-2
2. In the New tab, in the Application name box, type a name for
PanelBuilder application contains an Application Description, the Application Description will overwrite the description you type here. You can add or change the description later, as described on page 4-15.
4. Click Import.
B-3
Preface
Terminal (*.pva), and then click Next. In PanelBuilder, .pba is the development file extension, and .pva is the run-time file extension.
B-4
6. Click the Browse button 7. Navigate to the directory where the PanelBuilder application file Browse button
B-5
Preface
or to convert displays to a new size. The size you specify is used for all Replace displays.
10. If you are converting to a new window size, specify the window
scale the displays: To scale the displays, check Scale graphic displays. If you scale the displays, the graphic objects are resized to retain their relative position to each other in the display. To resize the displays without scaling, clear the Scale graphic displays check box. If you resize the displays without scaling, objects retain their original size and position in the display. Some objects might be outside the display area, but you can still select them and move them onto the display.
B-6
keypad-only application, specify whether to enable the Touch property for graphic objects that the operator presses: If you want the operator to press objects using a touch screen or mouse, check Enable touch on graphic objects from keypad-only applications. If you dont want the operator to press objects using a touch screen or mouse, clear the Enable touch on graphic objects from keypad-only applications check box.
14. If the PanelBuilder application you are converting uses an
external font, specify which language (or code page) was used when the external font in the imported application was created. All the ASCII text strings in the imported application are converted to their Unicode equivalent text strings during conversion.
16. Click Finish.
RSView Studio converts the PanelBuilder application, creates the converted applications folders and files, and then displays the converted application in the Application Explorer window in RSView Studio. If there are any messages about conversion, they are displayed automatically in the Project Status dialog box. The converted application is created in the ME\HMI projects directory, in a folder with the same name as the application name you specified in step 2. This is the path to the ME\HMI projects directory: \Documents and Settings\All Users\Documents\RSView Enterprise\ME\HMI projects Conversion messages are saved in a file called Convert.log, in the HMI projects directory.
To convert a PanelBuilder application when RSView Studio is already open 1. On the File menu, click New Application, or click the New
Application tool.
New Application tool Converting PanelBuilder application files
B-7
Preface
If an application is already open, RSView Studio asks you whether to close the application that is currently open. Click Yes.
2. Follow steps 2 through 16 in the previous procedure.
Numeric Entry Keypad Enable Button Numeric Entry Cursor Point Increment/Decrement Entry Button
Numeric input enable button Numeric input cursor point Numeric input enable button
The numeric input enable button is set up to work as a ramp button, using the Fine Step value. The Coarse Step value is not converted. The Show Current String on ASCII Scratchpad setting is not converted. The pop-up scratchpad or keyboard is always blank when opened. The Show Current String on ASCII Scratchpad setting is not converted. The pop-up scratchpad or keyboard is always blank when opened. The text object contains a numeric embedded variable that displays the read tag.
B-8
Notes
Connected Line Circle Freeform Screen List Selector Goto Screen Button Return Screen Button
Polyline Ellipse Freehand Display list selector Goto display button Return to display button
Preface
bit alarm acknowledgement handshaking when alarm messages are sent to a remote device RSView does not use these PanelBuilder controls to manage alarms: Remote Ack All Handshake Tag Remote Clear All Alarm Tag Remote Clear All Alarm Handshake Tag Message to Remote Device Notification Tag Message to Remote Device Handshake Tag
External fonts
PanelBuilder external fonts are not converted. When you convert your application you can specify the font to use instead, as described on page B-7.
B-10
Preface
Blink property
In RSView, all of the listed objects except images use color animation to blink. For details, see page 17-13. Color images do not blink. Monochrome images use the Blink property to blink. For details, see page 15-15.
Increment/Decrement Entry Button (converted to numeric input enable button) Maintained Push Button, Multistate Push Button, Standard Control List Selector
Allow Home/End Allow Wrap Ramping by coarse steps Initial state values
If you want to set these objects states on application startup, create a macro to set the appropriate tag values for the objects controls. For information about macros, see Chapter 21. Assign the macro in the Startup editor. For details, see page 23-3.
Print setting Inner text and inner graphic Inner text and inner graphic Scale clipping Converted to a separate text object and image object. Converted to a separate text object and image object. If the scale doesnt fit within the height or width of the gauge, it is not clipped. Check the position of the scale to ensure it doesnt overlap other objects. Converted to a separate gauge object; if the gauge had 2 needles, each needle is converted to a separate gauge object.
Needle
B-12
Graphic object
Notes
Alarm List
Only 1 line is supported. To show active alarms only, or to indicate whether an alarm is active or inactive, use an alarm status list. Unacknowledged alarms are always displayed. All alarms can be acknowledged. RSView supports one, three, or nine positions for captions and images, depending on the type of object. On conversion, captions and images are positioned using the closest match. Therefore some captions might overlap images, some captions might be truncated, and some images might be clipped to fit the object. If this property is set to False, the converted object has a transparent background, no border, no caption, and no image. If the inner graphic uses a color image, it will not blink. Use a monochrome image if you want the inner graphic to blink.
All objects
All objects
All objects
application.
4. Open the RSLinx data server, and then double-click
Preface
5. In the Communications Setup editor, add a RIO driver. For more
Configure RIO.
7. In the RIO Configuration dialog box, right-click RIO, and then
click Import.
8. Browse to the location of the .xml file. 9. In the RSLinx data server, double-click Device Shortcuts. 10. In the Device Shortcuts editor, create a device shortcut named
PVRIO that points to the RIO data device. For more information about creating a device shortcut, see the RSLinx help.
11. Correct any invalid RIO configurations, if any. Invalid RIO
B-14
RSLinx Dtype
Unsigned Integer Signed Integer / INT IEEE Float / REAL Bit Array
UWORD SWORD FLOAT BIT Only for PanelView32 tags with an array size of 1. UBYTE Only for PanelView32 tags with an array size of 8, whose address has a bit offset of 0 or 8. UWORD Only for PanelView32 tags with an array size of 16, whose address has a bit offset of 0. STRING1 SLONG SBYTE
Bit Array
Bit Array
B-15
Appendix
System tags
This appendix describes the system tags. System tags are preconfigured HMI tags created by RSView. System tags are read-only. Display them as needed in your application.
Alarms
The following tag contains the time and date that the status of alarms was last reset. The date uses the long date format.
Tag Name Type Function
system\AlarmReset DateAndTimeString
String
Graphics
The following tags can be used to make graphic objects appear as though they are blinking on and off:
Tag Name Type Function
system\BlinkFast system\BlinkSlow
Digital Digital
Toggles on and off every 100 ms (10 times per second). Toggles on and off every 500 ms (twice per second).
A more efficient way to make graphic objects blink is to use the blinking color option in color animation. For details, see page 17-13. Also, many objects have a blink property that you can set up. For information about specific objects, see Chapter 16.
C-1
Alarms
Preface
Time
The following tags record time and date information in various formats:
Tag Name Type Provides this data Read or write
String Analog
System date. Number of seconds elapsed since midnight (00:00:00) January 1, 1970, coordinated universal time (UTC). Complete date and time display. For example: Monday, December 12 2001 10:47:50 AM
system\DateAndTime String
String
Read only
system\DayOfMonth system\DayOfWeek system\DayOfYear system\Hour system\Minute system\Month system\MonthString system\Second system\Time system\Year
Analog Analog Analog Analog Analog Analog String Analog String Analog
Day of the month (1 31). Day of the week (1 7); Sunday = 1. Hour of the day (0 23). Minutes (0 59). Number for month (1 - 12). Name of the month. Seconds (0 59). System time. The year (1980 2099).
Day of the year (1 366). Read only Read and write Read and write Read only Read only Read and write Read only Read only
For information about using the data source to update the system date and time, or about sending the run-time computers date and time to the data source, see Chapter 8.
C-2
User
The following tag contains the name of the current user:
Tag Name Type Function
system\User
String
We recommend that you use the expression security function CurrentUserName( ) instead of the system\User tag, especially if you intend to convert the application to RSView Enterprise Supervisory Edition. In distributed applications, system\User returns the name of the user logged into the HMI server, not the user logged into the display client. For more information about the security functions, see page 19-18.
User
C-3
Appendix
TimeStmp
The time and date data was logged, in coordinated universal time (UTC) format. Encoded as a date variant. Message to be logged.
SQL_TIMESTAMP
Driver dependent
MessageText
SQL_VARCHAR, or SQL_CHAR
254
Audience
SQL_SMALLINT, or 1 SQL_INTEGER
Severity
A number representing the severity of the diagnostics message: 0 Error 1 Warning 2 Information 3 Audit
SQL_SMALLINT, or 1 SQL_INTEGER
D-1
Preface
This column Contains SQL Data Type Length
Area
The FactoryTalk path to the area in which the activity occurred. The name of the computer where the message was generated.
80
Location
15
UserID
The name of the user (including domain name, if SQL_VARCHAR, or there is one) that initiated the action that caused SQL_CHAR the diagnostics message. If the diagnostics message was caused by an HMI server, the user column contains System. SQL_VARCHAR, or SQL_CHAR SQL_VARCHAR, or SQL_CHAR
38
UserFullName The full name of the user that was logged in when the activity occurred. Provider The name of the product that generated the message.
255
20
D-2
Index
Symbols
.bmp files, 14-22
Numbers
21 CFR Part 11 compliance, 10-5
importing, 14-23 location of, 14-23 placing in graphic displays, 15-15 tips for using, 14-28 viewing, 14-26
.dxf files, 14-22
A
A.I. 5 tags, importing, 7-28 AB_DF1-1
importing, 14-23 placing in graphic displays, 15-15 tips for using, 14-28 viewing, 14-26
.mea files, 4-8 .med files, 4-2 .mer files, 4-2, 26-1
setting up at run time, 25-23, 25-24, 26-21, 26-23 using at run time, 25-22, 26-20 using to transfer applications, 25-7, 26-5
AB_ETH-1
setting up at run time, 25-22, 25-23, 26-21 using at run time, 25-22, 26-20 using to transfer applications, 25-7, 26-5
AB_KT-1
setting up at run time, 26-21, 26-24 using at run time, 25-22, 26-20
Acknowledge alarm button graphic object, 15-7, 16-32
See also Run-time application comparing, 25-13, 26-11 creating, 23-4 default location, 23-5 transferring from PanelView Plus or VersaView CE, 25-10 from RAC6182, 26-9 to PanelView, 25-2, 25-7 to RAC6182, 26-2, 26-6 to VersaView CE, 25-2, 25-7 to Windows 2000 or Windows XP, 24-2, 24-3
.wmf files, 14-22
See also Graphic objects animating, 17-2 at run time, 27-14, 27-16 creating, 15-23 navigating to, 16-12 registering, 15-24 using to display tag values, 15-6, 15-9 using to set tag values, 15-5, 15-9
Activity logging. See Diagnostics messages Addresses, for OPC items, 7-22 Addressing syntax
Index
I-1
Adobe Acrobat Reader, 1-1 Alarm banner graphic object, 15-9, 16-227
at run time, 9-39, 27-16 linking buttons to, 16-14 navigating to, 16-12 specifying time and date format for, 24-15, 25-35, 26-33 using buttons with, 9-41
Alarm display, opening and closing, 9-21, 9-36
remotely, 9-21
Alarm list graphic object, specifying time and date format for, 25-35, 26-33 Alarm list graphic object, 15-9, 16-221
at run time, 9-37, 27-16 linking buttons to, 16-14 navigating to, 16-12 specifying time and date format for, 24-15 using buttons with, 9-41
Alarm log file, 4-3, 9-7
deleting at application startup, 24-11, 24-14, 25-31, 25-35, 26-30, 26-33 printing contents of, 9-8 size, 9-29
Alarm logging. See Alarms Alarm messages
copying, 9-28 creating, 9-25 deleting, 9-28 embedded variables in, 20-2 printing at run time, 9-8 viewing at run time, 27-16
Alarm monitoring, turning on and off, 23-2 Alarm Setup editor, 9-22
acknowledging, 9-5, 9-17, 9-44 remotely, 9-17, 9-19, 9-20 clearing, 9-6, 9-45 creating your own display for, 9-36 deleting, 9-45 displaying, 9-4, 9-26, 9-28 displaying in the alarm status list, 9-47 expressions in, 19-3 hold time, 9-29 inactive, 16-230 keeping a permanent record of, 9-3, 9-8 notification methods for, 9-3 printing, 9-8, 9-26 queueing, 9-16 resetting, 9-7 resetting status of, 9-20, 9-46 remotely, 9-21 responding to, 9-5 retaining status of, 9-46 sending messages to the data source, 9-19, 9-27 setting up, 9-21 silencing, 9-6, 9-20, 9-28, 9-45 remotely, 9-20 sorting, 9-6, 9-46 testing on the development computer, 23-4 updating tag values for, 9-29
Analog tags, 7-1
data types, 7-18 how floating-point values are rounded, 7-2 logging values for, 11-2 monitoring for alarms, 9-2 setting up, 7-16 using to generate a range of alarms, 9-8
Animation, 17-1
at run time, 9-40 linking buttons to, 16-14 navigating to, 16-12 using buttons with, 9-41
Alarm status mode button graphic object, 15-7, 16-32
changing, 17-32 checking, 17-30 copying, 17-32, 17-33 defining range of motion for, 17-9 for group objects, 15-56, 17-30 setting minimum and maximum values for, 17-8 testing, 17-7 using expressions, 17-8 using Object Smart Path, 17-6, 17-9 using tags and placeholders, 17-7 viewing in Object Explorer, 15-29
Animation dialog box, 17-2
I-2
color, 17-13 fill, 17-18 height, 17-23 horizontal position, 17-19 horizontal slider, 17-27 rotation, 17-24 vertical position, 17-20 vertical slider, 17-28 visibility, 17-11 width, 17-21
Application Explorer, 2-3, 2-4
B
Background Color toolbar, 15-40 Background style, transparent, 14-23 Backspace button graphic object, 15-7, 16-31 Bar graph graphic object, 15-6, 16-167, 16-169
See also Components; Run-time application backing up and restoring, 4-8 closing, 4-8 comparing, 25-13, 26-11 converting PanelBuilder, B-1 PanelBuilder 1400e, A-1 PanelBuilder 32, B-1 copying and deleting at run time, 25-19, 26-19 copying, deleting, and renaming, 4-8 creating, 4-4 importing PanelBuilder, B-1 PanelBuilder 1400e, A-1 PanelBuilder 32, B-1 opening, 4-6 multiple, 4-7 planning, 3-1 run-time, creating, 23-4 sample, opening, 2-2 testing on the development computer, 23-3 transferring from a RAC6182 terminal, 26-9 transferring from PanelView Plus or VersaView CE, 25-10 transferring to PanelView Plus or VersaView CE, 25-7 transferring to RAC6182, 26-6
using to generate alarms based on priority sequence, 9-11 using to generate multiple alarms, 9-9
Bit trigger type, 9-9 Bitmap files. See .bmp files Bitwise operators, in expressions, 19-12
See also Graphic object types; Graphic objects bounding box, 16-8 creating touch margins for, 16-8 linking to specific objects, 16-14 repeating button presses, 16-17 selecting objects to send button presses to, 16-12, 16-14 using function keys with, 16-9 using with alarm banners, 15-7 using with lists, 15-7 using with numeric input objects, 15-7 using with trends, 15-7, 18-25
Button presses
Index
I-3
C
Caches for data servers
Components, 2-10
adding into applications, 2-14 file locations, 4-2 printing, 2-17 working with, 2-12
Constants, in expressions, 19-9 Context menus, 14-6 Control list selector graphic object, 15-5, 16-181
clearing alarms with, 9-6 resetting alarms with, 9-7 silencing alarms with, 9-6 using to delete the alarm log file, 9-7 using with alarm lists, 9-42
Close display button graphic object, 15-4, 16-135
at run time, 27-14 linking buttons to, 16-14 navigating to, 16-12 using Enter key handshaking with, 16-19
ControlLogix processors, 6-2
and alarms, 9-37 and diagnostics messages, 10-21 and information messages, 12-10, 12-11 using to navigate, 22-4, 22-6
Color
See also Expressions; Tags assigning to graphic objects, 15-44 using the Property Panel, 15-38 for alarms, 9-3, 9-15, 9-19
Current trends, 11-1, 18-2
blinking, 17-16, C-1 for graphic objects, 15-40 in graphic displays, 14-16 animating, 17-13 in trends, 18-8
Color animation, 15-6, 17-13
setting up at run time, 25-22, 26-20 for transfer to PanelView Plus, 25-5 for transfer to RAC6182, 26-4 for transfer to VersaView CE, 25-5 in Windows 2000 or Windows XP, 24-7 setting up in RSLinx Enterprise, 26-5 at run time, 24-7 for transfer to PanelView Plus, 25-7 for transfer to RAC6182, 26-5 for transfer to VersaView CE, 25-7
Communications
changing the model to use at run time, 11-12 creating, 11-5 deleting tags from, 11-2 specifying how much data to store, 11-6 specifying the storage location, 11-7 specifying the tags to log, 11-11 specifying when to log data, 11-9 using with trends, 18-24
Data Log Models editor, 11-4
errors, displaying, at run time, 27-17 setting up, 5-1 testing on the development computer, 23-4
Communications tab, 2-4
choosing the data to log, 11-2 methods, 11-2 problems with, 11-12 setting up, 11-4 storage locations, 11-3 turning on and off, 23-3 updating tag values for, 11-10
Data server tags, 6-1
I-4
creating, 5-4, 5-6 creating caches for , 5-7 editing, 5-10 how to use, 5-3 removing, 5-10 synchronizing caches for , 5-8
Data source
in the [DIAGNOSTICS] display, 10-17 linking buttons to, 16-14 navigating to, 16-12 using buttons with, 10-22
Diagnostics List Setup editor, 10-17 Diagnostics messages, 10-1
ensuring values are read by, 16-19 for alarms, 9-2 for HMI tags, 7-3, 7-21 for information messages, 12-2 for local messages, 14-35 for tags, 6-2, 7-3 for trends, 18-2
Data types for analog tags, 7-18 Date and time. See Time and date Default graphic displays. See [ALARM] display; [DIAGNOSTICS] display; [INFORMATION] display DEFAULT user, 13-8 DeskLock tool, 13-1, 24-15 Device addresses, editing at run time, 25-25, 26-26 Device shortcuts, editing at run time, 24-5, 25-15, 26-15 Device tags, 7-3, 7-22
at run time, setting up, 10-17 audiences for, 10-5 creating your own display for, 10-21 displaying at run time, 10-16, 10-19, 27-16 displaying during application development, 10-5 local log file for, 10-9 clearing, 10-15 logging from PanelView Plus and Windows CE terminals, 10-14 logging from the PanelView Plus and Windows CE Terminals, 10-7 logging to an ODBC database, 10-10 message severity, 10-4 ODBC format for, D-1 printing at run time, 10-16 remote log file for, 25-17, 26-17 setting up destinations for, 10-7, 10-9 on the PanelView Plus or VersaView CE terminal, 25-17 on the RAC6182 terminal, 26-17 setting up message routing, 25-17 setting up message routing for, 10-7, 10-13, 26-17 viewing log files, 10-6
Diagnostics Setup tool, 10-7 Diagnostics Viewer tool, 10-6 [DIAGNOSTICS] display, 10-17
at run time, 27-16 editing, 10-20 opening and closing, 10-21 window size, 4-11
Digital tags, 7-1
clearing messages in, 2-4 displaying, 10-6 moving, 2-4 resizing, 2-4 showing and hiding, 2-6 using to test displays, 14-11
Diagnostics list graphic object, 15-9, 16-237
logging values for, 11-2 monitoring for alarms, 9-2 setting up, 7-19
DIN symbols, 14-23 Display editor. See Graphic Displays editor Display list selector graphic object, 15-4, 16-142
linking buttons to, 16-14 navigating to, 16-12 using parameter files with, 14-33 using to navigate, 22-4, 22-7
Index
I-5
Display number, specifying, 8-5, 8-7, 14-14 Display print button graphic object, 14-40, 15-4, 16-23
Editors
printing trend data with, 18-27 using the data source instead of, 8-2
Display settings, on the PanelView Plus or VersaView CE terminal, 25-18 Display Settings dialog box, 14-13 Display size. See Window size Display types, 14-12
copying, 20-7 creating, 20-2 deleting, 20-8 displaying at run time, 20-9 editing, 20-8 types of values, 20-1 updating at run time, 20-8
End button graphic object, 15-7, 16-31
using with alarm objects, 9-43 using with diagnostics lists, 10-23 using with trends, 18-27
Enter button graphic object, 15-7, 16-31
See also Graphic object types; Graphic objects animating, 17-2 coloring, 15-41 creating, 15-12 flipping, 15-64 locking into position, 15-66 reshaping, 15-55 rotating, 15-65
Drivers. See Communication drivers
and Enter key handshaking, 16-19 using with alarm objects, 9-5, 9-43
Enter key handshaking, 16-19 Error messages. See Diagnostics messages; Problems at run time Ethernet network, connecting to at run time, 25-22, 25-23, 26-21 Expression editor, 19-3
E
Edit mode, 14-11 Editor types
Alarm Setup, 9-22 Data Log Models, 11-4 Diagnostics List Setup, 10-17 Expression, 19-3 Global Connections, 8-8 Graphic Displays, 14-3 Graphic Libraries, 14-19 Images, 14-25 Information Messages, 12-5 Information Setup, 12-7 Local Messages, 14-38 Macros, 21-4 Parameters, 14-33 Project Settings, 4-13 Startup, 23-2 Tags, 7-5 User Accounts, 13-6
See also Write expressions and animation, 17-8 assigning to controls, 6-19 assigning to graphic objects, 15-44 using the Property Panel, 15-38 checking syntax, 19-5 constants in, 19-9 copying, 19-7 creating, 19-6 evaluation order of operators, 19-14 formatting, 19-8 if-then-else logic in, 19-18 math functions in, 19-17 monitoring for alarms, 9-2 operators in arithmetic, 19-9 bitwise, 19-12 logical, 19-11 relational, 19-10
I-6
security functions in, 19-18 tags and placeholders in, 17-5, 19-8 using in macros, 21-5 viewing in Object Explorer, 15-29
F
FactoryTalk Diagnostics, 10-1
See also Diagnostics messages setting up, on a Windows 2000 or Windows XP run-time computer, 24-6
FactoryTalk Diagnostics Viewer
setting up, 8-8 updating tag values for, 8-9 using to change displays remotely, 8-5, 8-6, 22-8 using to print displays remotely, 8-2 using to run macros, 8-5, 21-3
Global Connections editor, 8-8, 14-41 Goto configure mode button, 16-23 Goto display button graphic object, 15-4, 16-128
See also Windows Event Viewer viewing diagnostics log files in, 10-6
FactoryTalk Diagnostics Viewer tool, 10-6 File names, 4-2
and alarms, 9-36, 9-37 and diagnostics messages, 10-21 and information messages, 12-11 assigning visibility animation to, 13-19 positioning displays with, 14-16 using parameter files with, 14-33 using to navigate, 22-4
Graphic displays, 14-1
adding HMI tags to, 7-11 creating, 7-10 creating in the Tag Browser, 7-26 deleting, 7-12 duplicating, 7-12 nesting, 7-11 opening, 7-10 using in the Tag Browser, 6-9
Fonts
copying and deleting, 26-19 copying and deleting at run time, 25-19 in graphic displays, substitution at run time, 15-12 in trends, 18-8 transferring, 25-7
Foreground Color toolbar, 15-40 Freehand graphic object, 15-3, 15-19 Function keys
G
Gauge graphic object, 15-6, 16-167, 16-173
assigning tag values for, 14-16 background color of, 14-16 changing remotely, 8-5, 22-8 security issues, 8-5 setting up, 8-6 using global connections, 8-2 when a user logs out, 8-6, 13-19 creating, 14-3 creating a background for, 14-17 default. See [ALARM] display; [DIAGNOSTICS] display; [INFORMATION] display developing a hierarchy for, 22-2 disabling input focus for, 14-15 illustrating, 15-3 limiting access to, 13-16, 14-15 maximum number licensed to use, 4-16 navigating between, 22-1 objects for, 22-4 testing navigation, 22-3 numbering, 8-5, 8-7, 14-14 opening, 14-3 planning, 3-3, 14-2 positioning, 14-15 printing, 14-40 at run time, 14-40 remotely, 8-2, 14-41 setting up printer, 24-8 setting up, 14-12
Index
I-7
sizing, 4-10, 14-13, 14-15 specifying the first display to open, 23-3 testing, 14-11 animation, 17-7 title bar in, 4-11 types of, 14-12 default type, 14-3 updating tag values for, 14-15 using parameter files with, 14-30 viewing in detail, 14-10
Graphic Displays editor, 14-3
undoing and redoing actions in, 14-10 using tags in, 6-18
Graphic images
deleting, 14-28 importing, 14-22 monochrome, 14-23 selecting for a graphic object, 14-27 that come with RSView Studio, 14-23 viewing, 14-26
Graphic libraries, 14-18
[ALARM BANNER] display, 9-31 [ALARM MULTI-LINE] display, 9-4, 9-31 [HISTORY] display, 9-4, 9-34 [STATUS] display, 9-4, 9-32 changing file location for, 14-20 copying, 9-35 creating, 14-19 opening, 14-19 Sliders library, 17-27 Trends library, 18-24
Graphic Libraries editor, 14-19 Graphic object types
See also Button graphic objects; Headings for individual objects; Multistate graphic objects acknowledge alarm button, 15-7, 16-32 acknowledge all alarms button, 15-7, 16-23 ActiveX objects, 15-2, 15-23 See also ActiveX objects alarm banner, 15-9, 16-227 alarm list, 15-9, 16-221 alarm status list, 15-9, 16-231 alarm status mode button, 15-7, 16-32 backspace button, 15-7, 16-31 bar graph, 15-6, 16-167, 16-169 clear alarm banner button, 15-7, 16-32 clear alarm history button, 15-8, 16-23 close display button, 15-4, 16-135
control list selector, 15-5, 16-181 diagnostics clear all button, 15-8, 16-23 diagnostics clear button, 15-8, 16-32 diagnostics list, 15-9, 16-237 display list selector, 15-4, 16-142 display print button, 15-4, 16-23 drawing objects, 15-2 See also Drawing objects arcs, 15-3, 15-17 circles, 15-3, 15-18 ellipses, 15-3, 15-18 freehand objects, 15-3, 15-19 images, 15-3, 15-15 lines, 15-3, 15-19 panels, 15-3, 15-17 polygons, 15-3, 15-19 polylines, 15-3, 15-19 rectangles, 15-3, 15-21 rounded rectangles, 15-3, 15-21 squares, 15-3, 15-21 text, 15-3, 15-12 wedges, 15-3, 15-17 end button, 15-7, 16-31 enter button, 15-7, 16-31 gauge, 15-6, 16-167, 16-173 goto configure mode button, 16-23 goto display button, 15-4, 16-128 home button, 15-7, 16-31 information acknowledge button, 15-8, 16-23 information message display, 15-9, 16-240 interlocked push button, 15-5, 16-75 latched push button, 15-5, 16-59 list indicator, 15-6, 16-161 local message display, 15-9, 16-190 login button, 15-4, 16-23 logout button, 15-4, 16-23 macro button, 16-194 maintained push button, 15-5, 16-51 momentary push button, 15-5, 16-42 move down button, 15-7, 16-31 move left button, 15-7, 16-31 move right button, 15-7, 16-31 move up button, 15-7, 16-32 multistate indicator, 15-6, 16-148 multistate push button, 15-5, 16-67 next pen button, 15-7, 16-31 numeric display, 15-9, 16-89 numeric input cursor point, 15-9, 16-106 numeric input enable button, 15-9, 16-94 page down button, 15-7, 16-32
I-8
page up button, 15-7, 16-32 pause button, 15-7, 16-31 print alarm history button, 15-4, 16-204 print alarm status button, 15-4, 16-212 ramp button, 15-5, 16-82 reset alarm status button, 15-8, 16-23 return to display button, 15-4, 16-23 scale, 15-6, 16-167, 16-178 shutdown button, 15-4, 16-23 silence alarms button, 15-8, 16-23 sort alarms button, 15-8, 16-23 string display, 15-9, 16-115 string input enable button, 15-9, 16-119 symbol, 15-6, 16-155 time and date display, 15-6, 16-201 trend, 15-6
Graphic objects, 14-1, 15-1
using keys to work with. See Special keys using to display alarms and messages, 15-9 using to display processes, 15-6 using to enter and display numeric and string values, 15-9 using to illustrate displays, 15-3 using to navigate, 22-4 using to start and control processes, 15-5 visibility, setting up, 16-1
Graphics toolbar, 14-4 Grid
See also Group objects; Headings for individual objects; Help aligning, 15-61 animating, 17-2 See also Animation arranging, 15-59, 15-63 assigning controls to, 15-44 using the Property Panel, 15-38 coloring, 15-40 converting to wallpaper, 14-17 copying, 15-51 creating, 15-11, 15-12 selecting tools, 15-10 deleting, 15-56 deselecting, 15-26 duplicating, 15-53 editing, 15-50 embedded variables in, 20-2 grouping and ungrouping, 15-56 moving, 15-50 naming, 15-42 navigating between, 16-12 positioning, 15-60 with grid, 14-9 replacing tags and expressions in, 15-46 resizing, 15-53 selecting, 15-26 setting up, 16-1 using the Properties dialog box, 15-31 using the Property Panel, 15-35 spatial properties, setting up, 16-1 using at run time, 16-7
animating, 15-56, 17-30 creating, 15-56 editing, 15-58 naming, 15-42 setting up in the Property Panel, 15-35
H
Height animation, 15-6, 17-23
See also Analog tags; Device tags; Digital tags; Memory tags; String tags; System tags addressing syntax for, 7-15 browsing for, 6-5 creating, 7-11, 7-13, 7-23 in the Tag Browser, 7-26 data sources, 7-3, 7-21 deleting, 7-14 duplicating, 7-14 editing, 7-14 in the Tag Browser, 7-26 exporting, 7-28 how to use, 6-5 importing, 7-26, 7-28 merging databases, 7-28 naming, 7-4
Index
I-9
using with alarm objects, 9-43 using with diagnostics lists, 10-23 using with trends, 18-27
Horizontal position animation, 15-6, 17-19
disabling for graphic displays, 14-15 giving to graphic objects, 16-12 specifying behavior of, 14-17
Interlocked push button graphic object, 15-5, 16-75
I
If-then-else logic
K
KEPServerEnterprise
array tag syntax, 9-15 run-time communications with, specifying COM port for, 24-7, 25-26, 26-27
Key repeat settings, 25-20 Keyboard, run-time settings for, 25-20 Keyboard navigation, 16-12
L
Latched push button graphic object, 15-5, 16-59
copying, 12-7 creating, 12-6 creating your own display for, 12-11 deleting, 12-7 displaying, 12-7, 23-3 embedded variables in, 20-2 setting up, 12-5 updating tag values for, 12-8 viewing at run time, 27-16
Information Messages editor, 12-5 Information Setup editor, 12-7 [INFORMATION] display, 12-4
using with the list indicator, 16-164 using with the multistate indicator, 16-150 using with the symbol indicator, 16-157
Least Significant Bit trigger type, 9-11 Libraries. See Graphic libraries License, viewing maximum allowable graphic displays, 4-16 Line graphic object, 15-3, 15-19 List indicator graphic object, 15-6, 16-161
I-10
copying, 14-39 creating, 14-38 deleting, 14-39 embedded variables in, 20-2 viewing at run time, 27-16
Local Messages editor, 14-38 Log files
Microsoft Access, logging to, 10-10 Microsoft SQL Server, logging to, 10-10 Minimum and maximum values
for animation, 17-8 for HMI tags, 6-4, 7-17 for trends, 18-4, 18-18
Modicon devices, 5-1 Momentary push button graphic object, 15-5, 16-42
See also Alarm log file; Data log files ODBC format for diagnostics messages, D-1
Logging out automatically, 13-14 LOGIC 5. See WINtelligent LOGIC 5 tags Logical operators, in expressions, 19-11
setting up auto repeat for, 16-18 using with alarm objects, 9-43 using with diagnostics lists, 10-22 using with trends, 18-26
Move left button graphic object, 15-7, 16-31
M
Macro button graphic object, 16-194
creating, 21-1 login and logout, 13-9, 13-13 remote, running from the data source, 8-5, 21-3 startup and shutdown, 23-3 for graphic displays, 14-16
Macros editor, 21-4
setting up auto repeat for, 16-18 using with alarm objects, 9-43 using with diagnostics lists, 10-22 using with trends, 18-26
Multistate graphic objects
See also Graphic object types; Graphic objects coloring, 15-40 setting up, 16-5 testing states, 15-43
Multistate indicator graphic object, 15-6, 16-148
using, 6-5
Menus, in the Graphic Displays editor, 14-6 Message severity, for diagnostics messages, 10-4 Messages
N
Navigation
between graphic displays, 22-1 testing, 22-3 between graphic objects in a display, 16-12
Index
I-11
using to change trends vertical axis labels, 18-4, 18-20 using with trends, 18-26
Normally closed push button, 16-42 Normally open push button, 16-42 Notification hold time, for alarms. See Hold time Number format, at run time, 24-15, 25-35, 26-33 Numeric display graphic object, 15-9, 16-89, 18-24
positioning, 14-15 sizing, 4-10, 14-15 using for alarms, 9-36 using for diagnostics messages, 10-21 using for information messages, 12-11
OPC communications
at run time, 27-15 specifying number format for, 24-15, 25-35, 26-33
Numeric embedded variables, creating, 20-3 Numeric input cursor point graphic object, 15-9, 16-106
and RSLinx for RSView, 5-1 setting up, 5-1 using to connect to ControlLogix processors, 7-15
OPC servers, items in, 7-16, 7-22 OPC tags, addressing syntax for, 7-15 Operators. See Expressions Oracle, logging to, 10-10
at run time, 27-15 navigating to, 16-12 using Enter key handshaking with, 16-19
Numeric input enable button graphic object, 15-9, 15-40, 16-94
P
Page down button graphic object, 15-7, 16-32
at run time, 27-4, 27-14 how values are calculated, 27-7 how values are ramped, 27-7 navigating to, 16-12 using Enter key handshaking with, 16-19 using write expressions with, 19-21
Numeric pop-up windows, using at run time, 27-5 Numeric values
setting up auto repeat for, 16-18 using with alarm objects, 9-43 using with diagnostics lists, 10-23
Page up button graphic object, 15-7, 16-32
setting up auto repeat for, 16-18 using with alarm objects, 9-43 using with diagnostics lists, 10-23
Panel graphic object, 15-3, 15-17 PanelBuilder 1400e applications, converting, A-1 PanelBuilder 32 applications, converting, B-1 PanelBuilder applications, converting, B-1 PanelView Plus terminals
See also Tag values ramping at run time, 27-5 using graphic objects to display and enter, 15-9
O
Object Explorer, 14-5, 15-27
opening, 15-27 using to highlight objects, 15-29 using to select objects, 15-28 viewing animation in, 15-29 viewing objects in, 15-27 viewing tag and expression assignments in, 15-29
Object Smart Path, 17-6, 17-9 Objects toolbar, 14-4
editing device addresses on, 25-25 editing device shortcuts on, 25-15 logging diagnostic messages from, 10-7, 10-14 memory allocation for, 25-34 running applications on, 25-1 viewing terminal information for, 25-34
Parameter files, 15-49
assigning to graphic displays, 14-30 using display list selectors, 14-33 using goto display buttons, 14-33 assigning to startup display, 23-3
I-12
creating, 14-34
Parameters editor, 14-33
Projects
opening, 15-33 setting up objects in, 15-31 using to assign controls to graphic objects, 15-44, 15-46
Property Panel, 14-5
opening, 15-35 setting up objects in, 15-35 using to assign controls to graphic objects, 15-38
Push buttons, 16-40
RAC6182
specifying time and date format for, 24-15, 25-35, 26-33 using to print alarm information, 9-8 using with alarm objects, 9-42
Print alarm status button graphic object, 15-4, 16-212
editing device addresses on, 26-26 logging diagnostics messages from, 10-7, 10-14 running applications on, 26-1 running out of disk space, 26-19
Ramp button graphic object, 15-5, 15-46, 16-82
using to print alarm information, 9-8 using with alarm objects, 9-42
Print options, specifying at run time
on PanelViewPlus , 25-16, 25-28 on the RAC6182, 26-16, 26-28 on VersaView CE , 25-16, 25-28
Printers
blinking, 17-17
Relational operators, in expressions, 19-10
selecting on the development computer, 2-17 specifying at run time, in Windows 2000 or Windows XP, 24-8 type to use with PanelView Plus and VersaView CE, 25-2 type to use with RAC6182, 26-2
Problems at run time
sizing, 4-10
data logging, 11-12 logging in, 27-3 running out of disk space, 26-19 using the numeric pop-up windows, 27-8 using the string pop-up windows, 27-12
Project files
using to reset alarms, 9-7 using with alarm status lists, 9-42
Return to display button graphic object, 15-4, 16-23
changing, 4-10
Index
I-13
setting up drivers in at run time, 24-7 for transfer to PanelView Plus, 25-7 for transfer to RAC6182, 26-5 for transfer to VersaView CE, 25-7
RSLinx for RSView, 1-1
setting up RSLinx Enterprise drivers, 25-22, 26-20 time, date, and number formats, 24-15, 25-35, 26-33 using graphic objects, 16-7 viewing alarms and messages, 27-16 viewing communication errors, 27-17
Run-time application, 26-1
exiting, 24-16, 25-37, 26-35 starting in Windows 2000 or Windows XP, 24-4, 24-10 on PanelView Plus terminals, 25-4, 25-30 on the RAC6182, 26-13, 26-29 on VersaView CE terminals, 25-4, 25-30
RSView ME Station dialog box, 26-13
bypassing, 24-11, 25-31, 26-30 in PanelView Plus or VersaView CE , 25-4 opening, 26-13 in PanelView Plus or VersaView CE, 25-4
RSView Studio
See also .mer files COM port for serial communications, for KEPServerEnterprise communications, 24-7, 25-26, 26-27 opening, 24-5, 25-14, 26-14 in Windows 2000 or Windows XP, 24-4, 24-10 on PanelView Plus, 25-30 on the RAC6182, 26-29 on VersaView CE, 25-30 running, 24-16, 25-36, 26-34 in Windows 2000 or Windows XP, 24-5 on PanelView Plus terminals, 25-4 on the RAC6182, 26-1, 26-13 on VersaView CE terminals, 25-4 setting up, 25-14, 26-14 shutting down, 24-16, 25-37, 26-35 transferring from PanelView Plus or VersaView CE, 25-10 from RAC6182, 26-9 to PanelView, 25-2, 25-7 to RAC6182, 26-2, 26-6 to VersaView CE, 25-2, 25-7 to Windows 2000 or Windows XP, 24-2, 24-3
Run-time application file, creating, 23-4 Run-time screen resolution, 4-9
changing tag values, 27-12 deleting log files, 24-14, 25-35, 26-33 displaying tag values, 27-14 entering numeric values, 27-4 entering string values, 27-9 font substitution, 15-12 logging in and out, 27-2, 27-4 problems with logging in, 27-3 printing, 2-18 printing graphic displays, 14-40 setting up communication drivers, in Windows 2000 or Windows XP, 24-7 setting up printers, in Windows 2000 or Windows XP, 24-8
S
Sample applications, 2-2 Scale graphic object, 15-6, 16-167, 16-178 Screen resolution, at run time, 4-9 Screen size. See Window size Security, 13-1
See also Passwords adding groups, 13-10 adding users, 13-10 and remote display changes, 8-5 controlling who can stop the application, 13-14 logging in and out, 13-13
I-14
removing groups, 13-11 removing users, 13-11 setting up, 13-2 using visibility animation, 13-15, 13-19, 17-12
Security codes, 13-2
Spreadsheets
in the Tags editor, 7-13 in the User Accounts editor, 13-9 working in, 2-11
Square graphic object, 15-3, 15-21 Standard toolbar, 2-4 Startup display, specifying, 23-3 Startup editor, 23-2 Startup macro. See Macros Startup settings, 23-1 States. See Multistate graphic objects States toolbar, 15-43 Status bar, 2-5, 14-6
assigning to graphic displays, 13-16, 14-15 assigning to user accounts, 13-10, 13-13
Security functions
assigning visibility animation to, 13-20 limiting access to, 13-15 locating in display hierarchy, 22-2 using to navigate, 22-4, 22-8 using to shut down application, 24-16, 25-37, 26-35 using to stop application, 23-4
Shutdown macro. See Macros Siemens devices, 5-1 Silence alarms button graphic object, 9-6, 15-8, 16-23
at run time, 27-9, 27-14 how values are written, 27-11 navigating to, 16-12 using Enter key handshaking with, 16-19
String pop-up windows, using at run time, 27-9, 27-10 String tags, 7-1
See also Tag values using graphic objects to display and enter, 15-9
Sybase SQL Server, logging to, 10-10 Symbol graphic object, 15-6, 16-155
arrows, using with graphic objects, 15-54 Ctrl copying objects with, 15-52 drawing objects with, 15-18, 15-19, 15-20, 15-21 resizing objects with, 15-54 rotating objects with, 15-66 selecting objects with, 15-26 Shift, using with graphic objects, 15-51, 15-54 using to navigate at run time, 16-13 using with numeric pop-up windows, 27-6 using with string pop-up windows, 27-10
alarm reset date and time, C-1 for making graphic objects blink, C-1 time and date, C-2 viewing in the Tags editor, 7-9
Index
I-15
T
Tag Browser
displaying tag properties in, 6-14 displaying tags in, 6-12 folders in, 6-9 opening, 6-5 selecting tags in, 6-12 updating tags in, 6-11 using, 6-8, 7-24 using wildcards in, 6-15
Tag Import and Export Wizard, 7-28 Tag placeholders, 14-29, 15-49
assigning to graphic objects, 15-44 using the Property Panel, 15-38 viewing in Object Explorer, 15-29 basic steps for using, 6-2 browsing for, 6-5 displaying data type of, 6-14 displaying in Tag Browser, 6-12 displaying properties of, 6-14 limits, in graphic displays, 14-2 off-line, browsing for, 6-7 selecting in Tag Browser, 6-12 updating in Tag Browser, 6-11 using in expressions, 17-5, 19-8
Tags editor, 7-5 Test mode, 14-11 Text graphic object, 15-3, 15-12
creating, 15-49, 17-8, 19-9 using in expressions, 19-8 using with animation, 17-7
Tag statistics, viewing, 7-7 Tag substitution, 6-20, 15-46 Tag syntax, for array tags
at run time, 24-15, 25-35, 26-33 setting using global connections, 8-3 system tags, C-2 updating, 8-3
Time and date display graphic object, 15-6, 16-201
assigning when a display opens or closes, 14-16 when a user logs in or out, 13-9, 13-13 when an application starts or stops, 23-3 assigning initial values, to memory tags, 7-22 changing at run time, 27-12 displaying at run time, 27-14 ensuring the data source has read, 16-19 logging, 6-20, 11-2 updating for alarms, 9-29 for data logging, 11-10 for displays, 14-15 for global connections, 8-9 for information messages, 12-8 using graphic objects to display, 15-9 using graphic objects to set, 15-5, 15-9 using macros to assign, 6-22, 21-1
Tags, 6-1
at run time, 27-16 specifying time and date format for, 24-15, 25-35, 26-33
Time and date embedded variables, creating, 20-6 Title bar
Background Color toolbar, 15-40 Foreground Color toolbar, 15-40 Graphics toolbar, 14-4 in the Graphic Displays editor, 14-4, 14-7 Objects toolbar, 14-4 showing and hiding, 2-6 Standard toolbar, 2-4 States toolbar, 15-43
Tools
See also Analog tags; Array tags; Data server tags; Digital tags; HMI tags; String tags; System tags addressing syntax, 7-15 assigning to controls, 6-17
Application Manager, 4-8 DeskLock, 13-1, 24-15 Diagnostics Setup, 10-7 Diagnostics Viewer, 10-6 Tag Import and Export Wizard, 7-28 Transfer Utility, 25-8, 25-11, 26-7, 26-9
I-16
Touch margins, using on buttons, 16-8 Touch screen, run-time settings for, 25-20 Touch screens, positioning objects for, 16-8 Transfer Utility tool, 25-8, 25-11, 26-7, 26-9 Transparent background style, 14-23 Trend data, printing at run time, 18-27
for alarms, 9-29 for data logging, 11-10 for displays, 14-15 for global connections, 8-9 for information messages, 12-8
User accounts, 13-2
remotely, 18-27
Trend graphic object, 15-6, 18-1
and data logging, 11-1 at run time, 27-16 border, 18-3 chart, 18-4, 18-12 isolated graphing in, 18-6, 18-19 types, 18-5 XY Plot, 18-5 coloring, 18-8 creating, 18-10 grid, 18-17, 18-19 linking buttons to, 16-14 minimum and maximum values for, 18-4, 18-18 navigating to, 16-12 pens, 18-5 icons, 18-5, 18-14 markers, 18-5 setting up, 18-22 plotting values across the chart, 18-7 setting up, 18-3, 18-9, 18-10 specifying number, time, and date format for, 24-15, 25-35, 26-33 specifying tags and expressions to plot data for, 18-21 specifying the amount of data to store, 18-15 testing, 18-9 troubleshooting. See Help window, 18-4 x (horizontal) axis, 18-4, 18-16 labels, 18-5, 18-17 y (vertical) axis, 18-4, 18-18 labels, 18-4, 18-19
Trigger values
adding, 13-10 DEFAULT user, 13-8 deleting, 13-10 displaying current user, 19-18 removing, 13-11 setting up, 13-8
User Accounts editor, 13-6 Users, logging in and out, 13-13, 27-2, 27-4
Value table, 6-2, 6-4, 7-3 Value trigger type, 9-8 VersaView CE, logging diagnostic messages from, 10-14 VersaView CE terminals
editing device addresses on, 25-25 memory allocation for, 25-34 viewing terminal information for, 25-34
Vertical position animation, 15-6, 17-20
Wallpaper
for alarms, 9-3, 9-8, 9-26 for information messages, 12-4, 12-6 for local messages, 14-37
Troubleshooting. See Problems at run time
Index
I-17
Windows network domain, adding users or groups, 13-10 WINtelligent LOGIC 5 tags, importing, 7-28 Workbook Mode, 2-5
editing device shortcuts on, 25-15, 26-15 running applications on, 25-1, 26-1
Windows domain, logging in to, 27-1 Windows metafiles. See .wmf files
X
XY Plot trend, 18-5
I-18