Factorytalk View Machine Edition
Factorytalk View Machine Edition
USERS GUIDE
PUBLICATION VIEWME-UM004H-EN-EJuly 2011
Supersedes Publication VIEWME-UM004G-EN-E
Contact Rockwell
Customer Support Telephone 1.440.646.3434 Online Support http://www.rockwellautomation.com/support/ 2011 Rockwell Automation, Inc. All rights reserved. Printed in USA. This document and any accompanying Rockwell Software products are copyrighted by Rockwell Automation, Inc. Any reproduction and/or distribution without prior written consent from Rockwell Automation, Inc. is strictly prohibited. Please refer to the license agreement for details. Allen-Bradley, ControlLogix, Data Highway Plus, DH+, Data Highway II, FactoryTalk, Logix5000, PanelBuilder, PanelView, PLC-2, PLC-3, PLC-5, Rockwell, Rockwell Automation, Rockwell Software, RSAssetSecurity, RSLinx, RSLogix, , RSView, RSView Administration Console, SLC, VersaView, and WINtelligent,are registered trademarks of Rockwell Automation, Inc. Any Rockwell Automation software or hardware not mentioned here is also a trademark, registered or otherwise, of Rockwell Automation, Inc.
Copyright Notice
Trademark Notices
Other Trademarks
ActiveX, Microsoft, Microsoft Access, SQL Server, Visual Basic, Visual C++, Visual SourceSafe, Windows, Windows ME, Windows NT, Windows 7 Professional, Windows Server-, Windows XP, and Vista are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. Adobe, Acrobat, and Reader are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries. Oracle is a registered trademarks of Oracle Corporation. ControlNet is a registered trademark of ControlNet International. DeviceNet is a trademark of the Open DeviceNet Vendor Association, Inc. (ODVA) Symbol Facotry is a trademark of Software Toolbox. All other trademarks are the property of their respective holders and are hereby acknowledged. This product is warranted in accordance with the product license. The products performance may be affected by system configuration, the application being performed, operator control, maintenance, and other related factors. Rockwell Automation is not responsible for these intervening factors. The instructions in this document do not cover all the details or variations in the equipment, procedure, or process described, nor do they provide directions for meeting every possible contingency during installation, operation, or maintenance. This products implementation may vary among users. This document is current as of the time of release of the product; however, the accompanying software may have changed since the release. Rockwell Automation, Inc. reserves the right to change any information contained in this document or the software at anytime without prior notice. It is your responsibility to obtain the most current information available from Rockwell when installing or using this product.
Warranty
Contents
Preface
About the documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Finding the information you need . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Try the User's Guide and Help first . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Information on the Internet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Contacting Rockwell Automation Technical Support . . . . . . . . . . . . . . . . . . P-1 P-2 P-2 P-2 P-3
1 Getting Started
The parts of FactoryTalk View Machine Edition. . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 Additional software. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 FactoryTalk Administration Console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 The FactoryTalk View Machine Edition tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 FactoryTalk View Studio tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 FactoryTalk tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3 FactoryTalk Activation Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
iii
Opening editors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-11 Closing editors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-11 Entering information in spreadsheets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12 Printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13 Selecting a printer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14 Printing at run time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-15
3 Planning applications
Understanding the process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1 Collecting data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2 Designing an HMI tag database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2 Collecting information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2 Organizing tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2 Planning graphic displays. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3 Developing a hierarchy of displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3 Creating a template to ensure consistency . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4 Designing displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4 Usability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5 Planning languages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5 Planning alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6 Providing information for the operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6 Local and information messages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6 Diagnostics messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6 Planning trends . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6 Planning recipes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-7 Designing a secure system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-7
iv
Contents
Opening multiple applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-9 Opening and editing applications from earlier versions of RSView . . . . . . . 4-10 Closing applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-10 Renaming, copying, deleting, backing up, and restoring applications. . . . . . . . . . 4-10 About project settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-11 Project window size and run-time screen resolution . . . . . . . . . . . . . . . . . . . 4-11 Compact Machine Edition application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-15 Title bar. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-15 Specifying project settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-17 Viewing application properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-18 Viewing HMI server properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-18
5 Setting up communications
About OPC communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1 Summary of steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1 About data servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2 Creating data servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3 Setting up RSLinx Enterprise data servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3 Setting up an OPC data server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-4 Updating data server caches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-5
Assigning tags to graphic objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-9 Using expressions to manipulate tag values . . . . . . . . . . . . . . . . . . . . . . . . . . 6-11 Substituting tag names used in graphic objects . . . . . . . . . . . . . . . . . . . . . . . 6-11 Logging tag values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-12 Using macros to assign values to tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-12
vi
Contents
9 Setting up alarms
About alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-1 Multiple language alarm messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-2 Other multiple language alarm features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-2 Summary of steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-2 Setting up alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-3 Preparing to set up alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-3 The data source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-3 Tags and expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-4 Identifying alarm conditions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-4 Importing and exporting alarm setup files . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-4 How alarms work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-4 Alarm triggers and trigger values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-5 Filtering alarm triggers in multiple languages . . . . . . . . . . . . . . . . . . . . . . . . . 9-5 Alarm notification methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-6 Displaying alarm information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-6 Interacting with alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-7 The alarm log file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-10 Alarm trigger data types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-11 The Value trigger type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-11 The Bit trigger type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-12 The Least Significant Bit (LSBit) trigger type . . . . . . . . . . . . . . . . . . . . . . . . 9-13 Tips for using array tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-15 Equivalent data types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-16 RSLinx Enterprise tag syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-16 KEPServerEnterprise tag syntax. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-17 Creating alarm messages in multiple languages. . . . . . . . . . . . . . . . . . . . . . . . . . . 9-17 Optional alarm connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-17 Connections that work with a specific alarm trigger . . . . . . . . . . . . . . . . . . . . . . . 9-18 How the Handshake connection works. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-18 How the Ack connection works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-19 How the Remote Ack connection works . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-19 How the Remote Ack Handshake connection works . . . . . . . . . . . . . . . . . . . 9-21 Ensuring alarm messages are read by the data source before sending new messages . . 9-21 Methods of alarm message handshaking . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-21 Holding the message for a specific period of time . . . . . . . . . . . . . . . . . . . . . 9-21 Holding the message until the data source acknowledges that it has read the message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-22
vii
How messages are queued . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-22 How the Message connection works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-23 How the Message Notification connection works . . . . . . . . . . . . . . . . . . . . . 9-23 How the Message Handshake connection works . . . . . . . . . . . . . . . . . . . . . . 9-23 Connections that apply to all alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-23 How the Silence connection works. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-24 How the Remote Silence connection works . . . . . . . . . . . . . . . . . . . . . . . . . . 9-24 How the Remote Ack All connection works . . . . . . . . . . . . . . . . . . . . . . . . . 9-24 How the Status Reset connection works. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-25 How the Remote Status Reset connection works . . . . . . . . . . . . . . . . . . . . . . 9-25 How the Close Display connection works . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-25 How the Remote Close Display connection works . . . . . . . . . . . . . . . . . . . . 9-25 The [ALARM] display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-25 The [ALARM BANNER] display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-26 The [ALARM MULTI-LINE] display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-27 The [STATUS] display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-28 The [HISTORY] display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-29 Using displays from the library in your application. . . . . . . . . . . . . . . . . . . . . . . . 9-30 Creating your own alarm display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-31 Opening and closing the alarm display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-31 Opening the display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-31 Closing the display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-31 How the alarm list graphic object works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-32 What is displayed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-32 How the list scrolls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-33 How the alarm banner graphic object works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-33 What is displayed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-34 How the alarm status list graphic object works . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-34 What is displayed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-35 What happens when the display is opened . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-35 Using buttons with the alarm history and alarm objects . . . . . . . . . . . . . . . . . . . . 9-36 Alarm buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-36 Linking buttons to objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-37 Key buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-38 Using alarm buttons to acknowledge, silence, clear, and delete alarms . . . . . . . . 9-38 Acknowledging the selected alarm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-38 Acknowledging all alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-39 Silencing alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-39 Clearing and deleting messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-40 Using alarm buttons to sort alarms and reset alarm status . . . . . . . . . . . . . . . . . . . 9-40 Sorting alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-40 Resetting alarm status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-40
viii
Contents
Retaining alarm status. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-41 Changing the alarm status displayed in the alarm status list . . . . . . . . . . . . . 9-41
11 Setting up security
Using security with your application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-1 If you do not want to use FactoryTalk Security . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-2 If you do not use FactoryTalk View user accounts . . . . . . . . . . . . . . . . . . . . 11-3 If you use FactoryTalk View user accounts . . . . . . . . . . . . . . . . . . . . . . . . . . 11-3 Working with the Runtime Security editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-3 The DEFAULT user . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-4 Setting up users for 4.00 and later applications . . . . . . . . . . . . . . . . . . . . . . . 11-4 Setting up users for 3.20 and earlier applications. . . . . . . . . . . . . . . . . . . . . . 11-6 Changing RSView 3.20 and earlier user passwords . . . . . . . . . . . . . . . . . . . . 11-7
ix
Adding 3.20 and earlier users or groups from a Windows domain . . . . . . . . 11-7 Removing 3.20 and earlier users or groups . . . . . . . . . . . . . . . . . . . . . . . . . . 11-8 How user accounts and security codes work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-9 Assigning security to graphic displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-9 Providing a way for users to log in and log out . . . . . . . . . . . . . . . . . . . . . . . . . . 11-12 Logging in. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-12 Logging out. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-13 Logging out automatically . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-13 Preventing unauthorized users from stopping the application . . . . . . . . . . . . . . . 11-14 To prevent unauthorized users from stopping the application . . . . . . . . . . . 11-14 Additional step for personal computers . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-14 Additional step for PanelView Plus CE applications . . . . . . . . . . . . . . . . . . 11-14 Setting up FactoryTalk Security for your application . . . . . . . . . . . . . . . . . . . . . 11-15 Summary of steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-17 Creating FactoryTalk Security users. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-17 Creating FactoryTalk Security user groups . . . . . . . . . . . . . . . . . . . . . . . . . 11-19 Setting up security access to the FactoryTalk Directory . . . . . . . . . . . . . . . 11-19 Setting up security access to the application . . . . . . . . . . . . . . . . . . . . . . . . 11-20 Setting up security access to System policies, groups, and users . . . . . . . . . 11-20 Setting up security access to networks and devices . . . . . . . . . . . . . . . . . . . 11-20 Specifying which users can back up and restore FactoryTalk Directory and FactoryTalk View applications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-21 Specifying activities to track for audit purposes. . . . . . . . . . . . . . . . . . . . . . 11-21 Specifying policies for passwords, accounts, and FactoryTalk sign-on . . . . 11-21 Summary of security features in a sample startup display . . . . . . . . . . . . . . . . . . 11-22
Contents
Problems exporting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-8 Translating application text in Excel spreadsheet files . . . . . . . . . . . . . . . . . . . . . 12-9 Translating application text in Unicode files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-9 File name and format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-9 Opening the text file in Microsoft Excel . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-10 Saving the text file in Microsoft Excel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-10 Differences in file format for files saved in Excel . . . . . . . . . . . . . . . . . . . . 12-11 Saving the Unicode text file in Notepad . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-11 File schema . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-11 Working with pairs of double quotes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-12 Working with backslashes and new line characters . . . . . . . . . . . . . . . . . . . 12-13 Importing text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-13 Problems importing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-14 Canceling importing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-14 Setting up multiple language support for graphic libraries . . . . . . . . . . . . . . . . . 12-15 Using graphic libraries that support multiple languages . . . . . . . . . . . . . . . 12-15
xi
xii
Contents
3.20 and earlier applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-2 What happens when a user logs in . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-3 Problems with logging in . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-4 Changing passwords. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-4 Logging out . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-6 Entering numeric values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-6 Activating the cursor point . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-6 Ramping numeric values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-7 Using the numeric pop-up keypad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-7 Using the numeric pop-up scratchpad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-8 Using buttons and keys with the numeric pop-up windows . . . . . . . . . . . . . . 17-8 How values are ramped. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-9 How values are calculated . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-9 Problems with the numeric pop-up windows . . . . . . . . . . . . . . . . . . . . . . . . 17-10 Entering string values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-10 Using the string pop-up keyboard. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-11 Using the string pop-up character input . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-11 Using the string pop-up scratchpad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-13 Using buttons and keys with the string pop-up windows . . . . . . . . . . . . . . . 17-13 What is written to the Value connection. . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-14 Problems with the string pop-up windows . . . . . . . . . . . . . . . . . . . . . . . . . . 17-15 Changing tag values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-15 Viewing tag data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-17 Viewing alarms and messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-19 Viewing information about run-time communication errors . . . . . . . . . . . . . . . 17-20 Changing languages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-20
xiii
xiv
Contents
Creating local messages in multiple languages . . . . . . . . . . . . . . . . . . . . . . 19-30 How the local message display graphic object works . . . . . . . . . . . . . . . . . 19-30 Printing displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-30 Printing displays at run time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-30
xv
Testing how objects look in different states . . . . . . . . . . . . . . . . . . . . . . . . . 20-33 Assigning tags and expressions to graphic objects . . . . . . . . . . . . . . . . . . . . . . . 20-34 Assigning tags. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-34 Using expressions to manipulate tag values . . . . . . . . . . . . . . . . . . . . . . . . . 20-35 Replacing tags using tag substitution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-36 Using tag placeholders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-37 Performing basic operations on objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-38 Moving objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-39 Copying objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-40 Duplicating objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-41 Resizing objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-42 Reshaping drawing objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-43 Deleting objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-44 Working with groups of objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-45 Grouping and ungrouping objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-45 Editing groups of objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-46 Editing objects within a group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-46 Arranging objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-47 Layering objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-48 Aligning objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-49 Spacing objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-51 Flipping drawing objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-52 Rotating drawing objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-52 Locking objects into position . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-53
xvi
Contents
Ensuring values are read by the data source before sending new values . . . . . . . 21-12 Methods of Enter key handshaking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-12 Holding the value for a specific period of time . . . . . . . . . . . . . . . . . . . . . . 21-13 Holding the value until it is acknowledged . . . . . . . . . . . . . . . . . . . . . . . . . 21-13 Time, date, and number formats for graphic objects . . . . . . . . . . . . . . . . . . . . . . 21-15 Setting up buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-16 Buttons described later in the chapter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-18 How to use push buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-18 Setting up momentary push buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-19 Setting up maintained push buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-21 Setting up latched push buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-22 Setting up multistate push buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-24 Setting up interlocked push buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-25 Setting up ramp buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-27 Setting up numeric displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-28 How values are displayed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-28 Problems with displaying values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-28 Setting up numeric input enable buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-30 Setting up numeric input cursor points. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-31 Setting up string displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-33 How values are displayed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-33 Setting up string input enable buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-34 Setting up goto display buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-35 Setting up close display buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-36 Setting up display list selectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-37 How to use indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-39 Setting up multistate indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-39 Setting up symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-41 Setting up list indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-42 How to use bar graphs, gauges, and scales. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-44 Bar graphs make it easy to compare values . . . . . . . . . . . . . . . . . . . . . . . . . 21-44 Thresholds change a bar graphs fill color . . . . . . . . . . . . . . . . . . . . . . . . . . 21-44 Use bar graphs with scales to show limits . . . . . . . . . . . . . . . . . . . . . . . . . . 21-44 Gauges make it easy to see limits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-45 Thresholds change a gauges fill color . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-45 Setting up bar graphs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-46 Setting up gauges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-47 Setting up scales . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-48 Setting up control list selectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-49 Using buttons with the control list selector . . . . . . . . . . . . . . . . . . . . . . . . . 21-49 How Enter key handshaking works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-49 Setting up piloted control list selectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-51
xvii
Choosing between piloted control list selectors and control list selectors . . 21-51 How piloted control list selectors work at run time . . . . . . . . . . . . . . . . . . . 21-51 Setting up local message displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-54 Setting up macro buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-56 Setting up time and date displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-57 Setting up print alarm history buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-58 Setting up print alarm status buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-59 Setting up alarm lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-60 Setting up alarm banners . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-61 Setting up alarm status lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-62 Setting up diagnostics lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-64 Setting up information message displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-65
xviii
Contents
23 Using expressions
About expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-1 Expressions that result in floating-point values . . . . . . . . . . . . . . . . . . . . . . . 23-1 Expression components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-2 Using the Expression editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-2 Using the Expression editor versus typing expressions directly. . . . . . . . . . . 23-2 Where you can use expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-4 Formatting expressions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-4 Using tag names and tag placeholders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-5 Using tag placeholders instead of tag names . . . . . . . . . . . . . . . . . . . . . . . . . 23-5 Constants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-6 Arithmetic operators. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-6 String operands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-7 Relational operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-7 How string operands are evaluated . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-7 Logical operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-7 Bitwise operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-8 Using the left shift operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-9 Evaluation order of operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-10 Mathematical functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-13 Security functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-14 Language function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-14 If-then-else . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-16 Nested if-then-else . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-17 Using write expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-18
xix
xx
Contents
Opening the display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27-7 Closing the display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27-7 How the information message display graphic object works. . . . . . . . . . . . . . . . . 27-7 What is displayed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27-8 Changing the message file used at run time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27-8
28 Setting up trends
About trends . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-1 Current versus historical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-2 Time, date, and number formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-3 Summary of steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-3 Creating trend objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-3 Setting up trends . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-4 The parts of a trend. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-5 Trend border . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-5 Trend window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-5 Chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-6 Y-axis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-6 Vertical axis labels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-6 X-axis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-6 Horizontal axis labels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-6 Pens. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-6 Pen icons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-7 Pen markers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-7 Chart types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-7 Standard vs. XY Plots. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-7 Isolated graphing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-8 Plotting a value across the full width of the chart. . . . . . . . . . . . . . . . . . . . . . 28-8 Choosing trend colors, fonts, lines, and markers . . . . . . . . . . . . . . . . . . . . . . . . . . 28-9 The trend border color . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-9 The trend window color . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-9 Testing the trend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-10 Using the Trends graphic library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-10 Using buttons to control the trend at run time . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-11 Printing trend data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-12 Improving clarity of the trend printout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-12 Run-time errors for the trend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-12
29 Setting up RecipePlus
About recipes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-1 Summary of steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-2
xxi
How the recipe system works. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-2 RecipePlus selector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-2 RecipePlus table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-2 RecipePlus button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-3 Number format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-4 Numeric limits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-4 Specifying the run-time file location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-5 Storing files outside the HMI project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-5 Storing recipe files with the HMI project . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-6 Setting up recipe files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-6 Comparing recipes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-8 Time and date formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-9 Printing recipes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-9 Creating RecipePlus objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-10 Testing RecipePlus objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-10 Using the RecipePlus_Components graphic library. . . . . . . . . . . . . . . . . . . . . . . 29-11 Using buttons with recipe objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-12 Viewing data values that are saved at run time . . . . . . . . . . . . . . . . . . . . . . . . . . 29-13
30 Using macros
Using macros to assign values to tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30-1 Using the Macros editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30-2 When to use macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30-2 Running macros when tags or expressions change value. . . . . . . . . . . . . . . . . . . . 30-3 Where to assign macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30-4
xxii
Contents
Converting RIO communications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Unsupported PanelBuilder 1400e RIO tags . . . . . . . . . . . . . . . . . . . . . . . . . Unsupported graphic object features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Converting expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Equivalent expression syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Unsupported expression syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Order of precedence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C System tags
Alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Graphics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . User . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-1 C-1 C-2 C-3
xxiii
Creating alarm XML files by exporting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Editing XML files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Saving XML files in Notepad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Testing XML files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Importing XML files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Error log file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Importing alarm XML files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Alarm setup XML file structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
F RFC1766 names
Mapping languages to RFC1766 names. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . F-1
xxiv
Preface
FactoryTalk View Machine Edition is a member of the FactoryTalk View family of products. It is an integrated package for developing and running automation applications. Designed for use with the following operating systems or terminals:
Windows 7 Professional with Service Pack 1 (32-bit) Windows 7 Professional with Service Pack 1 (64-bit) Windows XP Professional with Service Pack 3 (32-bit) Windows Server 2003 R2 Standard Edition with Service Pack 2 (32-bit) Windows Server 2003 R2 Standard Edition with Service Pack 2 (64-bit) Windows Vista Business with Service Pack 2 (32-bit) Windows Vista Home Basic with Service Pack 2 (32-bit) Windows Server 2008 Standard Edition with Service Pack 2 (32-bit) Windows Server 2008 Standard Edition with Service Pack 2 (64-bit) Windows Server 2008 R2 Standard Edition with Service Pack 1 (64 -bit) PanelView Plus and PanelView Plus CE terminals running Microsoft Windows CE 4.1 PanelView Plus 6 terminals running Microsoft Windows CE 6.0
FactoryTalk View Machine Edition gives you all the tools you need to create effective machine-level monitoring and control applications.
Release Notes: Information to read before you begin installing or working with the software. The Release Notes are available on the FactoryTalk View Machine Edition DVD, as well as from the Help menu in FactoryTalk View Studio.
FactoryTalk View Machine Edition Installation Guide: A guide to installing and activating the various components of FactoryTalk View Machine Edition. The Installation Guide is available on the FactoryTalk View Machine Edition DVD, as well as from the Help menu in FactoryTalk View Studio.
P-1
FactoryTalk View Machine Edition Users Guide: Comprehensive information about FactoryTalk View Machine Edition, procedures for creating and running an automation application, and reference information. The Users Guide is also available on the FactoryTalk View Machine Edition DVD, as well as from the Help menu in FactoryTalk View Studio.
Help: Online procedures and reference information. Help is available from the Help menu in FactoryTalk View Studio.
On the Help menu, select Rockwell Automation on the Web, and then click the name of the web page you want to view.
The Rockwell Automation Knowledgebase The Knowledgebase web page leads to a comprehensive, searchable database of support information for all Rockwell Automation products.
P-2
PREFACE
Support staff are available Monday to Friday from 8 AM to 7 PM Eastern Standard 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 FactoryTalk View Studio dialog box available from the Help menu in FactoryTalk View Studio.
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.
You may also be required to provide information about the FactoryTalk View add-ons and updates that are installed on your computer. To view the list of installed add-ons and updates 1. In FactoryTalk View Studio, click Help, and then click About FactoryTalk View Studio. 2. To view the list of installed add-ons, click Add-Ons.
P-3
P-4
Getting Started
FactoryTalk View Machine Edition is software for developing and running humanmachine interface applications. FactoryTalk View Machine Edition is designed for monitoring and controlling automated processes and machines. For information about installing FactoryTalk View Machine Edition, see the FactoryTalk View Machine Edition Installation Guide.
applications. This software runs on operating systems such as Windows 7 Professional, Windows XP Professional, Windows Server 2003 R2, Windows Vista Business and Home Basic, and Windows Server 2008 operating systems.
FactoryTalk View ME Station is a stand-alone run-time environment for machinelevel applications. Use FactoryTalk View ME Station to run the applications you develop in FactoryTalk View Studio.
You can run machine-level applications on PanelView Plus terminals and PanelView Plus CE terminals with the Windows CE 4.1 terminals as well as PanelView Plus 6 terminals with the Windows CE 6.0 terminals, and on personal computers.
Additional software
The FactoryTalk View Machine Edition DVD also includes three additional software products:
RSLinx Enterprise is a communication server built around FactoryTalk technology to assist in developing and running your FactoryTalk View ME applications. RSLinx Classic is software that provides communications to a wide range of
communication drivers. RSLinx Classic is an OPC-compliant data server. RSLinx Classic is available for personal computers only.
Adobe Reader 10.0.1is software for reading the online FactoryTalk View Machine
Edition Users Guide. If desired, you can also use the software to print the Users Guide.
1-1
FactoryTalk Security is a method for setting up security for users for multiple Rockwell Automation products in one place. FactoryTalk Security is intended to improve the security of your automation system by limiting access to those with a legitimate need. FactoryTalk Security authenticates user identities and authorizes user requests to access a FactoryTalk-enabled system. These security services are fully integrated into the FactoryTalk Directory and are included as part of the FactoryTalk Services Platform that installs with many products. You can also set up FactoryTalk Security in FactoryTalk View Studio. For more information, see Chapter 11. To open the FactoryTalk Administration Console
On the Windows Start menu, select Programs > Rockwell Software, and then click FactoryTalk Administration Console. For information about using the FactoryTalk Administration Console, see FactoryTalk Help.
The FactoryTalk View Machine Edition tools FactoryTalk View Studio tools
These tools are installed with FactoryTalk View Studio:
FactoryTalk applications.
Application Manager is software for renaming, copying, deleting, backing up, and
restoring applications.
Windows Server 2003 R2, Windows Vista, and Windows Server 2008 users from exiting the FactoryTalk View application at run time. You can use this tool to set up a customized desktop and to prevent access to Windows functions. You cannot use DeskLock if you are running your application on a PanelView Plus 6, or PanelView Plus, or PanelView Plus CE terminal.
FTView Graphic Strings Search Replace is software for performing search and
replace operations on STRINGS that are contained within graphic displays. STRINGS include: tags, expressions, commands or text assigned to objects.
Legacy Tag database conversion is software for converting your legacy tag
1-2
1 Getting Started
ME Transfer Utility is software for moving a run-time machine-level application (.mer file) from the development computer to PanelView Plus, and PanelView Plus CE, and PanelView Plus 6 terminals. Tag Import and Export Wizard is software for importing or exporting the
Diagnostics Viewer allows you to view FactoryTalk Diagnostics messages using the Windows Event Viewer.
On the Windows Start menu, select Programs > Rockwell Software > FactoryTalk View > Tools, and then click the tool to start.
On the Windows Start menu, select Programs > Rockwell Software > FactoryTalk Tools, and then click Diagnostics Viewer.
These tools are also available from the Tools menu in FactoryTalk View Studio.
FactoryTalk tools
FactoryTalk tools are installed when you install FactoryTalk Services Platform. They are available from the Windows Start menu. To start FactoryTalk tools
On the Windows Start menu, select Programs > Rockwell Software > FactoryTalk Tools, and then click the tool to start.
On the Windows Start menu, select Programs > Rockwell Software > FactoryTalk Activation > FactoryTalk Activation Manager to start.
1-3
1-4
starting and exiting FactoryTalk View Studio. opening sample applications. exploring the FactoryTalk View Studio main window. using the Explorer window. working with editors. entering information in spreadsheets. printing information in editors.
For information about working with editors components, see Chapter 18 in the FactoryTalk View Machine Edition Users Guide.
On the Windows Start menu, select Programs, and then click FactoryTalk View Studio.
FactoryTalk View 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, FactoryTalk View Studio asks you whether to save the changes before exiting the program.
2-1
3. Click Malthouse Clgx 640x480 or Malthouse Clgx 800x600. 4. Specify a language for the application, and then click Open. FactoryTalk View Studio displays the sample application in the Explorer window.
2-2
Problems opening applications If you have trouble opening an application in FactoryTalk View Studio, the problem could be a Microsoft Windows security setting. You must have read and write access to the folder that contains the HMI projects. For example, if you belong to the Windows user group called Power Users, and the group does not have write access to the HMI projects folder, you wont be able to open applications in FactoryTalk View. The default location for the HMI projects folder is: C:\Documents and Settings\All Users\Shared Documents\RSView Enterprise\ME (Windows XP or Windows Server 2003 R2) or Users\Public\Public Documents\RSViewEnterprise\ME (Windows Vista, Windows 7 Professional or Windows Server 2008) For more information about security, see Chapter 11. To set up write access for any Windows Security Group 1. Right-click the HMI projects folder, and then click Properties. 2. In the Security tab of the Properties dialog box, select a Windows Security Group (ex. Power Users)from the list of groups and user names. 3. In the Permissions box below the list, select Full Control, and then select Allow.
2-3
Explorer window
Workspace
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.
Tooltip
2-4
All editors use the Standard toolbar. The Graphic Displays, Graphic Libraries, Runtime Security, and Tags editors have additional toolbars.
The workspace
The workspace is the blank area of the FactoryTalk View Studio window. You can drag icons from the Explorer window to the workspace to open editors and components. For more information, see page 2-8.
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.
2-5
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 re-attach the Diagnostics List, double-click its title bar. 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 FactoryTalk Diagnostics on the development system. For information about specifying the types of messages to display, see page 10-3.
2-6
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.
Workbook tabs
2-7
On the View menu, click Explorer Window, or click the Explorer Window tool on the toolbar.
2-8
The top icon is FactoryTalk Local Directory This application contains two servers 1. The applications HMI server contains editors for setting up your application and the components you create.
Click the - symbol to close a folder Click the + symbol to see the list of components for an editor.
Components are listed below the editors icon when you open the folder.
2. RSLinx Enterprise data server This folder contains FactoryTalk Security policies and users
2-9
As a docked window. When docked, the explorer is always on top of other windows that it overlaps. You can dock the explorer to any edge of the main window. As a floating window. When floating, the explorer is always on top of other windows that it overlaps, but you can move it to different locations in the main window. As a child window. When the explorer is in child mode, you can minimize the explorer or position other windows in front of it. This mode is particularly useful when you are working in multiple editors or working with the Help open.
To put the explorer in child mode, right-click the Explorer window title bar, and then click MDI Child.
Click the title bar and drag. Right-click the title bar, then select a new docking location, floating, or child mode.
Locating editors
The editors are grouped in folders in the Explorer window (see the illustration on page 2-9). Each editor is displayed with an icon to the left of the editor name. To open a folder in the Explorer window
Click the + symbol to the left of the folder icon, or double-click the folder name.
2-10
Graphics (components include graphic displays, global object displays, and graphic libraries, each in their own folder) Alarms Parameters Local Messages Information Messages Data Log Models Macros RecipePlus
The Explorer window lists the components you create under the icon for the editor you used to create the component. Use the Images editor to copy bitmap images into your application (but not to create new images). Each image you copy is listed as a component under the editor. To view a list of components for an editor
Click the + symbol to the left of the editor icon, or double-click the editor name.
For information about working with components, see Chapter 18 in the FactoryTalk View Machine Edition Users Guide.
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.
Closing editors
To close an editor
Click the close button on the editors title bar, or on the File menu click Close.
2-11
Some editors have an OK, Cancel, or Close button that you can click to close the editor.
Tags Runtime Security (formerly User Accounts) Global Connections Local Messages Alarm Setup Information Setup Information Messages Macros RecipePlus Editor
In the Graphics editor, many of the Properties dialog boxes for setting up graphic objects contain spreadsheets for assigning tags or expressions to the objects.
2-12
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.
To delete rows
Select one or more rows, right-click the selection, and then click Delete Rows.
Printing
Each editor has a Print item on its File menu. To print an editors contents 1. Open the editor. 2. On the File menu, click Print. 3. Click OK.
2-13
Selecting a printer
You must install a printer before you can select it. For information about installing a printer, see your Windows documentation.
The Print Setup menu item in FactoryTalk View Studio applies to your development computer only. To print at run time, set up a printer on the computer or PanelView Plus terminal youll be using to run your application. For more information about printing at run time, see page 2-15.
To select a printer 1. On the File menu in any editor or component, click Print Setup.
2. If you dont want to use the default printer, specify another 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 FactoryTalk View Studio can print to a network printer. For detailed information about setting up network printers, refer to your Windows documentation.
2-14
page 16-1 The type of printer to use with a PanelView Plus 6, PanelView Plus or PanelView Plus CE terminal
2-15
2-16
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 languages. planning alarms. providing information for the operator. planning trends. planning recipes. designing a secure system.
FactoryTalk ViewFactoryTalk View 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.
Talk to machine operators and other experts who are going to use the system. Find out what information they need to optimize machine operations and processes. Talk to management and management information systems staff to find out what information they need to support planning decisions. Break up each section of the process into its constituent parts. Determine what type of communications youll be usingwhich network types, data servers, and devices. Determine which process variables you need to have access to and identify their locations in the programmable controllers.
3-1
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 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.
For information about creating Data Servers to data server tags, see Chapter 6.
Collecting information
Before you begin creating the tag 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-6).
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.
3-2
3 Planning applications
Group tags in the way that makes the 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.
If the applications runs on a personal computer, the maximum number of displays is based on the type of activation used. If the application runs on PanelView Plus, the maximum number of displays is based on the amount of memory used by the application. Applications run on a PanelView Plus can contain as many displays as can fit in the memory of the PanelView Plus terminal. If the application runs on PanelView Plus Compact, for the maximum number of displays available when the application is running on a PanelView Plus Compact terminal, see page 4-5.
whether the operator will be using a keyboard, touch screen, mouse, or combination of navigation and data entry methods.
3-3
your company logo. a title. the date and time. navigational buttons.
Use global object displays to create template objects. You can copy the objects into your graphic displays, and update all the objects at once by updating the original object in the global object display. For information about creating global object displays, see page 25-11.
Designing displays
When designing displays, applying good visual design principles helps users and increases their efficiency. Remember these important design principles: Consistency
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. Keep color meanings consistent by assigning red only to Stop buttons, and green only to Start buttons.
3-4
3 Planning applications
Some people are color blind to red and green so dont rely on color alone to establish meaning.
Display Types
On Top display type is used to position the display in front of any other display that is already open at run-time. Replace display type is used to have the display close any open displays on the screen at run-time. Replace displays do not close displays of the type On Top that have the Cannot Be Replaced option selected. Only one Replace display can be open at a time.
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 languages
Before setting up languages, plan:
which languages you need to use. which Windows fonts support these languages.
For applications running on a personal computer which Windows fonts support these languages. For applications running on a PanelView Plus terminal which languages the fonts resident on the terminal support.
how different languages will affect design elements in your graphic displays, such as object size and message length. whether operators need to switch languages at run time, and if so, under what conditions. This will help you determine where to locate language switch buttons in your application. how to show operators which button to press to switch to their languages. For example, by using a text label in French, or a French flag, to alert a French operator.
3-5
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. the maximum number of alarm messages supported at run time. See page 4-5 for alarm restrictions on PanelView Plus Compact terminals as well as Windows, PanelView Plus and PanelViewPlus 6.
what system activity the operator needs to be informed about. what conditions will trigger information messages. what information you want the messages to contain.
Diagnostics messages
Set up diagnostics messages to notify the operator of system activity such as tag reads and writes, running macros, communication problems, or problems opening displays. For information about setting up diagnostics messages, see Chapter 10.
Planning trends
When planning trends, consider how they will be used. For example, will the trend be used to:
3-6
3 Planning applications
analyze process trends? monitor production efficiency? archive process variables to ensure compliance with government regulations?
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 26. For information about creating trend graphic objects, see Chapter 28.
Planning recipes
When planning recipes, consider how they will be used. For example, will recipes be used to:
compare tag values to pre-set data values? upload tag values to existing or new data sets? download values from data sets to tags? archive tag values to ensure compliance with government regulations?
which tag sets and data sets to pair together in a recipe file. which RecipePlus button actions to use with the RecipePlus selector and RecipePlus table.
For information about using recipes and creating RecipePlus graphic objects, see Chapter 29.
restrict access to every graphic display to prevent accidental changes. restrict access to certain graphic displays. have everyone log on. use passwords, and if so, whether to have a minimum length, and whether to require that the passwords are changed periodically. allow only authorized users to shut down the application.
3-7
use the DeskLock tool on Windows platforms to prevent users from switching to another application at run time (for applications that will run on personal computers). You can use this tool to set up a customized desktop and to prevent access to Windows functions.
Based on these considerations, you can set up security for individual users or groups of users. For example, you might want to set up groups of users such as a manager group and an operator group. For more information about setting up security, see Chapter 11.
3-8
application files. creating, importing, opening, and closing applications. renaming, copying, deleting, backing up, and restoring applications. specifying project settings. viewing application properties. viewing HMI server properties.
What is an application?
An application is the software application you create in FactoryTalk View 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-18. For information about viewing the HMI server properties, see page 4-18.
4-1
C:\Users\Public\Public Documents\RSView Enterprise\ME\HMI projects (Windows 7 Professional, Windows Vistaor Windows Server 2008)
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 Application name DLG Gfx Global Objects Images Information Local Macros PAR RecipePlus Contains File extensions
HMI project file and the folders described below .med Data log models (component files) Graphic display component files Global object display component files Image files Information message component files Local message component files Macro component files Parameter component files RecipePlus component files .mdf .gfx .ggfx .bmp or .jpg .ifm .loc .mcr .par .rpp
External folders
The following table lists some FactoryTalk View folders that are external to the HMI project folder, and the types of files they contain. The folders are located in this directory: C:\Documents and Settings\All Users\Shared Documents\RSView Enterprise (Windows XP or Windows Server 2003 R2) or
4-2
Graphic library component files and image files .gfx used in the library displays .bmp Data log files for applications that have run on .log the development computer .tag
Alarm log file for applications that have run on .alm the development computer Run-time application files Sample application folders, including all files and folders needed for the sample Graphic displays and global object displays for .gfx Logix5000 faceplates .ggfx .bmp .mer
If desired, you can specify a different directory in which to store graphic library component files. For more information, see page 19-19.
Default log file locations for PanelView Plus 6, PanelView Plus or PanelView Plus CE applications
On the PanelView Plus6, PanelView Plus or PanelView Plus CE terminal, alarm and data log folders are located by default in this directory: Windows\Logs\ 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 26.
4-3
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 119 characters: C:\Documents and Settings\All Users\Documents\RSView Enterprise\ME\HMI projects\Malthouse Clgx 640x480\Gfx\Steeping.gfx
2. In the New tab, in the Application name box, type a name for your application, up to 32 characters long. 3. 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-18.
4-4
4. Specify whether the application will be a Compact Machine Edition application, that is, whether it is intended to run on a PanelView Plus Compact terminal. You can change this setting in the Project Settings editor later if necessary. For information about the Project Settings editor, see page 4-17. 5. Specify a language for the application. For information about using different languages, see Chapter 12. 6. Click Create. FactoryTalk View Studio creates the applications folders and files, and then displays the new application in the Explorer window. 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: C:\Documents and Settings\All Users\Shared Documents\RSView Enterprise\ME\HMI projects (Windows XP or Windows Server 2003 R2) or C:\Users\Public\Public Documents\RSView Enterprise\ME\HMI projects (Windows Vista,Windows 7 Professional or Windows Server 2008)
Once you create the application the system auomatically creates a display called MAIN and sets the Projects Settings, startup Graphic to Main.. These settings determine the general appearance of your run-time application, and affect how your graphic displays look. For more information, see page 4-17.
To create a new application when FactoryTalk View Studio is already open 1. On the File menu, click New Application, or click the New Application tool.
New Application
If an application is already open, FactoryTalk View Studio asks you whether to close the application that is currently open. Click Yes. 2. Follow steps 2 through 5 in the previous procedure.
Importing applications
You can import PanelBuilder, PanelBuilder32, PanelBuilder 1400e, and FactoryTalk View Machine Edition applications into FactoryTalk View Studio. PanelBuilder and PanelBuilder32 files can be in either development format (*.pba) or runtime terminal format (*.pva). PanelBuilder 1400e files have the file extension *.pvc.
4-5
When you import older application files, FactoryTalk View creates a copy of the application for the current version of FactoryTalk View. The older version is not altered. You can use current version application files to create previous version run-time files. For more information, see page 4-10. If the application you are importing contains any direct driver nodes, the import wizard will create one RSLinx topic for each direct driver node it finds. All topics are then converted into device shortcuts, to run with RSLinx Enterprise. You must have both RSLinx Classic and RSLinx Enterprise installed to make this two-step conversion. To create RSLinx topics after import, follow these steps in RSLinx before importing the application. To validate direct driver nodes in RSLinx 1. Create the appropriate RSLinx Classic drivers if not already created (for example, AB_ETH-1). For more information about creating RSLinx Classic drivers, see the RSLinx Classic Help. 2. If it is an Ethernet driver (AB_ETH-1), add the IP address of each direct driver node to the Ethernet driver setup. 3. Start RSWho and select each device associated with each direct driver node (for example, 131.200.13.128). If these steps are not followed in this order, the topics generated by the import code will be invalid and will need to be fixed using the Topic Editor in RSLinx. To import an application 1. Start FactoryTalk View Studio 2. In the New tab, in the Application name box, type a name for the imported application, up to 32 characters long. 3. 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-18. 4. Specify whether the application will be a Compact Machine Edition application. Applications that exceed the Compact Machine Edition application limits will not be converted into Compact Machine Edition applications. 5. Specify a language for the application. For information about using multiple languages, see Chapter 12. 6. Click Import. The Machine Edition Import Wizard opens.
4-6
7. Follow the directions in the Machine Edition Import Wizard. For more information about importing PanelBuilder 1400e applications, see Appendix A. For more information about importing PanelBuilder and PanelBuilder32 applications, see Appendix B.
Opening applications
You can open an application when you start FactoryTalk View Studio, or once FactoryTalk View Studio is already open. Older RSView Machine Edition application files are converted to the current version of FactoryTalk View when you open them. However, you can still use the current version of FactoryTalk View Studio to create older version run-time files. For information about the features supported in different versions of FactoryTalk View, see Appendix G. For information about opening a sample application, see page 2-2. To open an existing application when you start FactoryTalk View Studio 1. Start FactoryTalk View Studio.
4-7
2. Click the Existing tab, and then click the application to open. 3. Specify a language for the application, and then click Open. For information about using different languages, see Chapter 12. 4. If this is the first time you are opening an application that was created in RSView Machine Edition 4.00, you are prompted to select a default language. Select a language, and then click OK. For information about the default language, see page 12-2. FactoryTalk View Studio displays the application in the Explorer window. To open an existing application when FactoryTalk View Studio is already open 1. On the File menu, click Open Application, or click the Open Application tool.
Open Application
If an application is already open, FactoryTalk View Studio asks you whether to close the application that is currently open. Click Yes. 2. Follow steps 2 through 4 in the previous procedure.
4-8
To open an application you used recently 1. On the File menu, select Recent Applications, and then click the name of the application to open. 2. If an application is already open, FactoryTalk View Studio asks you whether to close the application that is currently open. Click Yes. The application opens. For applications with multiple languages, the language you used most recently opens. For information about using different languages, see Chapter 12. Problems opening applications If you have trouble opening an application in FactoryTalk View Studio, the problem could be a Microsoft Windows security setting. You must have read and write access to the folder that contains the HMI projects. For example, if you belong to the Windows user group called Power Users, and the group does not have write access to the HMI projects folder, you wont be able to open applications in FactoryTalk View. The default location for the HMI projects folder is: C:\Documents and Settings\All Users\Shared Documents\RSView Enterprise\ME (Windows XP or Windows Server 2003 R2) or C:\Users\Public\Public Documents\RSView Enterprise\ME (Windows Vista,Windows 7 Professional or Windows Server 2008) For more information about security, see Chapter 11. To set up write access for any Windows Security Group 1. Right-click the HMI projects folder, and then click Properties. 2. In the Security tab of the Properties dialog box, select a Windows Security Group (ex. Power Users) from the list of groups and user names. 3. In the Permissions box below the list, select Full Control, and then select Allow.
4-9
Closing applications
To close an application
On the File menu, click Close Application. If there are any unsaved changes in open editors, FactoryTalk View Studio asks you whether to save the changes before closing the application.
To close an application and exit FactoryTalk View Studio at the same time
Click the Close button at the right end of the FactoryTalk View Studio title bar. If there are any unsaved changes in open editors, FactoryTalk View Studio asks you whether to save the changes before closing.
Close button
rename applications.
4-10
copy applications. delete applications. create a compressed backup copy of an application, with the file extension .apa. restore an application from the backup file, with the file extension .apa. restore a legacy project backup file (with the file extension .mea) from an earlier release of FactoryTalk View Studio, and convert it to the current version. restore a run-time application file, with the file extension .mer, to a development application, with the file extension .med. For more information, see page 14-7.
In FactoryTalk View Studio, on the Tools menu, click Application Manager. On the Windows Start menu, select Programs > Rockwell Software > FactoryTalk View > Tools > Application Manager.
For details about using the tool, see the Application Managers Help.
4-11
the run-time terminal or computer screen, in pixels. Therefore, the project window size must be less than or equal to the run-time screen resolution.
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-17. Screen resolution for PanelView Plus 6, PanelView Plus and PanelView Plus CE terminals If you are going to run your application on a PanelView Plus 6, PanelView Plus or PanelView Plus CE terminal, select one of these project window sizes:
For this terminal or monitor PanelView Plus/PanelView Plus Compact - 400 or 600 PanelView Plus - 700 or 1000 PanelView Plus CE - 700H or 1000H PanelView Plus 6 -700 or 1000 PanelView Plus Compact - 1000 Select this project window size 320x240 640x480
4-12
For this terminal or monitor PanelView Plus - 1250 PanelView Plus CE - 1250H PanelView Plus CE - 1200P, 1200M, or 1200W PanelView Plus 6 - 1250 PanelView Plus - 1500 PanelView Plus CE - 1500H PanelView Plus CE - 1500P, 1500M, or 1500W PanelView Plus 6 - 1500 PanelView Plus CE - 1700M PanelView Plus CE - 2000M
1024x768
If you are creating an application for a PanelView Plus 400 or 600 terminal:
Resize the default message displays so that the entire message is visible. Reposition the [ALARM] display from the default position (0, 0), as this position is below the viewing area of the terminals.
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 change the window size after you have already created graphic displays, you have the option of scaling graphic displays. If you choose to scale graphic displays, all Replace and On Top displays are resized and the objects in them are scaled to fit the new size. You can also specify whether to scale the font size and border size of the graphic objects, and the size of graphic images in the Images folder. If you choose not to scale displays when you change the project window size, 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 19-12. For more information about scaling displays, see Help.
4-13
How the run-time screen resolution affects the pop-up windows FactoryTalk View comes with a pop-up Login window, as well as numeric and string popup windows for run-time data entry, and a Change Password window for changing user passwords at run time.
FactoryTalk View sizes the pop-up window to occupy the center of the screen.
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. These are the sizes of the default displays:
Graphic Display [DIAGNOSTICS] [ALARM] [INFORMATION] Width in pixels 640 640 640 Height in pixels 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.
4-14
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 19-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.
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 11. Changing the Title bar or Border setting If you change the Title bar or Border setting, you have the option of scaling graphic displays to accommodate the new display size. For details, see Help.
4-15
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 Help).
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 Graphics editor).
Enable auto logout Use the Project Settings Runtime tab to log the current user out automatically if the terminal is inactive for a specified period of time. You can set up the terminal to open a particular graphic display after the automatic logout, and you can apply a parameter file or parameter list to the display you select. If no display is selected, whatever display was open at logout will remain open.
Note that this auto-logout feature that returns to a specific display applies to ALL user accounts including the DEFAULT user account.
4-16
You can change an application to PanelViewPlus Compact by selecting it in the Project window size list.
4-17
application name application description, if any location of the project file number of graphic displays in the application maximum number of displays youre licensed to use
4-18
In the Explorer window, right-click the HMI server name, and then click Properties.
4-19
4-20
Setting up communications
This chapter describes:
OPC communications. what data servers are. creating data servers in your application. updating data server caches.
Allen-Bradley controller devices, using RSLinx Classic or RSLinx Enterprise as an OPC server. third-party controller devices, such as Siemens or Modicon, using third-party OPC servers such as KEPServerEnterprise.
ControlNet Scheduled, DeviceNet I/O and Remote I/O are not supported on PanelView Plus 6.0 PanelViewPlusNG terminal and Windows CE terminals. They are not supported on personal computers.
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 Classic, or another OPC server. 2. If you want to use RSLinx Enterprise for communications, install it on the development computer. For information about installing RSLinx Enterprise, see the FactoryTalk View Machine Edition Installation Guide. 3. If you want to use RSLinx Classic as the OPC server that enables communications on your network, set up RSLinx Classic on the development computer. RSLinx Classic is included on the FactoryTalk View Machine Edition DVD-ROM. For details, see Getting Results with RSLinx, or see Help for RSLinx.
5-1
RSLinx Classic is available for personal computers only. 4. If you want to use an OPC server other than RSLinx Classic for 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 FactoryTalk View Studio, create a data server that points to the OPC server you set up in step 3 or step 4. For details, see page 5-3. If you are using RSLinx Enterprise for communications, you dont need to create a data server because it is created automatically when you create your FactoryTalk Machine Edition application. 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.
Best practice is to use direct reference tags.
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 14. 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 Classic, install the OPC server software on the run-time computer. For applications that will run on a personal computer, 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.
programmable controller values. OPC tags, and their value or status information.
5-2
5 Setting up communications
You can create additional OPC data servers for your application. For example, you might want to use an RSLinx Enterprise data server and a KEPServerEnterprise data server.
If you use RSLinx Enterprise, you cannot use Logix5000 with an Ethernet connection to connect to other Allen-Bradley devices or bridge to DH+ or Remote I/O networks. If you need to do this, use RSLinx Classic.
2. Double-click the Communication Setup editor. 3. In a new application, the RSLinx Enterprise Configuration Wizard opens. Follow the instructions to create a new configuration or use an existing device configuration. Once you make a choice and click Finish, the Communication Setup editor opens. In an existing application, double-clicking Communication Setup opens the Communication Setup editor, with its two tabs. The Design (Local) tab is for establishing the location of the tags/addresses for editing. The tags/addresses can be online with a controller or other data server, or an offline controller file. This will enable the Tag Browser to find the tags/addresses.
5-3
The Runtime (Target) tab is for identifying the connection from the run-time computer or terminal to the controller or other data server. If the paths are the same, use the Copy button to copy the Design configuration to the Runtime tab. For more information, see Help for RSLinx Enterprise.
In the Explorer window, right-click the application, select Add New Server, and then click OPC Data Server.
5-4
5 Setting up communications
For details about selecting options in the OPC Data Server Properties dialog box, see FactoyTalk View Machine Edition Help. For information about editing and removing data servers, see FactoryTalk View Machine Edition Help.
5-5
5-6
types of tags. when to use data server tags. steps for using data server tags. when to use HMI tags. steps for using HMI tags. browsing for tags and offline tags. using the Tag Browser. using tags and expressions in your application. logging tag values. using macros to assign values to tags.
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.
6-1
HMI tags
In addition to direct referencing tags from data servers, FactoryTalk View allows you to create tags with additional properties such as minimum and maximum values, scale, and offset. These tags can reference values at an external data source, or store values in the run-time computers memory. Tags you create in FactoryTalk View are called HMI tags.
6-2
Using tag names that dont exist 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 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 FactoryTalk View HMI tag database.
6-3
For more information, see Chapter 5. 3. In graphic displays, data log models, or anywhere else you want 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.
scaling or offsetting a value. setting minimum or maximum limits on a value (that is, providing a range of values).
Scale and offset 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 FactoryTalk View 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. For example, if you specify a minimum of 0 and a maximum of 100, FactoryTalk View 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 Help.
6-4
to store the result of a calculation. temporarily, for example, a counter or index. to maintain information about the systems current state, for example which graphic display was last displayed.
In most editors, click the Browse button in the Tags column. In the Expression editor, position the cursor where you want to insert a tag name, and then click Tags. In the Parameters editor, double-click where you want to insert a tag name.
6-5
Root folder
Folders pane
Tags pane
For a better view of the folders or tags, drag this bar to the left or the right.
select a single tag or multiple tags. The ability to select multiple tags is available in the Data Log Models editor only. In the illustration above, only a single tag can be selected. select data server tags and HMI tags. select a folder of tags without selecting a specific tag in the folder. This is useful for applications that use process faceplates. It is also useful when you use global object parameters. Folders of tags are also known as backing tags or structured tags. For information about global object parameters and process faceplates, see Chapter 25. You cannot select backing tags when you open the Tag Browser from the Data Log Models editor.
6-6
create new folders for HMI tags. import tags from a PLC or SLC database.
For more information about using the Tag Browser, see Help.
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.
6-7
In RSLinx Enterprise, you can use the Offline folder to browse tags in an RSLogix 5000 RSLogix.acd file. For details about making the .acd file available to browse offline, see RSLinx Enterprise Help. In RSLinx Classic, you can use the Offline folder to browse tags in a PLC program stored on disk. If the OPC topic in RSLinx Classic has access to symbols, you can browse for them in the Offline folder. For details about adding symbols to the OPC topic in RSLinx Classic, see RSLinx Classic Help.
Tags that are available when you are not connected to the controller are located in the Offline folder. Tags that are available when you are connected to the controller are located in the Online folder.
Expressions Global Connections Graphic Displays Global Object Displays Graphic Libraries Parameters Alarm Setup Information Setup Macros Data Log Models RecipePlus Editor
6-8
Assigning tags
This example shows the Trigger dialog box that opens when you click the Add button in the Triggers tab of the Alarm Setup editor:
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.
6-9
Double-click the object to open the objects Properties dialog box, and then click the Connections tab.
Select the object, and then assign tags in the Connections tab of the Property Panel.
6-10
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.
6-11
You can also use recipes to assign values to multiple tags with a button press. For information about using recipes to assign values to tags, see Chapter 29.
6-12
HMI tag types. using the Tags editor. data sources. addressing syntax for device tags. organizing HMI tags. viewing tag statistics. other methods for creating HMI tags. importing HMI tags.
7-1
Stores this type of data Information generated while the system is running, such as the name of the logged-in user, system time and date, and so on. FactoryTalk View 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.
If the number after the decimal is 4 or less, the value is rounded down. For example, 8.495 is rounded to 8. If the number after the decimal is 6 or more, the value is rounded up. For example, 8.6 is rounded to 9. If the number after the decimal is 5, the value is rounded using a bankers algorithm, to average out the rounding over time:
If the number before the decimal is 0, the value is rounded down. For example, 10.5 is rounded to 10. If the number before the decimal is an odd number, the value is rounded up. For example, 11.5 is rounded to 12. If the number before the decimal is an even number, the value is rounded down. For example, 12.5 is rounded to 12. Floating point values are rounded to a maximum of six digits. Therefore, using a floating-point data type and adding to it a value that exceeds the six significant digits will result in a rounding error. For example, adding any number to 999,999 will result in a rounding error.
7-2
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 connection. For more information about the numeric input enable button, see page 21-30.
Form area
Query box
Folder hierarchy
The information you enter in the form area is displayed in the spreadsheet area. The folder hierarchy displays all the folders that you and FactoryTalk View create. The Tags editor has special items on the View menu to control the appearance of the editor, and extra tools on the toolbar. Use the Tags editor to:
7-3
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-8.
select a single tag by typing the tag name. select multiple tags by typing wildcard characters.
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 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.
7-4
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 FactoryTalk View. 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 FactoryTalk View 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-5
where :: indicates that the address resides in a data server in the application. (The two colons are necessary when the address contains a colon, for example, N7:0.)
The square brackets are part of the syntax. They do not indicate optional parameters.
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 Classic OPC server, the access path is the name of an OPC topic in RSLinx Classic. 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.
Example: Logix5000 addressing We recommend that you use the Tag Browser to select OPC items. When you use the Tag Browser the correct syntax and data types are selected automatically. 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 Logix5000 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 Logix5000 processor. OPC topic and item addressing Logix5000 uses this addressing syntax: [Device shortcut]item name for RSLinx Enterprise. [OPC topic name]item name for RSLinx Classic. In this example, the RSLinx Enterprise device shortcut name for the Logix5000 processor is CLGX. To connect to an OPC item called Motor, type this address: [CLGX]Motor Bit level addressing You can gain access to 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 you want access to.
7-6
For example, to gain access to the first bit of the integer item Motor, type this address: [CLGX]Motor.0
Establish naming conventions. Naming conventions enable you to use wildcard characters most effectively when searching for and displaying tags during development.
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 backslash (\) after a folder name counts as a character. The tag name can contain these characters:
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 curly brackets { } when you use it in an expression, for example, {N33-0}. For more information about using tags in expressions, see Chapter 23.
7-7
To create similar groups of tags quickly, create one folder with its tags and then duplicate the folder.
create tags as needed in other editors (using the Tag Browser). import tags from a PLC or SLC database. For details see page 7-9.
Click the Browse button in the Tag column to open the Tag Browser and create the tag. For information about using the Tag Browser, see page 6-5. 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-8
Click the Browse button beside the Tags to add box to open the Tag Browser and create the tag. For information about using the Tag Browser, see page 6-5. Type a new tag name in the Tags to add box, and then click Add. You are warned that the tag does not exist. Click Yes to add the tag to the list of tags in the datalog model. Keep track of the tag name, and add the tag in the Tags editor when convenient.
For more information about the Data Log Models editor, see Chapter 26.
7-9
RSLogix 500 internal database, with file extension .rss RSLogix 5 internal database, with file extension .rsp RSLogix 5 or RSLogix 500, 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) legacy PLC databases, created using WINtelligent LOGIC 5 or A.I. 5, with file extension .dsc
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 open the Import PLC Tags dialog box, do one of the following
In the Tag Browser, right-click the right pane, and then click Import PLC Tags. For information about using the Tag Browser, see page 6-5. In the Tags editor, on the Edit menu click Other Databases, or click the DB Browser tool.
For more information about using the Import PLC Tags dialog box, see Help.
7-10
export your applications tags to a .csv file. import tags from another FactoryTalk View applications tag .csv file. merge tags from another FactoryTalk View application (that is, import them directly from the application, without first creating a tag .csv file). import tags from legacy PLC databases, created using WINtelligent LOGIC 5 or A.I. 5, with file extension .dsc. import tags from RSLogix 5 or RSLogix 500, 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).
In FactoryTalk View Studio, on the Tools menu, click Tag Import and Export Wizard. On the Windows Start menu, select Programs, Rockwell Software, FactoryTalk View, Tools, and then click Tag Import and Export Wizard.
For details about using the wizard, see the wizards Help.
7-11
7-12
what global connections are. updating the date and time. changing displays. controlling display changes remotely. using parameter files or parameter lists with display changes. close On Top displays. printing displays. running macros. setting up the backlight intensity remotely. monitoring run-time RAM usage.
update the date and time at the data source using the run-time terminals date and time. update the date and time on the run-time terminal using the data source date and time. notify the data source of the current display number. notify the data source when a display is printed. change the display on the run-time terminal remotely (from the data source). close On Top displays apply parameter files or parameter lists to the tag placeholders in the changed displays. print the current display from the data source. run up to five macros from the data source, when a tag or expression result changes. set the intensity of the backlight on a PanelView Plus 6,PanelView Plus or PanelView Plus CE terminal.
8-1
For detailed information about the options in the Global Connections editor, see Help.
8-2
Updating the date and time at the data source from the terminal To update the date or time at the data source from the terminals internal clock, assign a tag to one or more of these connections:
This connection Year Day of Week Month Day of Month Hour Minute Second Contains this range of values 00-99 1-7, with 1 being Sunday 1-12 1-31 0-23 0-59 0-59
Specify how frequently to update the values of the assigned connections 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 a tag or an expression to the Remote Date and Time connection. Also assign a tag or an expression to one or more of these connections:
This connection Remote Year Remote Month Remote Day of Month Remote Hour Remote Minute Remote Second Contains this range of values 00-99 or 0000-9999 1-12 1-31 0-23 0-59 0-59
8-3
When the Remote Date and Time connection value changes to a new non-zero value, the terminal resets its internal time and date to the time and date read from the individual remote date and time connections. The date and time are updated at the rate specified in the Maximum update rate box, but changes are not made until the Remote Date and Time connection changes to a new nonzero value.
Changing displays
Use these global connections in the Display tab of the Global Connections editor to monitor and control display changes:
Replace Display Numbernotifies the data source of the number of the Replace display thats currently open. Remote Display Numberallows the data source to change the display on the runtime computer.
8-4
Printing displays
Use these global connections in the Display tab of the Global Connections editor 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 Help.
8-5
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.
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 abut turning off the screen saver on personal computers, see your Windows documentation. For information about turning off the screen saver on a PanelView Plus 6,PanelView Plus or PanelView Plus CE terminal, see the PanelView Plus Terminals User Manual.
Close an On Top displaynotifies the data source of the number of the On Top display to be closed. Close All On Top Displaysnotifies the application to close all On Top displays whose display number is not zero.
Parameter fileidentifies the parameter file for the display being opened remotely. Use Parameter Listnotifies the application that a parameter list is to be used to provide the parameters to the display being opened remotely. Parameter Tag #1-10 the tag values assigned to these global connections will replace the tag placeholders in the display being opened remotely.
Running macros
Use these global connections in the Macro tab of the Global Connections editor to run macros:
This connection Remote Macro1 Remote Macro2 Remote Macro3 Remote Macro4 Runs this macro Macro1 Macro2 Macro3 Macro4
8-6
Create the macros in the Macros editor. Make sure you name them exactly as shown in the right column of the preceding table (with no space in the name). When the tag or expression assigned to one of these connections changes to a new nonzero value, FactoryTalk View runs the associated macro.
Leave time for a macro to run before starting a new macro. Otherwise, FactoryTalk View will queue the macros, which consumes memory and could lead to system instability. When you shut down FactoryTalk View ME Station, if a message about executing macros is displayed for more than a few seconds this means that macros have been queued.
At run time, the application reads the value at the data source and sets the backlight to the percentage of its maximum intensity 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 minimum intensity. That is, it will be turned off.
8-7
The PanelView Plus and PanelView Plus CE terminals operating systems have a 32 MB RAM process limit. On these terminals, FactoryTalk View ME Station has a tag connection threshold of 26 MB. Screen change performance will slow down significantly as the system adds and removes tag connections from the cache. PanelView Plus 6 terminals operating systems have a 2 GB RAM process limit, this creates easier memory management. The run-time RAM memory usage can be monitored by using the run-time RAM usage global connections. To reduce run-time RAM usage, reduce the number of displays or tags in your application, and restart the application regularly (for example, once a week). Adding more RAM to the terminal will not help. For more information, see Answer ID 39481 in the Rockwell Automation Knowledgebase.
Use these global connections in the Memory tab of the Global Connections editor to monitor run-time RAM usage:
This connection MERuntime RAM Usage Total RAM Usage Available RAM Remote RAM Usage Provides this information, in kilobytes (Kb) The amount of memory being used by your application (and by the MERuntime.exe process) The total amount of memory being used by all applications (and processes) on the personal computer or terminal The remaining amount of memory available Assign a tag or expression to this connection. When it has a nonzero value, data is sent to the other three connections, if assigned.
You can monitor the values of the MERuntime RAM Usage, Total RAM Usage, and Available RAM connections using data logging or using graphic objects such as numeric displays. The connections are updated every 10 seconds as long as the Remote RAM Usage connection has a non-zero value. Set up the data source to set this connection to a non-zero value when you want memory monitoring to occur, or assign the same tag or expression to a graphic object such as a maintained push button that the operator can use to turn memory monitoring on and off. These connections are available when you run FactoryTalk View ME Station on a personal computer and on the PanelView Plus 6,PanelView Plus and PanelView Plus CE terminals. For PanelView Plus 6,PanelView Plus and PanelView Plus CE terminals, you can also turn on the display of RAM usage statistics at run time. To do this, in the Configuration
8-8
Mode window select Runtime RAM Usage, and then make your selections in the Runtime RAM Usage window. For more information, see the PanelView Plus Terminals User Manual.
8-9
8-10
Setting up alarms
This chapter describes:
steps for setting up alarms. preparing to set up alarms. how alarms work. alarm trigger data types. tips for using array tags. optional alarm connections. creating alarm messages in multiple languages. the [ALARM], [ALARM BANNER], [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 graphic objects 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. Compact applications (applications running on PanelView Plus Compact terminals) have a limited number of alarm messages.
9-1
title of the alarm history report title of the alarm status report
Alarm objects and reports use the time formats for the current application language. For more information about using multiple languages, see Chapter 12.
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). Also use this editor to specify trigger types, Acknowledge all values, the maximum alarm log file size, the hold time, and optional connections. 2. In the Startup editor, ensure that the Alarms box is checked (it is checked by default). See Help. 3. If desired, in the Graphics editor modify the default [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 19. 4. Test alarms on the run-time system.
9-2
9 Setting up alarms
Setting up alarms
Use the Alarm Setup editor to set up alarms.
Specify the graphic display to use to display alarm messages at run time.
For detailed information about the options in the Alarm Setup editor, see Help.
9-3
9-4
9 Setting up alarms
alarm list alarm status list alarm banner clear alarm history button acknowledge all alarms button print alarm history button print alarm status button
If the trigger label name has not been set up in the default language, the Trigger Label Selector displays a question mark (?) instead of the trigger label name. To correct the display you must import the trigger labels for the default language. You can also manually type in the trigger label names to use to filter alarms. If you manually type in the trigger names, specify the names in the default language. If you change the default language, you must re-specify the trigger labels for each of the graphic objects listed above, using the trigger label names in the new default language. For more information about the default language, see page 12-2.
9-5
Open an alarm graphic display containing an appropriate alarm message. Set off an audible signal (if the application is running on a personal computer). Send a message to a printer. Send a message to the data source.
If you set up alarm messages in multiple languages, make sure that the data source can either receive the message in Unicode format or convert it into ASCII characters for all the languages you will be using.
To use these methods, select the Display, Audio, Print, and Message to Tag options when you create your messages.
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-10. (The alarm log file is also referred to as the alarm history.)
[ALARM], in the Displays folder, contains an alarm banner graphic object that is set up to display the newest active alarm in the alarm log file. [ALARM BANNER], a display in the Libraries folder, contains an alarm banner graphic object that is set up to display the newest active alarm in the alarm log file. [ALARM MULTI-LINE], a display in the Libraries folder, contains an alarm list graphic object that is set up to display all the alarms in the alarm log file: active, inactive, acknowledged, and unacknowledged. [STATUS], a display in the Libraries folder, contains an alarm status list graphic object that is set up to display active alarms. It contains a goto display button for opening the [HISTORY] display. This display is available in two sizes. [HISTORY], a display in the Libraries folder, contains an alarm list graphic object and a goto display button for opening the [STATUS] display. The alarm list is set up to display all the alarms in the alarm log file: active, inactive, acknowledged, and unacknowledged. This display is available in two sizes.
By default, the [ALARM] graphic display opens automatically at run time when an alarm is generated.
9-6
9 Setting up alarms
You can accept the default, edit the [ALARM] display, use one of the other alarm displays, or create your own display. If you elect not to automatically open a graphic display for alarm notification, an alternative is to provide the operator with a way to open an alarm display when desired.
For more information about The [ALARM] display The [ALARM BANNER] 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 See page 9-25 page 9-26 page 9-27 page 9-28 page 9-29 page 9-31 page 9-32 page 9-33 page 9-34
acknowledge one or all alarms, or the alarms for a specific alarm trigger. clear and delete alarms. silence alarms (if the application is running on a personal computer). sort alarms. reset the status of all alarms. print alarms.
For information about the alarm button graphic objects the operator can use to work with alarms, see page 9-36. Using the data source to interact with alarms 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 determine which types of alarms to display (active, inactive, acknowledged, and unacknowledged), and to close the alarm display. These topics are discussed later in the chapter.
9-7
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.
the triggers Remote Ack connection value changes to the alarms trigger value (or bit position, for bit triggers).
the triggers Remote Ack connection 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. the operator presses an acknowledge all alarms button that is set up to acknowledge the alarms for a specific alarm trigger.
the operator presses an acknowledge all alarms button that is set up to acknowledge all alarms. the Remote Ack All connections value changes to a new non-zero value.
Methods for clearing and deleting alarms 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. You can set up the button to clear alarms for all alarms, or for a specific alarm trigger. 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-40.
9-8
9 Setting up alarms
Methods for silencing alarms The audio alarm indicator is available for applications running on personal computers only. All alarms are silenced when:
the operator presses the silence alarms button. an alarm whose Audio property is turned on is acknowledged. the Remote Silence connections 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. Methods for resetting alarms 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 AlarmResetDateAndTimeString.
the operator presses a clear alarm history button that has been set up to clear and reset alarms for a specific alarm trigger.
the operator presses a reset alarm status button. the operator presses a clear alarm history button, if the button has been set up to clear and reset all alarms. the Remote Status Reset connections value changes to a new non-zero value.
9-9
Methods for printing alarm information In addition to automatically printing each alarm message as it occurs, you can keep a printed record of alarms:
using the print alarm history button. When the operator presses the button, a report of the contents of the alarm log file is printed. The report can include the time alarms occurred and were acknowledged. You can set up this button to print the alarm history for a selected alarm trigger, or for all alarms. If you set up alarm messages in multiple languages, messages and trigger labels are printed in the language that they were originally logged in. (Messages are logged in the application language that is current at the time the message is triggered.) All alarm times and acknowledge times are printed in the current application language.
using the print alarm status button. When the operator presses the button, a report of the status of alarms is printed. The report can include active alarms, past alarms, or all alarms that have been set up in the Alarm Setup editor. The report can include how many times each alarm was triggered, and the accumulated time in alarm. You can set up this button to print the alarm status for a selected alarm trigger, or for all alarms. If you set up alarm messages in multiple languages, all messages, trigger labels, and times are printed in the current application language.
For information about specifying which printer to use at run time for applications that will run on a personal computer, see page 15-10. For information about the type of printer to use with a PanelView Plus or PanelView Plus CE terminal, see page 16-1.
9-10
9 Setting up alarms
The alarm log file is retained when you restart an application after a shutdown or power loss. You can delete the log file from the run-time computer at application startup. For information about deleting the log file, see page 15-16. If you download a newer version of an application to the run-time computer, the alarm log file for the older version is deleted automatically.
9-11
2. Use the Value trigger type for the alarm trigger. 3. Specify these trigger values and alarm messages for the alarm trigger:
Trigger Value 1 2 Message 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, FactoryTalk View 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.
The tag is currently generating alarms at bit positions 2, 6, 12, 21, 22, 26, and 30.
9-12
9 Setting up alarms
To set up alarms for this array tag: 1. Create an alarm trigger for the array tag. Use the Bit trigger type. You must use a direct reference for the array tag. 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. Each trigger value corresponds to a bit position (not a bit address).
Bit in the array (bit address) 00 01 02 03 .. 31
Bit position 1 2 3 4 .. 32
Trigger value 1 2 3 4 .. 32
Message Line 1: Conveyor has stopped. Line 1: Power failure. Line 2: Conveyor has stopped. Line 2: Power failure. .. Oven door open.
9-13
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-14
9 Setting up alarms
2. Specify these trigger values and alarm messages for the alarm trigger:
Bit in the array (bit address) 00 01 02
Bit position 1 2 3
Trigger value 1 2 3
Message 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 FactoryTalk View 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.
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 Long 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-16. You cannot use HMI tags for array tags. You must use data server tags for array tags.
9-15
Data server tags with the Short Integer data type are displayed in the Tag Browser with the Item Canonical Data Type of Integer. To view a tags Item Canonical Data Type
In the Tag Browser, right-click the tag, and then click Properties.
Logix5000 tags When creating array tags, you can use Logix5000 tags with these data types:
Data type SINT INT DINT Number of bits 8 16 32
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.
9-16
9 Setting up alarms
connections that work with a specific alarm trigger. You can assign a different set of connections to each alarm trigger. connections that apply to all alarms
9-17
You can also assign connections to alarm lists, to allow the data source to determine which types of alarms to display in the lists. For more information, see page 9-32.
HandshakeAssign a tag to this connection to notify the data source when the triggers value changes. AckAssign a tag to this connection to notify the data source when the operator acknowledges an alarm (or all alarms). Remote AckAssign a tag or an expression to this connection to allow the data source to acknowledge alarms. Remote Ack HandshakeAssign a tag to this connection to notify the data source when a remote acknowledgement occurs. MessageAssign a tag to this connection to send alarm messages to the connection. 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 connection. Message NotificationAssign a tag to this connection to notify FactoryTalk View that an alarm message has been sent to the connection and FactoryTalk View must wait before sending a new message. Message HandshakeAssign a tag to this connection if you want the data source to notify FactoryTalk View when it has read the message.
Assign tags or expressions to these connections when you create your alarm triggers. For more detailed information about how these connections work, see the next sections.
9-18
9 Setting up alarms
A change in the trigger connections value does not necessarily indicate an alarmthe value might still be within acceptable limits.
When the operator acknowledges an alarm by pressing the acknowledge alarm button, FactoryTalk View sends the alarms trigger value (or bit position, for bit triggers) to this connection, and holds the value as long as the operator presses the button, or for the duration of the hold time, whichever is longer. Then the connections value is reset to 0. When the operator acknowledges all alarms, or the alarms for this trigger only, by pressing the acknowledge all alarms button, FactoryTalk View sends the triggers Acknowledge all value to this connection, and holds the value as long as the operator presses the button, or for the duration of the hold time, whichever is longer. Then the connections value is reset to 0. When the Remote Ack connection changes to a new non-zero value that matches the trigger value of an unacknowledged alarm, FactoryTalk View sends the triggers value (or bit position, for bit triggers) to this connection, and holds the value for the duration of the hold time. Then the connections value is reset to 0.
To avoid confusion about whether a specific triggers alarm individual alarm has been acknowledged or all alarms for the trigger have been acknowledged, make sure the Acknowledge all value is not the same as one of the trigger values.
9-19
Example: Using the Remote Ack connection This example shows how to use the Remote Ack connection to acknowledge an alarm. In this example, the same application is run at two different locations on the plant floor, and both terminals are connected to the same programmable controller. All the tags in the example refer to addresses in the programmable controller.
1. Create an alarm trigger for a tag called Alarm. Use the Value trigger type. 2. Assign a tag called Ack to the Ack connection. 3. Assign a tag called Remote_ack to the Remote Ack connection. 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 connection to the Remote Ack connection whenever the value of the Ack connection 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, FactoryTalk View writes the value 1 to the Ack connection. Since the Ack connection is write-only (not read), the acknowledgement doesnt appear at Location 2. However, the programmable controller writes the value from the Ack connection (1) to the Remote Ack connection, and the alarm at Location 2 is acknowledged.
9-20
9 Setting up alarms
Ensuring alarm messages are read by the data source before sending new messages
This section explains how the Message, Message Notification, and Message Handshake connections work. To ensure an alarm message is read by the data source before FactoryTalk View sends a new message, use message handshaking. While message handshaking is in effect for an alarm message, FactoryTalk View cannot send a new message to the alarm triggers Message connection.
to hold the message at the data source for a specific period of time. to hold the message at the data source until the data source notifies FactoryTalk View that the message has been read.
Choose the method that best suits your application needs and communication system.
9-21
How handshaking works This method of alarm message handshaking works as follows: 1. When an alarm occurs, the alarm message is sent to the Message connection. 2. The Message Notification connection is set to 1. As long as the Message Notification connection is set to 1, FactoryTalk View cannot send new messages to the data source. 3. The hold time timer begins timing. 4. When the hold time has expired, the Message Notification connection is reset to 0 and FactoryTalk View can send a new message to the Message connection.
Holding the message until the data source acknowledges that it has read the message
To set up an alarm triggers alarm message handshaking so that the message at the Message connection is held until the data source notifies FactoryTalk View that it has read the message, use two connections: the Message Notification connection and the Message Handshake connection. Set up the data source to send a new non-zero value to the Message Handshake connection when it has read the message at the Message connection. How handshaking works If you use the Message Handshake connection, handshaking works like this: 1. When an alarm occurs, the alarm message is sent to the Message connection. 2. The Message Notification connection is set to 1. As long as the Message Notification connection is set to 1, FactoryTalk View cannot send new messages to the data source. 3. When the data source has read the message, it sends a new non-zero value to the Message Handshake connection. 4. The Message Notification connection is reset to 0 and FactoryTalk View can send a new message to the Message connection.
9-22
9 Setting up alarms
If the alarm message queue fills before the Message Notification connection is reset to 0, an error message is sent to FactoryTalk Diagnostics.
SilenceAssign a tag to this connection to notify the data source that all alarms have been silenced (for applications that will run on a personal computer only). Remote SilenceAssign a tag or an expression to this connection to allow the data source to silence all alarms (for applications that will run on a personal computer only). Remote Ack AllAssign a tag to this connection to allow the data source to acknowledge all alarms at once.
9-23
Status ResetAssign a tag to this connection to notify the data source that the alarm status has been reset. Remote Status ResetAssign a tag or expression to this connection to allow the data source to reset the alarm status. Close DisplayAssign a tag to this connection to notify the data source that the alarm display has closed. Remote Close DisplayAssign a tag or expression to this connection to allow the data source to close the alarm display.
Assign tags or expressions to these connections in the Advanced tab of the Alarm Setup editor. For more detailed information about how these connections work, see the next sections.
9-24
9 Setting up alarms
9-25
Buttons
Another option is to create your own graphic display to use when an alarm occurs, as described on page 9-31. Or, you can use one of the alarm displays in the graphic library. These displays are described in the next four 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-33. Buttons in the [ALARM] display The [ALARM] display contains alarm buttons for acknowledging, silencing, and clearing alarms, as well as a button for closing the display. For information about how the buttons work, see page 9-36.
9-26
9 Setting up alarms
The alarm banner graphic object The [ALARM BANNER] 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 BANNER] 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-33. Buttons in the [ALARM BANNER] display The [ALARM BANNER] 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-36.
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 any combination of active, inactive, acknowledged, and unacknowledged alarms. 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-32.
9-27
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-36.
Header
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-34.
9-28
9 Setting up alarms
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-36.
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.
9-29
You can set up the alarm list to show any combination of active, inactive, acknowledged, and unacknowledged alarms. 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-32. Buttons in the [HISTORY] display 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-36.
9-30
9 Setting up alarms
when the operator presses an acknowledge all alarms button and causes the newest alarm in the alarm history to be acknowledged. when the operator presses a clear alarm history button and causes the newest alarm in the alarm history to be deleted. when the Remote Close Display connection changes to a new non-zero value. when the Remote Ack All connection changes to a new non-zero value. when the newest alarm is acknowledged.
If you dont want the display to close when the newest alarm is acknowledged, you can turn off this option in FactoryTalk View ME Station.
9-31
To change how the display closes 1. In FactoryTalk View ME Station, click Terminal Settings. 2. Double-click Alarms. 3. Specify how you want the display to close.
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. If the list is set up to show both acknowledged and unacknowledged alarms, acknowledged alarms can show a symbol (which you can specify) at the left end of the row, and the acknowledge time appears in the acknowledge time column, if displayed. If the list is set up to show both active and inactive alarms, active alarms can show a symbol (which you can specify) at the left end of the row. If both the acknowledge symbol and active symbol are displayed, the active symbol column is to the right of the acknowledge symbol column. 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. You can specify how many lines to allow for each alarm message, from 1 to 10. The number of alarm messages that fits in the display depends on the height of the alarm list, the lists font size, how many lines you have specified for each alarm message, and whether the column headings are displayed.
9-32
9 Setting up alarms
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. If you assign a tag or expression to any of the ActiveAcknowledged, ActiveUnacknowledged, InactiveAcknowledged, or InactiveUnacknowledged connections, when a connections value is a non-zero value, the related type of alarm is displayed in the alarm list. The connection value overrides the setting for the list in the Alarm List Properties dialog box. If you set up alarm messages in multiple languages, messages are displayed in the language that they were originally logged in. All alarm and acknowledgement times are displayed in the current application language.
When a display containing an alarm list is opened, the highlight bar or cursor is at the top of the list: on the most recent alarm if sorted by time; or on the first alarm for the first trigger, if sorted by trigger value. If alarms are sorted by time, and the top alarm is selected, as new alarms occur, the old alarms scroll down, but the highlight bar or cursor remains at the top. If alarms are sorted by time, when the operator selects an alarm other than the top one in the list (by using the move down button), and new alarms occur, they are added above the visible area if the list is full. The currently selected alarm continues to be selected and maintains its position in the displayed portion of the list. If alarms are sorted by trigger value, as new alarms occur the currently selected alarm continues to be selected and maintains its position in the list. If the sort order changes, the selected alarm continues to be selected, but it might be displayed in a different position in the list.
9-33
display or [ALARM BANNER] display, in an alarm display you have created, or can be placed on any display in your application. You can use multiple alarm banners, in the same display or in different displays. You can set up different banners so that one displays the most recent alarm, and the other queues alarms until the displayed alarm is acknowledged. For information about setting up alarm banners, see Help.
What is displayed
If you set up the banner to show the alarms for specific alarm triggers, only alarms for those triggers are 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 banner button, 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 banner is set up to show both active and inactive alarms, when an alarm is active, an asterisk (*) appears beside the message. If you set up alarm messages in multiple languages, messages and trigger labels are displayed in the language that they were originally logged in. All alarm times are displayed in the current application language.
9-34
9 Setting up alarms
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. You can specify how many lines to allow for each alarm message, from 1 to 10. The number of alarm messages that fits in the display depends on the height of the alarm status list, the lists font size, how many lines you have specified for each alarm message, 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. If you set up alarm messages in multiple languages, all messages and trigger labels are displayed in the current application language, regardless of what language they were originally logged in.
The first time a display containing the alarm status list is opened, the first page of alarms is displayed. If the list is set up to display active alarms only, and alarms that were visible when the display was closed are no longer active, the alarms are removed from the list. If alarms have been reset since the display was last opened, the first page of alarms is displayed.
9-35
Using buttons with the alarm history and alarm objects Alarm buttons
You can use these alarm buttons to interact with the alarm list, alarm banner, or alarm status list, and to clear and sort the alarm history:
With this graphic object Alarm list Alarm banner
To do this Acknowledge and silence the selected alarm. Acknowledge and silence all currently unacknowledged alarms, or the currently unacknowledged alarms for a specific alarm trigger.
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. Remove alarms from the alarm log file and all alarm lists. If the Ack connection is assigned for any of the alarm triggers, the operator is prompted to acknowledge all alarms before clearing them. You can set up the button to remove all alarms, or just the alarms for a specific alarm trigger. You can also specify whether to reset the cleared alarms. If you choose to reset alarms, pressing this button resets the number of times an alarm has been triggered to 0, and the accumulated time in alarm to 0, for all alarms that are being cleared. If the alarm is still active, the number of times in alarm changes to 1 after the alarm is reset to 0.
Alarm banner
9-36
9 Setting up alarms
To do this Print a report of the alarm messages in the alarm log file. You can include all alarms, or just the alarms for a specific alarm trigger. The report can include the time alarms occurred and were acknowledged. Print a report of the status of alarms. You can include all alarms, or just the alarms for a specific alarm trigger. The report can include how many times each alarm was triggered, and the accumulated time in alarm. Reset the number of times an alarm has been triggered to 0, and the accumulated time in alarm to 0, for all alarms. If the alarm is still active, the number changes to 1. Silence the audio indictor for all alarms (for applications that will run on a personal computer only). Toggle between sorting alarms in alarm lists and the alarm log file by time and by trigger value.
Silence alarms
Sort alarms
You can assign any caption you choose to the labels on the alarm buttons.
9-37
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 Move up Move down Page up Page down Home End Enter Does this Scrolls up one row in the list. Scrolls down one row in the list. Moves the highlight bar or cursor up one page in the list. Moves the highlight bar or cursor down one page in the list. Moves the highlight bar or cursor to the top alarm in the list. Moves the highlight bar or cursor to the bottom alarm in the list. Acknowledges the currently selected alarm (in alarm lists and alarm banners).
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 21-9. For information about creating graphic objects, see Chapter 20. For information about setting up key buttons, see Help.
the selected alarm in the alarm list is acknowledged and the audio indicator for the alarm, if any, is silenced. the displayed alarm in the alarm banner is acknowledged and the audio indicator for the alarm, if any, is silenced.
If assigned, the alarm triggers Ack connection is set to the alarm trigger value at the data source. The value is held as long as the operator presses the button, or for the hold time, whichever is longer.
9-38
9 Setting up alarms
If the hold time is still in effect and the operator acknowledges a new instance of the same alarm, the new acknowledgement is ignored.
If the alarm list is set up to display unacknowledged alarms only, the alarm is removed from the list. The highlight bar or cursor moves up to the next unacknowledged alarm, unless it is already on the top unacknowledged alarm. If the highlight bar or cursor is on an acknowledged alarm when the operator presses the acknowledge alarm button, the button press is ignored. The alarm is removed from the alarm banner.
For each alarm trigger to which an Acknowledge all value is assigned, the specified Acknowledge all value is sent to the triggers Ack connection. The value is held as long as the operator presses the button, or for the hold time, whichever is longer. Then the connections value is reset to 0. If the Acknowledge all value is not assigned for a trigger, no value is sent to the triggers Ack connection. If the hold time for any alarm is still in effect and the operator presses acknowledge all alarms, the button press is ignored.
If the alarm list is set up to display unacknowledged alarms only, all acknowledged alarms are removed from the list. The alarm banner is cleared.
Silencing alarms
When the operator presses the silence alarms button, any audible signal triggered by an alarm is silenced and the Silence connection is set to 1 for the hold time or for the duration of the button press, whichever is longer. Then the connections 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 on personal computers only.
9-39
Using alarm buttons to sort alarms and reset alarm status 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.
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.
If the Status Reset connection is assigned (in the Alarm Setup editor), it is set to 1 for the hold time or for the duration of the button press, whichever is longer. If a hold time from a previous reset alarm status button press is still in effect, the button press is ignored. Pressing the clear alarm history button can also reset the status of alarms, if you select the Reset alarm status option for the button. You can set the button up to clear and reset the status of all alarms, or just the alarms for a specific alarm trigger.
9-40
9 Setting up alarms
if an alarm is still active, the time begins accumulating again. if an alarm is still active, the number of times the alarm has been triggered is increased by 1.
If the current type displayed is all alarms, the list changes to display active alarms only. If the current type displayed is active alarms, the list changes to display past alarms only. If the current type displayed is past alarms, the list changes to display all alarms.
The change affects the linked or selected alarm status list only, not all alarm status lists.
9-41
9-42
FactoryTalk Diagnostics. displaying diagnostics messages during application development. viewing FactoryTalk Diagnostics log files. using the Diagnostics Setup tool. displaying and printing diagnostics messages at run time. the [DIAGNOSTICS] display. creating your own diagnostics display. opening and closing the diagnostics display. how the diagnostics list graphic object works.
macro usage. operator comments. system messages and errors. errors from the communication network. tag read and write activity.
10-1
setting up destinations, where logged information is received for storage or display. setting up which destinations receive which categories of messages. This is called message routing. setting up how messages are displayed and printed at run time.
This chapter describes how to set up FactoryTalk Diagnostics on personal computers. For information about setting up FactoryTalk Diagnostics on the PanelView Plus 6, PanelView Plus or PanelView Plus CE terminal, see the PanelView Plus Terminals User Manual.
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 FactoryTalk View Studio window. a local log, which is viewable using the FactoryTalk Diagnostics Viewer tool. an ODBC database.
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 (available on personal computers only), which is viewable using the FactoryTalk Diagnostics Viewer. a remote log (PanelView Plus 6, PanelView Plus or PanelView Plus CE terminals only). an ODBC database.
The FactoryTalk Diagnostics Viewer is available on personal computers only. However, if you send diagnostics messages from a PanelView Plus 6, PanelView Plus or PanelView
10-2
Plus CE terminal to a personal computer, you can view the messages in the FactoryTalk Diagnostics Viewer.
The destinations available on your computer might vary, depending on which Rockwell Automation 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 [DIAGNOSTICS] 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.
Categories
FactoryTalk Diagnostics categorizes messages by severity, and by audience. For each destination, you can specify the message severity and audience.
10-3
Message severities
FactoryTalk View 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. 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. FactoryTalk View records the creation, modification, and deletion of components (such as graphic displays) as audit messages. Other Rockwell Automation products also use audit messages. For example, if you set up an audit log in RSMACC, FactoryTalk Views 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 FactoryTalk Diagnostics Viewer, so that those relevant to a particular person are grouped together. Who receives which messages? You can specify which types of messages are sent to the Operator, Engineer, and Developer audiences.
10-4
FactoryTalk View automatically sends audit messages to the Engineer and Secure audiences. Audit messages allow auditing tools, such as those required for US Government 21CFR Part 11 compliance, to track system activity.
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-5. 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.
10-5
In FactoryTalk View Studio, on the Tools menu, click Diagnostics Viewer. On the Windows Start menu, select Programs > Rockwell Software > FactoryTalk Tools, and then click Diagnostics Viewer.
For information about setting up FactoryTalk Diagnostics to send messages to the local log, see Help for the Diagnostics Setup tool. For additional information about setting up and using the FactoryTalk Diagnostics Viewer, see the FactoryTalk Diagnostics Viewer Help.
destinations and message routing on the development computer, including logging to the local log or to an ODBC database. destinations and message routing on personal computers, including run-time logging to the local log or to an ODBC database. the Windows CE run-time destination to receive logged messages from.
You can also use the Diagnostics Setup tool to clear the local log file. To open the FactoryTalk Diagnostics Setup tool, do one of the following
In FactoryTalk View Studio, on the Tools menu, click Diagnostics Setup. In the FactoryTalk View ME Station dialog box, click Terminal Settings, and then double-click Diagnostics Setup. For information about opening the FactoryTalk View ME Station dialog box:
on personal computers, see page 15-4. on a PanelView Plus 6, PanelView Plus or PanelView Plus CE terminal, see page 16-3.
10-6
On the Windows Start menu, select Programs > Rockwell Software > Utilities, and then click Diagnostics Setup.
For details about using the Diagnostics Setup tool, see Help for the tool.
If you have set up FactoryTalk Diagnostics to overwrite events in the local log file, make sure messages are logged to the ODBC-compliant database before the oldest events are deleted. For information about the contents of the FactoryTalk Diagnostics ODBC tables, see Appendix D. Setting up message buffering FactoryTalk Diagnostics messages are stored in the computers local log file, and are exported to the ODBC-compliant database at the interval you specify.
10-7
You can also specify that messages remain in the local log file for a period of time after they have been exported to the ODBC-compliant database. This is useful in the event of a network failure, or any other reason that causes the database to be unavailable. In this case, the messages remain in the local log file until the buffer time expires. If the ODBCcompliant database becomes available during that time, the buffered messages are then exported to the database.
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-4.
Receiving messages from a PanelView Plus 6, PanelView Plus or PanelView Plus CE terminal
You can set up FactoryTalk Diagnostics to receive messages that are generated on the PanelView Plus 6, PanelView Plus or PanelView Plus CE terminal at run time. The terminal must be on the same network as the computer running FactoryTalk Diagnostics. To receive messages:
enable the personal computer to receive the messages. For details see Help for the Diagnostics Setup tool. set up the PanelView Plus 6, PanelView Plus or PanelView Plus CE terminal to send the messages.
For information about setting up a PanelView Plus 6, PanelView Plus or PanelView Plus CE terminal to log to the personal computer, see the PanelView Plus Terminals User Manual.
10-8
The Diagnostics List Setup editor is located on the application tree under the System folder. Double-click on Diagnostics List Setup to open the editor.
For details about using the Diagnostics List Setup editor, see Help.
10-9
Printed messages list the date and time, the category of system activity, and the message text. By default, messages are not printed at run time. By default, your application is set up to display diagnostics messages automatically at run time. If you want to use the default settings, you dont need to do anything further to set up diagnostics messages for print and display in FactoryTalk View ME Station. The messages that are printed and displayed depend on how you set up FactoryTalk Diagnostics on the run-time computer:
For applications running on personal computers, use the Diagnostics Setup tool to set up diagnostics message logging. For information about using the Diagnostics Setup tool, see Help. For information about setting up FactoryTalk Diagnostics on the PanelView Plus 6, PanelView Plus or PanelView Plus CE terminal, see the PanelView Plus Terminals User Manual.
For applications running on personal computers, you can also view the run-time messages in the FactoryTalk Diagnostics Viewer, as described on page 10-5. If you dont want to display diagnostics messages in FactoryTalk View ME Station
In FactoryTalk View Studio, in the Diagnostics List Setup editor, clear the Display name box, or clear the four Open display automatically when boxes.
10-10
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-12. Buttons in the [DIAGNOSTICS] display 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-13.
10-11
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.
10-12
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 21-9. Key buttons You can also use these key button graphic objects to interact with the diagnostics list:
This button Move up Move down Page up Page down Home End Does this Scrolls up one row in the list. Scrolls down one row in the list. Moves the highlight up one page in the list. Moves the highlight down one page in the list. Moves the highlight to the top message in the list. Moves the highlight 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 21-9. For information about creating graphic objects, see Chapter 20. For information about setting up specific buttons, see Help.
10-13
10-14
11 Setting up security
This chapter describes:
using FactoryTalk Security. steps for setting up security without FactoryTalk Security. using the Runtime Security editor. how user accounts and security codes work. assigning security to graphic displays. providing a way for users to log in and log out. preventing unauthorized users from stopping the application. setting up FactoryTalk Security in FactoryTalk View Studio, including:
adding FactoryTalk Security user groups and users, and setting up passwords. assigning user access to the computers FactoryTalk Directory. FactoryTalk View Machine Edition uses the local FactoryTalk Directory. setting up security access to the application, action groups, policies, networks and devices, user groups, users, and other resources. setting up policies for passwords and user accounts, for backing up and restoring FactoryTalk Directory, and for tracking activities for audit purposes.
a sample startup display that uses all the FactoryTalk View security features.
determine which users can view, edit, create, and delete applications. determine which users can manage users and set up security.
11-1
You can use a combination of FactoryTalk Security and FactoryTalk View security features at run time to:
prevent unauthorized users from running the application. prevent users from opening graphic displays. prevent unauthorized users from stopping the application. prevent users from seeing and using certain parts of a graphic display. prevent users from switching to other applications. This feature uses the DeskLock tool, and is available for personal computers only. You can use this tool to set up a customized desktop and to prevent access to Windows functions. For more information about the DeskLock tool, see Chapter 15. The DeskLock tool does not use FactoryTalk Security.
To limit the users who have access to the application or parts of the application, you must set up user accounts and passwords.
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-4.
an administrative user named Administrator is created. all users are granted initial access permissions. a Windows-linked user group named Authenticated Users is created and added to the User Groups folder in the FactoryTalk Directory.
This means that any user who is authenticated by Windowsthat is, has a password that allows access to the development computercan open FactoryTalk View Studio without providing a user name or password.
Authenticated users are not supported on Windows CE. On Windows CE terminals, Windowslinked users must be added to FactoryTalk Directory before they can be logged in.
11-2
11 Setting up security
add FactoryTalk Security users and assign security codes and login and logout macros, for each user or group of users that will have access to the application at run time. migrate users from RSView 3.20 and earlier to FactoryTalk View version 4.00 or later. assign user passwords (version 3.20 and earlier applications only). add Windows users or groups (version 3.20 and earlier applications only).
The method for adding users and assigning security codes to them depends on whether you are setting up users for FactoryTalk View 4.00 applications, or for RSView 3.20 and earlier applications. There is a separate tab for 4.00 and later applications and for 3.20 and earlier applications. The Runtime Security editor has special items on the View menu to control the appearance of the editor. It also has items on the Setup menu, and extra tools on the toolbar.
11-3
Form area
Spreadsheet area
Use the form area to assign macros and security codes to users.
11-4
11 Setting up security
To add FactoryTalk Security users and groups to FactoryTalk View and assign security codes to them 1. Open the Runtime Security editor and select the ME Runtime 4.00 and later tab. 2. Click Add.
3. In the Select User or Group dialog box, add users and groups, and select the ones to add to FactoryTalk View. You can only select one user or group at a time. For details on using the Select User or Group dialog box, see Help. 4. In the Runtime Security editor, assign login and logout macros and security codes to the users and groups. For details about using the Runtime Security editor, see Help.
11-5
To migrate RSView 3.20 and earlier users to FactoryTalk View 1. With the Runtime Security editor open and the ME Runtime 4.00 and later tab selected, on the Setup menu, click Migrate ME Runtime 3.20 and earlier accounts. Users from the ME Runtime 3.20 and earlier tab are added to the FactoryTalk Security Users folder and to the ME Runtime 4.00 and later tab.
Users are not migrated if they already exist in the ME Runtime 4.00 and later account list.
2. If desired, edit the users security codes and login and logout macros. 3. To edit the users passwords, see page 11-18.
Form area
Spreadsheet area
Double-click in the security code columns to toggle between Yes and No.
11-6
11 Setting up security
To add users to RSView 3.20 and earlier applications and assign security codes to them 1. Open the Runtime Security editor and click the RSView 3.20 and earlier tab. 2. Add users, and then assign macros, passwords, and security codes to them. For details about using the Runtime Security editor, see Help.
users or groups from a Windows domain users you create in FactoryTalk View.
You cannot use both user account types in the application at the same time. Before you can make use of Windows user accounts in FactoryTalk View, you must first create the user accounts in your Windows domain. To do this in a Windows network domain, your network must have at least one Windows server acting as a domain controller. You cannot use Windows Workgroups. When you use Windows users or groups, the user password is the Windows domain password.
11-7
To add users from a Windows domain to FactoryTalk View 1. Open the Runtime Security editor, and then click the RSView 3.20 and earlier tab. 2. On the Setup menu, click Windows Security Options.
3. In the Windows Security Options dialog box, specify the users and groups to use. For details, see Help. 4. In the Runtime Security editor, specify login and logout macros and assign security codes to the users. For details, see Help. You cannot change the user or group name (Account ID) and password. To change the password, use the Windows Control Panel.
11-8
11 Setting up security
If you remove users from the Windows domain, they are not removed automatically from the FactoryTalk View Runtime Security editor. You must remove the users from the Runtime Security editor manually, using the Windows Security Options dialog box.
assign security when you create the graphic display, or at any time after creating the display. assign the same security code to more than one display. assign whichever codes you want, in any order. For example, you can choose to use only the codes D and P and you can assign P before you assign D.
11-9
To assign security to a graphic display 1. In the Graphics editor, right-click an empty area of the display, and then click Display Settings.
2. In the General tab, select a security code. To give every security code access to the display, select the asterisk (*). The * is selected by default. Example: Assigning security codes to prevent access to graphic displays This example shows how to set up users with access to different graphic displays. 1. Assign security codes to graphic displays as follows:
To this display Alarm History Boiler Furnace Top Secret Assign this security code A B C D
11-10
11 Setting up security
2. In the Runtime Security editor, assign the security code P to the DEFAULT user. 3. Assign security codes for the displays they can use to the other users:
To this user MAINTENANCE OPERATOR ADMIN Assign these security codes A, B, C A, B All
MAINTENANCE 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 * or P has been assigned. 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.
Example: Using security codes to control the visibility of the shutdown button This example shows how to set up users so that only authorized users can use the shutdown button to stop the application. This example uses the CurrentUserHasCode security function to determine whether a user is authorized to view and use the shutdown button. The security code E is assigned to users who are authorized to use the button. 1. In the Runtime Security editor, clear all the security codes for the DEFAULT user.
11-11
3. Create a shutdown button. 4. Assign visibility animation to the button using this expression: CurrentUserHasCode( E ) For the Expression True State, click Visible. When the graphic display containing the shutdown button is open, the MAINTENANCE and ADMIN user can see the button. If the OPERATOR or DEFAULT user is logged in, the button is not visible.
Logging in
When the application starts, the DEFAULT user is logged in. If a macro is assigned to the DEFAULT user, the macro runs. For example, you could create a macro to set the remote display number to open a new login display after the DEFAULT user logs in. For information about controlling display changes remotely, see page 8-4. Remote display changes are not checked for security. To provide a way for users to log in 1. Specify the startup display in the Startup editor, in the Initial graphic box. The startup display is the graphic display that opens when your application starts running. The startup display must have the * code or a security code that is assigned to the DEFAULT user, or it will not open. For information about the Startup editor, see Chapter 14.
11-12
11 Setting up security
2. Create a login button in the startup display. For information about creating graphic objects, see Chapter 20. For information about setting up login buttons, see Help. For more information about logging in, see Chapter 17.
Logging out
To best maintain your security system, set up your application so that users who log in are also required to log out. When the current user logs out, if a logout macro is assigned to the user, the macro runs. If the user belongs to a group, and a logout macro is set up for the group, the groups logout macro runs. After the current user is logged out, the DEFAULT user is logged in. If a login macro is assigned to the DEFAULT user, the macro runs. Turn off the DEFAULT users access to the security codes you plan to use. To provide a way for users to log out
Create a logout button in a graphic display that all logged-in users have access to.
11-13
Preventing unauthorized users from stopping the application To prevent unauthorized users from stopping the application
Do not use a title bar on the application window, because the title bar contains a Close button. 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.
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 11-11. Or, 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.
Use the DeskLock tool to prevent users from having access to the Windows desktop. This will prevent access to operating system functions such as restarting Windows or shutting down tasks. For more information, see page 15-17.
To hide the Windows Taskbar 1. On the Windows Start menu select Settings, and then select Taskbar. 2. Clear the Always on top check box. 3. Select Auto hide. 4. When you are finished, click OK. 5. At the Command prompt or in the Run box, run Regflush.exe to save your changes to persistent internal flash memory. Otherwise, the changes will be lost when you reboot.
11-14
11 Setting up security
create FactoryTalk Security users and groups of users, and assign passwords to users. set up access to the FactoryTalk Directory. set up access to the application. assign security access to action groups, policies, groups, and users. set up access to network devices, connections, and databases. specify which users can backup and restore FactoryTalk Directory. specify the types of activities to track for audit purposes. specify policies for passwords and user accounts, such as how often passwords must be changed.
Depending on what other products are installed on the computer, you can also assign security access for those products to your users. For example, you can specify which users are allowed to browse the network for RSLinx Enterprise devices.
11-15
You can assign security to all the folders in the System folder. Set up policies.
Set up access to devices. Add users and groups, and assign passwords. The link symbol indicates Windows-linked groups and users.
11-16
11 Setting up security
Summary of steps
Follow these steps to set up security using FactoryTalk Security and FactoryTalk View security features: 1. In the Explorer window, in the System folder underneath the HMI server, add FactoryTalk Security user groups and users, and set up their passwords. You can also add users and groups in the Runtime Security editor, in the ME Runtime 4.00 and later tab, as described on page 11-5. 2. Assign user access to the computers FactoryTalk Directory. 3. If desired, restrict access to the application and to networks and devices. You can also restrict security access to policies, user groups, and users. 4. Set up policies for:
backing up and restoring FactoryTalk Directory. tracking activities for audit purposes. passwords and user accounts.
5. In the Runtime Security editor, add FactoryTalk Security users or user groups to FactoryTalk View, and assign login and logout macros and security codes to them. 6. In the Graphics editor, assign security codes to graphic displays that will have limited access. 7. Provide users with a method for logging in and out. 8. If desired, prevent unauthorized users from stopping the application. These steps are described in detail in the following sections. You can also assign security to action groups, connections, and databases. These topics are not discussed in this chapter. For information about these topics, see the FactoryTalk Security help.
11-17
The FactoryTalk Security access you give to users determines what actions they can perform in FactoryTalk View, both on the development computer and at run time.
To do this Open applications Add and edit applications or components Delete applications or components Assign security and create users Allow these Common actions Read and List Children Write and Create Children Delete Create Children and Configure Security
You can assign different permissions to users at different levels of the application. Inheriting permissions The security you set up at the top level, the FactoryTalk Directory, is inherited by the application and users below it, unless you select Do not inherit permissions. One way to set up security is to assign the Read and List Children permissions to the All Users group at the FactoryTalk Directory level, and then assign permissions for writing, creating children, configuring security, and deleting to users and groups at the application level.
If you deny permission for an action to a user, this overrides permission the user is granted as a member of a group. If you deny permission for an action to a group, allowing the action to a member of the group does not override the denial. The denial always takes precedence.
To set up users 1. In the System folder, right-click Users, and then click New User or New WindowsLinked User. 2. Specify the user name, password, and password options. For details, see Help. 3. Right-click Users, and then click Security. 4. Specify what actions the users can perform. For details, see Help. 5. To add users to a group, right-click the group and then click Properties. For details, see Help. To change user passwords 1. In the Users folder, right-click the user name, and then click Properties. 2. Click Reset Password. For details, see Help. Users can change their password at run time using the Password button. For more information, see page 17-4.
11-18
11 Setting up security
FactoryTalk Security allows you to use groups that have already been set up in Windows. These are called Windows-linked groups. The link symbol in the Explorer window indicates that a group is a Windows-linked group. FactoryTalk Security comes with an Administrators group already set up. To start with, members of this group have full security access to FactoryTalk Security, and therefore have full access to your applications. The user you set up for FactoryTalk Local Directory when you installed FactoryTalk Services Platform is a member of the Administrators group.
To ensure that you are never locked out of FactoryTalk Directory we recommend that you assign more than one user to the Administrators group. That way if one user is locked out, you can use the other one to log in.
To set up user groups 1. In the System folder, right-click User Groups, and then click New User Group or New Windows-Linked User Group. 2. Add user groups. You can add members to the groups now or later. For details, see Help. 3. Right-click User Groups, and then click Security. 4. Specify what actions members of the group can perform. For details, see Help. 5. To add members to the group later, right-click the group and then click Properties. For details, see Help.
11-19
level by assigning different permissions to applications and to the items in the System folder. You can assign permissions for actions related to FactoryTalk View applications and tags here or at the application level. If you assign them here, they are inherited by all applications. To set security permissions for the FactoryTalk Directory 1. At the top of the tree in the Explorer window, right-click Local, and then click Security. 2. Specify which users and groups have access to FactoryTalk Directory, and assign permissions to users and groups for the actions listed in the dialog box. For details, see Help.
11-20
11 Setting up security
To set up security access to networks and devices 1. In the System folder, right-click Networks and Devices, the development computer workstation, or a specific device, and then click Security. 2. Specify which groups and users have access to the item, and what actions they can perform. For details, see Help.
Specifying which users can back up and restore FactoryTalk Directory and FactoryTalk View applications
You can allow users or groups of users to back up and restore the contents of the local FactoryTalk Directory, including applications, users, groups, and all security settings. Users must have permission to back up and restore FactoryTalk Directory to use the Application Manager tool to back up and restore applications. For information about using the Application Manager, see page 4-10. To specify which users can back up and restore FactoryTalk Directory and FactoryTalk View applications 1. In the System Policies folder, double-click User Rights Assignment. 2. Set permissions for users. For details, see Help.
11-21
Single sign-on You can also use the Security Policy to turn off FactoryTalk single sign-on. If you turn this feature off, users must log into FactoryTalk each time is FactoryTalk View Studio restarted. When the feature is on, if you shut down FactoryTalk View Studio and restart it without restarting your computer, you remain logged in to FactoryTalk and are not prompted to log in again. To specify how to manage passwords, user accounts, and FactoryTalk sign-on 1. In the System Policies folder, double-click Security Policy. 2. Set up options for accounts, passwords, and single sign-on. For details, see Help.
11-22
11 Setting up security
Does this Opens the Main Menu graphic display. Shuts down the application.
8. Set up the goto display button in the Log In display to open the Main Menu display. If desired, attach visibility animation to the goto display button, so that only logged-in users can see the button. For more information, see the example on page 11-24. 9. Attach visibility animation to the shutdown button, so that only authorized users can see (and therefore use) the button. For more information, see the example on page 11-24. 10. Specify captions for the buttons, and add explanatory text to the graphic display. If desired, attach visibility animation to the text as well. 11. In the Display Settings dialog box, assign the security code * to the Log In display. 12. In the Startup editor, in the Initial graphic box, select the Log In 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 the Log In display to log out.
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.
You can also use the Remote Display Number connection 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. If you use the auto logout feature, you can specify that the Log In display is opened when an auto logout occurs.
For more information about Using the Project Settings editor Attaching animation to graphic objects Setting up display navigation Using the Startup editor See Chapter 4 Chapter 22 Chapter 13 Chapter 14
11-23
See Chapter 15
Example: Assigning visibility animation to the goto display button This example shows how to assign visibility animation to the goto display button so that a user must log in before seeing the button. This example uses the security function CurrentUserName( ). The function returns the string value of the Account ID (user name) for the user who is currently logged in. The CurrentUserName( ) function is case sensitive. All RSView 3.20 and earlier user names use uppercase letters. When the application starts, the DEFAULT user is logged in. The DEFAULT user is also logged in when a user logs out. To assign visibility animation to the goto display button 1. Right-click the goto display button, select Animation, and then click Visibility. 2. In the Animation dialog box, in the Expression box, type this: CurrentUserName( ) <> DEFAULT 3. For the Expression True State, click Visible. 4. Click Apply.
Example: Assigning visibility animation to the shutdown button This example shows how to assign visibility animation to the shutdown button so that only the ADMIN user can stop the application. To assign visibility animation to the shutdown button 1. Right-click the shutdown button, select Animation, and then 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.
11-24
11 Setting up security
Example: Assigning visibility animation to the shutdown button This example shows how to assign visibility animation to the shutdown button so that only users assigned code G or code H can stop the application. To assign visibility animation to the shutdown button 1. Right-click the shutdown button, select Animation, and then click Visibility. 2. In the Animation dialog box, in the Expression box, type this: CurrentUserHasCode(GH) 3. For the Expression True State, click Visible. 4. Click Apply.
11-25
11-26
what language switching is. summary of steps for setting up language switching. setting up Windows to support language switching. adding languages to the application. exporting application text strings for translation. translating application text. importing translated text files. setting up multiple language support for graphic libraries.
develop an application in one language, export the user-defined text strings for the application, and then import translated strings for up to 40 languages into the same application. export an applications text strings in multiple languages into a single Microsoft Excel spreadsheet. import text strings in multiple languages from a Microsoft Excel spreadsheet into your application in a single operation. use the same application in different countries, allowing operators in each location to view the application in their own language. allow operators in multilingual countries to use the language of their choice.
12-1
import application components developed in different countries into a single application that supports multiple languages.
12-2
2. Select the language to use for the default language. 3. Click Set As Default. A large checkmark to the left of the selected language indicates that it is now the default language. 4. To use this language for all undefined strings in the application, select Display undefined strings using the default language.
Summary of steps
Follow these steps to set up language switching for an application: 1. For applications that will run on a personal computer, install the Windows languages that the application will use. 2. For applications that will run on a PanelView Plus or PanelView Plus CE terminal, set up the fonts that the application will use. 3. Create, open, or import the application in the language of your choice. For details, see Chapter 4. 4. Add languages to the application. For details, see page 12-5. 5. Create graphic objects and specify the text strings that they will use.
12-3
6. Create alarm, information, and local messages. 7. Create a language switch button for each language you plan to use at run time. For details, see Help. 8. Export the application text strings for translation. For details, see page 12-6. 9. Translate the text strings. For details, see page 12-9. 10. Import translated text strings for each of the translation languages. For details, see page 12-13. 11. Open the application in each language, to check the layout of the translated text. 12. Create the run-time application, specifying the startup language and the languages that the operator can switch to. For details, see Chapter 14.
12-4
12-5
Removing languages
You can also use the Language Configuration dialog box to remove languages. When you remove a language, all the strings for the language are deleted the next time you save the application. Saving a component deletes strings for the removed language from the component.
one language at a time, saving the text in a tab-delimited text file in Unicode format. The file can be translated and then imported back into the application. all languages at once, exporting into a single Microsoft Excel spreadsheet. The strings in the spreadsheet can be translated and then imported back into the application.
These text strings allow language switching and are exported for translation:
display titles for On Top displays (defined in the Display Settings dialog box) text graphic objects captions that you define for graphic objects, including objects in global object displays alarm, local, and information messages alarm trigger labels embedded time, date, and numeric variables
Undefined strings are exported as undefined strings, regardless of whether you select the option in the Language Configuration dialog box to display undefined strings using the default language. That option is used only for displaying strings during application development and at run time. It does not substitute the default languages strings for undefined strings in the exported file or spreadsheet.
text descriptions and error messages for the Change Password window. These strings are exported if you use a password button in your application.
You can translate these strings, but you cannot change their language dynamically at run time the way you can for graphic object strings. For the Change Password window, the run-time application will use the strings that are in the application when the run-time application is created. For example, if the current application language is French, and you have imported French text strings for the Change Password window, then the French strings will be compiled in the run-time application. If
12-6
the operator opens the window, the strings will be displayed in French. If the operator changes to another language, the strings will still be displayed in French. Unicode file name format The format for the exported Unicode text file name is <ApplicationName><HMIServerName><RFC1766>.txt, where:
<ApplicationName> is the name of the application. <HMIServerName> is the name of the HMI server containing the text strings you exported. This is always the same name as the application name. <RFC1766> is the RFC1766 name associated with the language selected for the export operation.
For details about the schema of exported Unicode text files, see page 12-11. For a list of Windows languages and the corresponding RFC1766 names, see page F-1.
Optimizing duplicate strings When you export text to an Excel spreadsheet, you have the option of optimizing duplicate strings. FactoryTalk View analyzes the text and indicates repeated instances of the same string using a reference number. This way the translator only needs to translate the text once. When you import the translated strings from the spreadsheet into the application, FactoryTalk View copies the translated string into all the graphic objects that used the string originally.
<ApplicationName> is the name of the application. <ExportVersion> is an incremental number assigned to each successful export operation.
For details about the schema of exported spreadsheet files, see page 12-9. For a list of Windows languages and the corresponding RFC1766 names, see page F-1.
12-7
Problems exporting
You do not have to check every text file created during an export to verify that text strings were exported correctly. If errors occur, or if you cancel the export while it is in progress, a message appears in the Diagnostics List, and in the FactoryTalk Diagnostics log file. In addition, errors are displayed when they occur in a log file called ExportErrors.txt, which is saved at this location: C:\Documents and Settings\All Users\Shared Documents\RSView Enterprise\Strings (Windows XP or Windows Server 2003 R2) or C:\Users\Public\Public Documents\RSView Enterprise\Strings (Windows Vista,Windows 7 Professional or Windows Server 2008) Existing error log files are overwritten for each subsequent export operation that generates errors.
12-8
If you select the option to optimize duplicate strings, there is a reference column to the left of each language column. Do not change the information in the reference columns.
12-9
12-10
Double quotes surrounding the string definitions are removed for most strings. String definitions containing embedded double quotes or other characters that Excel treats as special characters, such as commas, are enclosed within double quotes. Any embedded double quotes are converted to a pair of double quotes.
File schema
Comments The text file uses the # symbol as a comment delimiter if it is the first character on a line. Header The first seven lines of the text file contain header information that must not be translated or modified. Body The body of the text file starts on line eight, and includes the following columns:
Column Example Component type Graphic Display Component name Pump station String reference 1 String definition Stop motor
The file is sorted alphabetically by component name, and then numerically by string reference number. Each string reference number refers to a different object in the component. In the example shown above, string reference 1 might refer to a momentary push button in the graphic display called Pump station.
12-11
The string definition is enclosed in quotes in Notepad, but not in the spreadsheet column in Excel. In the translated text file, the only text that can be modified is the text inside the quotation marks in the string definition column. For example, translated into German, the file would contain these changes:
Column Example Component type Graphic Display Component name Pump station String reference 1 String definition Motor abschalten
Do not change the entries in the component type or component name columns, unless the component was renamed in the application after the text was exported.
Do not modify the string reference number. The string reference number is a unique number that is assigned to an object by FactoryTalk View. Modifying the string reference number prevents FactoryTalk View from identifying the object correctly when you import the text.
12-12
Motor\nStopped
appears in the application as:
Motor Stopped
To make the characters \n appear as part of the text, type \\n.To make a backslash appear in the application, type two backslashes (\\). Importing text containing multiple backslashes If the imported text file contains an odd number of backslashes next to each other, one of the backslashes will be ignored. For example, the string:
Seven\\\Eight
is imported into the application as:
Seven\Eight
Importing text
You can import text strings saved in Unicode text format or in Microsoft Excel spreadsheet format. If your text strings are in Microsoft Excel spreadsheet format, only text strings that exist in the spreadsheet are imported. This means that existing strings in the application are not deleted during the import if they are not in the spreadsheet. Back up the text in your application before importing. You can do this by exporting the text.
Save the backup file in a different location than the translated file you are about to import.
To import text into your application from a text file 1. On the Tools menu, click Languages. 2. In the Language Configuration dialog box, select the application language for which to import text strings.
12-13
If you are going to import strings for multiple languages defined in an Excel spreadsheet, it does not matter which language is selected in the Language Configuration dialog box. 3. Click Import. 4. Follow the instructions in the String Import Export Wizard. For details about options in the String Import Export wizard, click Help. If you cancel the import before it is complete, any text strings that were changed are not restored to their original values. To restore the text that was originally in the application, import the text from the backup file you created.
Problems importing
You do not have to check every graphic display in your application to verify that text was imported correctly. If errors occurred while importing text, they are displayed automatically from a log file called ImportErrors.txt in the following folder:
C:\Documents and Settings\All Users\Shared Documents\RSView Enterprise\Strings (Windows XP or Windows Server 2003 R2) or C:\Users\Public\Public Documents\RSView Enterprise\Strings (Windows Vista,Windows 7 Professional or Windows Server 2008) Each time errors occur while importing text into an application, the ImportErrors.txt file is overwritten. If errors occurred while importing text, or if the import was canceled, a message appears in the Diagnostics List, and in the FactoryTalk Diagnostics log file.
Canceling importing
If some, but not all, of the text in an application seems to have been modified, the import might have been canceled. If you cancel the import before it is complete, any text strings that were changed are not restored to their original values. To restore the text originally in the application, import the text from the backup text file you created before importing.
when you add the graphic library into the Displays folder, all strings, including strings for languages that are not supported by the application, are included with the display. if you copy an object from the graphic library into a graphic display, only strings for languages supported by the application are copied.
For more information about using graphic libraries, see Chapter 19.
12-15
12-16
what display navigation is. developing a hierarchy of displays. testing display navigation. using graphic objects to navigate. controlling display changes remotely.
This chapter describes methods for navigating between graphic displays. For information about navigating between objects in a graphic display, see page 21-7.
Develop a hierarchy of graphic displays, to chart how users will navigate the application. Determine which users will have access to which parts of the application. Create graphic objects that the operator can use to navigate the application. Use the Remote Display Number connection to automatically control display changes. The use of this connection is optional. Assign it in the Global Connections editor. In the Startup editor, specify the graphic display to open when the application starts. 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 11.
13-1
an initial graphic display for logging in. a graphic display that serves as a menu. an overview of the plant. a comprehensive display of each process being monitored. process-specific displays that provide more detail. management summary displays. trend displays of historical and current data.
13-2
A graphic display contains no buttons for moving forward or back. When a graphic display closes, no other display is open and there is no way to continue using the application.
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 Help.
Switching languages
If the application uses multiple languages and operators will be switching languages at run time, place language switch buttons in a display that the operators have access to. For example, put the buttons in the display that opens when the operators log in. Create a language switch button for each language that the operators will be using. For more information about setting up multiple languages, see Chapter 12.
13-3
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 more information about display types, see page 19-12.
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.
13-4
the display change is currently controlled remotely (using global connections). there were no previously opened Replace displays. the operator does not have security access for the previous display. This can only occur if a new user logs in using a login button in the current display.
The return to display button only goes back to the most recent display. It doesnt go back through a series of displays. For information about setting up return to display buttons, see Help. 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. Example: Navigating through displays This example uses the display hierarchy illustrated on page 13-2, and shows what happens as the operator navigates through the hierarchy. The graphic displays are all Replace displays. 1. In the Main Menu display, the operator uses a display list selector to open the Process Overview display. 2. In the Process Overview display, the operator presses a goto display button to open the Process Monitoring 1 display. 3. After viewing the state of the process, the operator presses a return to display button to close the current display and reopen the Process Overview display.
13-5
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.
13-6
How display types affect the selectors behavior 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). 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 21-8. For information about linking buttons to the display list selector, see page 21-9.
Shutdown buttons
When the operator presses the shutdown button at run time, the application stops and FactoryTalk View ME Station closes. To prevent an unauthorized user from stopping the application, assign visibility animation to the shutdown button. For details, see page 11-14. Or, place the button in a display that only authorized users have access to. For information about setting up shutdown buttons, see Help.
13-7
to apply parameters to the displays that are opened from the data source, to close one or more On Top displays from the data source, to print graphic displays from the data source, to run macros from the data source, to control the date and time displayed on the run-time terminal, to set the intensity of PanelView backlights, and to monitor run-time RAM usage. For more information about global connections, see Chapter 8.
13-8
specifying startup settings. testing your application. creating run-time application files. converting run-time application files to development applications.
For detailed information about the options in the Startup editor, see Help.
14-1
2. If your application uses multiple languages, specify the languages to include and the initial run-time language, and then press Finish. For details, see Help. 3. Test your application. 4. To stop your application, press a shutdown button, or type the character x. 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 15-5. 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.
14-2
If the application contains features that are not supported by the version you select, FactoryTalk View displays a validation report that lists the unsupported features. The runtime application file is not created. You must remove or turn off the unsupported features before you can create the run-time application file. For information about the features supported in different versions of FactoryTalk View, and how to remove or replace them, see Appendix G.
PanelViewPlus 400/600 terminals only support run-time projects (.mer) created for version 5.1 and earlier. PanelViewPlus Compact 400/600/1000 with a screen size of 640 x 480 or 320 x 240 only support run-time projects (.mer) created for version 5.1.
For FactoryTalk View version 5.00 and later .mer files, you can convert the run-time .mer file back to a development application (.med file). This option is useful if: you lose or dont have access to the original .med file and you need to make a change to the application. you make changes to the .mer file at run time, such as adding passwords, updating RSLinx Enterprise device shortcuts, or saving recipes, and you need to make a change to the application but dont want to lose this run-time information.
14-3
you need to extract information that was generated at run time, such as updated RecipePlus files. .
Version 6.0 or earlier .mer files created on a 64-bit operating system are not allowed to be converted to MED files. So if you are creating a version 6.0 or earlier .mer file on a 64-bit operating system, never allow a conversion that is the default and only choice under the Conversion to development application frame.
When you create the .mer file, you can specify whether or not to allow conversion of the run-time .mer file, and whether to require a password to convert the run-time application. For more information about converting .mer files to development applications, see page 14-7.
14-4
To create a run-time application 1. In FactoryTalk View Studio, with the application open, on the Application menu, click Create Runtime Application.
2. Specify the folder and file name for the run-time application. 3. In the Save as type box, specify the version of FactoryTalk View ME Station for which to create the .mer file. 4. For version 5.00 and later .mer files, if you dont want to allow the run-time application to be converted to a development application, click Never allow conversion. 5. For version 5.00 and later .mer files, if you require that the user enter a password to convert the application, click Conversion protected by password. Type the password in the two boxes.
14-5
The password can be up to 100 characters long. The password is case sensitive. 6. Version 6.0 or earlier .mer files created on a 64-bit operating system are not allowed to be converted to .med files. So if you are creating a version 6.0 or earlier .mer file on a 64-bit operating system, never allow a conversion that is the default and only choice under the Conversion to development application frame. 7. Click Save.
8. If your application uses multiple languages, specify up to 20 languages to include in the run-time application, specify the initial run-time language, and specify the language to use for alarm trigger labels and alarm, information, and local messages in FactoryTalk View 4.00 run-time applications. For details, see Help. This wizard is not displayed if your application uses only one language. To display undefined strings in the default language at run time, include this language in your selection. The default language is also required for filtering alarms. For more information about the default language, see page 12-2. 9. Click Finish. For information about transferring the run-time application:
14-6
to a personal computer, see Chapter 15. to a PanelView Plus or PanelView Plus CE terminal, see Chapter 16.
14-7
To convert a run-time application to a development application 1. In FactoryTalk View Studio, on the Tools menu, click Application Manager. 2. When prompted to select the application type, click Machine Edition, and then click Next. 3. Click Restore runtime application, and then click Next.
4. Specify the folder and file name of the run-time application to convert. 5. To restore the run-time applications FactoryTalk Local Directory to the development computer, click Restore the runtime application and FactoryTalk Local Directory. 6. If you created a password for the file when you created the run-time application, type the password. 7. Click Next. 8. Type a name for the converted application, and then click Finish.
14-8
moving applications to the run-time computer. starting FactoryTalk View ME Station. loading and running applications. shutting down applications. editing device short cuts. looking up contact information for technical support. setting up FactoryTalk Diagnostics at run time. setting up serial ports for KEPServerEnterprise. setting up RSLinx Enterprise communication drivers. specifying the printers to use at run time. specifying startup options for FactoryTalk View ME Station. deleting log files on the run-time computer. specifying the time, date, and number formats to use at run time. using the DeskLock tool.
Summary of steps
Follow these steps to:
install the necessary hardware and software on the run-time computer. transfer your Windows 7 Professional, Windows XP Professional, Windows Server 2003 R2, Windows Vista, or Windows Server 2008 application to the run-time computer. set up options in FactoryTalk View ME Station.
For information about installing FactoryTalk View ME Station, see the FactoryTalk View Machine Edition Installation Guide.
15-1
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 15-10. 2. If you are using RSLinx Enterprise, set up communications as described in Chapter 5. 3. If you are using RSLinx Classic as the OPC server on the run-time computer, install RSLinx Classic on the run-time computer. 4. If you are using RSLinx Classic on a remote computer, install RSLinx Classic on the remote computer. 5. If you are using an OPC server other than RSLinx Enterprise or RSLinx Classic, 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. 6. If your application uses third-party ActiveX objects, install and register the Windows 7 Professional, Windows XP Professional, Windows Server 2003 R2, Windows Vista, or Windows Server 2008 version of the objects on the run-time computer. For information about ActiveX objects, see page 20-21. 7. Install on the run-time computer all languages used by the run-time application. 8. 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 15-17. 9. If desired, use the DeskLock tool to prevent users from switching to another software application or using the Windows desktop at run time. For more information, see page 15-17. Transferring the application
Move the application to the run-time personal computer. For more information, see page 15-3.
Setting up options in FactoryTalk View ME Station 1. On the run-time computer, start FactoryTalk View ME Station. For more information, see page 15-4.
15-2
2. Load the application. For more information, see page 15-4. 3. Edit device shortcuts, if necessary. For more information, see page 15-6. 4. Set up FactoryTalk Diagnostics on the run-time computer (if you have not already done so). For more information, see page 10-6. 5. If you will be using KEPServerEnterprise, specify serial port IDs. For more information, see page 15-8. 6. If you will be using RSLinx Enterprise, set up communication drivers (if you have not already done so). For more information, see page 15-9. 7. Specify the printers to use. For more information, see page 15-10. 8. Specify startup options for FactoryTalk View ME Station. For more information, see page 15-12. Once youve completed these steps, youre ready to run the application. For information about running your application, see Chapter 17.
copy the application file from the development computer to removable media such as USB thumb drive, USB hard drive, or a floppy disk, and then from the removable media to the run-time computer. If the application file is too large for the removable media, use a larger capacity removable media. if the development and run-time computers are on the same network, use Windows Explorer or My Computer to move the file.
For information about creating the run-time application file, see Chapter 14.
15-3
On the Windows Start menu, select Programs > Rockwell Software > FactoryTalk View, and then click FactoryTalk View ME Station. The FactoryTalk View ME Station dialog box opens.
For information about specifying startup options for when FactoryTalk View ME Station starts, see page 15-12.
15-4
2. Navigate to the folder containing the applications .mer file, and then click the file name. 3. Click Open. 4. To replace the run-time computers communication settings with the applications communication settings, click Yes. To keep the run-time computers communication settings, click No. You are notified that the applications FactoryTalk System Directory of users and security policies will be loaded on this computer. This is the set of users and policies that have been set up for the application and are contained in the .mer file. The computers existing FactoryTalk System Directory will be archived, and will be restored when you stop the application. To turn off this warning, see page 15-16. 5. To continue, click Yes. To stop loading the application, click No. If you continue, the application name is displayed in the Current application box in the FactoryTalk View ME Station dialog box. 6. To run the application, click Run Application. The DEFAULT user is logged in. If a macro is assigned to the DEFAULT user, the macro runs.
15-5
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-15. For information about preventing unauthorized users from shutting down applications, see page 11-14.
if you assigned a shutdown macro (in the Startup editor), the macro runs, assigning values to tags, and then the application stops. For information about the Startup editor, see Chapter 14.
FactoryTalk View ME Station closes. The computers FactoryTalk System Directory is restored.
15-6
4. In the Edit ShortCuts dialog box, click the device you want the shortcut to point to, and then click OK.
15-7
2. Double-click About FactoryTalk View ME Station. 3. Click Technical Support. The telephone number and URL for technical support are displayed.
15-8
4. In the Kepware Serial Port IDs dialog box, click the serial port ID you specified when you set up the KEPServerEnterprise channel. 5. Click Edit Port. 6. In the Communication Ports dialog box, click the COM port to use for KEPServerEnterprise communications.
15-9
4. To edit a driver, select it and then click Edit Driver. 5. To edit a device, select it and then click Edit Device. For information about setting up RSLinx Enterprise drivers and devices, see the RSLinx documentation. Once the driver is set up, FactoryTalk View ME Station automatically starts the driver software when you run the application.
15-10
4. Click Printer.
15-11
5. Modify the print options as required. For detailed information about printer options, refer to your Windows documentation.
run an application. load an application. automatically delete an applications log files before running the application. replace RSLinx Enterprise communications on the run-time computer with the applications settings.
By default, the option to start FactoryTalk View ME Station when Windows starts is turned off. The settings in this section apply only if you want FactoryTalk View ME Station to start automatically when Windows starts. To start FactoryTalk View ME Station and run an application when Windows starts 1. In the FactoryTalk View ME Station dialog box, load the application that you want to run. For details, see page 15-4. 2. Click Terminal Settings. 3. Double-click FactoryTalk View ME Station Startup.
15-12
4. Click Run Current Application. This option is not available if you have not loaded an application yet. 5. Click Run Options.
15-13
6. Specify whether to replace the RSLinx Enterprise communication settings on the runtime computer with the applications settings when the application starts. 7. Specify whether to delete the applications log files on startup. To start FactoryTalk View ME Station without running an application when Windows starts 1. In the FactoryTalk View ME Station dialog box, click Terminal Settings. 2. Double-click FactoryTalk View ME Station Startup.
15-14
5. Specify whether to load the current application when FactoryTalk View ME Station starts. This option is not available if you have not loaded an application. 6. Specify whether to replace the RSLinx Enterprise communication settings on the runtime computer with the applications settings when the application starts. This option is not available if you have not loaded an application. Using Windows 7 Professional or Windows Vista or Windows Server 2008 with ME Station In order to deploy a HMI system on Windows 7 Professional, Windows Vista or Windows Server 2008, one of the following options needs to be selected:
The operator will need to log into Windows as a member of the Administrators group. The operator can then use MEStation for Windows. An administrator can disable the UAC. This allows a Windows user that is a member of the Users group to use ME Station for Windows. An operator that is a member of the Users group who knows an Administrators password, and can provide authentication when UAC prompts, can use ME Station.
This allows the operator to load and run an MER as well as configure ME Station for Windows using the Graphical User Interface.
15-15
In the FactoryTalk View ME Station dialog box, click Yes beside the Delete Log Files Before Running button.
All alarm and data log files for the loaded application are deleted. To delete log files for all applications on the run-time computer 1. In the FactoryTalk View ME Station dialog box, click Terminal Settings. 2. Double-click Delete Log Files. 3. Click Yes. Log files for data log models that use the default path are deleted. All alarm log files are deleted.
15-16
numeric display gauge time and date display trend alarm banner alarm list
The time and date formats are also used when printing the alarm history report (using the print alarm history button). The numeric and time and date embedded variables also use number, time, and date formats. All objects use the time, date, and number formats of the current application language. For example, if the application language uses a comma for the decimal symbol, numeric variables use a comma for the decimal symbol. For information about using multiple languages, see Chapter 12.
On the Windows Start menu, select Programs > Rockwell Software > FactoryTalk View > Tools, and then click DeskLock.
For details about using the tool, see the tools Help.
15-17
15-18
starting FactoryTalk View ME Station. setting up communication drivers to use to transfer applications to a PanelView Plus CE. PanelView Plus or PanelView Plus 6 terminal. transferring applications and TrueType fonts to PanelView Plus,PanelView Plus CE or PanelView Plus 6 terminals. uploading applications from a terminal to the development computer. comparing applications on the development computer with applications on the terminal.
For information about using your application at run time, see Chapter 17. For information about using FactoryTalk View ME Station on the terminal, including setting up communications, printers, and input devices, see the PanelView Plus Terminals User Manual.
Summary of steps
Follow these steps to:
install hardware and software on a PanelView Plus, PanelView Plus CE or PanelView Plus 6 terminal. transfer your application to the PanelView Plus, PanelView Plus CE or PanelView Plus 6 terminal.
For information about installing FactoryTalk View ME Station, see the FactoryTalk View Machine Edition Installation Guide. Installing hardware and software on a PanelView Plus terminal 1. If you will be printing displays, alarms, reports, or diagnostics messages, connect a printer to the USB or Network port. PanelView Plus terminals support printing using the Microsoft Windows CE PCL3 printer driver, which is already installed on the 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.
16-1
2. If you are using an OPC server other than RSLinx Enterprise, for example, KEPServerEnterprise, install the OPC server software on the terminal. For installation information, see the documentation supplied by your OPC server vendor. For information about OPC data servers, see Chapter 5. 3. If your application uses third-party ActiveX objects, install and register the Windows CE version of the objects on the terminal. For information about ActiveX objects, see page 20-21. Installing printers on a PanelView Plus terminal
If you will be printing displays, alarms, reports, or diagnostics messages, connect a printer to the USB or Network port. PanelView Plus terminals support printing using the Microsoft Windows CE PCL3 printer driver, which is already installed on the 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.
The PanelView Plus terminal is a closed box, which means you must order any software your application will need when you order the system. All software comes pre-installed. Installing hardware and software on a PanelView Plus 6 terminal 1. If you will be printing displays, alarms, reports, or diagnostics messages, connect a printer to the USB or Network port. PanelView Plus 6 terminals incorporates the JETCET PRINT solution for Microsoft Windows CE devices, supporting select Canon, Epson, Hewlett-Packard, and Brother printers. Plug-and-play installation is supported for these printers as well as manual installation if a suitable JETCET print driver is available. 2. If you are using an OPC server other than RSLinx Enterprise, for example, KEPServerEnterprise, install the OPC server software on the terminal. For installation information, see the documentation supplied by your OPC server vendor. For information about OPC data servers, see Chapter 5. 3. If your application uses third-party ActiveX objects, install and register the Windows CE version of the objects on the terminal. For information about ActiveX objects, see page 20-21. Installing printers on a PanelView Plus 6 terminal
If you will be printing displays, alarms, reports, or diagnostics messages, connect a printer to the USB or Network port.
16-2
PanelView Plus 6 terminals incorporates the JETCET PRINT solution for Microsoft Windows CE devices, supporting select Canon, Epson, Hewlett-Packard, and Brother printers. Plug-and-play installation is supported for these printers as well as manual installation if a suitable JETCET print driver is available. Print support is centrally managed and independent of the application.You can add and configure a new printer from the desktop control panel. Printer configurations include the printer name, printer driver, port, and port-specific parameters. New configurations are retained through a power cycle. Transferring applications 1. On the PanelView Plus, PanelView CE or PanelView Plus 6 terminal, start FactoryTalk View ME Station. For more information, see page 16-3. 2. In FactoryTalk View ME Station, if youre transferring via a serial 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 16-4. 3. On the development computer, set up the RSLinx Enterprise driver to use for the transfer. For more information, see page 16-5. 4. Move the application to the PanelView Plus or PanelView Plus 6 terminal using the Transfer Utility tool. For more information, see page 16-6. You can also transfer applications to the terminal using a Flash Card. For information about this method, see the PanelView Plus Terminals User Manual.
On the Windows Start menu, select Programs > Rockwell Software, and then click FactoryTalk View ME Station. The FactoryTalk View ME Station dialog box opens.
16-3
Starting FactoryTalk View ME Station on a PanelView Plus terminal If you are running a PanelView Plus terminal, the FactoryTalk View ME Station dialog box opens automatically when the terminal starts up.
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. You can also transfer applications to the terminal using a Flash Card. For information about this method, see the PanelView Plus Terminals User Manual. To specify and set up a serial driver for the transfer 1. In the FactoryTalk View ME Station dialog box, click Terminal Settings.
16-4
2. Double-click Networks and Communications. 3. In the Networks and Communications dialog box, double-click RSLinx Enterprise Communications.
4. Click the Serial-DF1 driver, and then click Edit Driver. 5. Select Use Auto-Configuration, and then click Edit. 6. In the dialog box that opens, select Yes, and then click OK. Auto configuration works with most devices, including Logix5000 and PLC-5. If auto configuration is not successful for your device, return to these steps, select No, and continue to step 7. 7. Set up the driver, and then click OK. If you are using auto configuration, skip this step.
16-5
For information about setting up drivers in RSLinx Enterprise, see RSLinx Help.
multiple applications (one at a time) to the same run-time computer. a new copy of the application currently running on the run-time computer, for use the next time the application is started.
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 CE, PanelView Plus or PanelView Plus 6 terminal to the PC using the Allen-Bradley serial cable 2711-NC13. To start the Transfer Utility tool On the development computer, do one of the following:
In FactoryTalk View Studio, on the Tools menu, click Transfer Utility. On the Windows Start menu, select Programs > Rockwell Software > FactoryTalk View > Tools, and then click ME Transfer Utility.
16-6
For details about using the utility, see the utilitys Help.
Uploading applications from the PanelView Plus CE, PanelView Plus or PanelView Plus 6 terminal
Use the Transfer Utility to upload your run-time application from the PanelView Plus CE, PanelView Plus or PanelView Plus 6 terminal to the development computer. Run-time applications have the extension .mer. Any password changes that were made while the application was running are saved in the .mer file and will be uploaded.
If the upload process fails or is cancelled, the application file will be deleted from the destination directory. 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 PanelView Plus CE, PanelView Plus or PanelView Plus 6 terminal to the PC using the Allen-Bradley serial cable 2711-NC13. For details about performing the upload, see Help for the Transfer Utility.
16-7
Comparing applications
You can also 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. The comparison tool detects differences using a binary checksum. It is not possible to list individual differences between the files.
16-8
logging in and logging out. changing passwords. entering numeric and string values. changing tag values. viewing tag data. viewing alarms and messages. viewing information about run-time communication errors. changing languages.
For information about navigating between displays, see Chapter 13. For information about navigating between and using the graphic objects in a display, see page 21-4.
When Windows starts, type a user name, password, and domain name.
The PanelView Plus 6, PanelView Plus or PanelView Plus CE terminals can be part of a domain by being added as a computer. This is necessary for authentication and attaching to a network resource. For more information, see Answer ID 65603 in the Rockwell Automation Knowledgebase. On the PanelView Plus 6, PanelView Plus or PanelView Plus CE terminal, logging in caches the user credentials. This gives the terminal access to permissible network resources such as network folders. To authenticate a user on a PanelView Plus 6. PanelView Plus or PanelView Plus CE terminal 1. In the FactoryTalk View ME Station dialog box, click Terminal Settings. 2. Double-click Networks and Communications.
17-1
3. Double-click Network Connections. 4. Double-click Network Identification. 5. Type a user name, password, and domain name, and then click OK.
2. Press the User button, or press F2 on an external keyboard. The string pop-up keyboard opens. For details about using the keyboard, see page 17-11.
17-2
3. Type your user name in the string pop-up keyboard, or on an external keyboard, and then press Enter. For FactoryTalk View 5.00 and later applications and for RSView 4.00 applications, the name is not case sensitive. For RSView 3.20 and earlier applications, the name must use ALL CAPS. 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. For FactoryTalk View 5.00 and later applications and for RSView 4.00 applications, the password is case sensitive. For RSView 3.20 and earlier applications, the password is not case sensitive. 6. To close the Login window and complete the login, press Enter.
If the previous user did not log out, the previous user is logged out now. If a logout macro is set up for the previous user, the logout macro runs, assigning values to tags. If the previous user belongs to a group, and a logout macro is set up for the group, the logout macro runs. The new user is logged in.
17-3
If a login macro is set up for the new user, the macro runs, assigning values to tags. If the new user belongs to a group, and a login macro is set up for the group, the login macro runs.
If the graphic display changes remotely before the user has finished logging in, the login is cancelled. If the user name doesnt match the settings in the Runtime Security editor, the user is not logged in. If the user password doesnt match the password set up in FactoryTalk Security, in the Users folder (4.00 or later applications), or the password set up in the Runtime Security editor (for 3.20 and earlier applications), 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.
Changing passwords
You can use the password button to change your password at run time. Any password changes that are made at run time are saved in the .mer file. When passwords are changed at run time, be sure to change the passwords on the development computer as well. Otherwise, the next time you create the .mer file the password changes will be lost. For version 5.00 and later applications, you can convert the run-time application file to a development application in order to save password changes. For more information, see page 14-7.
If you are logged in to Windows as an Administrator user, you can use the password button to change passwords for Windows-linked users. If you are not logged in as an Administrator user, or if your application is running in Windows CE, the passwords for Windows-linked users must be changed in Windows. For version 3.20 and earlier applications, you cannot change passwords in FactoryTalk View ME Station. To change a password for a FactoryTalk View user, use the Runtime Security editor in FactoryTalk View Studio, then recreate the run-time application and download the .mer file again. To change a password for a Windows user, use the Windows Control Panel.
17-4
To change your password 1. Press the password button. The Change Password window opens.
2. Press the Old Password button, or press F2 on an external keyboard. The string pop-up keyboard opens. For details about using the keyboard, see page 17-11.
3. Type your old password in the string pop-up keyboard, or on an external keyboard, and then press Enter. The password is case sensitive.
17-5
4. Press the New Password button, or press F3 on an external keyboard. 5. Type the new password in the string pop-up keyboard, or on an external keyboard, and then press Enter. 6. Press the Confirm Password button, or press F4 on an external keyboard. 7. Type the new password again, and then press Enter. 8. To close the Change Password window and complete the change, press Enter.
Logging out
When the current user logs out, if a logout macro is assigned to the user, the macro runs. If the user belongs to a group, and a logout macro is set up for the group, the logout macro runs. After the current user is logged out, the DEFAULT user is logged in. If a login macro is assigned to the DEFAULT user, the macro runs. You can also set up the application to automatically log out the current user after a specified period of inactivity. For more information, see page 11-13. To log out
17-6
numbers from 0 to 9 the minus sign ( - ) or decimal point ( . ) the Enter key, or an enter button 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.
17-7
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.
17-8
To do this 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.
When the tag assigned to the Value connection is an integer tag, but the ramp value is a floating point value, the ramp value is added to (or subtracted from) the Value connection value, and then the result is rounded and written to the Value connection. For information about how values are rounded, see page 7-2.
If the operator presses and holds down the move up or move down button, or the Up Arrow or Down Arrow key on the keyboard or keypad, the button or key goes into auto repeat mode. The ramp value is added to (or subtracted from) the last value sent to the Value connection. For more information about auto repeat mode, see page 21-12.
If ramping the button or cursor point would cause the value at the Value connection to exceed the maximum value, or be less than the minimum value, a message is written to the Diagnostics List and the value at the Value connection is not changed.
The value the operator enters is compared to the minimum and maximum range for the object. If the value is within the range, the value is written to the Value connection. If the Optional Expression connection 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 connection.
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 connection (or substituted for the ? in the Optional Expression).
17-9
If the decimal point type is Implicit, and the tag assigned to the Value connection uses an integer data type, floating-point values are rounded. If the Optional Expression connection 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.
If the graphic display changes remotely before the user has pressed the Enter button, the pop-up window closes without writing out a value. If the screen resolution is smaller than 124 pixels wide by 240 pixels high, the pop-up keypad cannot open. If the screen resolution is smaller than 124 pixels wide by 68 pixels high, the pop-up scratchpad cannot open. If the value is too large for the data type of the tag assigned to the Value connection, the pop-up window remains open and the value is not written to the connection. The scratchpad area changes to red to alert the operator of the error. If the value is outside the minimum and maximum range specified for the object, the pop-up window remains open and the value is not written to the connection. 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 connection.
17-10
Scratchpad area
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. When the keyboard is open, no other objects in the graphic display can accept input.
17-11
Scratchpad area
If the operator opens the string pop-up character input by pressing a string input enable button, the number of characters the input accepts depends on how you set up the button. To use the string pop-up character input on a personal computer 1. In FactoryTalk View Studio, on the Tools menu, select Options. 2. Click the String Pop-Up tab. 3. Select Use the string pop-up character input. To use the string pop-up character input on a PanelView Plus 6. PanelView Plus or PanelView Plus CE terminal 1. In FactoryTalk View ME Station, click Terminal Settings. 2. Double-click Input Devices. 3. Select String Pop-Up, and then click Enter. 4. Specify whether to invoke the pop-up character input instead of the pop-up keyboard, and then click OK.
17-12
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.
To do this 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. Close the pop-up window without writing the string to the Login dialog box, the Change Password dialog box, or the string input enable buttons Value connection. Clear the scratchpad.
CLR
Delete
17-13
To do this Delete the character in front of the cursor. Close the pop-up window and write the string to the Login dialog box, the Change Password dialog box, or the string input enable buttons Value connection. If Enter key handshaking is set up for the string input enable button, the buttons Enter connection is set to 1 and the handshaking timer begins timing. For details, see page 21-12.
If a fill character is set up for the button, and the operator enters fewer than the maximum number of input characters, the fill characters are placed after the string the operator enters.
Spaces have a hex value of 20. Zeroes have a hex value of 30. FF characters have a hex value of FF. Null characters have a hex value of 0. The null character indicates the end of string input. It does not add to the actual string length.
If the number of input characters is fewer than the number of characters in the length of the string tag assigned to the Value connection, the remaining spaces are padded with the null character.
When the string is written to the Value connection, 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.
17-14
If the graphic display changes remotely before the user has pressed the Enter button, the pop-up window closes without writing out a string. If the screen resolution is smaller than 236 pixels wide by 208 pixels high, the pop-up keyboard cannot open. If the screen resolution is smaller than 236 pixels wide by 44 pixels high, the pop-up scratchpad cannot open. If the string pop-up window is set up to accept more characters than the Value connection tag length, the pop-up window remains open and the string is not written to the connection. 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 connection.
You can also use macros to assign values to tags. For more information, see Chapter 30. The operator can change tag values at run time using these graphic objects:
Use this graphic object Momentary push button To do this Start a process or action by sending one value to the tag when pressed, and another value when released.
17-15
To do this 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 connection. 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.
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.
Numeric input enable button Numeric input cursor point String input enable button RecipePlus button
Enter a numeric value and write the value to a tag. You can also use this object to ramp values. Enter a numeric value and write the value to a tag. You can also use this object to ramp values. Enter a string value and write the value to a tag. Write values for all the ingredients in the selected recipe to a set of tags. The button works with the RecipePlus table and RecipePlus selector graphic objects.
17-16
To do this
Drawing object with horizontal Control the value of a tag by dragging the slider object with a or vertical slider animation 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, including both HMI and data server tags. 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 22-9. For information about creating graphic objects, see Chapter 20. For information about setting up graphic objects, see Chapter 21 and Help.
17-17
To display this 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.
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.
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. Current tag values and data set values of the ingredients in the selected recipe, and the number of ingredients in the recipe. The table works with the RecipePlus button and RecipePlus selector graphic objects. 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.
RecipePlus table
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, including both HMI and data server tags. The data displayed depends on the object.
17-18
Many 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 23. 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 22-9. For information about creating graphic objects, see Chapter 20. For information about setting up graphic objects, see Chapter 21 or Help. 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, in the format of the applications current language, and therefore does not require tags or expressions.
For details, see page 9-26 page 9-25, page 9-27, and page 9-29 page 9-28
Alarm messages
System activity Diagnostics list Information messages Information message display Local messages Local message display 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.
17-19
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.
Changing languages
You can change languages at run time. The languages available depend on what has been set up for the run-time application. There is a separate language switch button for each language that you can change to. For information about setting up language switching, see Chapter 12. To change languages
Press a language switch button. Text strings in the application change to the language specified by the button.
17-20
which editors have components. working with components. printing information in components.
For information on working with particular editors, see the chapters later in this guide.
Graphics (components include graphic displays, global object displays, and graphic libraries, each in their own folder) Parameters Local Messages Information Messages Data Log Models Macros RecipePlus
The Explorer window lists the components you create under the icon for the editor you used to create the component. You can use the Images editor to copy bitmap images into your application (but not to create new images). Each image you copy is listed as a component under the editor. To view a list of components for an editor
Click the + symbol to the left of the editor icon, or double-click the editor name.
18-1
For information on working with components in particular editors, see the chapters later in this guide.
Creating components
To create a new component, do one of the following
Drag the component icon into the workspace. 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 the component from the Explorer window to the workspace.
Saving components
The Save tool is available when the active component contains unsaved changes. To save a component 1. On the File menu, click Save, or click the Save tool.
Save tool
2. If this is the first time youre saving the component, type a name in the Component name box, and then click OK.
Close button on the title bar
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.
18-2
Before the component closes you are prompted to save unsaved changes, if there are any.
18-3
3. In the dialog box, navigate to the component to add (in Application As folder), and then click the components file name. 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 Explorer window 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, graphic libraries, and global object displays 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. moving libraries into the Displays folder so you can export their strings for translation. creating global object displays.
For information about graphic libraries, see page 19-14. For information about global object displays, see page 25-11.
Deleting components
Deleting a component deletes it from the Explorer window and from the hard disk. To delete a component
Removing components
You can remove a component from the Explorer window 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.
18-4
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. 2. In the Component name box, type a name for the duplicate component. 3. Click OK.
Printing
Each component has a Print item on its File menu. To print a components contents 1. Open the component. 2. On the File menu, click Print. 3. Click OK. For information about selecting a printer and printing at run time, see page 2-13.
18-5
18-6
use the Graphics editor. set up graphic displays. create a background for your displays. use graphic libraries. import graphic images. create local messages in your displays. print graphic displays at run time.
Before creating graphic displays, specify project settings. Project settings determine important aspects of your graphic display such as size and position. For more information, see page 4-11.
For information about global object displays and the Parameters editor, see Chapter 25.
19-1
Does the operator need to know the exact speed of a conveyor belt, or just whether the belt is moving, jammed, or stopped? Do different users need to have access to different types of information? Do you need to limit access to certain types of information?
Also consider the run-time environment and how the operator will use the application:
Does the run-time computer have a touch screen, mouse, keyboard, or some combination of these? How will the operator navigate through the displays of the application? Will the application be available in multiple languages?
Review the chapters on planning, security, and navigation before you begin creating displays. Browse through the sample applications for design ideas. Map out a display hierarchy. Then create a graphic display to use as a template. The time you spend planning your displays will make your application easy to use and will save you time in the long run.
For information about 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 See Chapter 3 Chapter 11 Chapter 13 Chapter 21
19-2
right-click Displays and then click New. click the New Display tool. drag and drop the Displays icon into the workspace.
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 19-11. 3. Create the objects you want to put in the display. For information about creating graphic objects, see Chapter 20. 4. On the File menu click Save, or click the Save tool.
Save tool
5. In the Component name box, type a name for the display, and 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 about display types, see page 19-12.
19-3
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 Explorer window to an empty area in the FactoryTalk View Studio workspace. This example shows a graphic display with the Explorer window closed.
Display area
Object explorer
The Graphics editor has special items on the View and Edit menus, and extra toolbars. For details about using the Graphics editor, see Help.
19-4
use context menus and toolbars to perform actions quickly. view displays in grayscale to emulate the appearance of a PanelView Plus terminal. set up a grid that you can use to position and size objects precisely. zoom in when you need to look at details closely. correct mistakes. test your displays as you work.
19-5
...a menu opens. It contains menu items for working with the selected object.
19-6
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.
19-7
Click the toolbars title bar, and then drag. Press the Ctrl key to prevent accidental redocking.
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 name of the toolbar to close, or click the toolbars Close button.
19-8
To set up the grid 1. On the View menu, click Grid Settings, or right-click an empty area of the display and then click Grid Settings.
Check this box to make the grid visible. Check this box to make the grid active.
2. Specify the color and spacing of the grid points. 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 turned off.
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.
19-9
2. On the View menu, click Zoom In, or click the Zoom In tool. To zoom out
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. 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
To redo an operation
Redo tool
If you set up local messages and graphic objects to use multiple languages, the messages and objects are displayed in the current application language during test mode. Using the Diagnostics List when in test mode 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.
19-10
For information about using the Diagnostics List, see page 2-5. For information about specifying the types of messages to show in the Diagnostics List, see page 10-5.
Test Display tool Edit Display tool
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.
On the Edit menu, click Display Settings, or right-click an empty area of the display and then click Display Settings.
Set up how the display looks. Set up how the display works
19-11
For details about the options in the Display Settings dialog box, see Help.
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 FactoryTalk View sends an error message to FactoryTalk Diagnostics. On Top displays Use the On Top 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. 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. When an On Top display closes, the display that 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). You can specify unique titles for On Top displays. You can use embedded variables in the title, and the title text can switch languages at run time.
19-12
Resizing displays
The project window size is used for all Replace displays. If you change the project window size after you have designed any graphic displays, you have the option of scaling graphic displays. If you choose to scale graphic displays, all Replace and On Top displays are resized and the objects in them are scaled to fit the new size. You can also specify whether to scale the font size and border size of the graphic objects, and the size of graphic images in the Images folder. If you choose not to scale displays when you change the project window size, 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 information about specifying the project window size, see page 4-11. 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.
19-13
To convert objects to wallpaper 1. Select the objects to convert. For information about selecting objects, see page 20-23. 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.
look at the objects and displays to get ideas for your own application. drag and drop (or copy and paste) objects from the libraries into your own displays. For information about copying objects from a library into your graphic display, see page 20-40.
use the objects as they are or change them to suit your needs. create your own libraries of objects. create libraries of displays that are translated into multiple languages. use libraries as displays in your application.
The Symbol Factory is a library of over 5,000 graphics for industrial automation, including pumps, pipes, valves, tanks, mixers, motors, ducts, electrical symbols, flow meters, material handling, sensors, PLCs, transmitters, and ISA symbols.
19-14
From the Explorer, click on the Symbol Factory Object. When the Objects menu is available, click on the Symbol Factory drop down menu item. When the Objects toolbar is available, click on the Symbol Factory icon. Clicking the Launch Symbol Factory button in the Image Browser.
To select a graphic:
1. Browse the Categories frame, clicking on a category to see the symbols in the right frame. 2. Click on the graphic to select it for the Graphic Display. If the graphic is to be used in this original state, it can be dragged and dropped into the Graphic Display.
When View Studio is unlicensed and in Grace Period mode, the Symbol Factory library will be in demo mode and restricted in the number and type of graphics available for use. Only a licensed View Studio can enable a fully licensed Symbol Factory library.FactoryTalk ViewStudio
19-15
To open a graphic library 1. In the Explorer window, open the Graphics folder, and then open the Libraries folder. 2. Double-click the library name, or right-click it and then click Open.
4. In the Component name box, type a name for the library, and 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 Explorer window, in the Graphics folder, right-click the Libraries icon. 3. Click Add Component Into Application. 4. In the dialog box, navigate to the Gfx folder, and then click the .gfx file for the display to use. The Gfx folder is located in: \Documents and Settings\All Users\Shared Documents\RSView Enterprise\ME\HMI projects\Application Name (Windows XP or Windows Server 2003 R2) or \Users\Public\Public Documents\RSView Enterprise\ME\HMI projects\Application Name (Windows Vista,Windows 7 Professional or Windows Server 2008) where Application Name is the name of your application. 5. Click Open. The display is copied into the Libraries folder.
19-16
19-17
To save a library display with multiple languages 1. Create a graphic display. 2. Export the text for your application, which will include the text used in the graphic display. 3. Translate the text strings into each desired language, saving the file with a new name for each language. 4. Import the files for all the new languages. 5. Add the graphic display to the Libraries folder. The library is created with the option Support Multiple Languages selected (in the Display Settings dialog box).
For detailed information about importing and exporting to use multiple languages, see Chapter 12.
19-18
To save a library display with more than 40 languages 1. Create a display in one application, with up to 40 languages, and add it to the library, as described in the previous section. 2. Add the display into a new application, with up to 40 different languages in the new application. 3. Export the text for your application, which will include the text used in the graphic display. 4. Translate the text strings into each desired language, saving the file with a new name for each language. 5. Import the files for the new languages. 6. Add the graphic display (with the same name as the display in step 1) to the Libraries folder. The new languages are added to the library. Make sure the display contains the same objects as the original display. Otherwise the new display will overwrite the previous display, and all the original language strings will be undefined. What is displayed When you open a library that supports multiple languages, the strings are displayed using the current application language, if available. If the library does not contain the current language, the strings are displayed as single question marks. Similarly, if the library contains the language but not all the strings are defined for the language, undefined strings are displayed as single question marks. For more information about using multiple languages with graphic libraries, see Chapter 12.
19-19
If you specify a different directory but want to use the libraries that come with FactoryTalk View, use My Computer or Windows Explorer to copy the library component files into the directory youve specified, or else change the path back to the default path when you want to open a FactoryTalk View library component. To specify a new path for graphic libraries
For details about using the Options dialog box, see Help.
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 20-21.
19-20
arrows DIN symbols ISA symbols keyboard button symbols such as Enter and Page Up parts such as buttons, conveyors, pipes, tanks, and valves
The symbols and most of the arrows are monochrome (that is, use only two colors, one for the line and one for the fill). You can set up the line and fill colors for the monochrome images that you use for your objects. For color images, including JPEG images, you can specify whether to use a transparent or solid background fill. If you select the transparent background fill style, the black portions of the image become transparent. For detailed information about setting up objects, see Help. Location of bitmap files The bitmap files that come with FactoryTalk View Studio are stored in this directory: \Documents and Settings\All Users\Shared Documents\RSView Enterprise\Images (Windows XP or Windows Server 2003 R2) or \Users\Public\Public Documents\RSView Enterprise\Images (Windows Vista,Windows 7 Professional or Windows Server 2008) The images are in folders called Arrows, DIN, ISA, ListKey, and Parts.
import the images first, and then place them in your displays as needed. This method is useful for images that you use to illustrate your displays. For information about placing images in your display once youve imported them, see page 20-14.
19-21
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 19-23.
copy and paste images from the graphic libraries. For information about copying and pasting objects, see page 20-40.
copy and paste images from one application to another. For information about opening two applications at once, see page 4-9.
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 19-25. To import bitmap and JPEG images 1. In the Graphics folder, right-click Images and then click Add Component Into Application.
To view the images, click this button, and then click Thumbnails.
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.
19-22
In the Images folder, double-click the image name, or right-click it and then click Open.
import images into the application. select the image to use on a graphic object. delete images from the application.
In an objects Properties dialog box, click the Browse button next to the Image box. 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 20-28.
Browse button
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 20-29.
19-23
For details about using the Image Browser to import, select, and delete images, see Help. 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 18-4.
19-24
6. Click the OK button in the Image Browser for the graphic to be placed in the current workspace. Note that any Symbol Factory object, including Bitmap, DIB and metafile can be pasted into Image Browser where it will be stored as a bitmap. Import Symbol Factory objects directly into display 1. Launch Symbol Factory either by using the Menu bar (Objects > Symbol Factory) or from the Objects toolbar ( ).
2. Browse through the Categories and locate the graphic to be used. Select the graphic so it is highlighted. To place the object into the display you could:
Click the Copy button in Symbol Factory. Symbol Factory will be minimized to the system tray, then from the Menu bar click on Edit and paste.
or
Click the object and hold down the mouse button while dragging the object to where you want it placed on the disply. Releasing the mouse drops the object onto the display.
FactoryTalk View 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.
19-25
The more colors you use, the more memory is consumed, and the longer the image takes to load and display.
This bitmap type Monochrome 16 color 256 color 64 K color 16 million color Consumes this many bits per pixel 1 4 8 (1 byte) 16 (2 bytes) 24 (3 bytes)
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. Use images with a similar pixel size to the size of the FactoryTalk View object on which the image will be placed. FactoryTalk View resizes the image to fit the object, but if you use an image that is much larger than the object, the display will be slow to open at run time, due to the time required to resize the image.
19-26
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 Graphics 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 connection and specify the file of messages to display. For information about creating graphic objects, see Chapter 20. For information about setting up local message display objects, see page 21-54.
You can define up to 10,000 messages in each message file. For details about using the Local Messages editor, see Help.
19-27
The data source is set up to exchange information (in the form of numeric or string values) between FactoryTalk View 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 HMI tags, see Chapter 7.
Local message filestext files containing lists of messages, with a numeric trigger value for each message Local message display objecta graphic object that displays local messages when the Value connection assigned to the object matches a messages trigger value Value connectiona tag or expression. When the value of this connection matches a messages trigger value, the local message display object displays the associated message.
The local message display object always appears in the graphic display its placed in, whether or not there is a message to display. However, the operator does not see the message unless the object is located in the display the operator is currently viewing. The following example shows how the key parts of the local message system work together. Example: Displaying local messages This example shows how to notify the operator of the status of a hoist. 1. Create a tag called Hoist_Status. This tag points to an address in a programmable controller that is linked to sensors on the hoist. The tag has five possible values:
The tag has this value 1 2 3 4 5 When the hoist has this status At bottom Raising Stopped between the top and bottom Lowering At top
19-28
2. In the Local Messages editor, create these messages with trigger values matching the values that will be sent to the Hoist_Status tag:
Trigger value 1 2 3 4 5 Message 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.
Save the message file with the name Hoist status. 3. In the Graphics editor, create a local message display object. In the objects Properties dialog box, assign the Hoist_Status tag to the Value connection, 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.
19-29
If the Value connection is unassigned, the display is filled with question marks (?). The Value connection 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 connections value is 0, the display is cleared. If you set up local messages in multiple languages, messages are displayed in the current application language. When a language switch occurs, the message that was already in the local message display remains in the language that it originally appeared in. New messages are displayed in the new language.
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-13.
For information about specifying which printer to use at run time for applications that will run on a personal computer, see page 15-10. For information about specifying printer options for applications that will run on a PanelView Plus 6, PanelView Plus or PanelView Plus CE terminal, see the PanelView Plus Terminals User Manual. To print graphic displays at run time, use one or both of these methods
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 20.
Assign a tag or expression to the Remote Display Print connection (in the Global Connections editor). When the value of the tag or expression changes from 0 to a nonzero 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-5.
19-31
19-32
create graphic objects, including drawing and ActiveX objects. select and deselect objects and use the Object Explorer. use the Properties dialog box and Property Panel to set up objects. color and name objects. test how objects look in different states. assign tags and expressions to objects. replace tags using tag substitution. use tag placeholders. move, copy, duplicate, resize, reshape, and delete objects. group and ungroup objects, and edit group objects. arrange objects and lock objects into position.
For information about setting up graphic objects once youve created them, see Chapter 21. For information about setting up global objects, see Chapter 25. For examples of how to set up objects, see the sample applications that come with FactoryTalk View Studio. The Help also provides examples of how to use objects.
20-1
FactoryTalk View 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 Basic, Rockwell Automation, and Microsoft Office provide ActiveX objects that are configurable in FactoryTalk View 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 connections
Many of the objects use connections to interact with the data source. A connection is the link between the object and the data source. Depending on an objects function, the object may have more than one connection. For example, a momentary push button has a Value connection and an Indicator connection. The Value connection is used to set a value at the data source, and the Indicator connection is used to display the data source value in your graphic display. By assigning tags or expressions to an objects connections, 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 connections in the Connections tab of the objects Properties dialog box (see page 20-26) or in the Connections tab of the Property Panel (see page 20-29).
20-2
20-3
To do this Stop the application and shut down FactoryTalk View ME Station. For details, see page 13-7.
Goto configure mode button Stop the application and open the FactoryTalk View ME Station dialog box. For details, see page 13-4. Print alarm history button Print alarm status button Print a report of alarm messages in the alarm log file. You can print a report for all alarms, or for a specified alarm trigger. For details, see page 21-58. Print a report of the status of alarms, including how many times each alarm was triggered and the time in alarm. You can print a report for all alarms, or for a specified alarm trigger. For details, see page 21-59.
20-4
To do this 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 21-27. 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 21-49. Select from a list of states for a process or operation. The list is highlighted to show the current state, and the operator or a remote device such as a programmable controller can scroll through the list to select a different state. For details, see page 21-51. 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 22. Change tag values using a third-party object connected to an analog, digital, or string tag, including both HMI and data server tags. When the objects property value changes, the new value is written to the associated tag. For details, see page 20-21.
Symbol
20-5
To display this 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 21-42.
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 28. Display the current time and date. For details, see page 21-57. Data using a third-party object connected to an analog, digital, or string tag, including both HMI and data server tags. The format of the data displayed depends on the object. For details, see page 20-21. 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 22.
Drawing object with rotation, width, height, fill, color, or horizontal or vertical position animation
Working with lists, trends, alarm banners, and numeric input objects
Use this button Pause button Next pen button Backspace button With this graphic object To do this Trend Trend Control list selector Piloted control list selector Lists and trends 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.
End button
Listmove to the bottom item 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 currently selected alarm.
20-6
With this graphic object To do this Lists and trends Listmove to the top item in the list. Trendpause the trend and move to the earliest data in the trend.
Move up / down buttons Lists, trends, and numeric Listmove up or down one item in the list. input objects 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 Lists Acknowledge alarm button Alarm status mode button Clear alarm banner button Alarm list Alarm banner Alarm status list Alarm banner Move up or down one page in the list. Acknowledge and silence the selected alarm. 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. Remove the selected message from all diagnostics lists. Acknowledge the current message in the display.
Diagnostics clear button Diagnostics list Information acknowledge button Information message display
For more information about using the buttons with lists and trends, see the topics on these pages:
For information about Linking a button to a specific list, alarm banner, 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 See Page 9 Page 36 Page 6 Page 13 Page 11
20-7
Unlike the buttons in the previous table, the following buttons do not work with specific graphic objects. You can use them to work directly with alarms in the alarm history and with the applications diagnostics messages.
Use this button To do this
Acknowledge all alarms Acknowledge and silence all currently unacknowledged alarms, or the button alarms for a specific alarm trigger. Clear alarm history button Remove alarms from the alarm log file and all alarm lists. You can remove all alarms, or just the alarms for a specific alarm trigger. You can also reset the cleared alarms. This resets the number of times an alarm has been triggered to 0, and the accumulated time in alarm to 0. 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 (on personal computers only). Toggle between sorting alarms in alarm lists and the alarm log file by time and by trigger value. Remove all diagnostics messages from all diagnostic lists.
Reset alarm status button Silence alarms button Sort alarms button Diagnostics clear all button
20-8
To do this Display data set and tag values for ingredients in the RecipePlus table. Write tag values from the selected data set to the data source. Write tag values from the data source to the selected data set or to a new data set. Save data set values from the table to a recipe file. Rename or delete recipe units. For details, see page 29-3. Select the recipe unit to display, download from, write to, rename, or delete. For details, see page 29-2. Display and compare recipe data set values and tag values. Edit data set values. For details, see page 29-2. Enter or display data using a third-party object connected to an analog, digital, or string tag, including both HMI and data server tags. The format of the data entered or displayed depends on the object. For details, see page 20-21.
20-9
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
20-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 20-12.
On the View menu, click Show Grid, and then click Snap On. For information about setting up the grid, see page 19-8.
The next sections describe how to create graphic objects. For information about setting up graphic objects once youve created them, see Chapter 21. For information about attaching animation to the objects you create, see Chapter 22.
20-11
Creating text
Choosing fonts You can select any font you have installed, but TrueType and OpenType fonts are recommended. These fonts can be resized easily, without losing text quality. For PanelView Plus and PanelView Plus CE terminals, you must use TrueType fonts. 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. Choosing fonts for language switching If you are going to use the application with multiple languages, we recommend using Microsoft Sans Serif or Tahoma. These fonts allow for font linking to support the character sets of other languages. PanelView Plus 6, PanelView Plus and PanelView Plus CE terminals are shipped with font linking turned on. For more information about font linking, see Help. For more information about setting up languages for your application, see Chapter 12. Using the Size to fit option If you use the Size to fit option, the size of the text object will likely change for different languages. Make sure you check all displays containing translated language strings. To create a text object 1. Select the Text tool.
Text tool
2. Click the mouse where you want to position the text, and then drag to draw a rectangle.
20-12
3. Select text options. For information about the options in the dialog box, see Help. 4. To close the dialog box, click OK. The text is positioned where you drew the rectangle. 5. To create another text object, move to a new area in the display, and then repeat steps 2 through 4. 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. To edit a text object 1. Double-click the text. The Text Properties dialog box opens. 2. In the Text box, click where you want to make the change. To delete text characters, use the Backspace and Delete keys.
20-13
Creating images
Use the image graphic object to place images in your graphic displays. Images support visibility animation only. You can use images already contained in the Images folder or use Symbol Factory to select and add a graphic to the display and the Images folder. 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 19-21. To place a bitmap or JPEG image in a display 1. Select the Image tool.
Image tool
2. Click the mouse where you want to position the image, and then drag to draw a rectangle. The Image Browser opens.
3. In the Select image list, click the image to place, and then click OK. For more information about using the Image Browser, see page 19-23. 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 the Image Properties dialog box.
20-14
5. Select image options. For information about the options in the dialog box, see Help. 6. Click OK to close the dialog box. To add an image from Symbol Factory to a graphic object using the image browser: 1. In the graphic display, draw the graphic object you are going to import an image for. The Image Browser will open. 2. In the Image Browser, click Launch Library... Symbol Factory will open as a new window. 3. Browse the Categories frame, clicking on a category to see the symbols in the right frame. 4. Click on the graphic to select it for the Graphic Display. 5. Click Copy, the Symbol Factory minimizes, returning to the Image Browser. 6. Click the Paste from Library button. A dialog box Image Name Entry will open. 7. Type in an unique name for the image, then click the OK button. 8. The graphic will now be displayed in the Preview window. The graphic has been added to the list in the Image Browser. This also adds the image to the Images folder in the Explorer window. 9. Click OK to close the Image Browser. The image will be in the Graphic Display. Symbol Factory objects imported by the Image Browser will by saved in the Images folder as a bitmap.
Creating panels
Panels support visibility animation only. To create a panel 1. Select the Panel tool.
Panel tool
2. Click the mouse where you want to position the panel, and then 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 the Panel Properties dialog box. 4. Select panel options. For information about the options in the dialog box, see Help.
20-15
Arc
Hollow wedge
Filled wedge
2. Click the mouse where you want to position the object, and then 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.
3. Click a handle, and drag the mouse to cut out part of the circle.
4. To finish drawing, click the object. 5. To change how the object looks, click Properties on the context menu, or double-click the object to open its Properties dialog box. 6. Select arc or wedge options. For information about the options in the dialog box, see Help.
20-16
7. 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 20-43.
2. Click the mouse where you want to position the object, and then 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 objects Properties dialog box. 4. Select circle or ellipse options. For information about the options in the dialog box, see Help. 5. To close the dialog box, click OK.
2. Click and drag to create the shape you want. 3. To change how the object looks, double-click it to open the Freehand Properties dialog box. 4. Select freehand options. For information about the options in the dialog box, see Help. 5. To close the dialog box, click OK.
Creating lines
To create a line 1. Select the Line tool.
20-17
2. Click where you want the line to start, and then drag from the beginning point to the end point.
Line tool
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. Select line options. For information about the options in the dialog box, see Help. 5. 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 20-43.
2. Click and drag to create the first segment of the object. Release 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.
20-18
4. To finish drawing, double-click an empty area of the display, or click the Select tool. 5. To change how the object looks, double-click it to open the objects Properties dialog box. 6. Select polygon or polyline options. For information about the options in the dialog box, see Help. 7. 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 20-43.
2. Click the mouse where you want to position the object, and then 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 objects Properties dialog box. 4. Select rectangle or square options. For information about the options in the dialog box, see Help. 5. 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 20-43.
20-19
2. Click the mouse where you want to position the object, and then drag until the rectangle or square is the size you want.
Rounded rectangle tool
To draw a square, hold down Ctrl while you drag. 3. 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.
4. To finish drawing, click the object. 5. To change how the object looks, click Properties on the context menu, or double-click the object to open its Properties dialog box. 6. Select rounded rectangle or square options. For information about the options in the dialog box, see Help. 7. To close the dialog box, click OK. For information about using the Rounded Rectangle tool to reshape the rounded rectangle, see page 20-44.
20-20
2. Click the mouse where you want to position the object, and then drag until the object is the size you want.
20-21
3. In the dialog box that opens, select the object to add to your graphic display. For information about the options in the dialog box, see Help. 4. Click OK. 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. 5. To specify the objects properties and assign tags or expressions to its connections, 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.
6. In the Properties dialog box or Properties tab of the Property Panel, specify the objects properties. 7. If desired, set up the properties in the Common tab, as described on page 21-2. 8. In the Connections tab, assign tags or expressions to the objects connections. 9. 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 20-26. For information about using the Property Panel, see page 20-29.
20-22
select and deselect objects. use the Object Explorer to view and select objects. use an objects Properties dialog box to set up the objects properties and assign tags and expressions to its connections. use the Property Panel to set up individual and group object properties, and to assign tags and expressions to individual objects connections. color objects. name objects. test how objects look in different states.
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
Selecting objects
To select An object or group of objects Do this Click the object or group. In the Object Explorer, click the object or group. An object within a group of objects Several objects All objects in an area Double-click the group, and then click the object. 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.
20-23
To select
Do this
All objects in the drawing area On the Edit menu, click Select All, or press Ctrl+A. or in a group you are editing
Deselecting objects
To deselect An object Several objects All selected objects Do this Ctrl-click the object. Press and hold Ctrl, and then drag a selection border around the objects. Click in the Drawing area, away from any objects.
On the Graphics toolbar, click the Object Explorer tool. On the View menu, click Object Explorer. Right-click an object, and then click Object Explorer.
20-24
Click the + icon to view the objects and groups within a group.
You can keep the Object Explorer open as you work in the Graphics editor. For more information about using the Object Explorer, see Help.
specific types of objects objects that have animation attached objects that have a specific tag or expression assigned to them
The objects are highlighted in red in the Object Explorer and in the graphic display. If your graphic display uses a red background, the highlighting is not visible in the graphic display.
20-25
In the Object Explorer, click Highlighting on, and then click 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.
For details about the options in the Highlight Settings dialog box, see Help.
20-26
Do this 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 21-4. For information about key navigation, see page 21-8. For information about linking buttons to objects, see page 21-9.
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 20-33.
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 19-23.
Set up the objects auto repeat (see page 21-11) or Enter key handshaking (see page 21-12) settings. Set up the objects spatial properties, name and visibility. For details, see page 21-2. Assign tags and expressions to the objects connections. For information about assigning tags and expressions, see page 20-34.
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. Some 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.
20-27
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. In the Property Panel, with the object selected, double-click the (Custom) property. In the Object Explorer, double-click the object.
Browse button
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 click 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 details about setting up a particular object, see Help.
20-28
On the Graphics toolbar, click the Property Panel tool. 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.
Setting up properties
Use the Property Panels Properties tab to set up the properties of the selected object or objects.
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. Click to close. Click for help on the selected property.
20-29
You can keep the Property Panel open as you work in the Graphics editor. You can drag the panels borders to make the Property Panel larger or smaller. For more information about using the Property Panel to set up an objects properties, see Help.
A right arrow indicates that the connection sends values to the data source. The connection is a write connection. A left arrow indicates that the data source sends values to the connection. The connection is a read connection. A double arrow indicates that the data flows in both directions. The connection is a read-write connection.
Click for help on the selected connection.
The arrows show the direction in which data flows between the connection and the data source. If the connection is a read connection (arrow points left), data flows from the data source to the object. If the connection is a write connection (arrow points right), data flows from the object to the data source. If the connection is a read and write connection (double-headed arrow), data flows in both directions. This box describes the selected connection and indicates the type of data the connection uses.
20-30
For more information about using the Property Panel to assign tags and expressions to an objects connections, see Help. For more information about assigning tags and expressions to objects, see page 20-34.
20-31
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.
Other methods for assigning colors 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 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. Each object in a display must have a unique name. The object name appears in the status bar, Diagnostics List, Property Panel, and Object Explorer in FactoryTalk View Studio, and in diagnostics log messages at run time. To name an object in the Property Panel 1. Select the object.
20-32
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 (_).
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.
20-33
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 Enter key on your keyboard.
assign tags to graphic objects. use expressions to manipulate tag values. replace tags using tag substitution. use tag placeholders so the same display can be used with different sets of tags.
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.
20-34
Select the object and then assign tags in the Connections tab of the Property Panel.
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.
using the Tag Browser, see page 6-6. using the Properties dialog box, see page 20-26. using the Property Panel, see page 20-29.
20-35
FactoryTalk View monitors the expression value rather than the original tag value. For example, your machine might send values to the data source in the form of temperature in degrees Celsius. You could use an expression to convert the value to degrees Fahrenheit, and then monitor the expression result rather than the original tag value. If you can assign an expression, a Browse button is present in the Exprn column in the Connections tab.
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.
a tag name (with or without folder names). a folder name. the text in an expression. tags contained in embedded variables.
20-36
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.
For details about the options in the Tag Substitution dialog box, see Help. A log file is displayed after substitution. It provides details on the substitution process and results. If the substitution fails, the reason will be shown. The last line shows where the log file is located in case you want to review it in the future.
20-37
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. the graphic display that opens when the logout button is pressed to log the logged-on user out. the graphic display specified in the Project Settings Runtime tab when auto logout is enabled. graphic displays that are opened using the Remote Display Number global connection.
Use parameter files or parameter lists to specify which tags or folders to substitute for which placeholders. For global objects, you can specify the tags or folders of tags using global object parameters. For more information about using parameter files, parameter lists, and global object parameters, see Chapter 25. Creating tag placeholders A tag placeholder is the cross-hatch character (#) followed by a number from 1 to 500. 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 connection: #1\Tag1. You can assign 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 24.
Type the cross-hatch character followed by a number (no space in between). For example, #1.
20-38
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 20-29. You can also specify an objects position using the Common tab in the objects Properties dialog box. For more information, see page page 21-2. 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 20-49. For information about locking objects into position, see page 20-53. To automatically align objects to the grid as you move them
On the View menu, select Snap On. A check mark appears beside the menu item when the option is selected.
For information about setting up the grid, see page 19-8. To move objects by dragging with the mouse 1. Select one or more objects. 2. Place the pointer on an object (not on the edge or on the 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.
20-39
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. Copying objects with multiple languages If an object has multiple language strings set up, copying the object copies all the languages. If the object is pasted into an application with different languages, only the strings for languages that are used by the application are pasted. If the new application has languages that are not set up for the object, those language strings are undefined and will be displayed with single question marks. For more information about setting up multiple languages, see Chapter 12. To copy objects in the same display 1. Select one or more objects. 2. Drag the object, and then press Ctrl. When you press Ctrl, a plus sign is added to the cursor. 3. When the object is where you want it, release the mouse button 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.
20-40
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. For more information, see page 19-13. 3. Select one or more objects. 4. Click the selected object and drag it to the new display. 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.
2. On the Edit menu, click Cut or Copy, or click the Cut or Copy tool on the Graphics toolbar.
To remove the original object, click Cut. To retain the original object, click Copy.
Copy tool
2. On the Edit menu, click Paste, or click the Paste tool on the Graphics toolbar.
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. To duplicate objects 1. Select one or more objects.
20-41
2. On the Edit menu, click Duplicate, or click the Duplicate tool on the Graphics toolbar. The duplicated object is placed slightly offset from the original.
Duplicate tool
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 useful for quickly resizing multiple objects to the same size. For information about using the Property Panel, see page 20-29. You can also specify an objects size using the Common tab in the objects Properties dialog box. For more information, see page 21-2. When you resize text objects, if you have selected the Size to fit option, 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.
20-42
To resize an object using the mouse 1. Select the object. 2. Place the pointer on one of the handles. A double arrow appears. 3. Drag the handle until the object is the desired size or shape. 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. A double arrow appears. 3. Hold down Shift and press an arrow key until the object is the 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.
2. Click the Polygon tool, or right-click the object and then click Edit. The cursor changes to the Polygon tool, and handles appear on the object.
20-43
3. Move the cursor over any line or corner of the object. A handle with a cross-hair appears. 4. Drag the handle until the object is the desired shape.
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 then press Delete. To reshape arcs and wedges 1. Select the object you want to reshape. 2. Click the Arc or Wedge tool, or right-click the object and then 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. To reshape rounded rectangles 1. Select the rounded rectangle. 2. Click the Rounded Rectangle tool, or right-click the object and then click Edit.
A handle appears inside the rounded rectangle. 3. Click the handle and drag inward to increase roundedness, or outward to decrease roundedness.
Deleting objects
If you accidentally delete an object, use the Undo tool to restore it.
Undo tool
To delete objects 1. Select one or more objects. 2. On the Edit menu, click Delete, or press Delete on the keyboard.
20-44
Group them.
2. On the Arrange menu, click Ungroup, or on the Graphics toolbar click the Ungroup tool.
20-45
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.
use the Property Panel to apply the same properties to all the members of the group at once. For example, change the line width of all objects in the group to 2 pixels. For information about using the Property Panel, see page 20-29.
use the toolbars to apply the same pattern style, background style, foreground colors, and background colors to all the members of the group. for objects with states, use the States toolbar to cycle through the states and apply the same properties to the states for each object in the group at once. When you select a group containing objects with states, only the states that are common to all objects in the group appear in the toolbar. For more information about using the States toolbar, see page 20-33.
20-46
To edit objects within a group 1. Double-click the grouped object, or right-click it and then click 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.
Double-click to edit the group. A hatched border appears. This border indicates that this is a group. Click again. Handles appear. The handles show the individual object selected within the group.
2. To select an individual object (or a group) in the group, click it. You can also use the Object Explorer to select objects within the group. 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.
20-47
Layering objects
You can layer objects (or groups of objects) on top of each other. Objects are layered in the order they are created, with the most recently created object on top. Change the layer order with Send to Back and Bring to Front. Send to Back moves the selected object to the bottom layer. Bring to Front moves the selected object to the top layer. To bring an object to the front 1. Select the object. 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
To send an object to the back 1. Select an object. 2. On the Arrange menu, click Send to Back, or click the Send to Back tool.
Send to Back tool
20-48
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 tool on the Alignment toolbar:
This button or menu item Align Left Align Center Align Right Align Top Align Middle Align Bottom Align Center Points Align to Grid Aligns selected objects with the Left-most selected object Horizontal center of all selected objects Right-most selected object Top-most selected object Vertical center of all selected objects Bottom-most selected object Center of all selected objects Grid
On the View menu, select Snap On. A check mark appears beside the menu item when the option is selected.
20-49
Select objects
Align left
Select objects
Align right
Select objects
Align center
Align middle
Align bottom
20-50
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 the Graphics toolbar:
Space Horizontal tool
This tool or menu item Space Horizontal Does this Places the centers of the selected objects an equal distance apart horizontally. Places the centers of the selected objects an equal distance apart vertically.
Select objects
Space horizontally
20-51
Flip Horizontal
Flip Horizontal
Select object
Flip vertical
Select object
Flip horizontal
20-52
When you rotate text, it rotates around the anchor point but the text itself remains upright. To rotate a drawing object 1. On the Objects menu, click Rotate, or on the Objects toolbar click the Rotate tool.
Rotate tool
2. Click the object you want to rotate. A small crosshair circle appears in the middle of the object. This is the anchor point that is used as the center of rotation.
You can place the crosshair inside an object.
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. 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.
20-53
20-54
set up objects spatial properties, names, and visibility. work with objects that have states. position objects for touch screens. assign function keys to buttons. use the keyboard to navigate to and select objects at run time. link buttons to lists and trends. repeat a buttons action by holding down the button. ensure values are read by the data source before sending new values. set up objects.
For objects that are not described in other chapters of the manual, this chapter provides information about how to use the objects. For information about creating graphic objects, see Chapter 20. For information about creating and setting up the trend graphic object, see Chapter 28. For information about creating and setting up the RecipePlus graphic objects, see Chapter 29.
21-1
For ActiveX and trend objects, you can also set up these properties:
For details about the options in the Common tab, see Help.
21-2
For details about the options in the States tab, see Help.
21-3
press objects using a touch screen. use function keys to press buttons when a mouse or touch screen is not available on the run-time computer. use the keyboard or keypad to navigate to and select lists, trends, and ActiveX input objects. 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.
Dont place important buttons where theyll be blocked by an On Top display. The user cant press a covered button. Ensure buttons are large enough for users to touch easily. Use touch margins for buttons that are positioned close together, to ensure that the adjacent button is not pressed by mistake.
21-4
The margins at the top and bottom edges are called vertical touch margins.
The margins at the left and right edges are called horizontal touch margins.
The bounding box 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.
The invisible bounding box is just inside the selection handles.
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.
Where possible, use the same function keys for the same operations in all your graphic displays. For example, if every display contains a goto display button that returns the operator to a graphic display called Main Menu, assign the same function key to this button in each display. Include the name of the function key assigned to a button in a caption on the button.
21-5
For buttons with multiple states, include the function key name in the caption for each state, or create a text object to use as a label for the button (so that you dont have to set up the caption for each state), and then group the text and button together.
If your application will run on a PanelView Plus or PanelView Plus CE terminal, assign keys that are supported by the run-time terminal. Different sizes of terminals have different function keys.
21-6
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
On the Edit menu, click Key Assignments, or right-click a button and then click Key Assignments.
For details about using the Key Assignment Properties dialog box to assign function keys and change function key assignments, see Help.
lists: control list selector, piloted control list selector, display list selector, diagnostics list, alarm list, and alarm status list alarm banners trends numeric input enable buttons and string input enable buttons numeric input cursor points RecipePlus table and selector third-party ActiveX input objects
21-7
Focus highlight for ActiveX and trend objects For ActiveX and trend objects, use the Common tab in the objects Properties dialog box to specify whether or not to display a highlight box. For more information about setting up options on the Common tab, see page 21-2. 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.
21-8
By default, key navigation is turned off for the numeric input enable buttons and string input enable buttons. You can turn on keyboard navigation if you want the operator to use the keyboard to navigate to these objects. To turn key navigation on or off, use one of these methods
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.
These move up and move down buttons work with the object that has focus.
By default, the buttons are set up to work with whichever object has input focus (is selected) in the display.
21-9
However, if space isnt a concern, you can create multiple copies of the buttons you want to use and link them to specific objects. One benefit of linking a button to a specific object is that the operator doesnt have to select the object before pressing the button. Another benefit is that you can position the buttons close to the specified object, making it easier for the operator to understand which buttons work with which objects.
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 link the button to, click the Browse button next to the Linked object box. 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
21-10
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 21-9.
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.
21-11
Auto repeat delaythe length of time the button has to be pressed and held down before auto repeat starts.
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.
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 connection. You can use Enter key handshaking with these graphic objects:
control list selector piloted 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.
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 FactoryTalk View that the value has been read.
Choose the method that best suits your application needs and communication system.
21-12
21-13
How the Handshake reset type works How the Enter handshake connection resets the Enter connection depends on which Handshake reset type you select:
With this handshake reset type Non-zero Value
The Enter connection is set to 0 when The Enter handshake connection has a non-zero value. If the Enter handshake connection already has a non-zero value when the value is sent to the Value connection (or when the Enter key control delay has expired, if the delay is used), then the Enter connection 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 connection when it has read the new value at the Value connection, and then to reset the Enter handshake connection to 0. If the Enter key handshake time expires before the Enter handshake connection resets the Enter connection, an error message is sent to FactoryTalk Diagnostics. How handshaking works If you use the Enter handshake connection, handshaking works like this: 1. When the operator presses the Enter button, the value is sent to the Value connection 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 connection is set to 1. If you dont use the delay, the Enter connection is set to 1 as soon as the operator presses Enter. As long as the Enter connection 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 connection must be 0 when the delay expires in order to set the Enter connection to 1. 3. When the Enter connection is set to 1, the Enter key handshake time timer begins timing. 4. The Enter connection remains set until the Enter key handshake time expires or until reset by the Enter handshake connection, whichever happens first.
21-14
5. The Enter connection is reset to 0 and the operator can send a new value to the Value connection. To set up Enter key handshaking to hold the value until the data source has read it 1. In the Timing tab of the objects Properties dialog box, specify these properties:
Enter key control delay (optional) Enter key handshake time Handshake reset type
Enterassign a tag. A digital tag is recommended (either an HMI tag or a data server tag). Enter handshakeassign a tag or expression.
3. Set up the data source to send a non-zero value to the Enter handshake connection when it has read the new value at the Value connection, and then to reset the Enter handshake connection to 0. You can also use the Property Panel to specify the properties and assign tags to the connections.
21-15
Setting up buttons
Many of the button graphic objects are set up the same way. The instructions in this section apply to these buttons:
Acknowledge alarm Acknowledge all alarms Alarm status mode Backspace Clear alarm banner Clear alarm history Diagnostics clear Diagnostics clear all Display print End Enter Goto configure mode Home Information acknowledge Language switch Login Logout Move down Move left Move right Move up Next pen Page down Page up Password Pause RecipePlus Reset alarm status Return to display Shutdown Silence alarms Sort alarms
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. The illustration shows the login button. Some buttons have different properties on the General tab, but you can use these instructions to set up any of the buttons in the list. For example, on the General tab for the acknowledge all alarms button and the clear alarm history button, you can specify a subset of alarms to which the buttons action applies. For details about filtering alarm triggers, see page 9-5.
21-16
2. In the buttons Properties dialog box, fill in the options on each tab:
In the General tab, specify what the button looks like at run time. For some buttons, you can specify whether to link the button to a specific object. For the logout button, you can specify a display to open when the button is pressed, and whether the display will use a parameter file or list when it opens. In the Label tab, specify what text or image to display on the button. 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 21-12. The Timing tab is available only for the move up, move down, move left, move right, page up, and page down buttons.
In the Common tab, specify the buttons spacial properties, name, and visibility.
For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-17
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 button is useful for changing a setting within a machine or process, 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.
21-18
Interlocked push buttons work in groups, and share the same tag. 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 floatingpoint value. You can use two ramp buttons together to create an increment/decrement 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 21-30. For information about the numeric input cursor point, see page 21-31.
Change the Value connection to 1 when the button is pressed, and to 0 when the button is released. This kind of button is called normally open, because its released state is off. Pressing the button completes the circuit. Change the Value connection to 0 when the button is pressed, and to 1 when the button is released. This kind of button is called normally closed, because its released state is on. Pressing the button breaks the circuit. Change the Value connection to a value you specify. You assign the desired values to the buttons press and release actions. For example, 50 when pressed, and 100 when released.
The error state The buttons error state is displayed at run time when:
the Value connection is unassigned. the Indicator connections value does not match one of the state values you set up.
21-19
2. In the buttons Properties dialog box, fill in the options on each tab:
In the General tab, specify what the momentary push button looks like at run time, and what type of action the button performs. In the States tab, specify what the button does when it is pressed and released. For tips about setting up states, see page 21-3. In the Common tab, specify the buttons spacial properties, name, and visibility. In the Connections tab, specify the tags or expression with which the button exchanges data. For information about assigning tags and expressions, see page 20-34.
For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-20
the Value connection is unassigned. the Indicator connections value does not match one of the state values you set up.
The error state is also displayed when the display containing the maintained push button first opens, if the Value connections value does not match one of the state values you set up. To set up a maintained push button 1. Double-click the maintained push button.
21-21
2. In the buttons Properties dialog box, fill in the options on each tab:
In the General tab, specify what the button looks like at run time, and how the button changes state. In the States tab, specify what the button does when it is pressed and released. For tips about setting up states, see page 21-3. In the Common tab, specify the buttons spacial properties, name, and visibility. In the Connections tab, specify the tags or expression with which the button exchanges data. For information about assigning tags and expressions, see page 20-34.
For details about the options in the tabs, see Help. 3. When you are finished, click OK.
the Value connection is unassigned. the Indicator connections value does not match one of the state values you set up. The Handshake connection is unassigned.
The error state is also displayed when the display containing the latched push button first opens, if the Value connections value does not match one of the state values you set up.
21-22
2. In the buttons Properties dialog box, fill in the options on each tab:
In the General tab, specify what the button looks like at run time, and how to unlatch it. In the States tab, specify what the button does when it is latched and unlatched. For tips about setting up states, see page 21-3. In the Common tab, specify the buttons spacial properties, name, and visibility. In the Connections tab, specify the tags or expression with which the button exchanges data. For information about assigning tags and expressions, see page 20-34.
For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-23
the Value connection is unassigned. the Indicator connections 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 connections value does not match one of the state values you set up. To set up a multistate push button 1. Double-click the multistate push button.
21-24
2. In the buttons Properties dialog box, fill in the options on each tab:
In the General tab, specify what the button looks like, and how the button changes state. In the States tab, specify what the button does when it is pressed and released. For tips about setting up states, see page 21-3. 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 21-11. In the Common tab, specify the buttons spacial properties, name, and visibility. In the Connections tab, specify the tags or expression with which the button exchanges data. For information about assigning tags and expressions, see page 20-34.
For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-25
2. In the buttons Properties dialog box, fill in the options on each tab:
In the General tab, specify the buttons appearance, and the value it sends to the Value connection. 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 21-3. In the Common tab, specify the buttons spacial properties, name, and visibility. In the Connections tab, specify the tag with which the button exchanges data. Interlocked push buttons have no Indicator connection. For information about assigning tags, see page 20-34.
For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-26
2. In the buttons Properties dialog box, fill in the options on each tab:
In the General tab, specify what the button looks like, whether the button uses variable or constant upper and lower limits and ramp value, and whether the button ramps a value up or down. In the Label tab, specify what text or image to display on the button. In the Timing tab, set up whether or not the button press repeats automatically when the operator presses and holds the button down, and the rate at which the button press repeats. For more information about auto repeat, see page 21-11.
21-27
In the Common tab, specify the buttons spacial properties, name, and visibility. In the Connections tab, specify the tags with which the button exchanges data. If variable ramp and limit values are selected in the General tab, assign tags or expressions to the Ramp and Limit connections. Ramp buttons have no Indicator connection. For information about assigning tags, see page 20-34.
For details about the options in the tabs, see Help. 3. When you are finished, click OK.
If the Value connection is unassigned, the numeric display is filled with asterisks (*). If the integer portion of the value, including the decimal point and minus sign, contains more digits than specified for the display, the numeric display is filled with asterisks. If the numeric display is sized so that the value cannot be fully displayed, the value is truncated and the last displayable digit is replaced with an asterisk. If the value doesnt fit on the first line of the display, and there is room for a second line, the value continues onto the second line.
21-28
2. In the objects Properties dialog box, fill in the options on each tab:
In the General tab, specify what the numeric display looks like at run time. In the Common tab, specify the objects spacial properties, name, and visibility. In the Connections tab, specify the tags or expression whose data is displayed. For information about assigning tags and expressions, see page 20-34.
For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-29
2. In the buttons Properties dialog box, fill in the options on each tab:
In the General tab, specify what the button looks like at run time, whether the operator can navigate to the button using the keys on the keyboard or keypad, and whether the operator can press the button to give it focus.
21-30
In the Label tab, specify what text or image to display on the button The same text will appear as a caption on the top of the pop-up that opens when the button is pressed at run time. 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, whether the minimum and maximum values will be variable (from tags or expressions) or constant, and decimal point settings. 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. For information about using Enter key handshaking, see page 21-12. In the Common tab, specify the buttons spacial properties, name, and visibility. In the Connections tab, specify the tags or expressions with which the button exchanges data. For information about assigning tags and expressions, see page 20-34.
For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-31
To set up a numeric input cursor point 1. Double-click the numeric input cursor point.
2. In the objects Properties dialog box, fill in the options on each tab:
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. In the Numeric tab, set up which pop-up window opens (if any), what caption (if any) will be displayed on the pop-up, the ramp value (if any), minimum and maximum values to send to the data source, whether the minimum and maximum values will be variable (from tags or expressions) or constant, decimal point settings, and display settings. 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 21-12. In the Common tab, specify the objects spacial properties, name, and visibility. In the Connections tab, specify the tags or expression with which the numeric input cursor point exchanges data. For information about assigning tags and expressions, see page 20-34.
21-32
For details about the options in the tabs, see Help. 3. When you are finished, click OK.
If the Value connection is unassigned, the string display is blank. FactoryTalk View displays the number of characters (bytes) specified for the tag assigned to the Value connection.
2. In the objects Properties dialog box, fill in the options on each tab:
In the General tab, specify what the string display looks like at run time.
21-33
In the Common tab, specify the string displays spacial properties, name, and visibility. In the Connections tab, specify the tag or expression whose data is displayed. For information about assigning tags and expressions, see page 20-34.
For details about the options in the tabs, see Help. 3. When you are finished, click OK.
2. In the buttons Properties dialog box, fill in the options on each tab:
21-34
In the General tab, specify what the button looks like at run time, whether the operator can navigate to the button using the keys on the keyboard or keypad, and whether the operator can press the button to give it focus. In the Label tab, specify what text or image to display on the button. The same text will appear as a caption on the pop-up that appears when the button is pressed at run time.
In the String tab, specify the pop-up to open and the number of characters to accept. In the Timing tab, set up the timing and handshake settings for the Enter key. For information about using Enter key handshaking, see page 21-12. In the Common tab, specify the buttons spacial properties, name, and visibility. In the Connections tab, specify the tags or expression with which the button exchanges data. For information about assigning tags and expressions, see page 20-34.
For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-35
2. In the buttons Properties dialog box, fill in the options on each tab:
In the General tab, specify what the button looks like at run time, the display to open, and the parameter file or parameter list to use, if any. In the Label tab, specify what text or image to display on the button. In the Common tab, specify the buttons spacial properties, name, and visibility.
For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-36
2. In the buttons Properties dialog box, fill in the options on each tab:
In the General tab, specify what the button looks like at run time, and whether to write out a value when the display closes. In the Label tab, specify what text or image to display on the button. In the Common tab, specify the buttons spacial properties, name, and visibility. In the Connections tab, specify the tag with which the button exchanges data. For information about assigning tags, see page 20-34.
For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-37
2. In the objects Properties dialog box, fill in the options on each tab:
In the General tab, specify what the selector looks like at run time, its number of states, whether the operator can navigate to the selector using the keys on the keyboard or keypad, and whether the cursor wraps from the bottom of the list back to the top. In the States tab, specify which graphic display to use for each of the display list selectors states, whether the display will use a parameter file or list when it opens, its opening position, and how each graphic display is named in the list. For tips about setting up states, see page 21-3. In the Common tab, specify the display list selectors spacial properties, name, and visibility.
For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-38
the Indicator connection is unassigned. the Indicator connections value does not match one of the state values you set up. the Trigger type is set to Value and the Indicator connection value does not match one of the state values you set up. the Trigger type is set to LSB and the position of the least significant bit set in the Value connection does not match one of the state values you set up. the Trigger type is set to Value and an array tag has been assigned to the objects Value connection.
21-39
2. In the objects Properties dialog box, fill in the options on each tab:
In the General tab, specify what the indicator looks like, and the number of states for the indicator. 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 21-3. In the Common tab, specify the indicators spacial properties, name, and visibility. In the Connections tab, specify the tag or expression from which the indicator receives data. For information about assigning tags and expressions, see page 20-34.
For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-40
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. The error state The symbols error state is displayed at run time when:
the Indicator connection is unassigned. the Indicator connections value does not match one of the state values you set up. the Trigger type is set to Value and the Indicator connection value does not match one of the state values you set up. the Trigger type is set to LSB and the position of the least significant bit set in the Value connection does not match one of the state values you set up. the Trigger type is set to Value and an array tag has been assigned to the objects Value connection.
21-41
2. In the objects Properties dialog box, fill in the options on each tab:
In the General tab, specify what the symbol looks like at run time, and the number of states for the symbol. 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 21-3. In the Common tab, specify the symbols spacial properties, name, and visibility. In the Connections tab, specify the tag or expression from which the symbol receives data. For information about assigning tags and expressions, see page 20-34.
For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-42
2. In the objects Properties dialog box, fill in the options on each tab:
In the General tab, specify what the indicator looks like at run time, and the number of states for the indicator. 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 21-3. In the Common tab, specify the indicators spacial properties, name, and visibility. In the Connections tab, specify the tag or expression from which the indicator receives data. For information about assigning tags and expressions, see page 20-34.
For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-43
If the temperature of an oven is lower than required for a recipe, the bar graph can show the temperature in blue. If the temperature is in the correct range for the recipe, the bar graph can show the temperature in green. If the temperature is higher than the recipe allows, the bar graph can show the temperature in red.
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.
21-44
If the temperature of an oven is lower than required for a recipe, the gauge can show the temperature in blue. If the temperature is in the correct range for the recipe, the gauge can show the temperature in green. If the temperature is higher than the recipe allows, the gauge can show the temperature in red.
Some people are color blind to red and green, so dont rely on color alone to establish meaning.
21-45
2. In the objects Properties dialog box, fill in the options on each tab:
In the General tab, specify what the bar graph looks like at run time. In the Common tab, specify the bar graphs spacial properties, name, and visibility. In the Connections tab, specify the tag or expression from which the bar graph receives data. For information about assigning tags and expressions, see page 20-34.
For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-46
Setting up gauges
The gauge graphic object represents numeric values using a needle on a dial. At run time, the gauge indicates the value of a tag or expression in relation to the gauges minimum and maximum values. To set up a gauge 1. Double-click the gauge.
2. In the objects Properties dialog box, fill in the options on each tab:
In the General tab, specify what the gauge looks like at run time. In the Display tab, specify how the gauge displays values at run time. In the Common tab, specify the gauges spacial properties, name, and visibility. In the Connections tab, specify the tag or expression from which the gauge receives data. For information about assigning tags and expressions, see page 20-34.
For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-47
Setting up scales
Use the scale graphic object to show the possible range of values for a bar graph. 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. Group all the objects with the bar graph. To set up a scale 1. Double-click the scale.
2. In the objects Properties dialog box, fill in the options on each tab:
In the General tab, specify what the scale looks like at run time. In the Common tab, specify the scales spacial properties, name, and visibility.
For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-48
key button graphic objects. These are graphic objects that duplicate the functions of keyboard keys. the arrow keys and Enter key on a terminals keypad. the arrow keys and Enter key on a keyboard.
21-49
You can use Enter key handshaking to hold the value of the tag at the programmable controller or device for a specific period of time, to ensure the value is read before the control list selector overwrites the value with a new value. Enter key handshaking only works if the Write on enter check box is selected (in the General tab). For more information about using Enter key handshaking, see page 21-12. To set up a control list selector 1. Double-click the control list selector.
2. In the objects Properties dialog box, fill in the options on each tab:
In the General tab, specify what the selector looks like at run time, its number of states, whether to write out a value when the operator presses the Enter key, whether the operator can navigate to the selector using the keys on the keyboard or keypad, and whether the cursor wraps from the bottom of the list back to the top. In the States tab, set up the value and caption for each state. The value defines the control list selectors action, by changing the Value connection to the value you specify when the selected state is in effect. For tips about setting up states, see page 21-3.
21-50
In the Timing tab, set up the timing and handshake settings for the Enter key. For information about using Enter key handshaking, see page 21-12. In the Common tab, specify the control list selectors spacial properties, name, and visibility. In the Connections tab, specify the tags or expression with which the control list selector exchanges data. For information about assigning tags and expressions, see page 20-34.
For details about the options in the tabs, see Help. 3. When you are finished, click OK.
Choosing between piloted control list selectors and control list selectors
Piloted control list selectors include the following features that control list selectors do not:
The states can be selected either by an operator, or remotely, for example by a programmable controller, or by both an operator and a remote device. Individual states can be turned off, to prevent them from being selected by either the operator or the remote device. Control list selectors do not allow states to be turned off.
The state values of all of the items that are visible in the list can be written to the Visible States connection when the list scrolls. The Visible States connection must be a data-server tag that supports arrays. You cannot use an HMI tag. Control list selectors have no Visible States connection.
The state value of the item at the top of the list can be written to the Top Position connection when the list scrolls. Control list selectors have no Top Position connection.
21-51
You can set up the piloted control list selector to be operator-controlled or remotecontrolled by assigning tags or expressions in the Connections tab. You can also set up individual states to be operator-controlled, remote-controlled, both, or none. If set to none, the state is turned off. If the piloted control list selector is set up to be operator-controlled, and the operator selects a remote-controlled state, or one that is turned off, a hollow cursor is displayed.
Using buttons with the piloted control list selector When a piloted control list selector is operator-controlled, it works with:
key button graphic objects. These are graphic objects that duplicate the functions of keyboard keys. 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 piloted control list selector that has focus, or with a specific piloted control list selector. You can use the buttons listed in the table on page 21-49. Selecting items in the list Each state can be selected directly by an operator, or remotely by a device such as a programmable controller. The operator or the controller scrolls through the list to select a different state or a different group of visible states. When an operator or remote device selects a state, the value assigned to the selected state is written to the piloted control list selectors Value connection. If the state is turned off, the states value is not written to the Value connection. If the operator attempts to select a state that is remote-controlled, the states value is not written to the Value connection.
21-52
Scrolling through the list If the piloted control list selector contains more states than can be displayed in the list simultaneously, the value of the Top Position connection (if assigned) changes whenever the item at the top of the list changes. If the Visible States connection is assigned, the values assigned to all visible states are written to the Visible States connection whenever the list scrolls. To use this feature, the assigned tag must support arrays, and the array must be the same length as the number of visible states in the piloted control list selector. For information about using array tags, see page 9-15. To set up a piloted control list selector 1. Double-click the piloted control list selector.
2. In the objects Properties dialog box, fill in the options on each tab:
In the General tab, specify what the selector looks like at run time, its number of states, whether to write out a value when the operator presses the Enter key, whether the operator can navigate to the selector using the keys on the keyboard or keypad, and whether the cursor wraps from the bottom of the list back to the top.
21-53
In the States tab, set up the value and caption for each state. Also specify whether each state can be selected, and by whom. For tips about setting up states, see page 21-3. In the Timing tab, set up the timing and handshake settings for the Enter key. For information about using Enter key handshaking, see page 21-12. In the Common tab, specify the piloted control list selectors spacial properties, name, and visibility. In the Connections tab, specify the tags or expression with which the piloted control list selector exchanges data. For information about assigning tags and expressions, see page 20-34.
For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-54
2. In the objects Properties dialog box, fill in the options on each tab:
In the General tab, specify what the local message display looks like at run time and which local message file to use. In the Common tab, specify the local message displays spacial properties, name, and visibility. In the Connections tab, specify the tag or expression with which the local message display exchanges data. For information about assigning tags and expressions, see page 20-34.
For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-55
2. In the buttons Properties dialog box, fill in the options on each tab:
In the General tab, specify what the button looks like at run time, and the macro to run when the button is pressed. In the Label tab, specify what text or image to display on the button. In the Common tab, specify the buttons spacial properties, name, and visibility.
For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-56
2. In the objects Properties dialog box, fill in the options on each tab:
In the General tab, specify what the time and date display looks like at run time. In the Common tab, specify the time and date displays spacial properties, name, and visibility.
For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-57
2. In the buttons Properties dialog box, fill in the options on each tab:
In the General tab, specify what the button looks like at run time and whether to filter the alarms to include in the report. In the Label tab, specify what text or image to display on the button. In the Print tab, specify what information to print on the report. In the Common tab, specify the buttons spacial properties, name, and visibility.
For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-58
2. In the buttons Properties dialog box, fill in the options on each tab:
In the General tab, specify what the button looks like at run time and whether to filter the alarms to include in the report. In the Label tab, specify what text or image to display on the button. In the Print tab, specify what information to print on the report. In the Common tab, specify the buttons spacial properties, name, and visibility.
For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-59
21-60
2. In the objects Properties dialog box, fill in the options on each tab:
In the General tab, specify what the alarm list looks like at run time, whether the operator can navigate to the list using a keyboard, and how scrolling works for the list. In the Alarm tab, specify the columns to include in the list, the number of lines per alarm, and the triggers to filter by, if any. In the Display tab, specify the types of alarms to display in the list, and the appearance of the different alarm conditions. In the Common tab, specify the alarm lists spacial properties, name, and visibility. In the Connections tab, specify the tags or expressions to use to control the type of alarms to display in the list. The use of these connections is optional.
For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-61
2. In the objects Properties dialog box, fill in the options on each tab:
In the General tab, specify what the banner looks like at run time and whether the operator can navigate to the banner using the keys on the keyboard or keypad. In the Alarm tab, set up whether to queue alarms, whether to display all alarms or active alarms only, and which alarms to include in a filtered trigger list. In the Common tab, specify the alarm banners spacial properties, name, and visibility.
For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-62
The operator can view the status list in three different modes:
All alarmsdisplays the status of all 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 has been reset.
The operator can press the alarm status mode button to cycle through the different modes. If desired, you can set up the alarm status list to show alarms for specific alarm triggers only. FactoryTalk View comes with a library graphic display called [STATUS] that contains an alarm status list object, alarm status mode button, and other buttons for working with the list. You can use the display and objects as is, customize them, or create your own. For more information about using alarm status lists, see page 9-34. To set up an alarm status list 1. Double-click the alarm status list.
21-63
2. In the objects Properties dialog box, fill in the options on each tab:
In the General tab, specify what the alarm status list looks like at run time, whether the operator can navigate to the list using a keyboard, and how scrolling works for the list. In the Alarm tab, specify the columns to include in the list, the number of lines per alarm, and the triggers to filter by, if any. In the Common tab, specify the alarm status lists spacial properties, name, and visibility.
For details about the options in the tabs, see Help. 3. When you are finished, click OK.
Information messages, such as messages about tag assignments, tag read and write activity, and macro usage. These are system-generated information messages. They are not the same messages as the information messages you create and display in the information message display object.
Warning messages. Error messages, such as messages about communication errors, invalid values, and unassigned connections. Audit messages about tag writes and tag write failures.
FactoryTalk View comes with a default graphic display called [DIAGNOSTICS] that contains a diagnostics list object. You can use the display and object as is, customize them, or create your own. For more information about using diagnostics lists, see page 10-12.
2. In the objects Properties dialog box, fill in the options on each tab:
In the General tab, specify what the list looks like at run time, whether the operator can navigate to the list using the keys on the keyboard or keypad, and whether the cursor wraps from the bottom of the list back to the top. In the Common tab, specify the diagnostics lists spatial properties, name, and visibility.
For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-65
For more information about using information message displays, see page 27-7. To set up an information message display 1. Double-click the information message display.
2. In the objects Properties dialog box, fill in the options on each tab:
In the General tab, specify what the information message display looks like at run time. In the Common tab, specify the information message displays spacial properties, name, and visibility.
For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-66
the types of animation and which objects support which types of animation. using the Animation dialog box. testing animation. using tag names, tag placeholders, and expressions when attaching animation. setting the minimum and maximum values for animation that uses a range of motion. using Object Smart Path to define an objects range of motion. setting up each type of animation. applying animation to groups. checking what kind of animation is attached to an object. copying and pasting animation. setting up animation for global objects.
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 vertical position vertical slider visibility
22-1
width
The Objects 5 Screen Demo sample application contains many examples of animation. In particular, see the graphic displays called Animation I and Animation II.
You can also attach animation to groups of drawing objects. For more information, see page 22-16. 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. Right-click an object, select Animation, and then click an animation type. Animation types that are not supported for the selected object are unavailable.
22-2
View menu
Animation menu
22-3
Expression range
Animation result
For details about the parts of the Animation dialog box, see Help.
22-4
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. To switch between test and edit modes
Edit Display tool
On the View menu, click Test Display or Edit Display, or click the Test Display and Edit Display tools.
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.
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. the graphic display that opens when the logout button is pressed. the graphic display that opens when auto logout is used. graphic displays that are opened using the Remote Display Number global connection.
Use parameter files or parameter lists to specify which tags or folders to substitute for which placeholders. For global objects, you can specify the tags or folders of tags using global object parameters. For more information about using parameter files, parameter lists, and global object parameters, see Chapter 25. 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 connection: #1\Tag1.
22-5
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, security functions, and if-thenelse 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 23.
Use tags min and max property valuesselect this method to use the minimum and maximum values of the first HMI tag in the expression. If more than one HMI tag is used in the expression, the first HMI tags minimum and maximum values are used. For analog HMI tags, the values are taken from the Minimum and Maximum boxes in the Tags editor. For digital tags, the minimum is 0 and the maximum is 1.
Browse button
Use constantselect this method to use numeric constants. Type the minimum and maximum values in the boxes. 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.
22-6
Use the mouse to move the object in the display. This uses the Object Smart Path feature to visually define the range of motion. Type values in the At minimum and At maximum boxes.
22-7
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 the lowest number in the range.
6. In the Animation dialog box, set this position by clicking the At minimum check box.
7. In the display, drag the rectangle to the position that will indicate the highest number in the range.
22-8
8. In the Animation dialog box, set this position by clicking the At maximum check box.
9. To save the settings, click Apply. When you finish setting up the animation, the rectangle returns to its original position.
For more information about setting up visibility animation, see Help. Example: Using visibility animation to set up security for a graphic display This example shows how to use visibility animation to control what operators can see. In a graphic display that all users have access to, only the Admin user can see the graphic object to which this animation is attached. This example uses the security function CurrentUserName( ). The function returns the string value of the Account ID (user name) for the user who is currently logged in. The CurrentUserName( ) function is case sensitive. All user names use uppercase letters, so make sure that you use uppercase letters in your expression.
22-9
To specify which user can view an object in a display 1. Select the object to limit visibility to. 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. 5. Click Apply, and then click Close. At run time, the object is visible only if the Admin user is logged in.
Color animation is available for all drawing objects except images and panels. KEEP ORIGINAL COLOR Using the Original Fill Style allows for more variations on animating an object. Instead of a specific color for the objects non-blink state, the objects original color can be used. If Original is used as a Fill Style on any state, the color palette boxes will not allow a color change. By selecting the Blink option, a different color can be used for both the Line and the Fill color or individually.
22-10
CONTROLLING COLOR SHADING Using the Shaded Fill Style along with the Blink option allows control of the shading aspect of a display object by changing combinations of Line and Fill and different colors. For more information about setting up color animation, see Help. Example 1: Creating a text object that blinks This example describes how to create a text object that constantly blinks between two colors. Since the blinking is not based on changes in tag values, the expression is simply a constant value that matches the value for the selected threshold. For details about creating text, see page 20-12. 1. Select the text object. 2. Open the Animation dialog box, and then click the Color tab. 3. In the Expression box, type 0. Zero is the default value for threshold A. 4. In the list box, click threshold A. (Leave the value in the Value box as 0.) 5. For the line color, click Blink. (If desired, click Blink for the fill color too.) 6. For each color, click the color box, and then click the color to use. 7. Click Apply.
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:
22-11
2. Click OK to close the Polygon Properties dialog box. 3. With the rectangle selected, open the Animation dialog box, and then click the Fill tab. 4. Attach fill animation as follows:
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).
In the list box, click A. (In the Value box, leave the value as 0.) For Fill Style, click Solid. For Line and Fill, click the color box, and then click gray (the same gray used for the rectangle).
In the list box, click B. In the Value box, type 80. For Line and Fill colors, click Blink. A palette box will be displayed for the Blink color.
Yellow Gray
For the line colors, select gray for the first color and yellow for the blink color. Repeat for the fill colors.
22-12
In the Value box, type 95. For the line and fill, click Blink. A palette box will be displayed for the Blink color.
Red Gray
For the line colors, select gray for the first color and red for the blink color. Repeat for the fill colors.
6. Click Apply.
22-13
To move an object on the display "up", a negative offset number is required. The topleft corner of the display has the coordinates of 0,0.
Vertical position animation is available for all drawing objects except images and panels. For more information about setting up vertical position animation, see Help.
22-14
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 move an object on the display "up", a negative offset number is required. The topleft corner of the display has the coordinates of 0,0.
Vertical slider animation is available for all drawing objects except images and panels. For tips about creating slider objects, see the previous section. For more information about setting up vertical slider animation, see Help.
22-15
Horizontal slider, vertical slider Group animation overrides animation attached to individual objects within the group. Height, width, horizontal position, vertical position, and rotation 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.
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 20-46.
22-16
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.
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.
22-17
Do not linkallows you to set up separate animation for the reference object.
Link with expressionsthe reference object uses the animation and tags or expressions assigned to the base object. Link without expressionsallows you to use only the types of animation set up for the base object, but assign different tags or expressions to the reference object.
3. If you selected Do not link or Link without expressions, set up animation for the object using the methods described in this chapter. For more information about setting up link properties and working with reference objects, see page 25-13.
22-19
22-20
23 Using expressions
This chapter describes:
the types of expression components. using the Expression editor. which editors use expressions. formatting expressions. using tag names and tag placeholders with expressions. using constants. using operators. using math, security, and language functions. using 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.
23-1
Expression components
Expressions can be built from:
tag values. tag placeholders. constants. arithmetic, relational, logical, and bitwise operators. mathematical and security functions. if-then-else logic.
Tags, arithmetic operators, bitwise operators, and mathematical functions such as SQRT (square root) return numeric values. Relational and logical operators return true/false values. The security function CurrentUserHasCode(x) also returns a true/false value. The security function CurrentUserName( ) returns a string value. The language function CurrentLanguage( ) returns a string value. Expressions that use if-then-else logic can return numeric values, true/false values, or text strings, depending on how they are structured. These are called conditional expressions because the result of the expression depends on whether the If statement is true or false. When the If statement evaluates to true, the result is defined by the Then statement. When the If statement is false, the result is defined by the Else statement. The Objects 5 Screen Demo sample application contains many examples of expressions. For example, see the alarm trigger expressions in the Alarm Setup editor.
type it directly in the Tag or expression column, for any connection that accepts expressions, or in the Expression box (for animation). open the Expression editor, and then create the expression in the editor.
23-2
23 Using expressions
and functions, thus avoiding typing mistakes. Another advantage of using the Expression editor is that you can check whether the syntax of the expression youve created is valid. To create an expression by typing it directly
Expressions that you type directly are not checked for syntax. To open the Expression editor, do one of the following
Click the Browse button in the Exprn column for a connection that accepts expressions. The Browse button is not available for connections to which you can assign only tags.
Cursor position
Validation area
23-3
For details about using the options in the Expression editor, see Help.
GraphicsYou can define an expression to control various aspects of a graphic objects appearance. For more information about assigning expressions to graphic objects, see page 20-35. You can also use expressions to attach animation to graphic objects. For more information, see Chapter 22.
Global ConnectionsYou can use expressions to remotely control when to open and print displays, as well as the date and time to display. For more information, see Chapter 8. Alarm SetupWhen setting up alarms, you can use expressions for alarm triggers, and with some of the connections 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 27. MacrosYou can use expressions in macros to assign values to tags. For more information, see page 30-1.
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. Example: Formatting an expression To format this if-then-else statement, you can align the Else with the appropriate If, so the logic is easy to understand: if (tag1 > tag2) then 0 else if (tag1 > tag3) then 2 else 4 Or you can condense it to the following: if (tag1 > tag2) then 0 else if (tag1 > tag3) then 2 else 4
23-4
23 Using expressions
Type a tag name. You can type a tag name that does not exist in the tag database. When you click OK, you are prompted to create the tag. You can create it now, or write down the name and create it later.
Click the Tags button and select a tag from the Tag Browser.
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. You can use string tags as operands with the plus (+) arithmetic operator and with the relational operators.
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. the graphic display that is opened by a logout button. the graphic that is opened when auto logout is used. graphic displays that are opened using the Remote Display Number global connection.
Use parameter files to specify which tags or folders to substitute for which placeholders. For global objects, you can specify the tags or folders of tags using global object parameters. For more information about using parameter files and global object parameters, see Chapter 25. 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 connection: #1\Tag1.
23-5
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:
Arithmetic operators
Arithmetic operators perform math on two or more numeric values and calculate the result. The arithmetic operators are:
Example (For these examples, tag1 = 5 and tag2 = 7) tag1 + tag2 returns a value of 12 You can also use this operator with string operands. See page 23-7. * / MOD,% subtraction multiplication division modulus (remainder) tag1 - tag2 returns a value of -2 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 the 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 tag1 ** tag2 returns a value of 78125
Symbol +
Operator addition
23-6
23 Using expressions
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, whether they are HMI or data server 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 NE, <> not equal tag1 <> tag2 true LT, < less than tag1 < tag2 true GT, > greater than tag1 > tag2 false LE, <= less than or equal to tag1 <= tag2 true GE >= greater than or equal to tag1 >= tag2 false
serial_no == ST009 true 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.
23-7
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. The logical operators are:
Example (For these examples, tag1 = 5 and tag2 = 7) (tag1 < tag2) AND (tag1 == 5) Both statements are true; returns a 1.
Operator and
Action 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.
OR, ||
or
(tag1 > tag2) OR (tag1 == 5) tag1 == 5 is true; returns a 1. NOT (tag1 < tag2) Although tag1 < tag2 is true, NOT reverses the logical value; returns a 0.
NOT
negation
The parentheses are essential in the above expressions. They determine the evaluation order of the operators. For more information, see page 23-10.
Bitwise operators
Bitwise operators examine and manipulate individual bits within a value.
These operators are for integers only, not floating-point numbers. Do not use them with tags or expressions that return floating-point values.
Symbol &
Operator And
Action (for examples, see page 23-10) 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.
23-8
23 Using expressions
Symbol |
Operator inclusive OR
Action (for examples, see page 23-10) 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, later in this chapter.
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.
23-9
Examples: Bitwise operators For these examples, tag1 = 5 (binary 0000 0000 0000 0101) and tag2 = 2 (binary 0000 0000 0000 0010) tag1 & tag2 Returns 0 (binary 0000 0000 0000 0000). tag1 | tag2 Returns 7 (binary 0000 0000 0000 0111). tag1 ^ tag2 Returns 7 (binary 0000 0000 0000 0111). tag1 >> 1 Returns 2 (binary 0000 0000 0000 0010). tag1 << 1 Returns 10 (binary 0000 0000 0000 1010). ~ tag1 Returns -6 (binary 1111 1111 1111 1010).
Operators in parentheses are evaluated first. Therefore, to change the order of precedence, use parentheses.
The operator with the highest precedence is evaluated next. When two operators have equal precedence, they are evaluated from left to right.
23-10
23 Using expressions
23-11
Examples: Evaluation order For these examples, tag1 = 5, tag2 = 7, and tag3 = 10. _____________________________ (tag1 > tag2) AND (tag1 < tag3) is evaluated in this sequence: 1. tag1 > tag2 = 0 2. tag1 < tag3 = 1 3. 0 AND 1 = 0 The expression evaluates to 0 (false). _____________________________ 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 The expression evaluates to 0 (false).
23-12
23 Using expressions
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.
This function 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) Returns this value 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
23-13
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 CurrentUserHasCode (Security Code Letters) 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 RSView 3.20 and earlier user names use uppercase letters.
For more information about setting up security for your application, see Chapter 11. For an example of using the CurrentUserHasCode(x) function, see page 11-11. For examples of using the CurrentUserName( ) function, see page 11-24.
Language function
The language function shows you which language your application is currently using. You can display the current language in a string display, or use it in expressions to generate language-specific messages for your users.
This function CurrentLanguage( ) Returns this value RFC1766 name of the current run-time language.
The RFC1766 name is a standard way of representing a language using the format: languagecode-Country/RegionCode where languagecode is a lowercase two-letter code and Country/RegionCode is an uppercase two-letter code. For example, U.S. English is en-US.
23-14
23 Using expressions
For more information about setting up languages for your application, see Chapter 12. For a list of RFC1766 names, see Appendix F. Language switching alarm, information, and local messages in FactoryTalk View ME Station 4.00 FactoryTalk View 5.00 and later provides direct support for switching message languages at run time. For applications that will run in FactoryTalk View ME Station version 4.00, you can use the CurrentLanguage( ) expression function to set up language switching for messages. To do this, set up trigger value offsets for series of messages in the Alarm Setup editor, information message files, and local message files. Export the text strings in the Alarm Setup editor and message files for translation. Then paste the translated strings into the editor and original message files, and assign each string the correct trigger value. For information about exporting text for translation, see Chapter 12. Example: Setting up information messages in multiple languages This example shows how to generate English, French, or German information messages at run time in an FactoryTalk View ME Station 4.00 application, depending on which language the application is using. 1. Create a tag called Information_messages that will generate trigger values of 11 to 20 for different conditions that require information messages. 2. Create an information message file. 3. Create English messages for trigger values 11 to 20. Tip: Messages are sorted alphanumerically in the Excel spreadsheet or Unicode text file created for translation. Therefore, numbers 2 through 9 would appear after 10, 11, 12, and so on. To keep your messages in order in the translation file, begin the first series of numbers at 11. 4. Create French messages for trigger values 21 to 30. 5. Create German messages for trigger values 31 to 40. 6. Assign this expression to the Value connection in the Information Setup editor:
If CurrentLanguage( )=en-US then Information_messages Else If CurrentLanguage( )=fr-FR then Information_messages + 10 Else Information_messages + 20
23-15
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 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 here.
23-16
23 Using expressions
Nested if-then-else
You can also nest an if-then-else structure inside the Then or Else part of an if-then-else structure. Example 1: Nested if-then-else This expression: if statement1 then value1 else if statement2 then value2 else value3 has this interpretation:
23-17
Example 2: Nested if-then-else This expression: if statement1 then if statement2 then value1 else value2 else value3 has this interpretation:
23-18
23 Using expressions
Example: Using write expressions In this example, the operator regulates the speed of a conveyor belt by entering a value in feet or meters per second. When the operator enters the value in meters per second, the value is converted to feet per second before being passed to the data source. The operator first indicates whether the value is in feet or meters by pushing a maintained push button. The push button has one state corresponding to feet per second, and the other state to meters per second. Then the operator presses the numeric input enable button and enters the value for the conveyor speed in a numeric pop-up keypad. The ? character in the write expression is the placeholder for the value the operator enters. To set up the maintained push button 1. In the Maintained Push Button Properties dialog box, in the States tab, set up these states:
2. In the Connections tab, assign a digital tag called Feet_or_meters to the Value connection (either an HMI tag or a data server tag). To set up the numeric input enable button 1. In the Numeric Input Enable Properties dialog box, in the Label tab, type the caption Enter conveyor speed. 2. In the Connections tab, assign a tag called Conveyor_speed to the Value connection. 3. Assign this expression to the Optional Exp connection: if Feet_or_meters == 0 then ? else ? * 3.281 FactoryTalk View writes the result of the expression to the Conveyor_speed tag at the data source.
23-19
23-20
the types of embedded variables. where you can create embedded variables. creating embedded variables. embedded variable syntax. how embedded variables are updated at run time. how embedded variables are displayed at run time.
numeric (analog or digital) tags, including both HMI and data server tags. literal numbers (constants). string tags, including both HMI and data server tags. literal strings (static text). tag placeholders. For information about tag placeholders, see page 20-37. the time. the date.
24-1
GraphicsUse this editor to insert embedded variables in the captions for graphic objects. For graphic objects with multiple states, you can insert different embedded variables in each states caption. You can also use embedded variables in the title bar for On Top displays. For information about specific graphic objects, see Chapter 21. For information about On Top displays, see page 19-12.
Local MessagesUse this editor to insert embedded variables in local messages. For more information about local messages, see page 19-26.
Information MessagesUse this editor to insert embedded variables in information messages. For more information about information messages, see Chapter 27.
Alarm SetupUse this editor to insert embedded variables in alarm messages. For more information about alarms, see Chapter 9.
24-2
5. Fill in the options in the dialog box that opens. For details about the options, see Help. To create an embedded variable in a message 1. In the Message column of the Local Messages, Information 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. For details about the options, see Help.
24-3
Tag_name is the tag to display; you can also type a literal number or tag placeholder here. Fill_character is the fill character to use: NOFILL, ZEROFILL, or SPACEFILL. # indicates the number of decimal places. Examples: Numeric embedded variable syntax To display the current value of a tag called Oven_temp, with 3 digits, no decimal places, and no fill character, type this: /*N:3 Oven_temp NOFILL DP:0*/ To display the constant 48, with 3 decimal places and 2 zeroes to the left of the number (for a total length of 8 digits including the decimal), type this: /*LN:8 48 ZEROFILL DP:3*/ At run time the numeric embedded variable would look like this: 0048.000.
24-4
Tag_name is the tag to display; you can also type a literal string or tag placeholder here. The string cannot contain spaces. SHOWSTAR (optional) specifies that if the string is longer than the fixed number of characters, an asterisk (*) will be displayed to indicate the string is truncated. If you use the minus sign (-), the asterisk will be displayed as the first character at the left end of the string. Otherwise, the asterisk will be displayed as the last character at the right end of the string. Examples: String embedded variable syntax To display the current value of a string tag called Blower_status, with a fixed length of 20 characters, you would type this: /*S:20 Blower_status*/ To display the literal string Oven temperature, type this: /*LS:20 Oven temperature*/ To display the literal string 36.5, type this: /*LS:3 36.5*/ To assign the tag placeholder #1, without a fixed string length, type this: /*S:0 #1*/ To display the value of the string tag Conveyor_message, with a fixed length of 40, displaying the right-most characters, with an asterisk to indicate if the message is truncated, type this: /*S:-40 Conveyor_message SHOWSTAR*/
24-5
Example: Time and date embedded variable syntax 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.
Graphic objects and title barsWhen a display containing a graphic object or title bar that uses an embedded variable is open, the value of the embedded variable is updated whenever a new tag value is read from the data source. For time and date embedded variables, the time and date are updated as the system time and date change.
24-6
Local messagesWhen a display containing a local message display object is open, and the message the object is displaying contains an embedded variable, the value of the embedded variable is updated whenever a new tag value is read from the data source. For time and date embedded variables, the time and date are updated as the system time and date change. Information messagesThe value of the embedded variable is read when the information message is first displayed. It is not updated after that. If the message is printed, it is printed using the value the variable had when the message was first displayed. This value is retained if you shut down and restart the application.
Alarm messagesThe value of the embedded variable is read when the alarm occurs, and is displayed in the message associated with the alarm. It is not updated after that. If the message is printed, it is printed using the value the variable had when the alarm first occurred. This value is retained if you shut down and restart the application.
24-7
Number formats The numeric variable uses the number format of the current application language. For example, if the application language uses a comma for the decimal symbol, the numeric variable uses a comma for the decimal symbol. For information about using multiple languages, see Chapter 12.
24-8
using tag placeholders and parameter files or lists. creating tag placeholders. creating parameter files and parameter lists. using global objects. creating global object displays and base objects. creating, setting up, and deleting reference objects. using global object parameters. adding process faceplates that connect to Logix5000 processors.
The topics in this chapter describe features of FactoryTalk View Studio that can help you set up your applications more quickly by reusing similar groups of objects and graphic displays.
Tag placeholders, parameter lists, and parameter files allow you to use the same graphic display with different sets of tags. Global objects allow you to use multiple instances of the same graphic object and make changes to all of the objects at once. Global object parameters allow you to assign different sets of tags to different copies of the object without breaking the link to the base object, thus preserving the ability to update all copies of the object at once. Process faceplates provide pre-configured graphic displays that interact with the instructions in Logix5000 processors.
25-1
To use the same graphic display with different sets of tags, use tag placeholders with parameter files or parameter lists. Using tag placeholders can be quicker than duplicating a display and setting up the objects in it to use a different set of tags, especially when the display uses a lot of tags. Using parameter files or parameter lists also reduces the size of the run-time application file. You can use tag placeholders wherever you would normally assign a tag to an object, including in expressions and embedded variables. You can also use tag placeholders in the expressions you create to animate objects. Tag placeholders can provide a way to use one graphic display to represent a number of similar operations. For example, suppose you are creating displays for a plant that cans corn and peas. The machinery used in both processes is identical. Instead of creating two displays and specifying corn-related tags in one display and pea-related tags in another, you can create one display and not specify any tag names. Where a tag name is required, type a tag placeholder. Use parameter files or parameter lists to specify which tags to substitute for which placeholders when a display opens at run time. For information about using parameter files, see page 25-4. For information about using parameter lists, see page 25-7. You can also use tag placeholders with global objects. You can assign tag placeholders to the connections for base objects, and to connections for reference objects with the LinkConnections property set to False. For more information about global objects, see page 25-10. You can use tag placeholders in:
the graphic display that opens when the application is first run. Specify the graphic display to open, and the parameter file or parameter list to use with it, in the Startup editor. graphic displays that are opened using goto display buttons. Specify the graphic display to open, and the parameter file or parameter list to use with it, when you set up the button. graphic displays that are opened using display list selectors. Specify the graphic displays to open, and the parameter files or parameter lists to use with them, when you set up the display list selector. the graphic display that opens when a logout button is pressed. the graphic display specified in the Project Settings Runtime tab when auto logout is enabled. displays specified in the Display tab of the Global Connections editor.
25-2
Summary of steps
Follow these steps to use tag placeholders with parameter files or parameter lists: 1. In the Graphics editor, create graphic objects and assign tag placeholders to the objects. 2. If you are using parameter files, create parameter files in the Parameters editor for each set of tags that the display will use. In the parameter files, specify which tags to substitute for which placeholders. 3. In the Graphics editor, create goto display buttons, logout buttons, or display list selectors for opening the display containing tag placeholders. Specify the appropriate parameter files in the graphic objexts dialog box. To use parameter lists, specify the
25-3
the Connections tab of the Property Panel. the Expression box in the Animation dialog box. a global objects Parameter Definitions dialog box. anywhere that you can insert an embedded variable. For information about embedded variables, see Chapter 24.
Type the cross-hatch character followed by a number from 1 to 500 (no space in between). For example, #1.
25-4
For details about using the Parameters editor, see Help. To open the Help, press F1 on your keyboard. Example: Using a parameter file to replace tag placeholders This example shows how to use a graphic display called Canning Overview with two sets of tags, one for canning corn, and one for canning peas. The Canning Overview display is opened from a graphic display called Main Menu. 1. Create these sets of tags. You can use both HMI and data server tags.
Tag type String Analog Analog Analog Tag name Corn_Name Corn_Temp Corn_Weight Corn_Level Tag name Pea_Name Pea_Temp Pea_Weight Pea_Level
25-5
2. Create two parameter files, called Corn and Peas, containing these parameters:
Corn #1=Corn_Name #2=Corn_Temp #3=Corn_Weight #4=Corn_Level Peas #1=Pea_Name #2=Pea_Temp #3=Pea_Weight #4=Pea_Level
3. In the Canning Overview display, assign tag placeholders to the Value connections for these graphic objects:
This graphic object String display Numeric display 1 Numeric display 2 Bar graph Uses this tag placeholder #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 opening the Canning display, with two states. 6. Assign the Corn parameter file to one state, and the Peas parameter file to the other. 7. Call the captions for the states Corn and Peas, respectively. 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.
25-6
The Canning Overview display looks like this when the operator selects the Peas state:
Creating parameter lists You create parameter lists by selecting the tags as you set up the objects that will open the displays that use them. The first tag in the list will replace placeholder #1, the second tag in the list will replace #2, and so on. A parameter list stays with the object when it is copied or duplicated, and with the graphic display in which it is created, when the display is copied or moved. Parameter lists can be used anywhere that parameter files can be used. The parameter list option appears in:
the States tab of the Display Selector object the General tab of the Logout button and Goto Display button objects the Initial graphic option on the Startup editor the Runtime tab of the Project Settings editor the Display tab of the Global Connections editor
Parameter lists are defined in the object on the display. If the display or the object is copied or imported to another application, the parameter list stays with the object.
25-7
Follow these steps to use tag placeholders and parameter lists: 1. In the Graphics editor, create graphic objects and assign tag placeholders to the objects. 2. In the dialog box where the parameter list option appears, click on the Browse button to open the Tag Browser. 3. Select the first tag or folder to add to the list and click OK. The tag or folder name appears in the parameter list text box. At run time, this tag replaces placeholder #1. 4. To add another tag to the list, repeat steps 2 and 3. Each tag in the parameter list box is separated from the previous tag by a comma. At run time, the second tag replaces placeholder #2, the third tag replaces placeholder #3, and so on.
Example: Using a parameter list to replace tag placeholders This example shows how to use a graphic display called Canning Overview with two sets of tags, one for canning corn, and one for canning peas. The Canning Overview display is opened from a graphic display called Main Menu. 1. Create these sets of tags. You can use both HMI and data server tags.
Tag type String Analog Analog Analog Tag name Corn_Name Corn_Temp Corn_Weight Corn_Level Tag name Pea_Name Pea_Temp Pea_Weight Pea_Level
2. In the Canning Overview display, assign tag placeholders to the Value connections for these graphic objects:
This graphic object String display Numeric display 1 Numeric display 2 Uses this tag placeholder #1 #2 #3
25-8
3. Use descriptive text to illustrate the objects in the display. 4. In the Main Menu display, create a display list selector for opening the Canning display, with two states. 5. In the first state, choose the parameter list option and select the Corn parameter tags from the Tag Browser in this order: Corn_Name, Corn_Temp, Corn_Weight, Corn_Level. In the second state, do the same for the Peas tags. 6. Call the captions for the states Corn and Peas, respectively. 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.
Parameter passing You can use parameter files or parameter lists to pass (carry forward) parameters from one display to other related displays that open from it. To carry the same parameter forward to subsequent displays, assign the same tag placeholder (for example, #1), instead of a tag name in the parameter list or parameter file field of the object in the related display. Example: Using a parameter list to replace tag placeholders in linked displays This example uses PIDE faceplate displays to demonstrate parameter passing. The main, or first level display, is called MAIN. It has a goto display button that opens a Logix_PIDE faceplate display. The faceplate has a goto display button that opens a Trend faceplate. In the Main display, the goto display button has the parameter list option on the General tab selected, and a structure tag name, with a shortcut, selected from the Tag Browser to represent #1: {::[PLC1] Program:Fermenter_Temp.Tank_PIDE01}, for example. When the button is pressed, the Logix_PIDE faceplate opens. The objects on the faceplate have been set up to read the tags in the structure: #1.CV, #1.SP, and so on. The objects
25-9
replace the parameter #1 with the structure tag name and then derive their values from the structure elements they have been set up to read. To carry the same parameters forward another level, the goto display button on the Logix_PIDE faceplate display has the parameter list option on its General tab selected, and the parameter {#1} typed in. When this button is pressed, the Trend faceplate opens, and its objects in turn replace their #1 parameters with the same structure tag name, and read their values from the appropriate elements.
Summary of steps
Follow these steps to set up global objects: 1. In the Graphics editor, create a global object display. For more information, see the next section.
25-10
2. Create graphic objects in the global object display. These are the base objects. Set up their appearance, animation, and connections. 3. Copy or drag base objects into a standard graphic display. The copied objects are reference objects. For more information, see page 25-12. 4. Edit the link properties of the reference objects as desired. For more information, see page 25-13.
For information about creating graphic objects, see Chapter 20. 3. On the File menu click Save, or click the Save tool.
Save tool
4. In the Component name box, type a name for the display, and then click OK. The display is added to the list in the Global Objects folder. To add a display or library to the Global Objects folder 1. In the Explorer window, in the Graphics folder, right-click the Global Objects icon. 2. Click Add Component Into Application. 3. Browse to and select the display or library to add, and then click Open. The display is copied into the Global Objects folder, and given the file extension .ggfx. Any ActiveX objects are deleted. All other objects are converted to base objects.
If you delete, remove, or rename a global object display, you break the links between the base objects in the display and their reference objects. For more information about breaking links, see Help.
25-11
If desired, you can assign unique connections, animation, and size to the reference object. To create a reference object 1. Copy an object from a global object display to a standard graphic display. 2. To assign unique connections, animation, or size to the object, double-click the object to open the Property Panel. For information about using the Property Panel, see page 20-29.
You can also create reference objects by adding a global object display to the Displays folder. All the objects in the new display are reference objects.
To add a global object display to the Displays folder 1. In the Explorer window, in the Graphics folder, right-click the Displays icon. 2. Click Add Component Into Application. 3. Browse to and select the global object display to add, and then click Open. The display is copied into the Displays folder, and given the file extension .gfx. All the objects are converted to reference objects. To edit a reference objects base object 1. Right-click the reference object, and then click Edit Base Object. 2. The global object display containing the base object opens, with the object selected. 3. Make your changes to the base object.
25-12
LinkSizeselect False to set up the height and width separately for the reference object. If LinkSize is set to true, when you try to resize the reference object, it will snap back to its linked size. LinkConnectionsselect False to set up connections separately for the reference object. Whether you use the base objects connections, or set up separate connections, the tags used count towards the tag limit for the display. You can assign tag placeholders to the connections for base objects, and to connections for reference objects with the LinkConnections property set to False.
LinkAnimationselect Do not link to set up separate animation for the reference object. To use the animation set up for the base object but assign different expressions to the reference object, select Link without expressions. If you select Link with expressions, the reference object uses the animation and expressions assigned to the base object.
Reference objects also have a property called LinkBaseObject, which specifies the name and location of the base object to which the reference object is linked. You cannot edit the LinkBaseObject property. To change a reference objects link properties 1. Double-click the object to open the Property Panel. 2. Make your changes to the link properties. 3. Specify the new size, connections, or animation for the object.
25-13
For information about resizing objects, see page 20-42. For information about assigning connections to objects, see page 20-30. For information about assigning animation to objects, see Chapter 22. To specify default link properties for reference objects 1. On the Edit menu, select Global Object Defaults. 2. Specify the new default values. 3. Click OK. The defaults are used for any new reference objects you create. You can still edit the properties for individual objects separately. To break the link to a base object
Right-click the reference object, and then click Break Link. The reference object becomes a regular object. You can edit all of its properties. However, you cannot restore the connection to the base object.
Recreate the base object with the same object type and name as before, on the same display as before.
25-14
add, or remove a tag or expression in the base object, the same change is made to all the reference objects. If you dont use global object parameters, you can still assign different tags to different reference objects by changing the reference objects LinkConnections property to False and the LinkAnimations property to Link without expressions. The global object parameter takes the same form as a regular parameter: #1, where 1 can be any number from 1 to 500. The parameter can be the placeholder for an individual tag or for a folder of tags. For example, #1 could be a placeholder for the path to the folder containing the PIDE tags assigned to the global object. When you set up the base object, specify the global object parameters to use with the object. You can provide a description of each parameter to remind you or another application designer of the type of value to assign to the parameter on the reference object. Then assign specific values to each parameter for the reference object. You can assign numeric or string constants, tags, or backing tags. Difference between global object parameters and regular parameters Global object parameters allow you to assign different values to different instances of the same placeholder. For example, each reference object in the display might have the placeholder #1. Using regular parameter files, you could only assign one value to #1, and this would apply to all objects in the graphic display. With global object parameters, you can assign a different value to #1 for each object that uses the placeholder #1. If a placeholder is defined in a global object parameter for an individual object and defined in a parameter file, the definition assigned to the object takes precedence. Using global object parameters with group objects To use global object parameters with a group object, the parameters are defined at the group level, not at the level of individual objects. Thus the definition applies to each object within the group. You can assign as many parameters as desired to the group. For example, you might assign #1 to some members of the group and #2 to other members of the group. If you create a global object parameter definition for an object and later group the object, the definition is deleted. In addition, if you create a global object parameter definition for a group and then ungroup the object, the definition is deleted. Values are assigned to the global object parameters at the group level as well. You cannot assign separate values to individual objects in the group.
Summary of steps
Follow these steps to use global object parameters:
25-15
1. In the global object display, assign placeholders and parameter definitions to the base object. For details, see the next section. 2. In the standard graphic display, select the reference object and specify the value to use for each parameter. For more information, see page 25-12. To specify global object parameters for the base object 1. Create placeholders in each place where you want to use a global object parameter. You can create the placeholders anywhere a tag or expression is required. You can also type placeholders in embedded variables by using a literal string embedded variable. For information about embedded variables, see Chapter 24. 2. Right-click the global object or grouped global object, and then click Global Object Parameter Definitions.
3. Specify a parameter for each placeholder for the object. If desired, type a description for each parameter. For details about using the Global Object Parameter Definitions dialog box, see Help. To open the Help, press F1 on your keyboard. To specify the parameter values for the reference object 1. Right-click the reference object or grouped reference object, and then click Global Object Parameter Values.
2. Specify a value for each parameter. The value can be a tag, backing tag, or numeric or string constant. Numeric constants are treated as strings of text.
Enhanced PID (Logix_PIDE) Discrete 2-State Device (Logix_D2SD) Discrete 3-State Device (Logix_D3SD) Totalizer (Logix_TOT) Enhanced Select (Logix_ESEL)
25-17
The name in parentheses is the name of the main graphic display and global object display. Other displays in the set are named beginning with this name, followed by a segment describing the purpose of the subdisplay. For example, Logix_ALM has two subdisplays called Logix_ALM_Config and Logix_ALM_Status. When you add process faceplates, any graphic images associated with the faceplates are added to the Images folder To add process faceplates to an application 1. In the Explorer window, right-click the HMI server, and then click Add Process Faceplates.
The Add Process Faceplates dialog box opens. 2. Select the faceplates to add. For details about selecting options in the dialog box, see Help.
25-18
steps for setting up data logging. data log files. data log models. changing the data log model used at run time. displaying data logs using the trend graphic object. problems with data logging.
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 14. 3. In the Graphics 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.
26-1
Youll need this information if you log to a custom path and want to delete the log files manually.
Set up general aspects of the model. Specify where to log the data. Specify how logging occurs.
26-2
For detailed information about the options in the Data Log Models editor, see Help. Each data log model has a unique name, and an optional description. You can log a maximum of 300,000 points. When the maximum number of data points have been logged, the oldest data is deleted to make room for the new data.
on the run-time computer on another computer on the network on a compact Flash Card (for PanelView Plus or PanelView Plus CE terminals only)
If the logging destination is unavailable for any reason, for example, the card is removed or the network drive becomes unavailable, data logging stops. It does not restart until you restart the application. Logging to a network location To log data to a network location, the network drive must be shared, and the run-time computer must be logged in to the same domain as the computer on the network. To do this, the user must have access rights for the domain. The PanelView Plus or PanelView Plus CE terminal cannot be part of a domain. However, you can verify that the user who is logged into the PanelView Plus or PanelView Plus 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 17-1.
periodically (periodic logging) only when a tag value changes (on-change logging)
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.
26-3
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 Logix5000), 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 FactoryTalk View. If you specify a heartbeat of 0, the heartbeat is not used.
26-4
4. Create the run-time application. See Chapter 14. 5. Transfer the run-time application to the run-time platform. For information about transferring applications to:
a personal computer, see Chapter 15. a PanelView Plus or PanelView Plus CE terminal, see Chapter 16.
When your application starts at run time, if any of the tags specified in the current data log model do not exist, an error message is sent to FactoryTalk Diagnostics. If the data log file is corrupted or invalid, the file is deleted and recreated, and an error message is sent to FactoryTalk Diagnostics. If logging to a folder on a networked computer, and the run-time computer is not logged in to the Windows domain of the network computer, the log folder cannot be created. An error message is sent to FactoryTalk Diagnostics. If logging to an invalid path, the log folder cannot be created. An error message is sent to FactoryTalk Diagnostics. One of the reasons that the path might be invalid is that the top-level folder of the path is not shared. When the application starts, FactoryTalk View checks whether there is disk space to store the data log models data. If there is not enough space, an error message is sent to FactoryTalk Diagnostics and data logging does not start.
26-5
26-6
steps for setting up information messages. using the Information Messages and Information Setup editors. preparing to set up information messages. how information messages work. creating information messages in multiple languages. the [INFORMATION] display. creating your own information message display. opening and closing the information message display. how the information message display graphic object works. changing the information message file used at run time.
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 connection. If you want the operator to acknowledge messages, assign the Ack connection and specify the acknowledge hold time.
27-1
3. In the Startup editor, ensure that the Information messages box is checked (it is checked by default). See Chapter 14. 4. If desired, in the Graphics editor modify the default [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 19.
You can define up to 10,000 messages in each message file. For detailed information about the options in the Information Messages editor, see Help.
27-2
For detailed information about the options in the Information Setup editor, see Help.
27-3
Information message filea text file containing a list of messages, with a numeric trigger value for each message Information message displaya graphic display that opens at run time and displays information messages Value connectiona tag or expression. When the value of this connection matches a messages trigger value, the information message display opens with the associated message displayed.
The following example shows how the key parts of the information message system work together. Example: Setting up the data source to display information messages This example shows how to set up the data source to notify the operator that a conveyor belt has stopped. In this example, the status of two conveyor belts is being monitored. You can use both HMI and data server tags. 1. Create a digital tag called Conveyor_1_status. This tag points to 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 1 2 Message Conveyor belt 1 has stopped. Conveyor belt 2 has stopped.
27-4
Save the message file with the name Conveyor belts. 5. In the Information Setup editor, assign the Information_messages tag to the Value connection, 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.
27-5
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. Another option is to place the information message display object in a graphic display that doesnt open automatically when a message is generated. For information about creating your own information message display, see page 27-7. 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 27-7. Buttons in the [INFORMATION] display The [INFORMATION] display contains these buttons:
This button Does this
Ack (information acknowledge) Acknowledges the information message Close (close display) Closes the information message graphic display.
You can assign any caption you choose to the labels on the buttons.
27-6
Using the information acknowledge button When the operator presses the information acknowledge button, if the Ack connection is assigned, the connection 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 connection is reset to 0.
Opening and closing the information message display Opening the display
The information message display you specify in the Information Setup editor (either the default [INFORMATION] display or your own display) is automatically opened whenever the Value connections value matches a trigger value. You can also create a goto display button that the operator can press to open the information message display. For information about setting up a goto display button and specifying the display to open, see Help.
27-7
information message display you have created, or can be placed in any display in your application. For information about setting up the information message display graphic object, see page 21-65.
What is displayed
If the Value connection 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 connection 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 connections value is 0, the information message graphic display is closed. If you set up information messages in multiple languages, messages are displayed in the current application language. When a language switch occurs, a message that was already in the information message display remains in the language that it originally appeared in. New messages are displayed in the new language.
a personal computer, see Chapter 15. a PanelView Plus or PanelView Plus CE terminal, see Chapter 16.
27-8
28 Setting up trends
This chapter describes:
what trends are. summary of steps for creating a trend graphic object. creating trends, and the Trend Object Properties dialog box. the parts of the trend graphic object. the different chart types. choosing colors, fonts, lines, and markers for the trend. testing the trend. 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.
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
28-1
28-2
28 Setting up trends
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 Models editor. For information, see Chapter 26. 2. Create a trend graphic object in the Graphics editor, as described on page 28-3. 3. Set up the trend in the Trend Object Properties dialog box. For details about the options in the dialog box, see Help. 4. If desired, create a next pen button, a pause button, or key buttons in the same graphic display, to allow the operator to switch between pens, pause the trend, or scroll the trend. For information about the buttons you can use with trends, see page 28-11. 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 28-12.
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 for the trend. 4. Double-click the trend to open the Trend Object Properties dialog box. 5. Set up the trend. For details, see Help. 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 20.
28-3
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.
Set up the chart style and update mode. 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 to display data for.
For details about the options in the Trend Object Properties dialog box, see Help.
28-4
28 Setting up trends
Trend border
The border appears around the trend object at run time when the trend is selected.
Trend window
The area around the chart, between the border and the chart, is the trend window.
28-5
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.
Pens
Pens are the lines and symbols used to represent values. The values can be tags you are monitoring, expressions that manipulate tag values, or constants.
28-6
28 Setting up trends
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 28-5.
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.
28-7
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. 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.
28-8
28 Setting up trends
When values for the pen have been plotted across the full width of the chart, the pen appears as a solid line.
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.
28-9
In the Property Panel, select the opaque WindowStyle, and then specify the WindowColor property.
For information about using the Property Panel, see page 20-29.
You can quickly test the trend by switching to test mode. If communications are active and there is data for the tags, the pens plot values in the trend. When you are finished testing, switch back to edit mode to continue editing. To switch between test and edit modes
On the View menu, click Test Display or Edit Display, or click the Test Display and Edit Display tools.
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 turned on in test mode.
28-10
28 Setting up trends
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.
28-11
To see how the buttons work with the trend, open the Trends graphic library (see page 28-10), and start test mode. For information about creating buttons, see Chapter 20. For details about setting up the buttons, see page 21-16.
Create a display print button. For information about creating graphic objects, see Chapter 20. Assign a tag or expression to the Remote Display Print connection (in the Global Connections editor). When the value of the tag or expression changes from 0 to a nonzero value, the current display is 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 Chapter 8.
Everything on the screen is printed, including the current display, pop-up windows, and any visible background applications. For information about specifying which printer to use at run time for applications that will run on a personal computer, see page 15-10. For information about specifying printer options for applications that will run on a PanelView Plus 6, PanelView Plus or PanelView Plus CE terminal, see the PanelView Plus Terminals User Manual.
28-12
29 Setting up RecipePlus
This chapter describes:
what recipes are. summary of steps for creating a recipe system. how the recipe system works. specifying the run-time location of recipe files. creating recipe files. comparing recipes. creating RecipePlus buttons, selectors, and tables. testing RecipePlus objects. using objects from the RecipePlus_Components graphic library. using buttons with the recipe objects. viewing data values that are saved at run time.
About recipes
A recipe is a set of numeric and string data values (ingredients) that can be downloaded to their associated tags at the data source. Each ingredient has a pre-set data value assigned to it. The set of data values for all the ingredients in a recipe is called a data set. The set of numeric and string tags assigned to the ingredients in the recipe is called a tag set. The ingredients, data sets, and tag sets are stored together in a recipe file. You can create different pairs of data sets and tag sets for the same set of ingredients. Each pairing of data set with tag set is called a unit. Each unit is like a unique recipe. At run time, the operator can select the unit (recipe) that applies to the current operation. For example, a bakery making whole wheat bread could use the same ingredients and tag sets, but depending on the type of crust desired, could use different data sets to specify different baking temperatures. As another example, you might want to have multiple production lines baking the same bread. In this case, the data set for all the production lines would be the same, but the tags receiving the recipe information would be different for each production line. Units allow you to combine different tag sets and data sets for the same set of ingredients. The FactoryTalk View RecipePlus system allows you to create up to 15,000 ingredients, 500 data sets, 50 tag sets, and 2,500 units for each recipe file. You can create data sets at
29-1
development time, edit them at run time, and also create new data sets from tag values at run time. You can write the data set values to tags, or write tag values to data sets. The RecipePlus system can be used for manufacturing food and beverages, but it can also be used for any application where you want to display, edit, download, or save multiple values at once. For example, recipes are used in the petrochemical and pharmaceutical industries. In the pharmaceutical industry, you could use recipes to design flexible packaging, creating recipes that specify the number of tissues to put in a box or the number of milliliters of shampoo to put in a bottle.
Summary of steps
These are the steps for creating a recipe system: 1. In the RecipePlus Setup editor, specify the run-time location for recipe files. The files can be stored with the application or in a separate location. For details, see page 29-5. 2. In the RecipePlus Editor, set up ingredients, data sets, tag sets, and units. You can also specify a percent complete tag and a status tag for the recipe. For details, see page 29-6. 3. Create a display in the Graphics editor, containing a RecipePlus selector, table, and buttons. For details, see page 29-10. 4. If desired, create key buttons in the same graphic display, to allow the operator to use the selector and table without a keyboard. For information about the buttons you can use with recipes, see page 29-12.
RecipePlus selector
Use the RecipePlus selector to select the recipe file and unit to work with.
RecipePlus table
Use the RecipePlus table to display the selected recipe files ingredients, tag values, and data set values. The operator can edit data set values in the table, unless you select the View only option. If desired, you can include a Compare column in the table, to compare tag values to data sets at a glance. If you choose this option, FactoryTalk View displays an X in the Compare column when the tag value and data set value for an ingredient differ. Ingredients with an X are listed first.
29-2
29 Setting up RecipePlus
RecipePlus button
Use the RecipePlus button to perform actions on the selected recipes ingredients. The recipe is selected using the RecipePlus selector object. Set up a separate RecipePlus button for each action you want to perform:
Downloadwrite the data set values to tags, for all the ingredients in the selected recipe. Uploadwrite tag values to the data set, for all the ingredients in the selected recipe. If all values are uploaded successfully, the recipe file is saved. Upload and Createwrite tag values for all the ingredients in the selected recipe to a new data set, creating a new unit. The operator is prompted for a name for the new unit. If all values are uploaded successfully, the recipe file is saved. The new data set is named Data Set n, where n is the next available number (starting at 1) that will create a unique data set name.
Restoredisplay the selected recipe in the RecipePlus table. Savesave the data set values for the recipe file and unit displayed in the RecipePlus table. If the operator made changes in the data set values using the string pop-up keyboard or numeric pop-up keypad, the new values in the table overwrite existing data set values (if any) for the unit in the recipe file. Deletedelete the recipe unit selected in the RecipePlus selector object. Renamerename the recipe unit selected in the RecipePlus selector object.
The illustration below shows a graphic library display that contains a RecipePlus selector, RecipePlus buttons, and a RecipePlus table. The display also contains key buttons for working with the selector and table, a bar graph that shows the percentage complete of the recipe operation, and a string display that shows the status of the recipe operation.
29-3
Number format
The values in the recipe table are displayed using the number format of the current application language. For example, if the application language uses a comma for the decimal symbol, floating-point values in the table use commas for the decimal symbol. For information about using multiple languages, see Chapter 12.
Numeric limits
RecipePlus supports the range of numbers allowed by the VARIANT data type. This range is -1.797693E+308 to 1.797693E+308. This range applies to the numbers that you enter in the RecipePlus Editor, and it also applies to the tag values that are uploaded to the recipe file at run time.
29-4
29 Setting up RecipePlus
This is the path to the RecipePlus folder: \Documents and Settings\All Users\Shared Documents\RSView Enterprise\ME\HMI projects\Project name\RecipePlus (Windows XP or Windows Server 2003 R2) or \Users\Public\Public Documents\RSView Enterprise\ME\HMI projects\Project name\RecipePlus (Windows Vista,Windows 7 Professional or Windows Server 2008) If recipe files are stored outside the HMI project, when you perform an action on a recipe file at run time, the file is locked until the action is completed. This prevents other users from making changes to a file while you are working with it.
29-5
For details about using the RecipePlus Setup editor, see Help.
29-6
29 Setting up RecipePlus
Specify the run-time name, status tag, and percent complete tag. Set up ingredients, minimum and maximum values, data sets, and tag sets. Set up units (pairs of data sets and tag sets).
For details about the options in the RecipePlus Editor, see Help.
You can also use the RecipePlus Editor to view the data values that are saved at run time. For more information, see page 29-13.
29-7
Comparing recipes
You can use the RecipePlus Editor to compare data sets and tags sets within a single recipe, or between two recipes. If you are comparing data sets or tag sets within a recipe, only ingredients with different values are displayed in the report. If you are comparing data sets or tag sets between two recipes, both common ingredients and unique ingredients are listed in the report. To compare recipes 1. Open the RecipePlus Editor. 2. On the Recipe menu, click Compare Recipes.
3. Specify the recipe file or files, data sets, and tag sets to compare. For information about the options in the Compare Recipes dialog box, see Help. 4. Click Compare. A report is displayed in Windows Notepad.
29-8
29 Setting up RecipePlus
Printing recipes
You can use the RecipePlus Editor to print recipe data sets. For information about printing from editors, see page 2-13.
29-9
In the Objects toolbox, click the RecipePlus Button, RecipePlus Selector, or RecipePlus Table tool. On the Objects menu, select RecipePlus, and then click RecipePlus Button, RecipePlus Selector, or RecipePlus Table.
3. Drag the mouse to create a box approximately the size you want for the object. 4. Double-click the object to open its Properties dialog box. 5. Set up the object. For details, see Help. Once you have set up a RecipePlus object, 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 the object in other graphic displays by dragging it from one display and dropping it into another. For more information about graphic objects, see Chapter 20.
On the View menu, click Test Display or Edit Display, or click the Test Display and Edit Display tools.
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.
29-10
29 Setting up RecipePlus
To use the RecipePlus_Components graphic library 1. Open the Graphics folder, and then open the Libraries folder. 2. Double-click the RecipePlus_Components library. 3. Drag and drop or copy and paste objects into your display.
29-11
To see how the buttons work with the RecipePlus selector and table, open the RecipePlus_Components graphic library (see page 29-11), and start test mode. For information about creating buttons, see Chapter 20. For details about setting up the buttons, see page 21-16. Example: Editing and downloading recipe values at run time This example shows how to use the RecipePlus graphic objects to edit and download recipe values at run time. 1. In the RecipePlus editor, create a RecipePlus file containing ingredients, several data sets, a tag set, and several units combining the different data sets with the tag set. 2. Open the RecipePlus_Components library. 3. Start test mode.
29-12
29 Setting up RecipePlus
4. Use the move up and move down buttons next to the RecipePlus selector to highlight a unit in the selector, and then press the Restore button. The units ingredients are displayed in the RecipePlus table, with the data set values in the Recipe column. 5. Use the move up and move down buttons next to the RecipePlus table to select an ingredient, and then press the Enter button. The numeric pop-up keypad opens, displaying the minimum and maximum values for the ingredient. If the ingredient is a string ingredient, the string pop-up keyboard opens. 6. Type a new value for the ingredient, and then press Enter. The new value is displayed in the Recipe column. 7. Press the Save button to save the new value. 8. Press the Download button to write all the values in the Recipe column to the tags associated with the ingredients. The values are downloaded to the data source.
Add the recipe file (*.rpp) that you saved at run time into the application using Add Component Into Application (for details, see page 18-3). If the recipe file already exists in the application, you can just copy the modified file back into the applications RecipePlus folder. (For the path to the RecipePlus folder, see page 29-5.)
29-13
2. If recipe files are stored with the HMI project, and you have not already done so, convert the run-time application file to a development application, as described on page 14-7. 3. In the Explorer window in FactoryTalk View Studio, double-click the modified recipe file. The RecipePlus Editor opens. 4. Click the Ingredients tab. 5. If the data set you want to view is not visible, scroll right to see more data sets.
29-14
30 Using macros
This chapter describes:
using macros to assign values to tags. using the Macros editor. when to use macros. running macros when tags or expressions change value. where to assign macros.
30-1
the application starts or shuts down. a graphic display opens or closes. a user logs in or out. Macros can be assigned to individual users and to groups of users. a specified tag or expression changes to a new non-zero value (using global connections). an operator presses a macro button.
At run time, when the macro runs, the values are sent to the tags at the data source.
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.
30-2
30 Using macros
30-3
Global Connections
30-4
APPENDIX A
terms that are different in PanelBuilder 1400e and FactoryTalk View. steps for converting PanelBuilder 1400e applications. names of equivalent graphic objects in the two products. PanelBuilder 1400e graphic objects that are not supported in FactoryTalk View. PanelBuilder 1400e settings and controls that are not supported in FactoryTalk View. how communications are converted and which PanelBuilder 1400e communication protocols are not supported in FactoryTalk View. converting PanelBuilder 1400e Remote I/O communications. PanelBuilder 1400e graphic object features that are not supported in FactoryTalk View, with information about how to achieve the same result when possible. converting PanelBuilder 1400e expressions.
PanelBuilder 1400e applications are applications you create using PanelBuilder 1400e Configuration Software for Windows. For information about converting applications from PanelBuilder or PanelBuilder32, see Appendix B.
You can convert PanelView 1200 applications to PanelBuilder 1400e applications, and then convert the PanelBuilder 1400e applications to FactoryTalk View Machine Edition applications.
Terminology
These terms are different in PanelBuilder 1400e and FactoryTalk View.
PanelBuilder 1400e term screen Optional Keypad Write Expression programmable controller control FactoryTalk View term display, graphic display Optional Expression data source connection
A-1
In FactoryTalk View, the data source can be memory or a device such as a programmable controller or an OPC server. FactoryTalk View 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 FactoryTalk View 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. Prepare the application in PanelBuilder 1400e, and then convert the application file, as described in the next section. 2. Specify additional project settings, as described on page 4-11. 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.
We recommend that you use the Project Settings editor to change the project window size, rather than using the Convert to new window size option in the Machine Edition Import Wizard.
3. If you use the Convert to new window size option in the Machine Edition Import Wizard, check the position of the graphic objects in each display. 4. Set up communications and edit tags that dont convert directly. For more information, see page A-9. 5. Set up graphic object features that dont convert directly. For more information, see page A-12. 6. Check each expression you used in PanelBuilder 1400e. For more information, see page A-13. 7. If you are going to use a printer at run time, set it up for Ethernet or USB printing. Adjust the printer settings on the PanelView Plus or PanelView Plus CE terminal. For information about setting up printers on the terminal, see the PanelView Plus Terminals User Manual.
A-2
For information about converting RIO applications, see page A-10. Steps to take in PanelBuilder 1400e before you convert the application 1. Delete the Pass-Through file assignment. FactoryTalk View Studio does not support pass-through file transfers. 2. Make sure the block transfer file numbers are sequential without gaps. If necessary, renumber the block transfer file numbers so there are no missing numbers. Tag addresses in the application will change automatically to match the new number. 3. Save the application. You can convert the PanelBuilder 1400e application when you open FactoryTalk View Studio, or once FactoryTalk View Studio is already open. To convert a PanelBuilder 1400e application when you open FactoryTalk View Studio 1. Open FactoryTalk View Studio.
2. In the New tab, in the Application name box, type a name for your converted application, up to 32 characters long. 3. If desired, type a description of the application.
A-3
If the 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-18. 4. If the application is intended to run as a Compact Machine Edition application, check this box. If the application exceeds the limits for Compact applications, the application will be created as a regular, non-Compact application. 5. Specify a language for the converted application. For information about using different languages, see Chapter 12. 6. Click Import.
7. Follow the steps in the Machine Edition Import Wizard. For details about the options in the Machine Edition Import Wizard, see Help. When you complete the steps of the wizard, FactoryTalk View Studio converts the PanelBuilder 1400e application, creates the converted applications folders and files, and then displays the converted application in the Explorer window in FactoryTalk View 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.
A-4
This is the path to the ME\HMI projects directory: \Documents and Settings\All Users\Shared Documents\RSView Enterprise\ME\HMI projects (Windows XP or Windows Server 2003 R2) or \Users\Public\Public Documents\RSView Enterprise\ME\HMI projects (Windows Vista,Windows 7 Professional or Windows Server 2008) Conversion messages are saved in a file called Convert.log, in the HMI projects directory. To convert a PanelBuilder 1400e application when FactoryTalk View Studio is already open 1. On the File menu, click New Application, or click the New Application tool.
New Application
If an application is already open, FactoryTalk View Studio asks you whether to close the application that is currently open. Click Yes. 2. Follow steps 2 through 7 in the previous procedure.
Notes 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 FactoryTalk View objects. The Decrement Value Button with Display is divided into two separate FactoryTalk View objects.
A-5
Notes
Screen List Selectors Up Cursor Move up button Control List Selectors list 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 Control list selector Enter button Move down button Move up button Display list selector Display list selector Goto display button Return to display button String display Specify the graphic displays that the display list selector can open. Specify the graphic displays that the display list selector can open. The PanelBuilder 1400e Control List Selector is divided into four separate FactoryTalk View graphic objects.
Numeric Keypad Enable Button Numeric input 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 Momentary push button Momentary push button Display print button Sort alarms button Reset alarm status button Alarm banner Alarm banner During conversion the button is set up to be normally open. During conversion the button is set up to be normally closed.
A-6
This PanelBuilder 1400e object Alarm Status Screen Clear All Button Print Button (in Alarm History screen) Print Button (in Alarm Status screen) Alarm Status Button/Alarm History Button Exit Button Alarm History List Display Mode Button Time Display
Is converted to this FactoryTalk View object Alarm status list Clear alarm history button Print alarm history button Print alarm status button Goto display button Close display button Alarm list Alarm status mode button Time and date display
Notes
During conversion the display is set up to show the time only. The PanelBuilder 1400e time format is not converted. For details about the FactoryTalk View time format, see page 21-15. During conversion the display is set up to show the date only. The PanelBuilder 1400e date format is not converted. For details about the FactoryTalk View date format, see page 21-15.
Date Display
Arc (with solid back style) and The line graphic object is added because the solid line FactoryTalk View arc shape does not have a line between the two points of the arc.
A-7
Scrolling List (includes Cursor List, Multistate Indicator Object List, Local Message Object List, Numeric Data Display Object List) Set Bit Cursor Point
These controls are not necessary in FactoryTalk View because the ME Transfer Utility allows you to transfer the run-time project file while running a project on the run-time terminal.
alarm relays bit alarm acknowledgement Remote Alarm Operation Hold Time. The PanelBuilder 1400e Remote Alarm Ack Control Hold Time will be used for all alarm hold times. You can change the hold time in the FactoryTalk View Alarm Setup editor, in the Advanced tab. Remote Alarm Control Delay Time. In FactoryTalk View, if an Ack connection is assigned, when an alarm is acknowledged the Ack connection is set immediately, without waiting for a delay time.
FactoryTalk View does not use these PanelBuilder 1400e controls to manage alarms:
PLC Controlled Relay control PLC Controlled Audio control Acknowledge to PLC control (if the Alarm Acknowledge to PLC option is set to Bit)
A-8
Block tags
Block tags are not supported in FactoryTalk View. 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.
Bit Position 1-BCD, 2-BCD, 5-BCD, 6-BCD, 7-BCD, 8-BCD BIN3, BIN4, BIN6, BIN8 (used with Modbus communications)
Tags that use these data types are converted to analog HMI tags with the Default data type. The Default data type uses floating point values.
A-9
For Bit Position data types, use the bitwise expression operators to display data that does not reference supported lengths. For more information, see the Rockwell Automation KnowledgeBase. To open the KnowledgeBase
In FactoryTalk View Studio, on the Help menu, select Rockwell Software on the Web, and then click Rockwell Automation KnowledgeBase.
For information about using bitwise expression operators, see page 23-8.
To convert an RIO application from PanelBuilder 1400e to FactoryTalk View 1. Convert the application, as described on page A-2. 2. Open the RSLinx Enterprise data server, and then double-click Communication Setup. 3. In the Communication Setup editor, add an RIO driver.
For PanelView Plus 400 and 600 terminals, use the 2711P-RN1 driver. For all other PanelView Plus or PanelView Plus CE terminals, use the 2711P-RN6 driver.
For information about adding drivers in RSLinx, see RSLinx Help. 4. Expand the RIO tree, right-click RIO Data, and then click Configure RIO. 5. In the RIO Configuration dialog box, right-click RIO, and then click Import. 6. Browse to the location of the RIO configuration file. The file is saved in the root of the applications directory. 7. In the Communications Setup editor, create a device shortcut that points to the RIO data device.
A-10
For information about creating a device shortcut, see RSLinx Help. 8. Apply the shortcut to the RIO driver. 9. Correct any invalid RIO configurations. Invalid RIO configurations are highlighted with red x icons.
If red x icons appear after you import the RIO .xml file, you can fix block tags in the Communication Setup editor in FactoryTalk View. The length of block tags must be the same for Read and Write pairs sharing the same rack, group, and slot.
10. Create an alias for any data that is not a 16-bit integer or bit. 11. Save the converted RIO application.
RIO configurations are not saved with the application when you exit FactoryTalk View Studio. However, they are backed up with the application in the Application Manager. For information about handling multiple applications with different RIO settings, see the Rockwell Automation KnowledgeBase. For information about using the Application Manager, see page 4-10.
has a blank address. has a data type of 1-BCD, 2-BCD, 3-BCD, 5-BCD, 6-BCD, or 7-BCD. has a data type of Bit Position and its address does not reference a single bit. float has a data type of Float and its address has a bit offset assigned that is not 0. has a data type of Long Integer or 8 Digit BCD, its address has a bit offset assigned that is not 0, and its length or range is greater than (32 - Start Bit). has a tag type of Block. has an invalid PanelBuilder 1400e address or references an undefined rack.
A-11
Graphic object Image, text, arc, ellipse, line, panel, rectangle, wedge
Notes If you want an object to blink at run time, unlock the wallpaper. In FactoryTalk View, all of the listed objects except images and panels use color animation to blink. For details, see page 22-10. Panels use the Blink property to blink. Color images do not blink. Monochrome images use the Blink property to blink.
Numeric Display
Polarity
If a PanelBuilder 1400e application was set up 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 FactoryTalk View Machine Edition. Use an expression to achieve the same result. Assign the expression to the objects Value connection. For information about expressions, see Chapter 23. Objects are converted with the Decimal Point property set to Implicit. The numeric input cursor point retains focus when the operator cancels entering a numeric value. If you want to set these objects states on application startup, create a macro to set the appropriate tag values for the objects connections. For information about macros, see Chapter 30. Assign the macro in the Startup editor. For details, see Help.
PLC Controlled and Decimal Numeric Input Cursor Point, Numeric Keypad Enable Button, Key Controlled input options Numeric Keypad Numeric Input Cursor Point Retain Cursor on Cancel
Initial state values Maintained Push Button, Multistate Push Button, Control List Selector
A-12
Unsupported feature in FactoryTalk View Blinking pens Date labels on the X-Axis Background screen plotting
Notes 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 26.
All objects
PanelBuilder 1400e object name Object names are replaced with the FactoryTalk View 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 Help. Caption and image placement FactoryTalk View 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. FactoryTalk View 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.
All objects
All objects
Converting expressions
Some PanelBuilder 1400e expression syntax is not supported in FactoryTalk View. 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. Warming text is also placed in expressions assigned to alarm triggers in the Alarm Setup editor. To turn on the expression, you must remove the warning text and exclamation marks, and revise the syntax if necessary. The maximum expression length in FactoryTalk View is 16,000 characters. If a PanelBuilder 1400e expression contains more than 16,000 characters, the excess characters are not converted.
A-13
Some PanelBuilder 1400e objects support both tags and expressions. For these objects, if the text assigned to a connection could be valid syntax for both a tag and an expression, the connection 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 turn on 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 expression to turn on.
Browse button
4. In the Expression editor, delete the warning text and exclamation marks. 5. Revise the expression, if necessary, using the tables in the following three sections as guides. 6. Click Check Syntax. For more information about using the Expression editor, see Chapter 23 or Help.
A-14
Type of expression component or operator 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 FactoryTalk View syntax. For other data types, no change is needed.
Select case
Logical Xor (if one or both operands Xor are Boolean or Single data types)
A-15
Order of precedence
The order of precedence is slightly different in FactoryTalk View. Check your expressions to make sure the result is what you intend.
PanelBuilder 1400e order of precedence () - (negation) *, / (floating point division) \ (integer division) MOD +, - (subtraction) =, <>, <, >, <=, >= Not And Or Xor
FactoryTalk View order of precedence () NOT, ~ (tilde) *, /, MOD, %, **, AND, &&, &, >>, << +, -, OR, ||, |, ^ EQ, ==, NE, <>, LT, <, GT, >, LE, <=, GE, >=
A-16
APPENDIX B
terms that are different in PanelBuilder and FactoryTalk View. steps for converting PanelBuilder applications. names of equivalent graphic objects in PanelBuilder and FactoryTalk View. PanelBuilder graphic objects that are not supported in FactoryTalk View. PanelBuilder settings and controls that are not supported in FactoryTalk View. how communications are converted and which PanelBuilder communication protocols are not supported in FactoryTalk View. converting PanelBuilder Remote I/O communications. PanelBuilder graphic object features that are not supported in FactoryTalk View, with information about how to achieve the same result when possible.
This appendix uses the term PanelBuilder to refer to both PanelBuilder and PanelBuilder32 features. For information about converting applications from PanelBuilder 1400e, see Appendix A.
Terminology
These terms are different in PanelBuilder and FactoryTalk View.
PanelBuilder term screen programmable controller control FactoryTalk View term display, graphic display data source connection
In FactoryTalk View, the data source can be memory or a device such as a programmable controller or an OPC server. FactoryTalk View writes values to and reads values from the data source. The data source is configured to exchange information (in the form of
B-1
numeric or string values) between FactoryTalk View 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-11. 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 window size, check the position of the graphic objects in each display. 4. Set up communications and edit tags that dont convert directly. For more information, see page B-8. 5. Set up graphic object features that dont convert directly. For more information, see page B-10.
B-2
To convert a PanelBuilder application when you open FactoryTalk View Studio 1. Open FactoryTalk View Studio.
2. In the New tab, in the Application name box, type a name for your converted application, up to 32 characters long. 3. If desired, type a description of the application. If the 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-18. 4. If the application is intended to run as a Compact Machine Edition application, check this box. If the application exceeds the limits for Compact applications, the application will be created as a regular, non-Compact application. 5. Specify the last language that was used to edit the application. This will be used for the converted application.
B-3
You can only import one language for your application, even if the original application uses multiple languages. The imported language will be the last language used to edit the application. For information about using different languages, see Chapter 12. 6. Click Import.
7. Follow the steps in the Machine Edition Import Wizard. For details about the options in the Machine Edition Import Wizard, see Help. When you complete the steps of the wizard, FactoryTalk View Studio converts the PanelBuilder application, creates the converted applications folders and files, and then displays the converted application in the Explorer window in FactoryTalk View 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\Shared Documents\RSView Enterprise\ME\HMI projects (Windows XP or Windows Server 2003 R2) or
B-4
\Users\Public\Public Documents\RSView Enterprise\ME\HMI projects (Windows Vista,Windows 7 Professional or Windows Server 2008) Conversion messages are saved in a file called Convert.log, in the HMI projects directory. To convert a PanelBuilder application when FactoryTalk View Studio is already open 1. On the File menu, click New Application, or click the New Application tool.
New Application
If an application is already open, FactoryTalk View Studio asks you whether to close the application that is currently open. Click Yes. 2. Follow steps 2 through 7 in the previous procedure.
This PanelBuilder object Numeric Entry Keypad Enable Button Numeric Entry Cursor Point Increment/Decrement Entry Button
Notes
Message Display
Multistate indicator
B-5
Notes The text object contains a numeric embedded variable that displays the read tag. If the original numeric data display object does not contain text, manually create a numeric display object with the desired properties in FactoryTalk View.
Connected Line Circle Freeform Screen List Selector Goto Screen Button Return Screen Button New Password Button Print Alarm List Button Clear Alarm List Button
Polyline Ellipse Freehand Display list selector Goto display button Return to display button Password button Print alarm history button Clear alarm history button The ellipse has a circular shape.
Print Only Object Circular Scale Scrolling Text Print Alarm Button Horn Silence Button Lamp/Horn Test Button Select Operator Button Enable/Disable Security Button Verify Password Button. The FactoryTalk View Password button opens a dialog box that allows the user to type and verify a new password.
B-6
Ack setting for alarm messages; in FactoryTalk View, all alarms can be acknowledged bit alarm acknowledgement
FactoryTalk View 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
External fonts
PanelBuilder external fonts are not converted. When you convert your application you can specify the font to use instead. For details, see Help for the Machine Edition Import Wizard.
Power-up options
These PanelBuilder power-up options are not imported into FactoryTalk View:
Write Last Terminal State to Controller Display Last User Screen Use Terminal Presets
B-7
B-8
For PanelView Plus 400 and 600 terminals, use the 2711P-RN1 driver. For all other PanelView Plus or PanelView Plus CE terminals, use the 2711P-RN6 driver.
For information about adding drivers in RSLinx, see RSLinx Help. 4. Expand the RIO tree, right-click RIO Data, and then click Configure RIO. 5. In the RIO Configuration dialog box, right-click RIO, and then click Import. 6. Browse to the location of the RIO configuration file. The file is saved in the root of the applications directory. 7. In the Communications Setup editor, create a device shortcut named PVRIO that points to the RIO data device. For information about creating a device shortcut, see RSLinx Help. 8. Correct any invalid RIO configurations. Invalid RIO configurations are highlighted with red x icons. 9. Save the converted RIO application.
has a blank address. has a data type of Bit Array and its address does not have an array size of 1, 8, 16, or 32.
B-9
has a data type of Bit Array, and its array size is 16 or 32, but its address does not have a bit offset of 0. has a data type of Bit or BOOL, and its address does not contain the bit delimiter character /. has a data type of 4-BCD, Unsigned Integer, Signed Integer or INT, Character Array, or DINT, and its address contains the bit delimiter character /. is a block transfer tag with a data type of Bit Array, and its array size is 8, but its address does not have a bit offset of 0 or 8. is a block transfer tag with a data type of SINT, and its address does not have a bit offset of 0 or 8. is an I/O tag with an address that references an undefined rack. is an I/O tag with a data type of SINT, and its address does not have a bit offset of 0 or 10. does not have a valid I/O address or block transfer address.
Graphic object
Notes In FactoryTalk View, all of the listed objects except images use color animation to blink. For details, see page 22-10. Color images do not blink. Monochrome images use the Blink property to blink.
Image text, arc, ellipse, freehand, line, Blink property polyline, rectangle, wedge
B-10
Graphic object Maintained Push Button, Multistate Push Button, Standard Control List Selector
Notes If you want to set these objects states on application startup, create a macro to set the appropriate tag values for the objects connections. For information about macros, see Chapter 30. Assign the macro in the Startup editor. For details, see Help.
Multistate Indicator, Message Display Print Setting Bar Graph Gauge 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. All alarms can be acknowledged. FactoryTalk View supports one, three or nine positions for images, depending on the type of object. On conversion, images are positioned using the closest match. Therefore 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
B-11
B-12
APPENDIX C
System tags
This appendix describes system tags. System tags are preconfigured HMI tags created by FactoryTalk View. System tags are read-only. Display them as needed in your application.
Alarms
The following tag contains the time and date when the status of alarms was last reset. The date uses the long date format.
Tag name system\AlarmReset DateAndTimeString Type String Function Contains the date and time of the last alarm reset.
Graphics
The following HMI tags can be used to make graphic objects appear as though they are blinking on and off:
Tag name system\BlinkFast system\BlinkSlow Type Digital Digital Function 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 22-10. Also, many objects have a Blink property that you can set up. For information about specific objects, see Help.
C-1
Time
These HMI tags record time and date information in various formats:
Tag Name system\Date system\DateAndTime Integer Type String Analog Provides this data System date. Number of seconds elapsed since midnight (00:00:00) January 1, 1970, coordinated universal time. Complete date and time display. For example: Monday, December 12 2001 10:47:50 AM Day of the month (1 - 31). Day of the week (1-7); Sunday = 1. Day of the year (1-366). 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). Read or write Read only Read only
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
Read only Read only 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
C System tags
User
This tag contains the name of the current user:
Tag Name system\User Type String Function Contains name of logged-in user.
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 FactoryTalk View 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 23-14.
C-3
C-4
APPENDIX D
Severity
SQL_SMALLINT, or SQL_INTEGER
Area
80
Location
15
D-1
Contains The name of the user (including domain name, if there is one) that initiated the action that caused the diagnostics message. If the diagnostics message was caused by an HMI server, the user column contains System. The full name of the user that was logged in when the activity occurred. The name of the product that generated the message.
Length 38
UserFullName Provider
255 20
D-2
APPENDIX E
creating alarm XML files. exporting, editing, and importing XML files. the alarm XML file structure.
About XML
XML is the Extensible Markup Language used to create documents with structured text information. It has a standardized format and structure. You can use XML to edit the elements and attributes needed to create an alarm setup file or to modify graphic displays. For information about working with graphics XML files, see Appendix H. Sometimes editing your alarm setup in an XML file is quicker than working in FactoryTalk View. For example, if you have a list of 100 tags to monitor for alarms, with multiple messages for each tag, you might prefer to enter all the information in a text editor, and then import the alarm setup information into FactoryTalk View. Another example of using XML files is to export the alarm setup information you develop in one application, import the setup information to another FactoryTalk View application, and then modify the alarm setup as needed. Or, you could modify the information in the XML file before importing it. For more information about XML, see the World Wide Web Consortiums web page about XML at: http://www.w3.org/XML.
To export alarm information to an XML file 1. In the Explorer window, right-click the Alarm Setup editor. 2. Click Import and Export.
E-1
The Alarm Import Export Wizard opens. 3. Follow the instructions in the wizard. For information about using the Alarm Import Export Wizard, see Help. FactoryTalk View creates a file with the name you specify, in the location you specify.
If you can see the XML code, your file is well-formed. If the XML code is not wellformed, Internet Explorer displays an error message.
E-2
If the application is a Compact Machine Edtion application, only the number of alarms allowed by the Compact application limits will be imported.
E-3
<triggers> <trigger id=T1 /> <trigger id=T2 /> </triggers> <messages> <message id=M1 /> <message id=M2 /> </messages> </alarm> </alarms>
You can specify multiple attributes for an element. For example, the alarm element contains 11 possible attributes from the Advanced tab of the Alarm Setup editor. For more information about alarm elements and their attributes, see Help for the Alarm Import Export Wizard.
E-4
APPENDIX F
RFC1766 names
This appendix describes RFC1766 names for Windows languages.
F-1
RFC1766 Name euES beBY bgBG caES zhHK zhHK zhMO zhMO zhCN zhCN zhSG zhSG zhTW zhTW hrHR csCZ daDK divMV nlBE nlNL enAU enBZ enCA enCB enIE enJM enNZ enPH enZA enTT enGB
Language Country/Region Basque Basque Belarusian Belarus Bulgarian Bulgaria Catalan Catalan Chinese Hong Kong SAR (Default Sort Order Stroke Count) Chinese Hong Kong SAR (Alternate Sort Order Stroke Count) Chinese Macau SAR (Default Sort Order Pronunciation) Chinese Macau SAR (Alternate Sort Order Stroke Count) Chinese China (Default Sort Order Pronunciation) Chinese China (Alternate Sort Order Stroke Count) Chinese Singapore (Default Sort Order Pronunciation) Chinese Singapore (Alternate Sort Order Stroke Count) Chinese Taiwan (Default Sort Order Stroke Count) Chinese Taiwan (Alternate Sort Order Bopomofo) Croatian Croatia Czech Czech Republic Danish Denmark Dhivehi Maldives Dutch Belgium Dutch The Netherlands English Australia English Belize English Canada English Caribbean English Ireland English Jamaica English New Zealand English Philippines English South Africa English Trinidad and Tobago English United Kingdom
F-2
F RFC1766 names
RFC1766 Name enUS enZW etEE foFO faIR fiFI frBE frCA frFR frLU frMC frCH mkMK glES kaGE kaGE deAT deDE deDE deLI deLU deCH elGR guIN heIL hiIN huHU huHU isIS idID itIT
Language Country/Region English United States English Zimbabwe Estonian Estonia Faroese Faroe Islands Farsi Iran Finnish Finland French Belgium French Canada French France French Luxembourg French Monaco French Switzerland FYRO Macedonian Galician Galician Georgian Georgia (Default Sort Order Traditional) Georgian Georgia (Alternate Sort Order Modern Sort) German Austria German Germany (Default Sort Order Dictionary) German Germany (Alternate Sort Order Phone Book Sort DIN) German Liechtenstein German Luxembourg German Switzerland Greek Greece Gujarati India Hebrew Israel Hindi India Hungarian Hungary (Default Sort Order) Hungarian Hungary (Alternate Sort Order Technical Sort) Icelandic Iceland Indonesian Indonesia Italian Italy
F-3
RFC1766 Name itCH jaJP jaJP knIN kkKZ kokIN koKR koKR kyKZ lvLV ltLT msBN msMY mrIN mnMN nbNO nnNO plPL ptBR ptPT paIN roRO ruRU saIN srSPCyrl srSPLatn skSK slSI esAR esBO esCL
Language Country/Region Italian Switzerland Japanese Japan (Default Sort Order) Japanese Japan (Alternate Sort Order Unicode) Kannada India Kazakh Kazakhstan Konkani India Korean Korea (Default Sort Order) Korean Korea (Alternate Sort Order Korean Xwansung Unicode) Kyrgyz Kazakhstan Latvian Latvia Lithuanian Lithuania Malay Brunei Malay Malaysia Marathi India Mongolian Mongolia Norwegian (Bokml) Norway Norwegian (Nynorsk) Norway Polish Poland Portuguese Brazil Portuguese Portugal Punjabi India Romanian Romania Russian Russia Sanskrit India Serbian (Cyrillic) Serbia Serbian (Latin) Serbia Slovak Slovakia Slovenian Slovenia Spanish Argentina Spanish Bolivia Spanish Chile
F-4
F RFC1766 names
RFC1766 Name esCO esCR esDO esEC esSV esGT esHN esMX esNI esPA esPY esPE esPR esES esES esUY esVE swKE svFI svSE syrSY taIN ttRU teIN thTH trTR ukUA urPK uzUZCyrl uzUZLatn viVN
Language Country/Region Spanish Colombia Spanish Costa Rica Spanish Dominican Republic Spanish Ecuador Spanish El Salvador Spanish Guatemala Spanish Honduras Spanish Mexico Spanish Nicaragua Spanish Panama Spanish Paraguay Spanish Peru Spanish Puerto Rico Spanish Spain (Default Sort Order International) Spanish Spain (Alternate Sort Order Traditional) Spanish Uruguay Spanish Venezuela Swahili Kenya Swedish Finland Swedish Sweden Syriac Syria Tamil India Tatar Russia Telugu India Thai Thailand Turkish Turkey Ukrainian Ukraine Urdu Pakistan Uzbek (Cyrillic) Uzbekistan Uzbek (Latin) Uzbekistan Vietnamese Vietnam
F-5
F-6
APPENDIX G
which versions of FactoryTalk View ME Station are supported. which features are not supported in previous versions of FactoryTalk View ME Station.
FactoryTalk View ME Station version 6.10 FactoryTalk View ME Station version 6.00 FactoryTalk View ME Station version 5.10 FactoryTalk View ME Station version 5.00 RSView ME Station version 4.00 RSView ME Station version 3.20 RSView ME Station version 3.10 RSView ME Station version 3.00( Studio can open 3.0, but cannot create a 3.0 MER.)
Multiple version support is useful for system designers and others who create and modify applications for different versions of FactoryTalk View ME Station on an ongoing basis. You can use the latest version of FactoryTalk View Studio on a single development computer to provide applications for terminals that use previous versions of FactoryTalk View ME Station. To check which version of FactoryTalk View ME Station you are using: 1. In FactoryTalk View ME Station, click Terminal Settings. 2. Click System Information. 3. Click About FactoryTalk View ME Station.
G-1
Delete the Shaded or Original animation from Graphics Graphics objects with Shaded and Original animation is not support on objects animation. v5.10 or earlier release. Or User can select Solid in Fill Style to create version5.1 mer
Delete the tag or expression assigned in the Display tab of Tag or expression assigned to the Parameter File or Use Parameter List the Global Connections editor. connections
G-2
Do this
Tag or expression assigned to one or Delete the tag or expression in the Display tab of the Global Connections editor. more of the Parameter Tag #1-10 connections Parameter list property assigned in the Properties dialog box of a Display List Selector, Goto Display button, or Logout button graphic object Parameter list property assigned to the display specified for auto logout in Project Settings In the objects Properties dialog box, clear the Parameter list assignment.
In the Project Settings editors Runtime tab, clear the Parameter list assignment.
Parameter list assigned to the Initial In the Startup editor, clear the Parameter list assignment for graphic property in the Startup editor the Initial graphic. Use variable minimum/maximum property assigned to Numeric Input Cursor Point or Numeric Input Enable object Caption on Keypad property assigned to Numeric Input Cursor Point object In the Numeric tab of the objects Properties dialog box, clear the Use variable minimum/maximum property.
In the Numeric tab of the objects Properties dialog box, set the Caption on keypad/scratchpad property to blank.
Minimum or Maximum connections In the Connections tab of the objects Properties dialog box, delete the tag or expression assigned to the Minimum or assigned for Numeric Input Cursor Maximum connection. Point or Numeric Input Enable object Use variable ramp or Use variable limit property set for the Ramp button object In the General tab of the objects Properties dialog box, clear the Use variable lower/upper limit and Use variable ramp value properties.
Ramp or Limit connection set for the In the Connections tab of the objects Properties dialog box, Ramp button object delete the tag or expression assigned to the Ramp or Limit connection. The application is designated as a Compact Machine Edition application in Project Settings In the General tab of the Project Settings editor, clear the Compact Machine Edition application check box.
G-3
Display undefined strings using the In the Language Configuration dialog box, clear the default language option options checkbox. Tag assigned to the MERuntime RAM Usage, Total RAM Usage, or Available RAM connection Tag or expression assigned to the Remote RAM Usage connection Unassign the tag in the Memory tab of the Global Connections editor. Unassign the tag or expression in the Memory tab of the Global Connections editor.
CaptionOnBorder property assigned In the Property Panel, set the objects CaptionOnBorder to graphic object property to False. Embedded variable L character assigned to a caption or message Select the Tag radio button in the Numeric Variable or String Variable dialog box for the caption or message.
Minus sign (-) qualifier used to show Clear the Right-most characters in string are displayed right-most text assigned to a caption checkbox in the String Variable dialog box for the caption or message. or message SHOWSTAR qualifier assigned to a caption or message Embedded variable assigned to the title bar of an On Top display RSLinx Enterprise Remote I/O alias with a BitArray data type Global object parameter definition or value Clear the Show * character if string is longer than field width checkbox in the String Variable dialog box for the caption or message. Remove the embedded variable. Assign a different data type to the alias. Delete the global object parameter definition. The corresponding value will be deleted automatically. Use parameter files instead.
G-4
Unsupported RSLinx Enterprise feature or shortcuterror Global reference object that is not linked to a global base object
Acknowledge all alarms button with Clear the Filtered triggers box. a filtered trigger Print alarm history button with a filtered trigger Print alarm status button with a filtered trigger Clear alarm history button with a filtered trigger Clear alarm history button with the Reset alarm status option cleared Clear the Filtered triggers box. Clear the Filtered triggers box. Clear the Filtered triggers box. Select Reset alarm status.
G-5
Select the Display check box for each alarm condition Select the Display check box for only these alarm conditions:
Alarm list graphic object with Blink selected for one or more alarm conditions Alarm list graphic object with Use alarm colors turned off for one or more alarm conditions Alarm list graphic object with the Acknowledged symbol column turned off Alarm list graphic object with an Acknowledged symbol other than * Alarm list graphic object with the Active symbol column displayed Alarm list graphic object with tags or expressions assigned to one or more connections Alarm list graphic object with Selected alarm indicator set to Cursor Alarm list graphic object with Lines per alarm set to >1 Alarm banner graphic object with Use alarm colors selected
For all alarm conditions that you are displaying, clear the Blink check box. For all alarm conditions that you are displaying, select the Use alarm colors check box. Select the Display column check box for the Acknowledged symbol column. Change the Acknowledged symbol to *. Clear the Display column check box for the Active symbol column. Clear the tags or expressions assigned to the connections.
Change the Lines per alarm to 1. Clear the Use alarm colors check box.
G-6
Do this
Alarm status list graphic object with Clear the Use alarm colors check box. Use alarm colors selected Alarm status list graphic object with Change the Lines per alarm to 1. Lines per alarm set to >1 Alarm status list graphic object with Change the Fore color to white. a Fore color other than white
G-7
G-8
APPENDIX H
creating graphics XML files. exporting, editing, and importing XML files. the graphics XML file structure.
About XML
XML is the Extensible Markup Language used to create documents with structured text information. It has a standardized format and structure. You can use XML to edit the elements and attributes needed to create an alarm setup file or to modify graphic displays and global displays. For information about working with alarm XML files, see Appendix E. Sometimes editing your display information in an XML file is quicker than working in FactoryTalk View. For example, if you have a list of 100 local messages to set up for a graphic display, you might prefer to enter all the information in a text editor, and then import the display information into FactoryTalk View. For more information about XML, see the World Wide Web Consortiums web page about XML at: http://www.w3.org/XML.
To export graphic display information to an XML file 1. In the Explorer window, right-click the Displays editor or the Global Objects editor. 2. Click Import and Export.
H-1
The Graphics Import Export Wizard opens. 3. Follow the instructions in the wizard. For information about using the Graphics Import Export Wizard, see Help. FactoryTalk View creates XML files for the selected graphic displays, in the location you specify. FactoryTalk View also creates a file called BatchImport_Application name.xml, in the same location. You can use this file to import multiple displays at the same time. To import a different set of displays than you exported, edit the list of display names in the BatchImport_Application name.xml file.
H-2
If you can see the XML code, your file is well-formed. If the XML code is not wellformed, Internet Explorer displays an error message.
If the application is a Compact Machine Edtion application, only the number of displays allowed by the Compact application limits will be imported.
H-3
XML document is called gfx. It represents the display. An XML document can contain only one root element. All other elements in the document must be contained or nested within the root element. In an XML document, the start of an element is marked <element name>. The end is marked </element name>. If the element contains no subelements, the end can be marked />. For example, <caption fontFamily=Arial fontSize=8 bold=false />. The syntax for specifying an attribute for an element is attribute=value. The attribute value must be enclosed in single or double quotes. Here is a sample structure for a graphic display XML document containing two graphic objects. The second object has states:
Element <gfx> <displaySettings /> <object1> Description Root element. Contains attributes from the Display Settings dialog box in the Graphics editor. Contains attributes from the General and Common tabs in the objects Properties dialog box, as well as elements for the objects caption, image, animation, and connections. Contains attributes for the objects caption. Contains attributes for the objects image. Contains an animation element for each type of animation set up for the object. Contains attributes for Visibility animation. Contains attributes for Color animation. Indicates the end of the animations element. Contains a connection element for each connection assigned to the object.
<caption /> <imageSettings /> <animations> <animateVisibility /> <animateColor /> </animations> <connections>
<connection name= Value /> Contains attributes for the Value connection. <connection name= Indicator Contains attributes for the Indicator connection. /> </connections> </object1> Indicates the end of the connections element. Indicates the end of the object1 element.
H-4
Element <object2>
Description Contains attributes from the General and Common tabs in the objects Properties dialog box, as well as elements for the objects states and connections. Contains state elements for each of the objects states. Contains attributes for the objects first state, as well as elements for the states caption and image. Contains attributes for the states caption. Contains attributes for the states image. Indicates the end of the state element. Contains attributes for the objects second state, as well as elements for the states caption and image. Contains attributes for the states caption. Contains attributes for the states image. Indicates the end of the state element. Indicates the end of the states element. Contains a connection element for each connection assigned to the object.
<states> <state stateid=0> <caption /> <imageSettings /> </state> <state stateid=1> <caption /> <imageSettings /> </state> </states> <connections>
<connection name= Value /> Contains attributes for the Value connection. <connection name= Indicator Contains attributes for the Indicator connection. /> </connections> </object2> </gfx> Indicates the end of the connections element. Indicates the end of the object2 element. Indicates the end of the gfx element.
You can specify multiple attributes for an element. For example, the caption element contains 13 possible attributes. Elements for group objects begin with <group> and end with </group>. The <group> element contains all the elements for each object in the group. For more information about graphic object elements and their attributes, see Help for the Graphics Import Export Wizard.
H-5
H-6
Symbols .bmp files 20 importing 21 location of 21 placing in graphic displays 14 tips for using 25 viewing 23 .dxf files 20 placing in graphic displays 21 .jpg files 20 importing 21 placing in graphic displays 14 tips for using 25 viewing 23 .mea files 11 .med files 1 .mer files 2 comparing 8 converting to .med 4, 7 creating 3 transferring from PanelView Plus or PanelView Plus CE 7 to PanelView 1, 6 to PanelView Plus CE 1, 6 to personal computers 1, 3 .wmf files 20 placing in graphic displays 21 .xml files 4, 5, 1 Numerics 21 CFR Part 11 compliance 5 A A.I. 5 tags importing 11 AB_DF1-1
using to transfer applications 5 AB_ETH-1 using to transfer applications 6 Acknowledge alarm button graphic object 7, 16 using with alarm objects 8, 36 Acknowledge all alarms button graphic object 8, 16 using with alarm lists 36 ActiveX objects 2 animating 2 at run time 17, 18 creating 21 navigating to 7 using to display tag values 6, 9 using to set tag values 5, 9 Addressing syntax for HMI tags 5 Logix5000 6 Adobe Reader 1 ALARM BANNER display editing 26 Alarm banner graphic object 9, 61 at run time 33, 19 linking buttons to 9 navigating to 7 specifying time and date format for 17 using buttons with 36 ALARM display 6 editing 25 window size 14 Alarm display opening and closing 25, 31 remotely 25 Alarm Import Export Wizard 1 Alarm list graphic object 9, 60
at run time 32, 19 linking buttons to 9 navigating to 7 specifying time and date format for 17 using buttons with 36 Alarm log file 3, 10 deleting at application startup 16 printing contents of 10 Alarm messages embedded variables in 2 exporting to XML 1 handshaking 21 importing XML 3 multiple languages for 5, 17 printing at run time 10 viewing at run time 19 ALARM MULTI-LINE display 6 copying 30 editing 27 Alarm Setup editor 3 exporting to XML 1 importing XML 3 using tags in 9 Alarm status list graphic object 9, 62 at run time 34 linking buttons to 9 navigating to 7 using buttons with 36 Alarm status mode button graphic object 7, 16 using with alarm status lists 36 Alarm triggers 5 and the default language 5 data types for 11 exporting to XML 1
importing XML 3 Alarms 1 acknowledging 8, 19, 38 remotely 19, 21, 24 clearing 8, 40 creating your own display for 31 deleting 40 displaying 6 displaying in the alarm status list 41 expressions in 4 filtering 5 handshaking 18 for remote acknowledgements 21 importing and exporting 4, 5 keeping a permanent record of 6, 10 notification methods for 6 planning 6 printing 10 queueing 18 resetting status of 9, 25, 40 remotely 25 responding to 7 retaining status of 41 sending messages to the data source 23 setting up 2 silencing 9, 24, 39 remotely 24 sorting 9, 40 testing on the development computer 2 Analog tags 1 how floating-point values are rounded 2 logging values for 4 monitoring for alarms 4 using to generate a range of alarms 11
Animation 1 checking 16 copying 18 defining range of motion for 7 for global objects 18, 13 for group objects 45, 16 setting minimum and maximum values for 6 testing 5 viewing in Object Explorer 25 using expressions 6 using Object Smart Path 4, 7 using tags and placeholders 5 Animation dialog box 2 Animation types 1 color 10 fill 13 height 14 horizontal position 13 horizontal slider 15 rotation 14 vertical position 14 vertical slider 15 width 14 visibility 9 Application Explorer 4, 5 showing and hiding 8 using 8 Application files converting from runtime to development 4, 7 deleting from disk 4 viewing location of 18 Application Manager 10 converting .mer files to .med files 7 security for 10
Application properties viewing 18 Application text exporting for translation 6 importing 13 translating in Excel 9 translating in Unicode 9 Applications 1 backing up and restoring 10 closing 10 comparing 8 converting PanelBuilder 1 PanelBuilder 1400e 1 PanelBuilder 32 1 copying, deleting, and renaming 10 creating 4 importing PanelBuilder 1 PanelBuilder 1400e 1 PanelBuilder 32 1 multiple version support for 10, 1 opening 7 multiple 9 problems with 9 planning 1 runtime, creating 3 sample, granting users access to 2 sample, opening 2 security for 18, 19, 20 specifying language for 5, 4, 3 testing on the development computer 2 transferring from PanelView Plus or PanelView Plus CE 7 transferring to PanelView Plus or PanelView Plus CE 6
versus projects 1 using earlier versions of FactoryTalk View 1 using earlier versions of RSView 10 Arc graphic object 3, 16 Arithmetic operators in expressions 6 evaluation order of 10 Array tags 15 data types for 15, 16 Arrow images 21 Audiences for diagnostics messages 4 Auto repeat 11 AutoCAD files See .dxf files Automatic logout 13, 23 B Background Color toolbar 31 Background style transparent 21 Backing tags 6, 14 Backspace button graphic object 6, 16, 49 Bar graph graphic object 5, 44, 46 at run time 18 using animation to create 11 using with recipes 11 Base objects breaking links to 14 creating 11 deleting 14 editing 12 Bit arrays using to generate alarms based on priority sequence 13 using to generate multiple alarms 12
Bit trigger type 12 Bitmap files See .bmp files Bitwise operators in expressions 8 evaluation order of 10 Bounding box 5 Button graphic objects bounding box 5 creating touch margins for 4 linking to specific objects 9 repeating button presses 11 selecting objects to send button presses to 7, 9 using function keys with 5 using with alarm banners 6, 8 using with alarm history and diagnostics messages 8 using with lists 6 using with numeric input objects 6, 8 using with trends 6, 8, 11 Button presses repeating 11 sending to graphic objects 7, 9 C Caches for data servers synchronizing 5 Change Password window 5 Circle graphic object 3, 17 Clear alarm banner button graphic object 8, 7, 16 using with alarm banners 36 Clear alarm history button graphic object 8, 16 clearing alarms with 8 resetting alarms with 9 silencing alarms with 9 using to delete the alarm log file 10
using with alarm lists 36 Close display button graphic object 3, 36 and alarms 31 and diagnostics messages 12 and information messages 6, 7 using to navigate 3, 6 Closing On Top displays 6 Color blinking 1 for graphic objects 31 in graphic displays animating 10 in trends 9 Color animation 6, 10 at run time 18 Communication drivers setting up at run time for transfer to PanelView Plus 4 for transfer to PanelView Plus CE 4 on personal computers 9 setting up in RSLinx Enterprise at run time 9 for transfer to PanelView Plus 5 for transfer to PanelView Plus CE 5 Communications displaying errors at run time 20 setting up 1 testing on the development computer 2 Compact Machine Edition application 1, 4, 3 project settings 15 Components 11, 1 adding into applications 3 file locations 2 printing 13, 5
security for 18 working with 1 Connections 2 assigning to graphic objects 34 using the Property Panel 30 expressions 2 for alarms 5, 17, 23 tags 2 Constants in expressions 6 Context menus 6 Control list selector graphic object 5, 49 at run time 17 differences from piloted control list selectors 51 linking buttons to 9 navigating to 7 using Enter key handshaking with 12 Current trends 5, 2 D Data log files 3, 1 Data log models changing the model to use at run time 4 deleting tags from 4 Data Log Models editor 2 using tags in 12 Data logging 1 choosing the data to log 4 methods 3 problems with 5 setting up 1 storage locations 3 to monitor memory usage 8 Data server tags 1 browsing for 5
how to use 3 when to use 3 Data servers 8, 1, 2 creating 4 synchronizing caches for 5 Data sets, for recipes 1 comparing 8 printing 9 Data source ensuring values are read by 12 for alarms 3 for HMI tags 5 for information messages 3 for local messages 28 for tags 2, 5 for trends 2 Default graphic displays ALARM display 6 DIAGNOSTICS display 11 INFORMATION display 6 Default language 2 and alarm triggers 5 DEFAULT user 4 at runtime 3 DeskLock tool 2, 17 Device shortcuts editing at run time 6 Device tags 5 addressing syntax for 5 Diagnostics clear all button graphic object 8, 16 using with diagnostic lists 13 Diagnostics clear button graphic object 7, 16 using with diagnostics lists 13 DIAGNOSTICS display 11
at run time 19 opening and closing 12 window size 14 Diagnostics List 5 clearing messages in 5 displaying 5 moving 5 resizing 5 showing and hiding 8 using to test displays 10 Diagnostics list graphic object 9, 64 at run time 12, 19 displaying communication errors in 20 linking buttons to 9 navigating to 7 using buttons with 13 Diagnostics List Setup editor 8 Diagnostics messages 1 audiences for 4 creating your own display for 11 displaying at run time 8, 19 displaying during application development 5 logging from PanelView Plus and PanelView Plus CE terminals 6, 8 logging to an ODBC database 7 message severity 4 ODBC format for 1 printing at run time 8 setting up at run time 10 setting up destinations for 6 setting up message routing for 6, 8 viewing log files 5 Diagnostics Setup tool 6 Diagnostics Viewer tool 6 Digital tags 1
logging values for 4 monitoring for alarms 4 DIN symbols 21 Display editor See Graphic Displays editor Display list selector graphic object 3, 37 linking buttons to 9 navigating to 7 using parameter files with 3 using to navigate 3, 6 Display number specifying 4, 5 Display print button graphic object 31, 3, 16 printing trend data with 12 using the data source instead of 5 Display Settings dialog box 11 exporting to XML 1 importing XML 3 Display size See Window size Display types 12 and navigation 4 default 3 Displays See Graphic displays Documentation for FactoryTalk View finding 1, 2 printing 1 Drawing objects 1 animating 2 coloring 32 creating 12 flipping 52 locking into position 53
reshaping 43 rotating 52 Drivers See Communication drivers E Edit mode 10 Editor types Alarm Setup 3 Data Log Models 2 Diagnostics List Setup 8 Expression 2 Global Connections 2 Graphic Displays 3 Graphic Libraries 16 Images 22 Information Messages 2 Information Setup 3 Local Messages 27 Parameters 5 Project Settings 17 RecipePlus Editor 6, 8 RecipePlus Setup 5 Runtime Security 3 Editors printing in 13, 5 working with 10 Ellipse graphic object 3, 17 Embedded variables 1 displaying at run time 7 in title bars 12 syntax for 3 types of values 1 updating at run time 6 End button graphic object 6, 16, 49
using with alarm objects 38 using with diagnostics lists 13 using with recipes 12 using with trends 11 Enter button graphic object 6, 16, 49 and Enter key handshaking 12 using with alarm objects 8, 38 using with recipes 12 Enter key handshaking 12 Error messages
See
Diagnostics messages Problems at run time Exporting alarm files 4, 1 global object displays 1 graphic displays 5, 1 problems with 8 text for translation 6 Expression editor 2 using tags in 5 Expression results rounding 1 types of values 2 Expressions 1 and animation 6 assigning to connections 11 assigning to graphic objects 34 using the Property Panel 30 constants in 6 evaluation order of operators 10 formatting 4 if-then-else logic in 16 language function in 14
math functions in 13 monitoring for alarms 4 operators in arithmetic 6 bitwise 8 logical 7 relational 7 security functions in 14 tags and placeholders in 5 viewing in Object Explorer 25 write expressions 18 F Faceplates See Process faceplates Factory Talk Local Directory restoring from runtime computer to development computer 7 FactoryTalk loading directory of users and security policies 5 logging in 3 at runtime 3 single sign-on 22 turning off warning 16 FactoryTalk Diagnostics 1 setting up on a personal computer 8 See also Diagnostics messages FactoryTalk Diagnostics Viewer tool 6 viewing diagnostics log files in 5 Windows Event Viewer 5 FactoryTalk Directory security access to 19 FactoryTalk Security 1 permissions for converting runtime applications to development applications 7
setting up 15 turning off 2 users, creating 17 FactoryTalk View FactoryTalk View ME Station 1 FactoryTalk View Studio 1 FactoryTalk View Machine Edition 1 FactoryTalk View ME Station exiting 5 starting on PanelView Plus CE terminals 3 on PanelView Plus terminals 3 on personal computers 4, 12 supported versions 10, 1 FactoryTalk View Studio main window 4 starting and exiting 1 FactoryTalk View tags importing 11 File names 2 and spaces 4 maximum length of 4 Fill animation 6, 13 at run time 18 Folders 7 Fonts for multiple languages 12 in graphic displays substitution at run time 12 in trends 9 transferring 6 Foreground Color toolbar 31 Freehand graphic object 3, 17 Function keys
assigning to graphic objects 5 G Gauge graphic object 5, 44, 47 at run time 18 specifying number format for 17 Global connections 1 setting up 2 use to apply parameter files or lists 6 using to change displays remotely 4, 5, 7 using to close On Top displays 6 using to monitor memory usage 7 using to print displays remotely 5 using to run macros 6, 3 Global Connections editor 2, 31 Global object displays creating 11 exporting to XML 1 importing XML 3 Global objects animating 18, 13 creating 11, 12 exporting to XML 1 importing XML 3 See also Base objects See also Reference objects Goto configure mode button graphic object 4, 16 using to navigate 3 Goto display button graphic object 3, 35 and alarms 31 and diagnostics messages 12 and information messages 7 assigning visibility animation to 24 using parameter files with 3 using to navigate 3, 4
Graphic displays 1 changing remotely 4, 7 security issues 4 setting up 5 when a user logs out 23 using global connections 4 creating 3 creating a background for 13 default ALARM 6 DIAGNOSTICS 11 INFORMATION 6 developing a hierarchy for 1 exporting to XML 1 illustrating 3 importing XML 3 limiting access to 9 maximum number licensed to use 18 navigating between 1 objects for 3 testing navigation 3 numbering 4, 5 opening 4 planning 3, 2 printing 30 at run time 30 remotely 5, 31 setting up printer 10 setting up 11 sizing 12, 13 testing 10 animation 5 title bar in 15 types of 12
default type 3 viewing in detail 9 using parameter files with 2 Graphic Displays editor 3 undoing and redoing actions in 10 using tags in 9 Graphic images importing 20 monochrome 21 that come with FactoryTalk View Studio 21 viewing 23 Graphic libraries 14 ALARM BANNER display 26 ALARM MULTI-LINE display 6, 26, 27 changing file location for 19 copying 30 creating 16 HISTORY display 6, 29 opening 16 RecipePlus_Components library 11 saving with multiple languages 17 setting up for multiple languages 15 Sliders library 15 STATUS display 6, 28 Trends library 10 Graphic Libraries editor 16 Graphic object types acknowledge alarm button 7, 16 acknowledge all alarms button 8, 16 ActiveX objects 2, 21 alarm banner 9, 61 alarm list 9, 60 alarm status list 9, 62 alarm status mode button 7, 16
backspace button 6, 16, 49 bar graph 5, 44, 46 clear alarm banner button 7, 16 clear alarm history button 8, 16 close display button 3, 36 control list selector 5, 49 diagnostics clear all button 8, 16 diagnostics clear button 7, 16 diagnostics list 9, 64 display list selector 3, 37 display print button 3, 16 drawing objects 1 arcs 3, 16 circles 3, 17 ellipses 3, 17 freehand objects 3, 17 images 3, 14 lines 3, 17 panels 3, 15 polygons 3, 18 polylines 3, 18 rectangles 3, 19 rounded rectangles 3, 19 squares 3, 19 text 3, 12 wedges 3, 16 end button 6, 16, 49 enter button 6, 16, 49 gauge 5, 44, 47 goto configure mode button 4, 16 goto display button 3, 35 home button 7, 16, 49 information acknowledge button 7, 16 information message display 9, 65
interlocked push button 4, 25 language switch button 3, 16 latched push button 4, 22 list indicator 6, 42 local message display 9, 54 login button 3, 16 logout button 3, 16 macro button 56 maintained push button 4, 21 momentary push button 4, 19 move down button 7, 16, 49 move left button 7, 16 move right button 7, 16 move up button 7, 16, 49 multistate indicator 5, 39 multistate push button 4, 24 next pen button 6, 16 numeric display 8, 28 numeric input cursor point 8, 31 numeric input enable button 8, 30 page down button 7, 16, 49 page up button 7, 16, 49 password button 3, 16 pause button 6, 16 piloted control list selector 5, 51 print alarm history button 4, 58 print alarm status button 4, 59 ramp button 5, 27 RecipePlus button 9, 16, 3 RecipePlus selector 9, 2 RecipePlus table 9, 2 reset alarm status button 16 reset alarm status mode button 8 return to display button 3, 16
scale 5, 44, 48 shutdown button 4, 16 silence alarms button 8, 16 sort alarms button 8, 16 string display 8, 33 string input enable button 8, 34 symbol 5, 41 time and date display 6, 57 trend 6 Graphic objects 1 aligning 49 animating 2 arranging 47, 51 assigning connections to 34 using the Property Panel 30 coloring 31 converting to wallpaper 13 copying 40 creating 11, 12 selecting tools for 10 deleting 44 deselecting 23 duplicating 41 editing 38 embedded variables in 2 exporting to XML 1 grouping and ungrouping 45 importing XML 3 moving 39 naming 32 navigating between 7 positioning 48 with grid 8 replacing tags and expressions in 36
resizing 42 selecting 23 setting up 1 using the Properties dialog box 26 using the Property Panel 29 spatial properties of 2 time, date, and number formats 15 visibility, setting up 2 using at run time 4 using keys to work with See Special keys using to display alarms and messages 9 using to display processes 5 using to enter and display numeric and string values 8 using to illustrate displays 3 using to navigate 3 using to start and control processes 4 Grid in graphic displays 8 in trends 9 Group objects animating 45, 16 creating 45 editing 46 naming 33 H Handshaking Enter key 12 for Alarm messages 21 for alarms 18 remote 21 Height animation 6, 14 at run time 18 Historical trends 5, 2 HISTORY display 6
editing 29 HMI servers 8, 9, 1 HMI tags 2, 1 addressing syntax for 5 browsing for 5 creating 8 data sources 5 exporting 11 how to use 5 importing 9, 11 merging databases 11 naming 7 searching for 4 when to use 4
See also
Analog tags Device tags Digital tags Memory tags String tags System tags Home button graphic object 7, 16, 49 using with alarm objects 38 using with diagnostics lists 13 using with recipes 12 using with trends 11 Horizontal position animation 6, 13 at run time 18 Horizontal slider animation 6, 7, 15 at run time 17 J If-then-else logic in expressions 16 nesting 17
Image Browser 23 Image graphic object 3, 14 Images editor 22 Importing alarm files 4, 3 applications 6 global object displays 3 graphic displays 5, 3 tags 11 Importing application text 13 problems with 14 Indicators 39 Information acknowledge button graphic object 7, 16 at run time 7 INFORMATION display 6 at run time 19 opening and closing 7 window size 14 Information message display graphic object 9, 65 at run time 19, 7 Information message files 2, 4 changing the file to use at run time 8 Information messages 1 creating your own display for 7 displaying 3 embedded variables in 2 multiple languages for 5 setting up 1 viewing at run time 19 Information Messages editor 2 Information Setup editor 3 Ingredients, for recipes 1 Initial values for tags 12, 1 See also Tag values
Input focus giving to graphic objects 7 Interlocked push button graphic object 4, 25 at run time 16 ISA symbols 21 Isolated graphing in trends 8 K KEPServerEnterprise array tag syntax 17 Keyboard button symbols 21 Keyboard navigation 7 L Language function in expressions 14 Language strings exporting for translation 6 importing 13 translating in Excel 9 translating in Unicode 9 Language switch button graphic object 4, 3, 16 placing in displays 3 planning 5 Language switching 1 See also Languages setting up 3 setting up Windows for 4 Languages adding 5 to libraries 17 choosing fonts for 12 default 2 displaying current language 14 planning 5
display navigation 3 RFC1766 names 1 setting up in runtime application 6 setting up messages alarm 5, 17 for RSView ME Station 4.00 15 information 5 local 30 testing 2 Latched push button graphic object 4, 22 at run time 16 Least Significant Bit trigger type 13 Libraries See Graphic libraries License viewing maximum allowable graphic displays 18 Line graphic object 3, 17 Link properties for reference objects 13 List indicator graphic object 6, 42 at run time 18 Local message display graphic object 28, 9, 54 at run time 19, 30 using with message files 26 Local message files 27, 28 Local messages 26 embedded variables in 2 multiple languages for 30 viewing at run time 19 Local Messages editor 27 Localizing applications importing text 13 information for translators 9 new line character 13
problems importing text 14 Unicode file schema 11 Log files ODBC format for diagnostics messages 1 LOGIC 5 See WINtelligent LOGIC 5 tags Logical operators in expressions 7 evaluation order of 10 Login button graphic object 3, 16 locating in display hierarchy 1 logging in with 12 Login macro 2, 4 assigning to RSView 3.20 and earlier users 7 assigning to users 5 running 3, 6 Login window 2 Logix5000 faceplates See Process faceplates Logix5000 processors 2 addressing syntax for 6 creating tags in 3 Logout button graphic object 3, 16 locating in display hierarchy 1 logging out with 12 Logout macro 2, 4 assigning to RSView 3.20 and earlier users 7 assigning to users 5 running 3, 6 LSBit trigger type 13 M Macro button graphic object 56 using to run macros 2 Macros
creating 1 remote running from the data source 6, 3 Macros editor 12 Maintained push button graphic object 4, 21, 19 at run time 16 Math functions in expressions 13 Memory tags 5 using 4 Memory usage monitoring at runtime 7 Menus in the Graphic Displays editor 6 Message severity for diagnostics messages 4 Messages displaying 9 multiple languages for in RSView ME Station 4.00 15 planning 6
See also
Alarm messages Diagnostics messages Information messages Local messages Microsoft Access logging to 7 Microsoft Excel exporting text strings to 6 translating text strings in 9 Microsoft SQL Server logging to 7 Minimum and maximum values
for animation 6 for HMI tags 4 for trends 6 Modicon devices 1 Momentary push button graphic object 4, 19 at run time 15 Monochrome images 21, 5 Move down button graphic object 7, 16, 49 setting up auto repeat for 11 using with alarm objects 38 using with diagnostics lists 13 using with recipes 12 using with trends 11 Move left button graphic object 7, 16 setting up auto repeat for 11 using with trends 11 Move right button graphic object 7, 16 setting up auto repeat for 11 using with trends 11 Move up button graphic object 7, 16, 49 setting up auto repeat for 11 using with alarm objects 38 using with diagnostics lists 13 using with recipes 12 using with trends 11 Multistate graphic objects coloring 31 setting up 3 testing states 33 Multistate indicator graphic object 5, 39 at run time 18 using with recipes 11 Multistate push button graphic object 4, 24 at run time 16
setting up auto repeat for 11 N Navigation between graphic displays 1 testing 3 between graphic objects in a display 7 Next pen button graphic object 6, 16 using to change trends vertical axis labels 6, 11 Normally closed push button 19 Normally open push button 19 Number format at run time 17 Numeric display graphic object 8, 28, 10 at run time 17 specifying number format for 17 Numeric embedded variables 3 at runtime 7 Numeric input cursor point graphic object 8, 31 at run time 16, 17 navigating to 7 using Enter key handshaking with 12 Numeric input enable button graphic object 8, 30 at run time 6, 16 how values are calculated 9 how values are ramped 9 navigating to 7 using Enter key handshaking with 12 using write expressions with 18 Numeric pop-up windows using at run time 7, 8 Numeric values ramping at run time 7 using graphic objects to display and enter 8
O Object Explorer 24 opening 24 viewing animation in 25 viewing tag and expression assignments in 25 using to highlight objects 25 Object Smart Path 4, 7 ODBC storage format for diagnostics messages 1 Off-line tags browsing for 7 On Top displays 12 sizing 13 using for alarms 31 using for diagnostics messages 11 using for information messages 7 OPC communications and RSLinx Classic 1 setting up 1 using to connect to Logix5000 processors 6 OPC servers, items in 6 OPC tags addressing syntax for 5 open Symbol Factory, Symbol Factory 15 Operators in expressions 6 Oracle logging to 7 P Page down button graphic object 7, 16, 49 setting up auto repeat for 11 using with alarm objects 38 using with diagnostics lists 13 using with recipes 12
Page up button graphic object 7, 16, 49 setting up auto repeat for 11 using with alarm objects 38 using with diagnostics lists 13 using with recipes 12 Panel graphic object 3, 15 PanelBuilder 1400e applications converting 1 PanelBuilder 32 applications converting 1 PanelBuilder applications converting 1 PanelView Plus CE terminals logging diagnostics messages from 6, 8 transferring applications to 1 PanelView Plus terminals logging diagnostics messages from 6, 8 running applications on 1 transferring applications to 1 Parameter files 38, 2 assigning to graphic displays 2 using display list selectors 3 using goto display buttons 3 in global connections 6 Parameter lists creating 7 in global connections 6 in graphic objects 3 parameter passing 9 Parameters editor 5 using tags in 5 Password button graphic object 3, 16 using at runtime 5 Passwords
changing at runtime 4 for RSView 3.20 and earlier users 7 for Windows users in RSView 3.20 and earlier applications 8 for FactoryTalk Security users managing 21 uploading runtime changes to development application 7 Pause button graphic object 6, 16 using with trends 11 Piloted control list selector graphic object 5, 51 controlling remotely 52 differences from control list selectors 51 using Enter key handshaking with 12 Placeholders See Tag placeholders PLC tags importing 9 Polygon graphic object 3, 18 Polyline graphic object 3, 18 Preconfigured graphic displays ALARM display 6 DIAGNOSTICS display 11 INFORMATION display 6 Print alarm history button graphic object 4, 58 specifying time and date format for 17 using to print alarm information 10 using with alarm objects 37 Print alarm status button graphic object 4, 59 using to print alarm information 10 using with alarm objects 37 Printers selecting on the development computer 14 specifying at run time on personal computers 10 type to use with PanelView Plus and PanelView Plus CE 1, 2
Problems at run time communication errors viewing 20 data logging 5 displaying numeric values 28 displaying trend data 12 logging in 4 printing from a PanelView Plus CE terminal 1, 2 printing from a PanelView Plus terminal 2, 3 using the numeric pop-up windows 10 using the string pop-up windows 15 Problems at runtime memory usage 7 Problems during application development exporting text for translation 8 importing alarm XML files 3 importing graphics XML files 3 importing text 14 navigating through displays 3 opening applications 3, 9 Process faceplates adding to an existing application 17 selecting tags for 6 Project files location of viewing 18 Project Settings editor 17 Project window size 11, 12 changing 13 Projects versus applications 1 Properties dialog box opening 28 setting up objects in 26
using to assign connections to graphic objects 34, 36 Property Panel opening 29 setting up objects in 29 using to assign connections to graphic objects 30 Push buttons 18 R RAM usage monitoring at runtime 7 Ramp button graphic object 5, 36, 27 at run time 16 setting up auto repeat for 11 Range of motion for animation 6, 7 Read connection 30 Read-write connection 30 Real-time trends See Current trends Recipe files setting up 6 specifying location for 5 RecipePlus 1 RecipePlus button graphic object 9, 16, 3 creating 10 using at runtime 16, 18, 12 RecipePlus Editor 6, 8 viewing runtime data in 13 RecipePlus selector graphic object 9, 2 creating 10 linking buttons to 9 navigating to 7 using at runtime 16, 18, 12 RecipePlus Setup editor 5 RecipePlus table graphic object 9, 2
creating 10 linking buttons to 9 navigating to 7 using at runtime 16, 18, 12 Recipes 1 comparing 8 deleting units 3 displaying at runtime 2 downloading 3 editing at runtime 2 linking buttons to 12 number format 4 numeric limits 4 planning 7 printing 9 renaming units 3 saving at runtime 3 selecting at runtime 2 setting up 2 testing 10 time and date formats 9 viewing data for 7, 13 uploading 3 Rectangle graphic object 3, 19 blinking 11 Reference objects creating 12 editing 13 link properties 13 Relational operators in expressions 7 evaluation order of 10 Remote display changes 4, 23 Remote macros 6, 3
Replace displays 12 sizing 13 Reset alarm status button graphic object 8, 16 using to reset alarms 9 using with alarm status lists 37 Return to display button graphic object 3, 16 using to navigate 3, 5 RFC1766 names 1 Right-click menus 6 Rotation animation 6, 52, 14 at run time 18 Rounded rectangle graphic object 3, 19 RSLinx Classic 1 and OPC 1 RSLinx Enterprise 1 array tag syntax 16 device shortcuts created at runtime 3, 7 setting up drivers in at run time 9 for transfer to PanelView Plus 5 for transfer to PanelView Plus CE 5 RSLogix 5 tags importing 11 RSLogix 500 tags importing 11 RSLogix 5000 2 Runtime changing tag values 15 deleting log files 16 displaying tag values 17 entering numeric values 6 entering string values 10 font substitution 12 logging in and out 2, 6
automatic logout 13 problems with logging in 4 printing 15 graphic displays 30 printing graphic displays 30 setting up communication drivers on personal computers 9 setting up printers on personal computers 10 switching language at 3 time, date, and number formats 17 viewing alarms and messages 19 viewing communication errors 20 using graphic objects 4 Runtime application .mer files 1 converting to development application 4, 7 opening 4 on personal computers 4, 12 running on PanelView Plus CE terminals 3 on PanelView Plus terminals 3 on personal computers 4 shutting down 5 transferring from PanelView Plus or PanelView Plus CE 7 to PanelView 1, 6 to PanelView Plus CE 1, 6 to personal computers 1, 3 Runtime application file creating 3 Runtime RAM usage monitoring 7 Runtime screen resolution 11 Runtime Security editor 3
S Sample applications 2 Scale graphic object 5, 44, 48 Screen resolution at run time 11 Screen size See Window size Security and remote display changes 4 automatic logout 13 controlling who can stop the application 14 FactoryTalk Security 1 FactoryTalk View security 1 for Application Manager 10 logging in and out 12 planning 7 setting up 17 using visibility animation 14, 24, 9 Security codes assigning to graphic displays 9 assigning to RSView 3.20 and earlier users 7 assigning to users 5, 9 Security functions in expressions 14 using 11, 24, 9 Serial downloads cable to use for 6 Servers, data 2 See also OPC servers Shutdown button graphic object 4, 16 assigning visibility animation to 24, 25 limiting access to 14 locating in display hierarchy 1 using to navigate 3, 7
using to shut down application 5 using to stop application 2 Shutdown macro 2, 4 Siemens devices 1 Silence alarms button graphic object 9, 8, 16 using with alarm objects 37 Single sign-on 22 SLC tags importing 9 Sort alarms button graphic object 9, 8, 16 using with alarm lists 37 Special keys arrows, using with graphic objects 43 Ctrl copying objects with 40 drawing objects with 17, 18, 19, 20 resizing objects with 43 rotating objects with 53 selecting objects with 23 Shift, using with graphic objects 40, 43 using to navigate at run time 8 using with numeric pop-up windows 8 using with string pop-up windows 13 Spreadsheets, working in 12 Square graphic object 3, 19 Standard toolbar 5 Startup macro 2, 4 Startup settings 1 States multistate graphic objects 1 States toolbar 33 Status bar 6 showing and hiding 8 STATUS display 6
copying 30 editing 28 String display graphic object 8, 33 at run time 17 String embedded variables 4 at runtime 8 String input enable button graphic object 8, 34 at run time 10, 16 how values are written 14 navigating to 7 using Enter key handshaking with 12 String pop-up character input using at run time 11 String pop-up windows using at run time 11, 13 String tags 1 String values using graphic objects to display and enter 8 Structured tags 6, 14 Sybase SQL Server logging to 7 Symbol Factory 14, 24 import into display 25 import into image container 24 Symbol graphic object 5, 41 at run time 18 Syntax, embedded variable 3 System activity See Diagnostics messages System tags 1 alarm reset date and time 1 for making graphic objects blink 1 time and date 2 System time and date 2
T Tag Browser opening 5 using 6 Tag Import and Export Wizard 11 Tag placeholders 37, 1, 4 creating 38, 3 using in expressions 5 using with animation 5 Tag sets, for recipes 1 comparing 8 Tag statistics viewing 8 Tag substitution 11, 36 Tag syntax for array tags KEPServerEnterprise 17 RSLinx Enterprise 16 Tag values changing at run time 15 displaying at run time 17 ensuring the data source has read 12 logging 12, 4 using graphic objects to display 8 using graphic objects to set 4, 8 using macros to assign 12, 1 Tags 1 addressing syntax 5 assigning to graphic objects 34 viewing in Object Explorer 25 using the Property Panel 30 assigning to parameter lists in global connections 6 basic steps for using 2 browsing for 5
Analog tags Array tags Backing tags Data server tags Digital tags HMI tags PLC tags SLC tags String tags Structured tags System tags Test mode for animation 5 for graphic displays 10 for RecipePlus objects 10 for trends 10 Text graphic object 3, 12 blinking 11 editing 13 Text strings exporting for translation 6 importing 13 translating in Excel 9 translating in Unicode file 9 Time and date at run time 17 setting using global connections 2 system tags 2 updating 2
Time and date display graphic object 6, 57 at run time 19 specifying time and date format for 17 Time and date embedded variables 6 at runtime 8 Title bar and security 14 in graphic displays 15 Toolbars 4 Background Color toolbar 31 Foreground Color toolbar 31 in the Graphic Displays editor 7 showing and hiding 8 Standard toolbar 5 States toolbar 33 Tools Application Manager 10 DeskLock 2, 17 Diagnostic Setup 6 Diagnostics Viewer 6 Tag Import and Export Wizard 11 Transfer Utility 6 Touch margins using on buttons 4 Touch screens positioning objects for 4 Transfer Utility tool 6 Translating application text in Excel 9 in Unicode 9 Transparent background style 21 Trend data printing at run time 12 remotely 12
Trend graphic object 6, 1 and data logging 5 at runtime 18 border 5 chart 6 isolated graphing in 8 types 7 XY Plot 7 coloring 9 creating 3 linking buttons to 9 minimum and maximum values for 6 navigating to 7 pens 6 icons 7 markers 7 planning 6 plotting values across the chart 8 problems at run time 12 setting up 3, 4, 5 specifying number, time, and date format for 17 testing 10 time, date, and number format 3 window 5 x (horizontal) axis 6 labels 6 y (vertical) axis 6 labels 6 Trigger Label Selector 5 Trigger values for alarms 5, 11 for information messages 5 for local messages 29 Troubleshooting
W Wallpaper converting graphic objects to 13 unlocking 14 Value table 2, 4, 5 Value trigger type 11 Wedge graphic object 3, 16 Vertical position animation 6, 14 at run time 18 Vertical slider animation 6, 15 at run time 17 Width animation 6, 14 at run time 18 Wildcard characters 4, 7 Window size default graphic displays 14 project 12 Windows setting up for language switching 4 Windows 2000, Windows XP, or Windows Server 2003 R2 editing device shortcuts on 6 running applications in 1 runtime settings 4 Windows languages 1 Windows metafiles See .wmf files Windows network domain logging in to 1 Windows users or groups adding to FactoryTalk Security 17, 19 adding to RSView 3.20 and earlier applications 7 removing from RSView 3.20 and earlier applications 8 WINtelligent LOGIC 5 tags
importing 11 Visibility animation 9 using to set up security 14, 24, 9 Unicode text translating 9 Units, for recipes 1 Workbook Mode 7 turning on and off 8 Workspace 5 Write connection 30 Write expressions 18 User accounts DEFAULT user 4 User groups assigning security codes to 9 FactoryTalk Security, creating 19 Windows adding to RSView 3.20 and earlier applications 7 Users assigning login and logout macros to 5 assigning security codes to 5, 9 assigning security permissions to 18 displaying current user 14 FactoryTalk Security adding to FactoryTalk View 5 creating 17 managing accounts 21 logging in and out 12, 6 at runtime 2 RSView 3.20 and earlier assigning login and logout macros to 7 assigning security codes to 7 RSView 3.x migrating to 4.00 and later applications 6
X XML using with FactoryTalk View 1 XML files alarm structure 3 creating 1 editing 2 exporting 1 graphics structure 4 importing 3 testing 2 XY Plot trend 7