Académique Documents
Professionnel Documents
Culture Documents
Contact Rockwell Customer Support Telephone 1.440.646.3434 Online Support http://support.rockwellautomation.com Copyright Notice 2007 Rockwell Automation Technologies, Inc. All rights reserved. Printed in USA. This document and any accompanying Rockwell Software products are copyrighted by Rockwell Automation Technologies, Inc. Any reproduction and/or distribution without prior written consent from Rockwell Automation Technologies, Inc. is strictly prohibited. Please refer to the license agreement for details. Trademark Notices FactoryTalk, Rockwell Automation, Rockwell Software, the Rockwell Software logo are registered trademarks of Rockwell Automation, Inc. The following logos and products are trademarks of Rockwell Automation, Inc.: FactoryTalk Historian Site Edition (SE), RSView, FactoryTalk View, RSView Studio, FactoryTalk View Studio, RSView Machine Edition, RSView ME Station, RSLinx Enterprise, FactoryTalk Services Platform, and FactoryTalk Live Data. The following logos and products are trademarks of OSIsoft, Inc.: PI System, Sequencia, Sigmafine, gRecipe, sRecipe, and RLINK. Other Trademarks ActiveX, Microsoft, Microsoft Access, SQL Server, Visual Basic, Visual C++, Visual SourceSafe, Windows, Windows ME, Windows NT, Windows 2000, Windows Server 2003, and Windows XP are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. Adobe, Acrobat, and Reader are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries. ControlNet is a registered trademark of ControlNet International. DeviceNet is a trademark of the Open DeviceNet Vendor Association, Inc. (ODVA). Ethernet is a registered trademark of Digital Equipment Corporation, Intel, and Xerox Corporation. OLE for Process Control (OPC) is a registered trademark of the OPC Foundation. Oracle, SQL*Net, and SQL*Plus are registered trademarks of Oracle Corporation. All other trademarks are the property of their respective holders and are hereby acknowledged. Restricted Rights Legend Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227-7013 Warranty 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.
Version: 9.00.05
Table of Contents
Chapter 1: Introduction ..............................................................................................................1 New Features of Version 3.0 .....................................................................................3 Chapter 2: Working with a ProcessBook ...............................................................................11 What Is a ProcessBook? .........................................................................................11 Right Mouse Menu...................................................................................................11 PI Server ..................................................................................................................12 Basic Facts About Displays and Other Entries........................................................12 What Data May Be Included in a Display? ..............................................................12 FactoryTalk Historian ProcessBook Datasets .........................................................13 Analysis Tools..........................................................................................................13 FactoryTalk Historian ProcessBook OLE ................................................................13 File Sharing Capability.............................................................................................14 Opening and Closing ProcessBooks .......................................................................14 Book View and Outline View of ProcessBooks .......................................................22 Menus and Toolbars ................................................................................................24 Preference Settings .................................................................................................26 Keyboard Shortcuts .................................................................................................37 Printing.....................................................................................................................40 Online Help with FactoryTalk Historian ProcessBook .............................................42 Chapter 3: Working with a Display .........................................................................................45 Elements of Displays ...............................................................................................45 Display Point Attributes............................................................................................47 Managing Displays and Independent Display Files.................................................48 Trends......................................................................................................................53 XY Plots ...................................................................................................................65 Other Dynamic Symbols ..........................................................................................79 Run Mode Pointer....................................................................................................80 Status Report for Dynamic Symbols........................................................................80 Status Flags for Unusual Data.................................................................................81 Using the Available Modules Window .....................................................................82
Page iii
Contents
Chapter 4:
Points and Data......................................................................................................83 PI Data Archive........................................................................................................83 Point Database Overview ........................................................................................83 Point Attributes ........................................................................................................84 User-Assigned Attributes .........................................................................................84 System-Assigned Attributes.....................................................................................90 Updates to PI Data ..................................................................................................90
Chapter 5:
Servers and Connections .....................................................................................93 How Displays Behave When Connection to the PI Server Fails .............................93 PI Connection Manager Dialog Box ........................................................................93 How to Display Server Information ..........................................................................95 How to Change the Default Server..........................................................................95 Node Identifiers for Multiple PI Servers ...................................................................95
Chapter 6:
Time Concepts .......................................................................................................97 Time Zones and PI ..................................................................................................97 Time Range Formats ...............................................................................................97 Absolute Time..........................................................................................................98 Relative Time...........................................................................................................99 Combined Time Scales............................................................................................99 Time Range Toolbar ..............................................................................................100 Scrolling Time Range ............................................................................................100 Changing the Time Range.....................................................................................101 Revert Time Range................................................................................................102 Future Trends ........................................................................................................102
Chapter 7:
Building ProcessBooks ......................................................................................105 Build Mode Pointer ................................................................................................105 Basic Steps to Build a ProcessBook .....................................................................105 Creating a New ProcessBook................................................................................106 Book View Tabs.....................................................................................................107 Modifying a ProcessBook Title ..............................................................................107 Saving and Closing a ProcessBook ......................................................................109 Add ProcessBook Entries ......................................................................................109 Creating a Text Entry.............................................................................................110 Creating a Display Entry ........................................................................................111 Creating a Linked Display Entry ............................................................................112 Linked ProcessBook Entries..................................................................................114 Creating an Operating System Command Entry ...................................................114 Working Directory for Operating System Commands ...........................................117
Page iv
Arranging Entries for Easy Navigation...................................................................118 Moving Displays to Other PCs...............................................................................121 Importing Files .......................................................................................................122 Chapter 8: Building Displays.................................................................................................123 Designing a Display ...............................................................................................123 Drawing Area .........................................................................................................123 Searching for Tags ................................................................................................124 Changing Format Settings in an Existing Display .................................................132 Removing an Entry and Pasting It Elsewhere .......................................................132 Importing Files to a ProcessBook..........................................................................133 Moving a ProcessBook to Another PC ..................................................................134 Moving to Another PI Server..................................................................................134 Drawing Tools and Procedures .............................................................................135 Designing Trends...................................................................................................137 Designing XYPlots .................................................................................................152 Other Dynamic Symbols ........................................................................................160 Static Symbols .......................................................................................................168 Formatting Attributes .............................................................................................181 Working with Existing Symbols and Groups of Symbols.......................................188 Connecting Symbols..............................................................................................196 Layers within Displays ...........................................................................................209 Data Sets ...............................................................................................................216 ODBC.....................................................................................................................235 Module-relative Displays........................................................................................253 Chapter 9: Embedding and Linking ......................................................................................259 Overview of FactoryTalk Historian ProcessBook OLE Compound Documents ....259 OLE Automation in FactoryTalk Historian ProcessBook .......................................259 Object Linking and Embedding..............................................................................260 ActiveX Controls ....................................................................................................261 Example of Embedded and Linked Objects in a ProcessBook Display ................264 Icons vs. Graphics .................................................................................................264 Should You Link or Embed? ..................................................................................265 Embedding in ProcessBook...................................................................................265 How to Embed .......................................................................................................265 Windows Drag and Drop........................................................................................267 Linking to ProcessBook .........................................................................................268 Dynamic and Manual Updates of a Linked Object ................................................269 How to Edit, Update, or Break Links......................................................................269 How Links Are Stored ............................................................................................270
Page v
Contents
Re-establishing Links.............................................................................................270 Editing the Appearance of an OLE Object.............................................................271 Commands That Ignore OLE objects ....................................................................271 Placement of OLE objects .....................................................................................272 OLE Object Colors.................................................................................................272 Editing the Contents of OLE objects......................................................................272 Editing the Contents of an Embedded Object .......................................................272 Editing the Contents of a Linked Object ................................................................272 How to Delete an OLE Object from a Display .......................................................273 Displaying an OLE Object with an Icon .................................................................273 How to Switch Between an Icon and a Graphic ....................................................274 How to Change the Icon for an Object ..................................................................275 Sharing ProcessBook Displays with Other Applications .......................................276 How to Embed a New ProcessBook Display in Another OLE Application ............277 How to Embed an Existing ProcessBook Display in Another OLE Application.....278 How to Link a ProcessBook to Another Application ..............................................278 OLE Container/Server ...........................................................................................279 Updating and Editing Processbook Linked and Embedded Displays ...................279 Chapter 10: Using Visual Basic for Applications in FactoryTalk Historian ProcessBook281 VBA Toolbar ..........................................................................................................281 The Macros Dialog.................................................................................................282 ActiveX Automation ...............................................................................................282 What You Can Do with ActiveX Automation in FactoryTalk Historian ProcessBook ...............................................................................................................................282 Automation Vocabulary..........................................................................................283 Documentation for Script Writers...........................................................................283 Macro Protection Feature ......................................................................................283 Chapter 11: Troubleshooting Tips ..........................................................................................285 Display Can't Find Data .........................................................................................285 Trend Cursor Doesn't Appear................................................................................285 Trend Legend Doesn't Appear...............................................................................285 Cant Change or Save a Display ...........................................................................285 Is an XYPlot Updating?..........................................................................................286 Is an OLE Object in a Display Linked or Embedded? ...........................................286 Linked Object Data Isn't Updating .........................................................................286 ODBC Problems ....................................................................................................287 Chapter 12: System Administrator Notes ..............................................................................289 FactoryTalk Historian ProcessBook Connection to Windows NT or UNIX Servers ...............................................................................................................................289
Page vi
FactoryTalk Historian ProcessBook Connection to OpenVMS Servers................289 Read/Write Access for Users.................................................................................290 Machine Address ...................................................................................................292 SETUP.INI .............................................................................................................292 PROCBOOK.INI ....................................................................................................292 IMPPIGP.INI ..........................................................................................................297 Running VAX Programs through DECNet - Pathworks.........................................302 TCP/IP ...................................................................................................................303 WRQ's TCP Connection ........................................................................................303 FTP ........................................................................................................................304 Pathworks ..............................................................................................................304 SETUPProcessBook.LOG .....................................................................................304 Index ............................................................................................................................................305
Page vii
Chapter 1: Introduction
FactoryTalk Historian ProcessBook is a PC application for displaying plant information stored in the PI Data Archive or in relational databases. The PI Data Archive may be thought of as a database of values for each of the tags you have established for discrete data sources in your process or facility. The FactoryTalk Historian ProcessBook application contains one or more ProcessBooks, which are collections of 'display entries.' These display entries show your process data from one or more FactoryTalk Historian Systems as well as other static and dynamic information from outside sources such as schematic drawings, laboratory data, or specifications. Displays may also be saved as independent files. ProcessBook displays may be linked to other displays within the same ProcessBook or to displays in a separate ProcessBook. You can also include buttons that initiate other applications. You can share ProcessBooks among users, thereby eliminating the need to build duplicate displays. On networks, an unlimited number of users may access the same ProcessBook or display at the same time. The FactoryTalk Historian ProcessBook application also incorporates Microsoft Visual Basic for Applications (VBA), so that you can automate special activities or routine chores. OSIsoft produces several add-in products for FactoryTalk Historian ProcessBook, including PI BatchView and PI Statistical Quality Control.
ProcessBook
A ProcessBook file is a container for the information and analysis of the process you are monitoring. A ProcessBook may appear as either a tabbed book or an outline.
Note: The top bar of a ProcessBook window shows the file name, which ends in .piw, rather than the title.
Page 1
Introduction
Each ProcessBook has summary information, called Properties, that is reached from the File menu. The Author name is originally picked up from the Author field on the Preferences screen at the time the ProcessBook is first saved. You can change it. The Properties button leads to a secondary dialog, giving statistics about the view currently in the active window. If a display, rather than a ProcessBook contents page, has the system focus, similar properties are displayed.
Display
When you open an entry in a ProcessBook, the information that appears in the application workspace is shown in a "display window," usually called a "display." By using the small buttons with up and down arrows at the upper right of the display, the display can be resized to encompass either a part of the FactoryTalk Historian ProcessBook workspace or the entire FactoryTalk Historian ProcessBook window.
Build mode is used to edit a ProcessBook and symbols within a display. Once the ProcessBook is built, Run mode is used to open entries and execute commands. Being in Run mode also keeps you from accidentally changing items in a display. You switch between modes by clicking the Run mode pointer (an arrow) or the Build mode pointer (a hammer), which are originally found on the Tools menu and the Drawing toolbar. Your preferred mode of operation is set as a default in your Preference settings.
Page 2