Pactware Manual 1
Pactware Manual 1
Pactware Manual 1
Invensys, Avantis, Foxboro, FoxCom, I/A Series, the Invensys logo, and Triconex are trademarks of Invensys plc, its subsidiaries, and affiliates. All other brand names may be trademarks of their respective owners. Copyright 2003 - 2011 Invensys Systems, Inc. All rights reserved
SOFTWARE LICENSE AND COPYRIGHT INFORMATION Before using the Invensys Systems, Inc. supplied software supported by this documentation, you should read and understand the following information concerning copyrighted software. 1. The license provisions in the software license for your system govern your obligations and usage rights to the software described in this documentation. If any portion of those license provisions is violated, Invensys Systems, Inc. will no longer provide you with support services and assumes no further responsibilities for your system or its operation. 2. All software issued by Invensys Systems, Inc. and copies of the software that you are specifically permitted to make, are protected in accordance with Federal copyright laws. It is illegal to make copies of any software media provided to you by Invensys Systems, Inc. for any purpose other than those purposes mentioned in the software license.
Contents
Figures................................................................................................................................... vii Tables.................................................................................................................................. xiii Preface................................................................................................................................... xv Who Should Read This Book .................................................................................................. xv What You Should Know ......................................................................................................... xv Revision Information .............................................................................................................. xv Database Migration and Software Upgrades .......................................................................... xvii 100 Series FBM Migration ............................................................................................... xvii PACTware Upgrade ......................................................................................................... xvii Reference Documents .......................................................................................................... xviii 1. Extended Frame Services 2.3 ............................................................................................. 1 Overview ................................................................................................................................... 1 Device DTMs ........................................................................................................................... 1 Using Vendor Device DTMs with EFS ................................................................................ 2 Communication DTMs ............................................................................................................ 2 PACTware Frame Application .................................................................................................. 2 Offline Configuration .......................................................................................................... 3 Configuration of Off-platform Devices ................................................................................ 3 Extended Frame Services 2.3 ..................................................................................................... Valid Configurations for EFS 2.3 On-Platform Configuration ............................................. EFS Hardware and Software Requirements .......................................................................... I/A Series Platform Requirements .................................................................................... Off-Platform Requirements ............................................................................................. Invensys Condition Monitoring and Avantis.Pro ............................................................. 3 4 7 7 7 7
2. Software Installation.......................................................................................................... 9 Before you Begin ....................................................................................................................... 9 Installation Directory ......................................................................................................... 10 Database Migration and Software Upgrades ....................................................................... 10 100 Series FBM Migration ............................................................................................ 10 Upgrading PACTware ................................................................................................... 10 Install PACTware .................................................................................................................... Install Microsoft .NET Framework 2.0 .............................................................................. Install PACTware 4.0.6 ...................................................................................................... Installing the HART Communication DTM ..................................................................... 11 11 12 19
iii
B0400EF Rev H
Contents
Install EFS and HART/FoxCom Device Manager .................................................................. 25 Install Microsoft .NET Framework 4.0 .............................................................................. 25 Install EFS and HART/FoxCom Communication Device Type Managers ......................... 28 Install the Device DTMs ......................................................................................................... 36 Invensys 3rd Party DTMs for Non Invensys HART Devices .............................................. 36 DTMs for Invensys Instruments ......................................................................................... 44 Initialize PACTware V4.0 Device Catalog .............................................................................. 45 Uninstall EFS .......................................................................................................................... 47 3. Online Configuration...................................................................................................... 51 Intelligent Field Device Connection to an I/A Series System ................................................... 52 System and Database Hierarchy ......................................................................................... 52 Workflow for Online Configuration ....................................................................................... 55 Initialize the Device Catalog and Start a Project ...................................................................... 56 Configure the FBM Communication DTM ............................................................................ 57 Configure Devices in PACTware ............................................................................................ 62 Configuring the Device ........................................................................................................... 65 Save and Close the PACTware Project .................................................................................... 67 Configuring a Router DTM with a DVC 6000 ...................................................................... 68 Important Note about EFS Scanning of Field Devices ............................................................ 68 4. Offline Configuration: Bulk Data Import ....................................................................... 69 Introduction ............................................................................................................................ 69 Creating a Worksheet for Bulk Import .................................................................................... 70 Importing the ECB Data from Excel to EFS ........................................................................... Importing to a New EFS Database ..................................................................................... Importing to an Existing EFS Database .............................................................................. Resolving Conflicts within the Imported Data ................................................................... Resolving Conflicts Between the Imported Data and the Database ..................................... 71 72 74 77 78
Validating the Offline Configuration ...................................................................................... 79 5. Offline Configuration: Manual Entry.............................................................................. 87 Introduction ............................................................................................................................ 87 Entering ECB Information ...................................................................................................... 89 Editing Manually Entered Device ECB Information ............................................................... 90 Validating the Offline Configuration ...................................................................................... 92 6. Setting Up the EFS Database Using Microsoft SQL Server 2008 .................................... 95 Selecting Microsoft SQL Server 2008 as the Database Application .......................................... 96 Create the New Database ........................................................................................................ 98
iv
Contents
B0400EF Rev H
Setting Options on EFS Database .................................................................................... 102 Set the DSN for the Microsoft SQL Server Database ............................................................ 103 Best Practices for Advanced Users ......................................................................................... 108 Programmatic Access to Device Databases ............................................................................ 108 Invensys Condition Monitoring ............................................................................................ 108 Avantis Enterprise Asset Management ................................................................................... 109 7. Configuring Devices for EFS Scanning.......................................................................... 111 HART Device Scan Considerations ...................................................................................... 112 HART Devices Connected To I/A Series HART FBMs ................................................... 113 HART Devices Connected To HART Multiplexers ......................................................... 113 Exporting the PACTware Project .......................................................................................... 114 Selecting the Devices and Setting the Frequency ................................................................... Viewing Scanned Devices ................................................................................................. Alphabetically Sorted Groups ...................................................................................... Grouping by Communication Device .......................................................................... Removing Devices ............................................................................................................ Updating the Service ........................................................................................................ Managing the Scan Service .................................................................................................... Starting the Scan Service .................................................................................................. Configuring Automatic Startup ........................................................................................ Stopping DevScan ............................................................................................................ Updating the Service on the Fly ....................................................................................... 115 117 117 119 120 120 120 121 122 122 123
8. Configuring and Scanning Off-Platform Devices .......................................................... 125 HART Multiplexer Example ................................................................................................. 125 Hardware and Software Prerequisites ................................................................................ 126 Getting Started ...................................................................................................................... 127 Add HART Communication and Multiplexer DTMs ........................................................... 130 Multiplexer Master DTM ................................................................................................ 131 Multiplexer Slave DTM ................................................................................................... 133 Add the DTMs for Field Devices .......................................................................................... 135 Verify Device Connections .................................................................................................... 136 Configuring the Device ......................................................................................................... 138 Important Note about EFS Scanning of Field Devices ..................................................... 139 Configure EFS Scanning ....................................................................................................... 140 Deletion of the Unused Non-I/A Series Device Objects ................................................... 142 Other Off-platform Configurations ....................................................................................... MTL Multiplexer and Devices ......................................................................................... HART or FoxCom Modem with a Device ....................................................................... Pepperl+Fuchs Elcon 2700G HART Multiplexer with Devices ........................................ 143 144 149 151
B0400EF Rev H
Contents
Appendix A. Troubleshooting ........................................................................................... 161 Errors from the Scan Process EFS Component ...................................................................... Informational Messages .................................................................................................... Scanner Internal Failures .................................................................................................. EFS Access Errors ............................................................................................................. Processing Errors .............................................................................................................. Configuring the Log Settings for EFS Components .............................................................. EFSObject ........................................................................................................................ FBM Passthru Communication DTMs ............................................................................ Device Access ................................................................................................................... 161 161 161 162 162 168 169 169 169
Configuring the Retry Count for Global Find of a CP from PT_API .................................... 170 Reading Device Parameters of the EFS Database ................................................................... 171 Case 1: Microsoft SQL Server 2008 ................................................................................. 171 Case 2: Microsoft Access .................................................................................................. 171 Restoring the Database in SQL Server 2008 .......................................................................... 172 Appendix B. Upgrading to PACTware 4.0 and EFS 2.3 .................................................... 183 Maintenance Only Applications ............................................................................................ 183 Converting PACTware Projects ........................................................................................ 184 Maintenance and Asset Management Applications ................................................................ 185 Converting PACTware Projects ........................................................................................ 187 Appendix C. Database Migration ...................................................................................... 189 Migration to Microsoft SQL Server 2008 .............................................................................. Import from the Access Database ..................................................................................... Set the Primary Key for the Database Tables .................................................................... Set Default Values for the CommunicationDevices Table ................................................ 189 189 197 202
Migrating Databases from Previous Versions to EFS 2.3 ....................................................... 204 Migration Procedure When the Database is SQL Server ................................................... 205 Migration Procedure When the Database is Microsoft Access .......................................... 207 Appendix D. Choosing a Proper DTM for a Field Device................................................. 209
vi
Figures
1-1. 1-2. 1-3. 2-1. 2-2. 2-3. 2-4. 2-5. 2-6. 2-7. 2-8. 2-9. 2-10. 2-11. 2-12. 2-13. 2-14. 2-15. 2-16. 2-17. 2-18. 2-19. 2-20. 2-21. 2-22. 2-23. 2-24. 2-25. 2-26. 2-27. 2-28. 2-29. 2-30. 2-31. 2-32. 2-33. 2-34. 2-35. 2-36. 2-37. 2-38. 2-39. 2-40. 2-41. Typical EFS Configuration with EFS Server on Enterprise Network ............................. 5 EFS Configuration with EFS Server on Platform .......................................................... 6 Alternate EFS Configuration with EFS Server on the I/A Series Network ..................... 6 Welcome Wizard ........................................................................................................ 11 License Agreement ...................................................................................................... 12 Choose Setup Language Dialog Box ............................................................................ 12 Welcome Page ............................................................................................................. 13 PACTware License Agreement .................................................................................... 14 Customer Information Page ........................................................................................ 14 Setup Type Page ......................................................................................................... 15 Choose Destination Location ...................................................................................... 16 Changing the Installation Folder ................................................................................. 17 Reviewing the Setup .................................................................................................... 17 Setup Status Page ........................................................................................................ 18 Installation Complete Wizard ..................................................................................... 19 Generic HART DTM Welcome Page ......................................................................... 20 HART DTM License Agreement ................................................................................ 21 Customer Information for the Generic HART DTM Installation ............................... 22 Ready to Install ........................................................................................................... 23 Installation Progress .................................................................................................... 24 Completing the Generic HART DTM Installation ..................................................... 25 .NET Framework 4 Setup ........................................................................................... 26 .NET Framework 4 Installation Progress .................................................................... 27 .NET Framework 4 Installation Complete .................................................................. 28 Loading the Installation Program for FDT Components ............................................. 29 EFS License Agreement Page ....................................................................................... 29 Choose Destination Location Page with Default Selection .......................................... 30 Choosing the Installation Folder ................................................................................. 31 Changing the Installation Directory ............................................................................ 31 Installation Directory Is Changed ............................................................................... 32 Installation Location Must Include \FDM_EFS .......................................................... 33 Selecting the Product Features ..................................................................................... 34 EFS 2.3 Setup Status ................................................................................................... 34 Configure EFS Database Dialog Box ........................................................................... 35 Installation of EFS and Communication DTMs is Complete ...................................... 36 Invensys Third Party DTMs Welcome Wizard ........................................................... 37 Invensys Third Party DTMs License Agreement ......................................................... 38 Invensys Third Party DTMs Customer Information ................................................... 39 Invensys Third Party DTMs - Choose Setup Type ...................................................... 39 Invensys Third Party DTMs - Customer Setup ........................................................... 40 Changing the Installation Folder ................................................................................. 41 Custom Setup for Third Party DTMs ......................................................................... 42 DTM Library Ready to Install Page ............................................................................ 43 DTM Library Installation Complete Wizard ............................................................... 44
vii
B0400EF Rev H
Figures
2-42. 2-43. 2-44. 2-45. 2-46. 3-1. 3-2. 3-3. 3-4. 3-5. 3-6. 3-7. 3-8. 3-9. 3-10. 3-11. 3-12. 3-13. 3-14. 4-1. 4-2. 4-3. 4-4. 4-5. 4-6. 4-7. 4-8. 4-9. 4-10. 4-11. 4-12. 4-13. 4-14. 4-15. 5-1. 5-2. 5-3. 5-4. 6-1. 6-2. 6-3. 6-4. 6-5. 6-6. 6-7. 6-8. 6-9. 6-10.
PACTware Project Window ........................................................................................ 46 PACTWare Device Catalog ........................................................................................ 47 Choosing Remove Option for EFS .............................................................................. 48 Confirm Uninstall ....................................................................................................... 48 Uninstallation of EFS is Complete .............................................................................. 49 HART Device Management Architecture ................................................................... 51 EFS Displaying I/A Series Hierarchy ........................................................................... 53 Configuring Devices for Maintenance and Tuning Online ......................................... 55 PACTware Project Window ........................................................................................ 56 PACTWare Device Catalog ........................................................................................ 57 Device for HOST PC ................................................................................................. 58 FBM Communication DTM Parameters .................................................................... 59 Network Object Selection Dialog Box ......................................................................... 60 FBM Communication DTM Parameters .................................................................... 61 Dialog Box Shows Four FBM Channels ...................................................................... 62 Adding a Device DTM ............................................................................................... 63 Configuring the Device DTM .................................................................................... 64 Verifying Communications DTM ............................................................................... 65 Editing the Slave Device Online .................................................................................. 67 Device Configuration Starting with Bulk Data Import ................................................ 70 Entering ECB Information in the Excel Spreadsheet ................................................... 71 Parameter Dialog Box for a New FBM ........................................................................ 72 Open Dialog ............................................................................................................... 73 Select Device in PACTware ........................................................................................ 74 Updating the EFS Database with Bulk Imports ........................................................... 75 Offline Configuration Dialog Box ............................................................................... 76 EFSBulkImport.log, Yes Selected in the Offline Configuration Dialog Box ................ 76 EFSBulkImport.log, No Selected in the Offline Configuration Dialog Box ................ 77 Incremental Validation of an Offline Configuration ................................................... 80 Network Object Selection Dialog Box ......................................................................... 81 Offline Configuration Dialog Box ............................................................................... 81 EFSValidate.log, Yes Selected in the Offline Configuration Dialog Box ...................... 83 EFSValidate.log, No Selected in the Offline Configuration Dialog Box ...................... 83 Log file for Parent and Child Device ECB Mismatch .................................................. 84 Device Configuration Starting with Manual ECB ....................................................... 88 Entering ECB Names .................................................................................................. 89 Manually Entering Changes to EFS Database ............................................................. 90 Offline Comparison Dialog Box ................................................................................. 91 Welcome Page ............................................................................................................. 96 Configure EFS Database Dialog Box ........................................................................... 97 Maintenance Complete Page ....................................................................................... 97 Creating a New Database ............................................................................................ 98 Database Properties ..................................................................................................... 99 Microsoft SQL Server Management Studio ................................................................. 99 Opening the Login - New Window ........................................................................... 100 Login Window for a New Database .......................................................................... 101 User Mapping Page ................................................................................................... 102 Database Properties Pane .......................................................................................... 103
viii
Figures
B0400EF Rev H
6-11. 6-12. 6-13. 6-14. 6-15. 6-16. 6-17. 6-18. 7-1. 7-2. 7-3. 7-4. 7-5. 7-6. 7-7. 7-8. 7-9. 7-10. 7-11. 7-12. 7-13. 7-14. 7-15. 8-1. 8-2. 8-3. 8-4. 8-5. 8-6. 8-7. 8-8. 8-9. 8-10. 8-11. 8-12. 8-13. 8-14. 8-15. 8-16. 8-17. 8-18. 8-19. 8-20. 8-21. 8-22. 8-23. 8-24. 8-25.
ODBC Data Source Administrator ........................................................................... Create New Data Source Dialog Box ........................................................................ Create New Data Source to SQL Server Wizard ........................................................ Specifying Authentication Method ............................................................................ Setting Additional Properties ..................................................................................... Final Wizard Page ..................................................................................................... Selected Data Source Settings .................................................................................... SQL Server ODBC Data Source Test ....................................................................... Setting up I/A Series Devices for EFS Scanning ........................................................ Exporting Device Configurations from PACTware ................................................... EFS Export with Warnings ....................................................................................... Selecting a Field Device for Scanning ........................................................................ Setting the Scanning Frequency ................................................................................ Device Grouping List Control ................................................................................... Selecting the Group Size ........................................................................................... Alphabetically Sorted Grouping ................................................................................ Removing Devices from Alphabetic Grouping .......................................................... Start Service Button .................................................................................................. Configuring the Device Scanner Service .................................................................... Stop Service Button ................................................................................................... Click Update Service to Make Changes on the Fly .................................................... Scanner Configuration Update in Progress ................................................................ Update Service is Successful ...................................................................................... Example HART Multiplexer Configuration .............................................................. Configuring Devices Connected via a HART Multiplexer for EFS Scanning ............ Updating the Device Catalog .................................................................................... Setting Up the Project View ...................................................................................... Naming the PACTware Project ................................................................................. Add the HART Communication DTM to the Host PC ........................................... HART Communication DTM Parameters ................................................................ Adding the Master DTM .......................................................................................... Editing Master Multiplexer Parameters ..................................................................... Adding a Slave DTM ................................................................................................ Selecting the Slave Communication Channel ............................................................ Editing the Slave Multiplexer Parameters .................................................................. Selecting a Slave Device ............................................................................................ Rebuild Loops Dialog Box ........................................................................................ Connecting to the Multiplexer Slave ......................................................................... Editing the Slave Device Online ................................................................................ Exporting Device Configurations from PACTware ................................................... Selecting an Off-Platform Field Device for Scanning ................................................ Setting the Scanning Frequency ................................................................................ EFSExportWarning Dialog Box ................................................................................ Network Object Selection ......................................................................................... Confirm Deletion Dialog Box ................................................................................... Configuring Devices Connected via an MTL Multiplexer for EFS Scanning ............. Selecting Scan List in PACTware .............................................................................. Selecting RS-485 Address in PACTware ...................................................................
104 104 105 105 106 106 107 107 112 114 114 115 116 117 118 118 119 121 122 123 124 124 124 125 127 128 129 129 130 131 132 133 134 134 135 136 137 138 139 140 141 142 142 143 143 144 145 146
ix
B0400EF Rev H
Figures
8-26. 8-27. 8-28. 8-29. 8-30. 8-31. 8-32. 8-33. 8-34. 8-35. 8-36. 8-37. 8-38. 8-39. A-1. A-2. A-3. A-4. A-5. A-6. A-7. A-8. A-9. A-10. A-11. A-12. A-13. B-1. B-2. B-3. B-4. B-5. C-1. C-2. C-3. C-4. C-5. C-6. C-7. C-8. C-9. C-10. C-11. C-12. C-13. C-14. C-15. C-16.
Refreshing the Instrument List in PACTware ............................................................ List of Devices in PACTware .................................................................................... Channel Selection in PACTware ............................................................................... FoxCom Modem with a FoxCom Device .................................................................. HART Modem with a HART Field Device .............................................................. Configuring Devices Connected via a Modem for EFS Scanning .............................. Multiplexer and Device Setup Procedure .................................................................. Adding HART Communication DTM to HOST PC ............................................... Configuring HART Communication DTM ............................................................. Adding Mux 2700G (FDT) Master DTM to the HART Communication DTM ..... Adding 2700 Slave (FDT) Slave DTM to the Mux Master DTM ............................. Channel Scan Completed .......................................................................................... Connecting the Device DTMs in PACTware ............................................................ Choosing Extras > EFS Export from PACTware Main Menu ................................... Microsoft SQL Server Management Studio - Restore Database ................................. Restore Database Window ........................................................................................ Specify Backup Dialog Box ....................................................................................... Locate Backup File Dialog Box ................................................................................. Backup Location Listed ............................................................................................. Restore Checkbox ..................................................................................................... Restore Options and Standby File ............................................................................. Restore State and Modified Paths .............................................................................. EFSDB Restored Successfully .................................................................................... Opening a New Query .............................................................................................. Query Successfully Executed ..................................................................................... Login Properties Window, General Page ................................................................... Login Properties Window, User Mapping Page ......................................................... Choices for Maintenance Only Applications ............................................................. EFS Displaying I/A Series Hierarchy ......................................................................... Ensure that the DevScan Service is Stopped .............................................................. Selecting the Product Features ................................................................................... EFS Displaying I/A Series Hierarchy ......................................................................... SQL Server Import and Export Wizard Dialog Box .................................................. Choose a Data Source Page ....................................................................................... Choose a Destination Page ........................................................................................ Specify Table Copy or Query Page ............................................................................ Select Source Tables and Views Page ......................................................................... Save and Execute Package Page ................................................................................. SQL Server Import and Export Wizard ..................................................................... Final Wizard Page Indicates the Import Was a Success .............................................. Option Dialog Box in SQL Server Management Studio ............................................ Tables Summary Tab ................................................................................................ Tables Design View .................................................................................................. Setting the Primary Key ............................................................................................ Option Dialog Box in SQL Server Management Studio (Checking) ......................... FBMTypeSoftware Column Properties ..................................................................... Channel Column Properties ...................................................................................... Selecting 100 Series Migration ..................................................................................
147 148 149 150 150 151 152 153 154 155 156 157 158 159 172 173 173 174 175 175 176 177 178 179 179 180 181 184 185 186 187 188 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 206
Figures
B0400EF Rev H
D-1. D-2. D-3. D-4. D-5. D-6. D-7. D-8. D-9. D-10. D-11.
Configure Communication DTM ............................................................................. Listing DTMs for a Vendor in the Device Catalog .................................................... Choosing Device DTM to Print Online Parameterization ........................................ Adding Device DTM to Proper Channel .................................................................. Device DTM Added Under Communication DTM ................................................. Putting the Device Online ........................................................................................ Device Online ........................................................................................................... Choosing Print Online Parameterization ................................................................... Showing Online Parameterization ............................................................................. Online Parameterization Showing Fld Dev Rev and Software Rev ...................... Selecting Correct DTM From List of DTMs for a Vendor ........................................
210 211 212 213 214 215 216 217 218 219 220
xi
B0400EF Rev H
Figures
xii
Tables
2-1. 3-1. 3-2. 3-3. 4-1. 4-2. 5-1. C-1. Replacing 100 Series FBMs ......................................................................................... 10 200 Series FBMs and Associated ECBs ....................................................................... 53 100 Series FBMs and Associated ECBs ....................................................................... 54 New 200 Series FBMs and Associated ECBs ............................................................... 54 Resolving Conflicts Between Imported Data and the EFS Database ............................ 78 How Validation Resolves Differences Between CSA and the EFS Database ................ 84 Resolving Conflicts Between Manually Entered Data and The EFS Database ............. 92 Migration to 200 Series FBMs (Partial) ..................................................................... 206
xiii
B0400EF Rev H
Tables
xiv
Preface
This document provides information for installing, configuring, operating and troubleshooting I/A Series system Extended Frame Services and Communication DTMs.
Revision Information
For this release of the document (B0400EF-H), the following changes were made: Global Updated all references to EFS2.2 to EFS2.3, PACTware 3.6 SP1 to PACTware 4.0 and Microsoft SQL Server 2005 to Microsoft SQL Server 2008. Chapter 1 Extended Frame Services 2.3 Revised the content of chapter to reflect use of PACTware V4.0 and Microsoft SQL Server 2008 with EFS2.3. Chapter 2 Software Installation Revised the content of chapter to reflect use of PACTware V4.0 and Microsoft SQL Server 2008 with EFS2.3.
Updated Install PACTware on page 11. Added Install Microsoft .NET Framework 4.0 on page 25. Updated Install EFS and HART/FoxCom Communication Device Type Managers on page 28 and Install the Device DTMs on page 36. Updated screenshots in Initialize PACTware V4.0 Device Catalog on page 45. Added Uninstall EFS on page 47.
xv
B0400EF Rev H
Preface
Chapter 3 Online Configuration Added FBM247 to Table 3-3, New 200 Series FBMs and Associated ECBs. Updated Initialize the Device Catalog and Start a Project on page 56. Updated Figure 3-3, Figure 3-7, Figure 3-9, Figure 3-10, Figure 3-11, Figure 3-12 and Figure 3-13. Chapter 4 Offline Configuration: Bulk Data Import Minor update to directories listed in Creating a Worksheet for Bulk Import on page 70, Importing to an Existing EFS Database on page 74, and Validating the Offline Configuration on page 79. Updated Figure 4-1 on page 70, Figure 4-3 on page 72, Figure 4-6 on page 75, and Figure 4-10 on page 80. Chapter 5 Offline Configuration: Manual Entry Updated Figure 5-1 on page 88, Figure 5-2 on page 89, Figure 5-3 on page 90, and Figure 5-4 on page 91. Minor edits to Editing Manually Entered Device ECB Information on page 90. Chapter 6 Setting Up the EFS Database Using Microsoft SQL Server 2008 Added Setting Options on EFS Database on page 102. Edits to Best Practices for Advanced Users on page 108. Chapter 7 Configuring Devices for EFS Scanning Added HART Device Scan Considerations on page 112. Updated Figure 7-1 Setting up I/A Series Devices for EFS Scanning on page 112. Updated the note at the end of Exporting the PACTware Project on page 114. Updated screenshots in and added the final warning to Selecting the Devices and Setting the Frequency on page 115. Updated Updating the Service on page 120, Starting the Scan Service on page 121, Stopping DevScan on page 122 and Updating the Service on the Fly on page 123. Chapter 8 Configuring and Scanning Off-Platform Devices Updated the list of CD-ROMs required during the installation process for the HART multiplexer in Hardware and Software Prerequisites on page 126. Upgraded screenshots in Getting Started on page 127, Add HART Communication and Multiplexer DTMs on page 130, Figure 8-12 on page 135, Add the DTMs for Field Devices on page 135 and Configure EFS Scanning on page 140.
In Multiplexer Master DTM on page 131, changed the HART communications DTM in the Project view from COM2 to COM1. Added another procedure to the beginning of Verify Device Connections on page 136. Updated MTL Multiplexer and Devices on page 144, including Figure 8-23. Added figures to Pepperl+Fuchs Elcon 2700G HART Multiplexer with Devices on page 151. Appendix A Troubleshooting
xvi
Preface
B0400EF Rev H
Minor update to Case 1: Microsoft SQL Server 2008 on page 171. Updated Restoring the Database in SQL Server 2008 on page 172. Appendix B Upgrading to PACTware 4.0 and EFS 2.3 Updated Maintenance Only Applications on page 183. Updated Figure B-4 on page 187. Appendix C Database Migration Updated the steps are to be executed to create SQL Server 2008 EFS database from an Access EFS database on page 189. Updated Import from the Access Database on page 189, Set the Primary Key for the Database Tables on page 197, Set Default Values for the CommunicationDevices Table on page 202 and Migrating Databases from Previous Versions to EFS 2.3 on page 204. Appendix D Choosing a Proper DTM for a Field Device
The full list of 200 Series FBM replacements for 100 Series FBMs is available in 100 Series Fieldbus Module Upgrade User's Guide (B0700BQ).
PACTware Upgrade
If you are currently using EFS 1.1, EFS 2.0, EFS 2.1 or EFS 2.2, you should also review Appendix B Upgrading to PACTware 4.0 and EFS 2.3 for information on managing PACTware projects as you install PACTware Version 4.0, which is required for EFS 2.3.
xvii
B0400EF Rev H
Preface
Reference Documents
In addition to the information in this document, you should be familiar with the following documents. For information on integrating FBMs and intelligent field devices into an I/A Series system, refer to: DIN Rail Mounted Subsystem Users Guide (B0400FA) Measurement Integration (B0193RA) HART Communication Interface Modules Users Guide (B0400FF) 100 Series Fieldbus Module Upgrade User's Guide (B0700BQ). For information about defining blocks and compounds, refer to: Integrated Control Block Descriptions (B0193AX) Integrated Control Software Concepts (B0193AW). For information about configuring your system, refer to: System Definition: A Step-by-Step Procedure (B0193WQ) Integrated Control Configurator (B0193AV). For details on the application programming interface of EFS, refer to: Extended Frame Services 2.x Application Programming Interface (B0400EG). Most are available on the I/A Series Electronic Documentation CD-ROM (K0173TQ or K0173WT) provided by the Foxboro business unit of Invensys. The latest revisions may also be available through the Global Customer Support at http://support.ips.invensys.com.
xviii
Overview
Field Device Tool (FDT) uses industry-standard technology to provide a single application to translate and use the vendor-defined functions of many different intelligent field devices. Using Field Device Tool technology in your I/A Series system, you can integrate a number of different field devices that use the HART or FoxCom communication protocol into your system, and you can access, configure, calibrate and maintain each of them, regardless of manufacturer.
To enable communication between the control network and field devices, the I/A Series system uses combinations of the following FDT Components: Instrument Device Type Managers (device DTMs) Communication Device Type Managers (communication DTMs) PACTware 4.0 FDT Frame Application Extended Frame Services 2.3
Device DTMs
Each device is associated with a device DTM, which is a software component created by the device manufacturer that provides the functionality to configure and calibrate the device, and perform device diagnostics. A typical device DTM enables you to:
View full screen displays of device parameters to speed device DTMs off-line configuration Reconfigure the tag number, tag name, device name, location, upper and lower range values, damping time, digital or 4 to 20 mA output, type of units measured and other configurable parameters as required Accurately re-range a device without applying a calibrated input signal Diagnose problems and determine if they are process or device errors Adjust the device output to any value for verification, troubleshooting, or loop calibration.
NOTE
When working with EFS and HART devices, use only the CodeWrights Invensys 3rd Party DTMs in the Code Wrights library CD (K0201AW) in the EFS deliverables. Exceptions to the rule are indicated later.
B0400EF Rev H
NOTE
Refer to Appendix D Choosing a Proper DTM for a Field Device before proceeding to use DTMs from Code Wrights DTM library. Invensys Foxboro provides DTMs for Invensys manufactured HART and FoxCom field devices. DTMs are available in the Code Wrights DTM library in the EFS deliverables for many non Invensys devices. These are devices for which the device manufacturer provided the device DD source to the HART Communication Foundation. There are some devices for which you will not find DTMs in the Code Wrights DTM library, as the device manufacturers do not provide DD source files to the HART Communication Foundation. In such cases, if you can secure the DD source from the vendor, Invensys provides a service to generate the DTM from the DD source files. Contact Global Customer Support for information on pricing and a quotation.
Communication DTMs
The I/A Series system also requires an FBM Communication DTM (sometimes referred to as a communication passthrough DTM), which is created as per fieldbus type, for communication through the I/A Series Control Network, Control Processor and FBM to the device. Two FBM Communication DTMs are shipped on the EFS media kit: one for communication with HART devices via an FBM, the other for communication with FoxCom devices. These DTMs should be installed when you install PACTware. A generic HART Communication DTM is required to communicate with HART field devices in a non I/A Series system environment. These devices are connected to the host workstation via a modem or multiplexer, and not via an FBM on the I/A Series Control Network. In the this document, these devices are referred to as off-platform devices. The HART Communication DTM is shipped along with the PACTware installation. If you connect the device via a multiplexer, such as a multiplexer, you must use a vendor-provided DTM for the device communication in addition to the HART Communication DTM.
B0400EF Rev H
PACTware is installed on an I/A Series workstation with the FBM Communication DTMs and device DTMs and enables you to configure and manage HART and FoxCom devices online. PACTware queries the I/A Series Compound Summary Access (CSA) instance to discover the equipment control blocks (ECBs) that have been deployed for the FBMs and their attached devices. Use PACTware to associate the FBM ECB with the appropriate FBM Communication DTM and the individual devices with their respective device DTMs. You can then open the device DTMs and configure the devices, and upload and download the device configurations. Configuration of the intelligent field devices on the I/A Series system is discussed in Chapter 3 Online Configuration.
NOTE
If you are currently using EFS 1.1, EFS 2.0, EFS2.1 or EFS 2.2, you should review Appendix B Upgrading to PACTware 4.0 and EFS 2.3 for information on managing PACTware projects as you install PACTware Version 4.0, which is required for EFS 2.3.
Offline Configuration
PACTware can also be used in conjunction with EFS to configure HART and FoxCom devices before their ECBs are deployed to the I/A Series system. Instead of querying the CSA for ECB information, the ECB names are sourced from the EFS database. You can enter the names by importing them from a spreadsheet or using manual data entry. The two methods are described in Chapter 4 Offline Configuration: Bulk Data Import and Chapter 5 Offline Configuration: Manual Entry, respectively.
B0400EF Rev H
HART FBMs, as well as additional HART device data can be scanned into the Control Processor as desired. Refer to HART Devices Connected To I/A Series HART FBMs on page 113 for further details. Alarming and communicating abnormal device status may be performed through ArchestrA application objects and the ArchestrA system platform, or alternatively through alarm capabilities in applications such as FoxView. These techniques result in much faster instrument alarms compared to using EFS and the Avantis Condition Manager. In the FBM-connected scenario, if it is desirable to use the Avantis.PRO work order system, the Condition Manager's OPC or historian interfaces may be used instead of its EFS interface. The EFS database is implemented with either Microsoft Access or Microsoft SQL Server 2008. Microsoft Access is installed as the default EFS database and requires no additional setup. Microsoft SQL Server 2008 is the recommended database for all systems that use EFS. However Microsoft Access can be selected and used for proof of concept and systems used for training. See Chapter 6 Setting Up the EFS Database Using Microsoft SQL Server 2008 for information on creating the EFS database with Microsoft SQL Server 2008. See Appendix C Database Migration for information on converting an existing EFS database from Microsoft Access to Microsoft SQL Server 2008, and on managing the EFS database as you upgrade the application to EFS 2.3.
NOTE
Extended Frame Services 2.3 requires PACTware 4.0 for configuration, and supports Microsoft SQL Server 2008 only (not any earlier versions). A scanning process is provided with EFS to ensure that intelligent field device information in the database is updated periodically. The scanner retrieves device parameters and status, and saves the updated information to the database. You can configure the scanner to specify which devices to scan and the frequency of scanning. See Chapter 7 Configuring Devices for EFS Scanning for instructions on configuring EFS scans of devices connected to the I/A Series system. Refer to Chapter 8 Configuring and Scanning Off-Platform Devices for information on configuring EFS scans of off-platform devices.
Do not install EFS and I/A Series Intelligent Field Device Configurator (IFDC) software on the same workstation. Licenses for EFS 2.3 are available in both EFS Server and EFS Client versions. The EFS Server is used on the computer that stores the EFS database. Figure 1-1 shows a typical configuration where the EFS Server is installed on a server-class computer located on the Enterprise Network, with SQL Server 2008 database installed. In this configuration, I/A Series communication DTMs are installed on the EFS Client on the I/A Series system redundant control network.
B0400EF Rev H
Figure 1-1. Typical EFS Configuration with EFS Server on Enterprise Network
When an EFS Server is installed on-platform as in Figure 1-2, the control processor is typically hosted by a different I/A Series workstation. However, the EFS Server may also be installed on the control processors host workstation. You can install EFS software on Windows workstations in systems having mixture of UNIX and Windows workstations. Figure 1-3 shows an alternate configuration, where the EFS Server is installed on an I/A Series system Windows XP workstation located on the redundant control network. In this case, the EFS Server uses the Microsoft Access database, and communication DTMs are installed on both the server and client workstations. EFS Client software may be installed on any Windows compatible workstation meeting the hardware requirements identified in EFS Hardware and Software Requirements on page 7 either on the I/A Series platform or on the Enterprise network. This allows device information to be shared anywhere across the plant enterprise. An EFS Client typically accesses scan database information from the EFS Server, but it can also access direct device information through the communication DTMs. Avantis.PRO can be installed on any computer having either EFS Server or EFS Client software. Invensys Condition Monitoring (ICM) application monitors the asset management data within EFS and creates a work order within Avantis.PRO when a device malfunctions.
B0400EF Rev H
Figure 1-3. Alternate EFS Configuration with EFS Server on the I/A Series Network
B0400EF Rev H
Extended Frame Services 2.3 is supported on a client with Windows XP Professional operating system, or a server with Windows Server 2003 operating system with Microsoft SQL Server 2008.
NOTE
I/A Series system FBM Communication DTMs must be installed on an I/A Series workstation that has the EFS software installed and that has a second Ethernet Interface to the Enterprise Network.
Off-Platform Requirements
An off-platform EFS Client must be a workstation running the Windows XP Professional operating system. The recommended off-platform EFS Server is a server-class computer with the Windows Server 2003 operating systems with Microsoft SQL Server 2008. Alternatively, you can use a computer running the Windows XP Professional or Windows 7 Professional operating systems with Microsoft Access software. Microsoft SQL Server 2008 database is recommended for better performance on larger applications.
Minimum hardware requirements include a Pentium 4 machine of 1.5 GHz with 512MB of main memory, 4 GB hard disk with at least 100 MB of space for installation, CD-ROM drive and 100 MHz TCP/IP switched Ethernet Interface.
B0400EF Rev H
2. Software Installation
This chapter describes installation of PACTware, Extended Frame Services and related DTMs. The software described in this chapter is located on the following CD-ROMs and is used for installing PACTware, EFS and related DTMs: K0201AV - PACTware 4.0 FDT Frame Application This CD includes Microsoft .NET Framework 4.0 (Version 4.0.30319), which the EFS V2.3 application requires. K0201AX - FDT Device Manager Components V2.3 (EFS V2.3) This CD includes HART and FoxCom communication DTMs, Extended Frame Services, and user documentation. Install the FBM communication DTMs from this CD and not from D0197BZ (PC50 package).
K0201AW - Device Type Managers for HART by CodeWrights V1.7.169 This CD contains device DTMs for non Invensys HART devices. D0197BZ - Device Type Managers for Invensys Instruments V2.5 (also referred to as the PC50 Intelligent Transmitter Configurator package or PC50 package) Use this CD to install device DTMs for Invensys HART devices and FoxCom devices. Do not install the HART and FoxCom FBM Communication DTM versions that are on this CD. It is recommended that proper DTM revision is acquired for the device based on the device revision and firmware revision of the physical device. If the PC50 Intelligent Transmitter Configurator package is missing the required DTM, obtain the latest and proper DTM from the following Invensys Operations Management website: http://iom.invensys.com/EN/Pages/Foxboro_MandI_DocTools_DeviceManagers.aspx Alternatively, you can obtain the latest and proper DTM by contacting the Invensys Operations Management Global Customer Support at http://support.ips.invensys.com. D0197BZ is not included in the EFS 2.3 media. If you are installing Invensys HART devices or FoxCom devices, order the D0197BZ through BuyAutomation.
Do not install EFS and I/A Series Intelligent Field Device Configurator (IFDC) software on the same workstation.
B0400EF Rev H
2. Software Installation
Installation Directory
This chapter provides detailed step-by-step instructions for installation of the FDT software. In many cases, you can simply insert the CDs in the workstation, run setup.exe and follow the setup wizard prompts to perform a Complete installation of the software to the default installation location on the workstations C: drive. However, if you are installing the software in an I/A Series (v8.5 or later) secured environment, you must install the software on the D: drive. Each wizard presents a slightly different method for changing the installation location, as described in the following sections: Install PACTware on page 11 Install EFS and HART/FoxCom Device Manager on page 25 Invensys 3rd Party DTMs for Non Invensys HART Devices on page 36 DTMs for Invensys Instruments on page 44 The instructions in this chapter follow the recommended sequence for installation.
Upgrading PACTware
If you are currently using EFS 1.1, EFS 2.0, EFS 2.1 or EFS 2.2, you should also review Appendix B Upgrading to PACTware 4.0 and EFS 2.3 for information on managing PACTware projects as you install PACTware Version 4.0, which is required for EFS 2.3.
10
2. Software Installation
B0400EF Rev H
Install PACTware
The PACTWare 4.0 requires Microsoft .NET Framework 2.0. If Microsoft .NET Framework 2.0 is not already installed on the system, you should install it before installing PACTware 4.0. The PACTware 4.0 FDT Frame Application CD-ROM (K0201AV) includes Microsoft .NET Framework 2.0.
2. Click Next in the Welcome wizard (Figure 2-1). The License agreement page opens (Figure 2-2).
11
B0400EF Rev H
2. Software Installation
3. Select the I accept the terms of the License agreement check box and then click Install (Figure 2-2). The software is installed.
12
2. Software Installation
B0400EF Rev H
NOTE
Do not select any language except English, as the PACTware FDT Frame Application supports only English. 3. Select Next on the Welcome page (Figure 2-4) to proceed with the installation.
4. Click the radio button for I accept the terms... on the License Agreement page (Figure 2-5) and then click Next.
13
B0400EF Rev H
2. Software Installation
5. Provide the details for the Customer Information page (Figure 2-6) and click Next.
14
2. Software Installation
B0400EF Rev H
6. Choose Custom for Setup Type (Figure 2-7) and click Next.
The wizard displays the Choose Destination Location page with a default installation location on the C: drive (Figure 2-8).
15
B0400EF Rev H
2. Software Installation
NOTE
If you are installing the software in an I/A Series secured environment, you must install the software on the D: drive. 7. Do the following if you are installing the software in an I/A Series secured environment: a. Click Browse to open the Choose Folder dialog box (Figure 2-9) b. Change C:\ to D:\ in the Path field and click OK.
16
2. Software Installation
B0400EF Rev H
8. Click Next on the Choose Destination Location page when the correct installation folder is shown. 9. Click Next on the Start Copying Files page to install the PACTware software (Figure 2-10).
17
B0400EF Rev H
2. Software Installation
10. The wizard displays the progress of the install on the Setup Status page (Figure 2-11) and then displays the Installation Wizard Complete page (Figure 2-12).
18
2. Software Installation
B0400EF Rev H
19
B0400EF Rev H
2. Software Installation
2. Click Next on the Welcome page (Figure 2-14), to display the License Agreement page.
20
2. Software Installation
B0400EF Rev H
3. Click the radio button for I Accept the terms... and then click Next. The Customer Information page opens (Figure 2-15).
21
B0400EF Rev H
2. Software Installation
Figure 2-15. Customer Information for the Generic HART DTM Installation
4. Enter your user name and organization in the Customer Information page (Figure 2-15) and click Next. The Ready to Install page (Figure 2-16) opens.
22
2. Software Installation
B0400EF Rev H
5. Click Install on the Ready to Install page (Figure 2-16). The Installing page opens to display the progress of the installation (Figure 2-17).
23
B0400EF Rev H
2. Software Installation
6. Click Finish when the wizard indicates that the DTM has been installed successfully (Figure 2-18).
24
2. Software Installation
B0400EF Rev H
25
B0400EF Rev H
2. Software Installation
2. Click the I have read and accept the license terms check box. 3. Click Install to continue the installation. The Installation progress page opens (Figure 2-20).
26
2. Software Installation
B0400EF Rev H
27
B0400EF Rev H
2. Software Installation
28
2. Software Installation
B0400EF Rev H
3. Click Yes to accept the license and display the Choose Destination Location page (Figure 2-24), which shows the default installation directory on the C: drive
29
B0400EF Rev H
2. Software Installation
(C:\Program Files\Invensys\FDM_EFS) on an off-platform system or shows the D: drive (D:\Invensys\FDM_EFS) on an I/A Series System.
At this point, you can either accept the default location or change the installation directory to a folder of your choice.
NOTE
If you are installing the software in an I/A Series secured environment, you must install the software on the D: drive. 4. Do the following to specify a different installation location: a. Click the Browse button in the Destination Folder box to open the Choose Folder dialog box (Figure 2-25). b. Use the dialog box to browse to and select a different location, or type the new location in the Path field. In Figure 2-26, the user has entered the root directory of the D: drive. c. Click OK to display the new selection on the Choose Destination Location page (Figure 2-27).
30
2. Software Installation
B0400EF Rev H
31
B0400EF Rev H
2. Software Installation
d. Click Next on the Choose Destination Location page with the Destination Folder selected (Figure 2-27). If the Destination Folder does not have the \FDM_EFS in the path (as is the case in Figure 2-26), the Installation wizard displays a message box indicating that it will append \FDM_EFS to your selection (Figure 2-28).
32
2. Software Installation
B0400EF Rev H
e. Do one of the following: Click OK to install the software in the path shown in the Information dialog box (D:\FDM_EFS in Figure 2-28) and proceed to the Select Features page (Figure 2-29). Click Cancel to return to the Choose Destination Location page, specify a different Destination Folder, and click Next when the correct directory is shown under Destination Folder to move to the Select Features page (Figure 2-29). f. Select all the features listed in the left pane of the Select Features page (Figure 2-29). Click Next. The Setup Status page opens (Figure 2-30).
33
B0400EF Rev H
2. Software Installation
34
2. Software Installation
B0400EF Rev H
5. After the installer finishes computing space requirements, the Configure EFS Database wizard (Figure 2-31) opens. Select either Microsoft Access Database or Microsoft SQL Server Database. By default, Microsoft Access Database is selected. Click OK to continue with the Microsoft Access Database installation. To continue with SQL server database installation, select Microsoft SQL Server Database. Then, from the SQL Server drop-down menu, select the SQL server database name on the workstation. Type the password and click OK.
6. Once the installation is completed, the Install Shield Wizard Complete page opens (Figure 2-32). 7. Click Finish to complete the installation.
35
B0400EF Rev H
2. Software Installation
EFS scans should be performed only with a DTM from the CodeWrights Invensys 3rd Party DTMs package. Although vendor supplied device DTMs should not be used to run EFS scans, they can be used in PACTware 4.0 for device configuration and calibration, and for advanced device diagnostics.
36
2. Software Installation
B0400EF Rev H
2. Click Next on the Welcome page (Figure 2-33) to display the software licence. 3. Click the radio button for I accept the terms... (Figure 2-34) and then click Next.
37
B0400EF Rev H
2. Software Installation
4. In the displayed Customer Information page (Figure 2-35), enter the Customer details and click Next. The wizard displays the Choose Setup Type page (Figure 2-36).
38
2. Software Installation
B0400EF Rev H
39
B0400EF Rev H
2. Software Installation
5. Click Custom to open the Custom Setup dialog box (Figure 2-37), which lists the DTMs by vendor. The default installation setup is to install the entire library in:
C:\Program Files\CodeWrights\DTMStudio\Invensys DTM Library 3rd Party
NOTE
If you are installing the software on an I/A Series secured environment, you must install the software on the D:\ drive.
6. Do the following if you are installing the software in an I/A Series secured environment: a. Click Browse on the right side of the page to display the Change Current Location Folder page (Figure 2-38). b. Change C:\ to D:\ in the Folder Name field, and click OK.
40
2. Software Installation
B0400EF Rev H
It is recommended that you install the complete DTM library. If you have limited disk capacity on the workstation, you may want to install only selected DTMs. The complete library requires about 990 megabytes of disk space. 7. Do the following to install only selected DTMs: a. Click the + sign to the left of a vendor name to expand the folder and display specific DTMs (Figure 2-39); click the - sign to collapse the display and hide the DTMs. b. Select a vendor folder or a DTM to display the items storage requirement on the right. c. Use the pull-down for a vendor folder or DTM to specify whether it is to be excluded from the installation (Figure 2-39). By default, all items are included.
41
B0400EF Rev H
2. Software Installation
d. Click the Disk Usage button to see the space required for your selections. e. Click Next when you have finished selecting DTMs. The wizard displays the Ready to Install dialog box (Figure 2-40). 8. Click Install on the Ready to Install page to load the DTMs (or click Back to change the installation settings).
42
2. Software Installation
B0400EF Rev H
9. Click Finish when the setup wizard indicates that the installation is complete (Figure 2-41), and then remove the CD from the CD-ROM drive.
43
B0400EF Rev H
2. Software Installation
Do not install the versions of the FBM Communication DTMs for HART and FoxCom devices (the Passthru DTMs) that are located on this CD. For EFS, install the Passthru DTMs from FDT Device Manager Components V2.3 (EFS V2.3) CD (p/n K0201AX). See Install EFS and HART/FoxCom Device Manager on page 25. To install the Invensys HART device DTMs, proceed as follows: 1. Insert the Device Type Managers V2.5 CD into the workstation CD-ROM drive and double-click setup.exe to begin the installation. 2. Click Run to start the setup wizard. 3. Click Next on the first wizard page and follow the instructions on the screen during the installation process. 4. Accept the License Agreement and click Next. 5. Provide details for the Customer Information window (or simply accept the defaults) and click Next. 6. Choose Custom in the Setup Type page and click Next to display the page for specifying the installation directory.
44
2. Software Installation
B0400EF Rev H
NOTE
If you are installing the software on an I/A Series secured environment, you must install the software on the D:\ drive. 7. Do the following if you are installing the software on an I/A Series secured environment: a. Click Browse to open the Choose Folder dialog box. b. Change C:\ to D:\ in the Path field, and click OK. Otherwise, accept the default installation directory (C:\Program Files\CodeWrights\DTMstudio\Invensys DTMLibrary for FDT) and click Install. 8. Click Finish when the wizard indicates it has completed the installation. To install FoxCom device DTMs, proceed as follows: 1. Locate and run FoxComInstall.exe under the FoxCom folder. 2. Follow the installation sequence described for HART device DTMs in steps 2 to 8. 3. Remove the CD.
45
B0400EF Rev H
2. Software Installation
Project View
Device View
2. Choose View > Device Catalog from the PACTware main menu or click the Device Catalog icon ( ) in the PACTware toolbar to open the Device Catalog (Figure 2-43). The catalog lists the DTMs currently available for the project. 3. Click the Update device catalog button to bring the newly installed DTMs into the PACTware database, and click Yes when the confirmation dialog box (Figure 2-43) prompts you to Create a new PACTware device catalog?
46
2. Software Installation
B0400EF Rev H
NOTE
Update Device Catalog cannot be performed when an existing project is opened in PACTware. At this point, you are creating a new project, which you can name at any time by choosing File > Save from the main menu. You can also edit an existing project by choosing File > Open from the main menu and selecting the project in the Open dialog box. 4. Click in the PACTware title bar to close the application.
Uninstall EFS
Proceed as follows to uninstall EFS: 1. Open Settings -> Control Panel -> Add/Remove Programs. 2. Select Extended Frame Services [current version number] and click Change/Remove.
47
B0400EF Rev H
2. Software Installation
3. Click the Remove radio button on the InstallShield Wizard page (Figure 2-44) and click Next.
NOTE
The Modify option is provided for migration of previous version EFS database to EFS2.3. Refer to Appendix C Database Migration on page 189 for details. The Repair option is provided to repair a corrupted EFS program when it fails to work reporting missing program or DLL. 4. Click OK in Confirmation dialog box (Figure 2-45) to begin the uninstallation process.
5. Several dialog boxes appear during the unistallation process to indicate the progression of the uninstallation. Once the process is complete, the Maintenance Complete page opens (Figure 2-46).
48
2. Software Installation
B0400EF Rev H
49
B0400EF Rev H
2. Software Installation
50
3. Online Configuration
This chapter describes how to associate the HART and FoxCom communication DTMs and device DTMs with an FBM in a PACTware project. This chapter covers configuration of HART and FoxCom devices where the devices are connected to I/A Series system via protocol specific fieldbus modules (FBMs).
NOTE
For the sake of simplicity, the instructions and example configuration in this chapter deal with configuring the HART communication DTM and a single HART device. However, the instructions apply to both HART and FoxCom communication DTMs and device DTMs. Figure 3-1 shows the example configuration. The equipment control blocks (ECBs) for the FBMs and the field devices have been configured and deployed, the field devices have been installed and connected to the control processor, and the system can be accessed by the I/A Series workstation. In this workflow, the PACTware Frame application is installed on an I/A Series workstation along with FBM Communication DTM and the device DTMs that will be associated with the FBMs and the devices using the PACTware application.
Enterprise Network
I/A Series Workstation PACTware I/A Series Communication DTM HART Device DTMs
FCP270
HART FBM
HART Device
51
B0400EF Rev H
3. Online Configuration
52
3. Online Configuration
B0400EF Rev H
display for MC6F05 has been expanded to show the ECBs for an FBM (FB0043) the devices assigned to it.
The following FBMs and associated ECBs are used with PACTware and EFS:
Table 3-1. 200 Series FBMs and Associated ECBs
FBM218
FBM243
FBM246
FBM Description HART Communication Input Interface Module HART Communication Output Interface Module HART Communication Redundant Input Interface Module HART Communication Redundant Output Interface Module Dual Baud Rate Intelligent Device Interface Module (DIN Form factor) Redundant Dual Baud Rate Intelligence Device Interface Module (DIN Form factor)
Communication Parent (FBM) Child (Device) Protocol ECB ECB HART ECB200 ECB201 HART HART ECB200 ECB202 ECB201 ECB201
HART
ECB202
ECB201
FoxCom
ECB73
FoxCom
ECB38R
In addition to the FBMs listed in the Table 3-1, EFS is backward compatible and can be used with the FBMs in Table 3-2.
53
B0400EF Rev H
3. Online Configuration
FBM43 FBM44
FBM46
FBM Description Intelligent Transmitter Interface Module Intelligent Transmitter/0 to 20 mA Output Interface Module Dual Baud Rate Intelligent Transmitter Interface Module Dual Baud Rate Intelligent Transmitter/0 to 20 mA Output Interface Module Redundant Dual Baud Rate Interface to Intelligent Transmitters and Redundant Analog Outputs
ECB18
In addition to the FBMs listed in the Table 3-1 and Table 3-2, EFS V2.3 supports 200 Series FBMs introduced with I/A Series V8.6 release for replacement of corresponding 100 Series FBMs (Table 3-3).
Table 3-3. New 200 Series FBMs and Associated ECBs
FBM FBM243b
FBM Description Replaces the FBM39. The FBM243b contains four dual baud, FoxCom communication channels and four 0 to 20 mA analog outputs for similar field devices. 0 to 20 mA I/O interface module with HART support. The FBM244 contains four input and four output channels, supporting any mix of standard 4 to 20 mA devices and HART devices. Redundant version of the FBM244
Protocol FoxCom
FBM244
HART
ECB200
ECB201
FBM245
HART
ECB200
ECB201
54
3. Online Configuration
B0400EF Rev H
FBM FBM246b
FBM Description Replaces the FBM46. The FBM246b contains four dual baud, FoxCom communication channels and four 0 to 20 mA analog output channels. Can be installed as redundant pairs. Universal FBM that supports configurable HART channels - see B0400FF for details.
Protocol FoxCom
FBM247
HART
ECB200
ECB201
55
B0400EF Rev H
3. Online Configuration
Project View
Device View
2. Choose View > Device Catalog from the PACTware main menu or click the Device Catalog icon ( ) in the PACTware toolbar to open the Device Catalog (Figure 3-5). The catalog lists the DTMs currently available for the project. 3. Click the Update device catalog button to bring the newly installed DTMs into the PACTware database, and click Yes when the confirmation dialog box (Figure 3-5) prompts you to Create a new PACTware device catalog?
56
3. Online Configuration
B0400EF Rev H
NOTE
Update Device Catalog cannot be performed when an existing project is opened in PACTware. At this point, you are creating a new project, which you can name at any time by choosing File > Save from the main menu. You can also edit an existing project by choosing File > Open from the main menu and selecting the project in the Open dialog box. 4. Click in the PACTware title bar to close the application.
57
B0400EF Rev H
3. Online Configuration
1. Right-click HOST PC in the PACTware Project view (Figure 3-4), and choose Add device from context menu to open the Device for HOST PC dialog box (Figure 3-6).
2. Select FBM Communication (HART) and click OK to add the DTM to HOST PC in the Project view and close the dialog box. 3. Double-click on the DTM in the Project view to display the Parameters dialog box, which is used to identify the FBM and attached devices by their ECBs (Figure 3-7).
58
3. Online Configuration
B0400EF Rev H
4. Click Browse in the Parameter dialog box to open the Network Object Selection dialog box (Figure 3-8, left). 5. Click All in the Refresh box to bring all the online devices into the Network Object Selection dialog box. PACTware queries the I/A Series Compound Summary Access (CSA) for the deployed ECBs that are compatible with the HART FBM Communication DTM. The dialog box displays a hierarchy of workstations, control processors, FBM ECBs and the device ECBs assigned to each FBM (Figure 3-8, right). You only need to perform this step once, if there are no more ECBs deployed to the I/A Series system.
59
B0400EF Rev H
3. Online Configuration
6. Select the FBM that you want to configure for the HART devices and click OK (or click Close to exit the dialog box without making a selection). The ECB fields in the Parameter dialog box are now populated with ECB names from the I/A Series system. In Figure 3-9, the FBM is an eight-channel HART FBM, with a device attached to each channel.
NOTE
The Network Object Selection dialog box prevents you from selecting an already configured FBM to preclude re-configuration of the FBM Communication DTM. If you select a previously configured FBM, the dialog box prompts you to make another choice.
NOTE
To ensure that the PACTware project reflects what actually exists in the I/A Series system, use the Network Object Selection box to populate ECB fields in the Parameters dialog box, rather than manually entering ECB names.
60
3. Online Configuration
B0400EF Rev H
NOTE
The CHAN1 ECB through CHAN8 ECB fields are enabled or disabled based on the number of devices supported by the ECB type. Thus, for an FBM243b or FBM246b, only CHAN1 ECB through CHAN4 ECB would be enabled (Figure 3-10).
61
B0400EF Rev H
3. Online Configuration
7. Click OK to save and close the dialog box. The DTM is now identified by the FBM ECB name in the Project view (Figure 3-11).
Refer to Appendix D Choosing a Proper DTM for a Field Device to choose the correct DTM for a device from Code Wrights DTM library. To associate an instance of a device DTM with device on an FBM channel: 1. Choose View > Device Catalog if the catalog is not already open on the screen. 2. Select the FBM ECB in the Project view.
62
3. Online Configuration
B0400EF Rev H
3. Click the device manufacturer in the Vendor tab in the Device Catalog to list devices from that vendor on the right. 4. Double-click the device in the catalog to open the Select Communication Channel dialog box (Figure 3-11).
5. Select the proper communication channel and click OK. The device DTM is added to the selected communication channel of the FBM communication DTM and the device is shown in the PACTware Project view (Figure 3-12). 6. Double-click the device in the Project view to open the DTM in the Device view (Figure 3-12). 7. Modify the device parameters using the editing interface provided by the DTM. Refer to the device and DTM documentation. 8. Save and close the DTM.
63
B0400EF Rev H
3. Online Configuration
9. Right-click a column header in the Project view and choose Online State from the context menu to add the column to the Project view (Figure 3-13). 10. Right-click the header a second time and choose Channel from the context menu. 11. Right-click the FBM Communication (HART) DTM in the Project view, choose Connect from the context menu and verify that the communication DTM is online. The icon in the Online State column changes from to with a green background indicating that the DTM is online.
64
3. Online Configuration
B0400EF Rev H
12. Right-click a device DTM in the Project tree, choose Connect from the context menu and verify that the device DTM is online. The icon in the Online State column changes from to with a green background indicating that the DTM is online.
NOTE
The green background in Online State is not a sufficient check to confirm that the device is online and that the correct DTM has been selected. A successful upload from the device (Load from Device described in the next section) will confirm that the device is online and the DTM is correct.
65
B0400EF Rev H
3. Online Configuration
The following sequence is recommended, especially if application specific-parameters have been set in the device at the factory: 1. Right-click the device in the Project view and choose Connect from the context menu to go online to the device. 2. Right-click the device in the Project view and choose Load from Device in the context menu to upload parameter values to the DTM. 3. Choose File > Save from the PACTware main menu to save the uploaded values in the project. 4. Double-click the device in the Project view to open the DTM and edit the parameters using the functions provided by the DTM (Figure 3-14).
NOTE
If you need to make extensive changes to the configuration, you may want to take the DTM offline, edit and save the configuration, then reconnect and download the changes by choosing Store to Device from the devices context menu in the Project view.
66
3. Online Configuration
B0400EF Rev H
5. Right-click the device in the Project view and choose Disconnect from the context menu to go offline.
Choose File > Save from the PACTware main menu, and then exit PACTware.
67
B0400EF Rev H
3. Online Configuration
Use DVC6000 V2.1 DTM from the CodeWrights DTM library for the device itself.
NOTE
See I/A Series EFS 2.3 Release Notes (B0400EH-D) for further details. To set up the FieldVue DTM and device in PACTware for device maintenance and tuning: 1. Install the FieldVue DTM on the workstation, start PACTware and update the Device Catalog. 2. Start a PACTware project or open an existing project. 3. Add the FieldVue DTM to the appropriate instance of the FBM Communication DTM and then add DVC6000 V2.1 DTM to the correct channel of the router DTM. 4. Install the devices, and test connectivity to the FieldVue DTM and device DTMs.
NOTE
To configure a DVC6000 in PACTware for EFS scanning, add the DVC6000 V2.1 DTM from the CodeWrights DTM library directly to the appropriate FBM channel. Do not use the FieldVue DTM or the Router DTM.
68
Introduction
Connectivity to the intelligent field devices in an I/A Series System is provided through equipment control blocks (ECBs). During the engineering phase, ECBs may not be online or hardware may not be present. Starting with Version 2.0, EFS supports the configuration of field devices in this offline environment. See Intelligent Field Device Connection to an I/A Series System on page 52 for additional information on I/A Series system equipment hierarchy, FBM types, and parent (FBM) and child (device) ECBs. In offline configuration, PACTware acquires the ECB information from the EFS database rather than from the deployed ECBs in the I/A Series system. You can add the ECB information to the database with either Bulk Import, discussed in this chapter, or Manual Entry, as described in Chapter 5 Offline Configuration: Manual Entry. With either approach, a validation sequence must be performed when the hardware is present in the system and the ECBs have been deployed. Manual entry of ECB information into the configuration screen of the DTM for the FBM may be appropriate for small projects, but for larger projects, it is more efficient to enter ECB information into an Excel spreadsheet and then import data into the EFS database for use in the PACTware project.
NOTE
The FBM Communication DTMs use the information present in the EFS database and not the information present in the PACTware project to identify the ECBs to which they will connect. If the EFS database is lost and a newly initialized database is used, the existing PACTware project files should not be used. The offline definition of the EFS database must be performed first.
NOTE
Always make a backup of the EFS database. If the database is lost, it can be restored from the backup avoiding the need to re-generate the database. Microsoft SQL Server 2008 is the recommended database application for EFS. The standard backup and recovery procedures for the Microsoft SQL databases should be followed.
69
B0400EF Rev H
Once you have configured the EFS database offline, you can use the database to create a PACTware project associating communication and device DTMs with the imported ECBs. When the system hardware is installed and the ECBs are deployed, a validation function checks the EFS database against the deployed ECB configurations in the Compound Summary Access (CSA). The validation function detects any errors such as spelling mistakes and incomplete data. The result of the validation is an EFS database that represents the deployed system. Any differences between the EFS database and the deployed system hardware are recorded in a validation log file. Figure 4-1 depicts the workflow described in this chapter.
B0400EF Rev H
D:\Invensys\FDM_EFS\Database in
To prepare a spreadsheet for bulk data import: 1. Make a copy of ...\FDM_EFS\Database\EFS.xls to use as your working bulk data entry spreadsheet. In this example, the copied spreadsheet has been renamed EFS_Example.xls. 2. Open the working spreadsheet and enter the appropriate ECB and FBM information as indicated by the column heads (Figure 4-2). Identify the FBMs and devices using the full pathname of their equipment control blocks (FCP333_ECB:ARC_1A, for example). Place the cursor over the FBM TYPE cell to display the tooltip help to identify the correct FBM type, then use pull-down list column to select the FBM type.
NOTE
During import of FBMs and associated child ECB information, if the number of channels supported by an FBM type is four (FBM243b and FBM246b), only the first four child ECB entries for that FBM are imported and the remaining are ignored. The ignored child ECB entries information are logged into EFSBulkImport.log file. 3. Save the spreadsheet as an Excel 97-2003 Worksheet (extension .xls). Excel 2007 worksheets (extension .xlsx) are not compatible with the EFS import function.
B0400EF Rev H
Refer to the workflow listed in Figure 4-6 Updating the EFS Database with Bulk Imports on page 75 for additional details on how to implement these scenarios.
4. Use the Open dialog box (Figure 4-4) to browse for and select the spreadsheet, and click Open.
72
B0400EF Rev H
The data is entered into the database with each row in the spreadsheet becoming an FBM record, which includes: Full pathname of the FBM ECB (the parent ECB)
Control processor to which the FBM will be connected Control processors software host Channel assignment for each device to be attached to the FBM Full pathname of the device ECBs (the child ECBs) The resulting hierarchy is shown in the Network Object Selection dialog box (Figure 4-5).
73
B0400EF Rev H
At this point, you can select one of the FBMs in the Network Object Selection to begin associating FBM and device ECBs with the appropriate DTMs, as described for online configuration in Chapter 3 Online Configuration. The only difference is that the Network Object Selection dialog box displays ECBs read from the EFS database rather than from the I/A Series system. You can also click Close in the Network Object Selection dialog box and exit PACTware without saving the project, having populated the EFS database with the ECB names. The EFS database is not specific to any one PACTware project and can be used with any new or existing PACTware project on the workstation.
Phased engineering of the devices to be used in the plant Input from multiple engineers assigned to device configuration by plant area or control processor Use of multiple spreadsheets, each created for a different PACTware project
74
B0400EF Rev H
Engineering changes such as new devices added to FBMs already in the database Devices moved to different channels in the same FBM or to a different FBM for balancing of load or optimizing wiring Needed corrections to ECB names. Figure 4-6 shows the workflow for modifying the EFS database in these situations. In Step 8, the user chooses whether to overwrite the ECB names in the database with the imported data, as described in this section. You can import the data twice, selecting No on the first pass to make no changes to the database and use the import log to identify conflicts. You can then modify the source Excel spreadsheet to fix any problems in the data. Then, on the second import, you select Yes in step 8 to implement the changes, and clear any incorrect records from the EFS database.
To edit an existing EFS Database: 1. Start a PACTware project or open an existing project and the follow the instructions in the preceding section to: a. Add an FBM Communication DTM, open the DTM in the Parameter dialog box and then click Browse to open the Network Object Selection dialog box. b. Use the dialog box to import the Excel spreadsheet. If an imported FBM ECB has the same name as an existing FBM ECB record, EFS compares the imported data with the record. If there is a data mismatch, the Offline Configuration dialog box (Figure 4-7) asks whether you want to overwrite the mismatched data, replacing records in the EFS database with imported data.
75
B0400EF Rev H
The dialog box is presented when the first mismatch is encountered. The option you select is applied to that mismatch and all subsequent conflicting records. Data already imported is not affected by your choice. See Table 4-1 on page 78 for more details on how EFS handles conflicts between imported data and records already in the EFS database. 2. Do one of the following to resolve the mismatches: Click Yes to overwrite the FBM ECB record with the imported data.
Click No to insert only new FBM ECBs. Click Cancel to stop the import. Records already imported are retained. Whichever option you select, EFS records the transactions to the file EFSBulkImport.log in the log folder in the EFS installation folder; for example: C:\Program Files\Invensys\FDM_EFS\log, when the software is installed to the default installation folder, or D:\Invensys\FDM_EFS\log in an I/A Series workstation. Figure 4-8 is an example of the log file when the user selected Yes to overwrite mismatched records.
Figure 4-8. EFSBulkImport.log, Yes Selected in the Offline Configuration Dialog Box
76
B0400EF Rev H
Figure 4-9 is an example of the log file when the user decided not to overwrite mismatched records and selected No in the Offline Configuration dialog box (Figure 4-7).
3. Review the import log to locate errors in either the spreadsheet or the EFS database. 4. Use the spreadsheet to correct all errors and then re-import the spreadsheet selecting Yes to overwrite any EFS database records that do not match the imported data.
The import function overwrites the previously imported child ECB entries with that of the last entry. In the example, when the second record is imported, the validation process deletes the entry created for device FCP701_ECB:IDEV01 under FBM FCP701_ECB:IFBM03, and adds all of the data for the second FBM (FCP701_ECB:IFBM04) as is.
FBM ECB FCP701_ECB:IFBM03 FCP701_ECB:IFBM04 HOST AW XP1HPS XP1HPS CP LETTERBUG FCP701 FCP701 FBM TYPE 214 214 FCP701_ECB:IDEV11 CHAN1 ECB CHAN2 ECB FCP701_ECB:IDEV02 FCP701_ECB:IDEV01
77
B0400EF Rev H
An imported record does not have definitions to all the child ECB entries in EFS database. Other device ECB entries in the import match ECBs in the database
78
B0400EF Rev H
Table 4-1. Resolving Conflicts Between Imported Data and the EFS Database (Continued) Imported FBM ECB
Name matches a database record
All child ECB entries associated with the FBM are new, that is, the ECB names are not associated with another FBM ECB Some child ECB entries associated with the FBM are new, but others are associated with another FBM ECB
Click Yes to add the imported data and delete the duplicate device ECB names that were assigned to other FBM ECBs. Overwritten database records are logged to Bulkimport.log, listing the original (before import) and final data (after import) for record in EFS database. Click No to make no changes to device ECBs already in the EFS database, but log the skipped spreadsheet records to Bulkimport.log. Click Cancel to stop the import. All entries imported prior to the first mismatch are retained in the EFS database and all subsequent spreadsheet records, including the first mismatch, are not processed.
You can now associate DTMs with the FBM and device ECBs as described for online configuration in Chapter 3 Online Configuration, except that the Network Object Selection dialog box displays ECBs imported from the EFS database rather than from the I/A Series system.
Do not export a PACTware project to EFS to configure EFS scanning until all ECBs are fully validated against the ECBs in the CSA. You may need to run offline validation several times, as the FBMs and attached devices are deployed in phases, changes are made to the configuration, and corrections are made to the EFS database through imports from an Excel spreadsheet or manual entry. Figure 4-10 is a workflow for a single pass of validating an offline configuration. In step 6, the user decides whether to remove unvalidated ECBs, that is, ECBs that are in the EFS database but not present in the
79
B0400EF Rev H
I/A Series system. For the first pass at validation, you should answer No at step 6 and use the validation log to resolve differences between the I/A Series system and the EFS database. Several iterations may be needed, as additional FBMs and device are deployed, adjustments made to the field devices and naming conflicts are resolved. When the discrepancies have been resolved and all the FBMs and devices are deployed, you can run the validation again, this time answering Yes in step 6 and removing unvalidated ECB records from the database.
To validate the data: 1. Start PACTware project and add an FBM Communication DTM to HOST PC. 2. Open the DTM in the Parameter dialog box and then click Browse to open the Network Object Selection dialog box (Figure 4-11).
80
B0400EF Rev H
3. Click the Validate button in the dialog box to validate the EFS database. EFS queries the CSA for ECBs that have been deployed to the I/A Series system and compares the deployed ECBs with those defined in the EFS database. The Network Object Selection dialog box allows you to run Validation only once per invocation to prevent workflow-related issues. Once you click the Validate button, all buttons and options are disabled with the following conditional exceptions: If an FBM ECB is selected and there are no validation errors, the OK button is enabled. Click OK to assign the selected FBM ECB and its device ECBs to the communication DTM and close the Network Object Selection dialog. If there is a validation error, the Close button is enabled. Click Close to exit the Network Object selection dialog. EFS displays the Offline Configuration dialog box (Figure 4-12).
81
B0400EF Rev H
NOTE
If an FBM entry is validated as a four-channel FBM (FBM243b or FBM246b), any entries for channels 5 to 8 are removed from EFS database if you selected Yes in Offline Configuration dialog box. Log entries describing the deleted records are logged to EFSValidate.log. 4. Do one of the following to resolve differences between the I/A Series system and the EFS database: Click Yes to delete all records in the EFS database that do not match a corresponding ECB in the I/A Series system. Click No to keep all records in the EFS database even those that do not match the corresponding ECB in the I/A Series system. This enables you to perform partial validations as FBMs are commissioned in the system. Click Cancel to take no action. Important Exception Whether you select Yes or No, EFS resolves a mismatch between a device (or child) ECB name in the EFS database and the actual ECB name read from CSA by doing the following: Deletes the record of the device in EFS database with all offline information including the device information and DTM information. Creates a new record with the device information fetched from CSA. A mismatch could include the ECB in the database being assigned to a different channel of the same FBM or to a channel of a different FBM. All records in the EFS database that are found in the I/A Series system are marked as validated. During validation, records previously validated are skipped. If there is an ECB in the CSA that is not in the EFS database, EFS adds that ECB to the database. EFS records the validation results to EFSValidate.log in the log folder in the EFS installation folder; for example:
C:\Program Files\Invensys\FDM_EFS\log, when the software is installed to
the default installation folder, or D:\Invensys\FDM_EFS\log in an I/A Series workstation. The report also shows any records that were deleted from the EFS database. The log in Figure 4-13 resulted from a validation in which the user opted to delete all records in the EFS database that were not validated, that is, that were not found in the CSA. The user made the choice by clicking Yes in the Offline Configuration dialog box (Figure 4-13).
82
B0400EF Rev H
Figure 4-13. EFSValidate.log, Yes Selected in the Offline Configuration Dialog Box
The log in Figure 4-14 resulted from a validation in which the user opted to maintain all records in the EFS database even those that were not validated. The use made that choice by click No in the Offline Configuration dialog box (Figure 4-13).
EFSValidate.log has multiple sections with headers that can be interpreted as follows:
The following entries are Validated:
These entries were successfully validated, that is, the records in the EFS database matched the ECBs in the CSA.
The following entries are not found online and retained in the database:
The entries logged under this section were not found in the CSA, but are retained in the EFS database because user selected No in the Offline Configuration dialog box (Figure 4-12).
The following entries are not found online and deleted in the database:
83
B0400EF Rev H
The entries logged under this section were not found in the CSA and were deleted from the EFS database because user selected Yes in the Offline Configuration dialog box (Figure 4-12).
The following entries are Inserted from CSA:
These entries were added to the EFS database from the CSA. Errors in the EFS database such as an incorrect control processor letterbug or FBM type are logged under the appropriate sections, as shown in the following examples:
HOST AW Entry for FBM <FBM_ECB_NAME> is not correct, as per CSA. CP LETTERBUG Entry for FBM <FBM_ECB_NAME> is not correct, as per CSA. FBM Type Entry for FBM <FBM_ECB_NAME> is not correct, as per CSA. Communication Device for device <FBM_ECB_NAME> is not correct, as per CSA Communication Device for device <DEVICE_ECB_NAME> is not validated, Device cannot be validated. Channel Number of the device <DEVICE_ECB_NAME> is not correct, as per CSA.
NOTE
If there is a mismatch between the parent and the child device ECB such that the child device is entered against a different parent, the record cannot be validated.
Figure 4-15. Log file for Parent and Child Device ECB Mismatch
Table 4-2 provides a detailed description of how the validation process handles differences between the CSA and the EFS database.
Table 4-2. How Validation Resolves Differences Between CSA and the EFS Database FBM ECB
Name in the CSA matches an FBM ECB name in the EFS database
Device ECBs
All child ECBs of this FBM ECB in the CSA match EFS database
Action
EFS database records are validated and these validated records are logged to EFSValidate.log
84
B0400EF Rev H
Table 4-2. How Validation Resolves Differences Between CSA and the EFS Database (Continued) FBM ECB
Name in the CSA matches an FBM ECB name in the EFS database
Device ECBs
CSA shows some new child ECB entries which are not found in EFS database and some that match ECBs in the database
Action
New child ECB entries from the CSA are inserted into EFS database. ECBs in the database that match those in the CSA are untouched. Click Yes to delete any unvalidated records and log them to EFSValidate.log. Click No to retain unvalidated records and log them to EFSValidate.log. New child ECBs from CSA are inserted into EFS database and marked validated. Previously validated ECBs in the database are untouched. ECBs in the database that do not match ECBs in the CSA are left unvalidated. Click Yes to delete the unvalidated records. Click No to retain the unvalidated ECBs. Records validated and inserted are logged to EFSValidate.log file. EFS database records that match records in the CSA are marked validated. A database entry for which there is no matching entry in the CSA is left unvalidated. Click Yes to delete unvalidated records. Click No to retain the unvalidated records. All transactions are logged to EFSValidate.log ECBs in the database that do not match ECBs in the CSA are left unvalidated. Click Yes to delete the unvalidated ECBs. Click No to retain the unvalidated records. All transactions are logged to EFSValidate.log
Name in the CSA matches an FBM ECB name in the EFS database
CSA shows some new child ECB entries which are not found in EFS database and some that do not match ECBs in the database
FBM ECB name in the CSA matches an FBM ECB name in the database
Some channels for this FBM have ECBs assigned in the database record but not in the CSA data There are other channels for which there are matching records in the database and CSA Some channels for this FBM have ECBs assigned in the database record but not in the CSA data. There are other channels for which for which the ECB name assigned in the database does not match the name in the CSA. Child ECB names associated with the FBM in CSA are not found in the EFS database Some child ECB names associated with the FBM in CSA are assigned to other FBMs in the EFS database
FBM ECB name in the CSA matches an FBM ECB name in the database
FBM ECB name found in the CSA is not found in the EFS database
Entries in the CSA query output are inserted into EFS database. All transactions are logged to EFSValidate.log The data from the CSA is presumed to be correct. The FBM ECB and its child ECBs are added to the EFS database and marked validated. ECBs incorrectly assigned to another FBM ECB in the database are deleted. These actions are not dependent on your choice of Yes or No in the Offline Configuration dialog box. All transactions are logged to EFSValidate.log
FBM ECB name found in the CSA is not found in the EFS database
Once the EFS database has been fully validated, you can configure the devices for EFS Scanning, as described in Chapter 7 Configuring Devices for EFS Scanning.
85
B0400EF Rev H
86
Introduction
Connectivity to the intelligent field devices in an I/A Series System is provided through equipment control blocks (ECBs). During the engineering phase, ECBs may not be online or hardware may not be present. Starting with Version 2.0, EFS supports the configuration of field devices in this offline environment. See Intelligent Field Device Connection to an I/A Series System on page 52 for additional information on I/A Series system equipment hierarchy, FBM types, and parent (FBM) and child (device) ECBs. In offline configuration, PACTware acquires the ECB information from the EFS database rather than from the deployed ECBs in the I/A Series system. You can add the ECB information to the database with either Manual Entry or Bulk Import. With either approach, a validation sequence must be performed when the hardware is present in the system and the ECBs have been deployed. For larger projects, it is more efficient to enter ECB information into an Excel spreadsheet and then import data into the EFS database for use in the PACTware project, as described in Chapter 4 Offline Configuration: Bulk Data Import.
NOTE
The FBM Communication DTMs use the information present in the EFS database and not the information present in the PACTware project to identify the ECBs to which they will connect. If the EFS database is lost and a newly initialized database is used, the existing PACTware project files should not be used. However, the offline definition of the EFS database must be performed first.
NOTE
Always make a backup of the EFS database. If the database is lost, it can be restored from the backup avoiding the need to re-generate the database. Microsoft SQL Server 2008 is the recommended database application for EFS. The standard backup and recovery procedures for the Microsoft SQL databases should be followed. Once you have configured the EFS database offline, you can use the database to create a PACTware project and configure field devices with the DTMs installed in Chapter 2.
87
B0400EF Rev H
NOTE
Offline configurations do not update the EFS database with the information provided for performing the asset management device scans. When the system hardware is installed and the ECBs are deployed, a validation function checks the EFS database against the deployed ECB configuration. The validation function detects any errors such as spelling mistakes and incomplete data. The result of the validation is an EFS database that represents the deployed system. Any differences between the EFS database and the deployed system hardware are recorded in a validation log file. The EFS database must be completely validated against the I/A Series system before you configure the database for scanning. Steps 1 through 8 in Figure 5-1 depict the workflow described in this chapter. See Offline Configuration: Bulk Data Import on page 69 for the remaining steps.
88
B0400EF Rev H
6. Enter the FBM ECB and device ECB names. Enter the full pathname name of each ECB (that is, ECB_COMPOUND:BLOCK). Follow the I/A Series naming conventions for compounds and blocks. If you are not familiar with them, these are detailed in Control Processor 270 (CP270) Integrated Control Software Concepts (B0700AG).
89
B0400EF Rev H
7. Click OK. The newly added ECB information is now stored in the EFS database. You can now associate DTMs with the FBM and device ECBs as described for online configuration in Chapter 3 Online Configuration. 8. Choose File > Save from the PACTware main menu and close the PACTware project when you have finished adding the DTM information.
90
B0400EF Rev H
To modify ECB information for any channel of an FBM DTM: 1. Start PACTware and choose File > Open from the PACTware main menu, select the project in the dialog box and click Open. 2. Double-click the FBM Communication DTM whose channel information has to be modified to display the ECB names in the Parameter dialog box (Figure 5-4). 3. Edit the required device ECBs and then click OK. If there is no mismatch between the edited device ECBs and the existing device ECBs in EFS Database, the edited information is saved in EFS Database and the Parameter dialog box closes. When there is any mismatch between the device ECB information already present in the EFS database and the ECB information entered through manual configuration, PACTware displays the Offline Comparison dialog box (Figure 5-4) asking whether you want to overwrite the data in the EFS database. a. Click Yes to overwrite entries in the EFS database. New entries entered manually are added and the information in the EFS database is updated. The Parameter dialog box closes. b. Click No to maintain the entries that already exist in the EFS database. In the example in Figure 5-4, the user has manually deleted the child ECBs for channels 5 through 8 in the Parameter dialog box. The Offline Comparison dialog box is asking the user whether the ECBs in the database should be overwritten with blanks.
91
B0400EF Rev H
Table 5-1 describes seven different scenarios where the data in the Parameter dialog box does or does not match records in the EFS database, and the actions taken when you click Yes or No in the Offline Comparison dialog box.
Table 5-1. Resolving Conflicts Between Manually Entered Data and The EFS Database Manually Entered FBM ECB
Matches name in EFS database Matches name in EFS database
FBM ECB and its device ECB entries are entered into EFS database. Dialog box not shown
Close operation on the Parameter dialog box aborts writing FBM and child ECB information into EFS database with the message:
Configuring FBM and its child ECBs aborted. <Compound:Block> device configured under this FBM is already configured under another FBM.
4. Choose File > Save from the PACTware main menu when you have completed the edits and then exit PACTware.
92
B0400EF Rev H
NOTE
Do not configure the EFS database for scanning until the database has been fully validated against the I/A Series system.
93
B0400EF Rev H
94
Offline configuration of FBMs and field devices using bulk data import from a Microsoft Excel spreadsheet, as described in Chapter 4 Offline Configuration: Bulk Data Import Manually entering FBM and device configurations into the EFS database, as described in Chapter 5 Offline Configuration: Manual Entry Scanning HART and FoxCom devices for selected asset management data and communicating the data to the Invensys Condition Monitoring application and Avantis.Pro. See Chapter 7 Configuring Devices for EFS Scanning for information on selecting the devices to be scanned and setting the scanning rate.
NOTE
Configuration of the EFS database is not required if you are using PACTware and EFS for online configuration of HART and FoxCom devices (described Chapter 3 Online Configuration) and will not be scanning the devices with EFS. This chapter describes how to set up Microsoft SQL Server 2008, which includes defining the database in SQL Server Management Studio and setting the DSN for the database server. The chapter assumes that the Microsoft SQL Server 2008 software is already installed and properly configured. The database definition and DSN setting should probably be performed by your on-site SQL administrator. Setting up the EFS database with SQL Server involves the following tasks: Identifying SQL Server as the EFS database application in the EFS setup wizard. This task may already have performed during software installation. This chapter begins with instructions on switching the database selection if the software was installed with Microsoft Access, the default selection. Creating the database itself using Microsoft SQL Server Management Studio as described in Create the New Database on page 98.
95
B0400EF Rev H
Configuring the Data Source Name (DSN) along with setting authentication mode and other database attributes. See Set the DSN for the Microsoft SQL Server Database on page 103. Refer to Appendix C Database Migration if you are upgrading an EFS scanning application from Microsoft Access to Microsoft SQL Server 2008, or if you are migrating an EFS application from Microsoft SQL Server 2005 to Microsoft SQL Server 2008.
3. Click the radio button for Modify and then click Next. 4. Check all components on the Selected Features page and then click Next to display the Configure EFS Database dialog box (Figure 6-2).
96
B0400EF Rev H
5. Click the radio button for Microsoft SQL Server Database and enter (local) in the SQL Server field. 6. Ensure that the Login Name sa is sa. 7. Enter the password given for the sa login during Microsoft SQL Server 2008 installation. 8. Click OK. 9. Click Finish when the installation wizard displays the Maintenance Complete page (Figure 6-3).
97
B0400EF Rev H
The New Database window displays the General properties of the new database (Figure 6-5). 2. Type EFSDB in the Name field on the General tab, but leave the Owner as <default>.
98
B0400EF Rev H
3. Click OK to save the setup and return to the Microsoft SQL Server Management Studio, where the EFSDB database is shown under the Databases node (Figure 6-6).
4. Expand Security > Logins in the Object Explorer, right-click Logins and choose New Login from the context menu (Figure 6-7).
99
B0400EF Rev H
5. Set these attributes on the General page of the Login window (Figure 6-8): Enter efsobj in the Name field. Select the SQL Server Authentication radio button. Enter fox$FDT12 as password. Select EFSDB from the Default database pull-down list. Leave the Default language as <default>. Uncheck Enforce password policy. Uncheck Enforce password expiration. Uncheck User must change password at the next login.
100
B0400EF Rev H
6. Select the User Mapping page (Figure 6-9) and check the box for EFSDB under Users mapped to this login to specify which databases can be accessed by the login. 7. Check the boxes for the following items under Database role membership for EFSDB:
db_datareader db_datawriter public
101
B0400EF Rev H
8. Click OK to close the window and return to Microsoft SQL Server Management Studio. 9. Choose File > Save All from the main menu and exit Microsoft SQL Server Management Studio.
102
B0400EF Rev H
103
B0400EF Rev H
4. Click Add to open the Create New Data Source dialog box, select SQL Server (Figure 6-12) and click Finish to start the Create a New Data Source wizard.
5. Enter EFSDB for both Name and Description and select (local) on the first wizard page and then click Next (Figure 6-13).
104
B0400EF Rev H
6. Click the radio button for SQL Server authentication on the next wizard page (Figure 6-14).
7. Enter efsobj for the Login ID and fox$FDT12 for the Password, and then click Next to move to the next page (Figure 6-15).
105
B0400EF Rev H
8. Click the check box for Change the default database to and select the new database (EFSDB) from the pull-down list. 9. Accept all other default selections and click Next to move to the final wizard page (Figure 6-16).
10. Accept the default selections and click Finish. The ODBC Microsoft SQL Server Setup dialog box lists the selections you have made (Figure 6-17).
106
B0400EF Rev H
11. Click the Test Data Source button. The next dialog box shows the test results (Figure 6-18).
107
B0400EF Rev H
If you desire offline PACTware project files to be used on a new empty EFS database, all the data entered via the Manual Entry method must be re-entered and all the data entered via the Bulk Import method must be re-imported.
B0400EF Rev H
can automatically generate an appropriate maintenance work order request and action can be taken to prevent the failure. Using Invensys Condition Monitoring, you can: Create maintenance work requests from the process operator's console of the I/A Series system. Provide performance-based preventive maintenance.
Allow process operators to track equipment history and maintenance activity associated with a work order request. Analyze plant floor data to predict failures and ensure timely maintenance. Alert maintenance personnel as to the health of the assets.
Track costing and maintenance activities on any equipment needing repair or service. Record detailed equipment failure histories including the symptoms, the cause of failure and the actions taken. Automatically generate work orders, based on any combination of user-defined criteria such as performance statistics, elapsed time and calendar date. Easily control equipment inventory and spare parts inventory. Automate the procurement process. For example, by automatically creating requisitions and purchase orders.
109
B0400EF Rev H
110
111
B0400EF Rev H
112
B0400EF Rev H
113
B0400EF Rev H
3. Click OK when the EFSExport dialog box indicates that the export is complete. If dialog box displays EFS Export completed with warnings (Figure 7-3): Click the EFSExportWarnings link to display the EFSExportWarnings.txt file. Review the warning messages and then close the file. Click OK in the EFSExport dialog box. Resolve any problems in the PACTware project and re-export the project to EFS.
114
B0400EF Rev H
NOTE
By default, EFSExportWarnings.txt is located in the log folder of EFS installation directory (C:\Program Files\Invensys\FDM_EFS\log on a non-I/A Series platform or D:\Invensys\FDM_EFS\log in an I/A Series workstation).To save warnings to a different location, double-click the file log directory and save the opened file to the desired location. 4. Save the Project and exit PACTware.
3. Click the Add device button to open the Network Object Selection dialog box (Figure 7-4).
115
B0400EF Rev H
The dialog box displays the FBM and device ECBs present in the I/A Series system Compound Summary Access (CSA). 4. Expand the data tree, select the device and click OK to insert the full pathname of the device ECB into the Devices table in the EFS Scanner Configuration dialog box (Figure 7-5).
5. Right-click the device and use the context menu to set the scanning period. The default scanning period is one hour. You can select a longer period from the menu or click User defined and specify the frequency in the Scan period dialog box (Figure 7-5). ! WARNING The time required to scan each HART device varies considerably based on the make and model of device, and the number of parameters that device contains. The scan for a simple device with few parameters might require around 1 minutes. The scan for a complex device such as a valve positioner might require around three minutes. The scan cycle for a long list of devices is the sum of the scan times of the individual devices. Therefore multiple computers each having an EFS Scanner should be used if there is a long list of devices to scan. It is generally advisable to scan all devices at the same scanning frequency. The product allows phasing, so that more critical devices such as valve positioners can be scanned more frequently. Therefore the scan period is entered on each device row. However, with a large number of devices it is typically more practical to scan all
116
B0400EF Rev H
devices at the same period. The period represents the time required for all devices at that rate. If the scan period is set lower than the time required, the system scan will continue until the scan list is complete. For example if every device in the list was set at a 12 hour scan period, and it requires 12.5 hours to scan, the effective scan period would actually be 12.5 hours rather than the 12 requested. Typically the scan period is entered in hours. Under no circumstances, even with only 1 or 2 devices to scan, is it advisable to set the scan period less than 10 minutes. 6. Select other devices for scanning and set the scanning rate.
Devices are grouped either alphabetically by system tag or by communication device, and you can switch between the two grouping styles.
117
B0400EF Rev H
Figure 7-8 is an example of devices grouped alphabetically. The first group contains the first ten devices, Device A through Device J. The name of the first group is Device A, which is the system tag of the first device in the group. The second group is named Device K and contains the second ten devices, Device K through Device T. The third group is named Device U and contains the last three devices set up to be scanned from this PC.
Alphabetically Sorted Groups of 10 Devices
Groups
Devices
Device A Device B
Device A Device I Device J Device K Device L Device K Device S Device T Device U Device U Device V Device W Figure 7-8. Alphabetically Sorted Grouping
118
B0400EF Rev H
Inserting or removing a device causes all the groups and their names to be recalculated. Figure 7-9 shows the reconfiguration of the device group names and contents when you remove Device B.
GROUPS
GROUPS
DEVICE A DEVICE I DEVICE J DEVICE K DEVICE L DEVICE K DEVICE S DEVICE T DEVICE U DEVICE V DEVICE W
DEVICE U
DEVICE V
DEVICE V DEVICE W
Removing Device B from the list of scanned devices causes Device K to be moved into the first group, Device U to be moved into the second group, and the second and third groups to update their names. If removing a device causes the last group to remain without devices, the last group is removed and is no longer displayed. When you add a new device to the scanned devices list, the scanner performs similar actions. The scanner inserts the device in a position corresponding to the sorting rules, and updates the device group names and contents after the inserted device.
119
B0400EF Rev H
device to that group. If no such group is found, the scanner creates a new group and adds the device to it. If you remove a device from the list of devices to be scanned from the current PC, the scanner application finds the communication group containing the device and removes the device from the list. If the communication group has no devices left after removing the device, the application deletes this group and no longer displays it.
Removing Devices
To discontinue scanning a device: 1. Select the devices group form the list on the left of the EFS Scanner Configuration dialog box. 2. Select the device in Devices and click the Remove device button to the right. 3. Update the service as discussed in the next section.
If Update Service is NOT clicked (as discussed above) after specifying the devices to be scanned, the scanning frequency, the grouping, and the newly specified devices will NOT be added to the scanner and they will not be scanned. The newly specified devices will be added to the scanner and be scanned when scanner service is restarted or when the system is restarted.
Click Close to exit the EFS Scanner Configuration dialog box without immediately updating the scanner service. The scanner will add the devices when it is started. If the service is currently running it will not update the list until scanner is restarted.
Do not connect to a device with PACTware when a device is scheduled for scanning in EFS Scanner Configurator as that will lead to device communication errors when trying to connect and upload parameters. The tasks of scanning a device using EFS and accessing of the device through PACTware must never be attempted at the same time.
120
B0400EF Rev H
The Start service button is in the enabled state only if the service is in the stopped state.
B0400EF Rev H
4. Pull down the list in the Startup type field and select Automatic, and then click Apply. 5. Click OK in the DevScan properties dialog box to close the dialog box, and click in the Services window title bar to close the applet.
Stopping DevScan
To stop the scanning service: 1. Do one of the following to open the EFS Scanner Configuration dialog box (Figure 7-4): Double-click the EFS Scanner Configuration desktop icon ( ).
122
B0400EF Rev H
Click the Start button in the task bar and choose Programs > Invensys > FDM_EFS > EFSScannerConfig.
NOTE
The Stop service button is in the enabled state only if the service is in the Started state. 2. Click the Stop service button on the right side of the EFS Scanner Configuration dialog box (Figure 7-12).
123
B0400EF Rev H
When the DevScan service is updating, a Busy icon is shown and a non-interactive dialog box is shown with the message Scanner configuration update in progress.
Once the DevScan service has updated successfully, a message box with message Update service successful appears. Click OK to close the message box.
124
Triconex
125
B0400EF Rev H
This section addresses configuration of the components contained in the architecture shown in Figure 8-1: I/A Series workstation with the PACTware, EFS and DTMs installed using the procedures described in Chapter 2. 4 Port RS232C (PCI card) and RS485 Converter Pepperl+Fuchs KFD2-HMM-16 HART Multiplexer (master)
Pepperl+Fuchs KFD2-HMS-16 HART Multiplexer (slave) Fisher DVC6000, single HART device attached to the HART Multiplexer. The Fisher DVC6000 is configurable without the presence of the Triconex controller.
126
B0400EF Rev H
Figure 8-2. Configuring Devices Connected via a HART Multiplexer for EFS Scanning
Getting Started
Once the hardware is in place and you have installed the DTMs, start PACTware and update the Device Catalog. You can have multiple PACTware projects for EFS scanning and you should create a separate project for devices installed on the I/A Series system network. To get started: 1. Do one of the following to open the PACTware Frame Application: Double-click the PACTware desktop icon ( ). Click the Start button in the task bar and choose Programs > Invensys > PACTware 4.0 > PACTware 4.0 from the popup menu. The initial PACTware window is displayed (Figure 8-5). The window includes the main menu and toolbar at the top of the window, a Project view either on the left or arrayed across the top of the window. Initially, the Project view includes a single node, HOST PC, under which you will build a hierarchy of communication DTMs and the device DTMs associated with them. When you double-click any item in this Project
127
B0400EF Rev H
view, the parameters for the DTM are displayed in the appropriate editor in a separate window.
NOTE
Update Device Catalog cannot be performed when an existing project is opened in PACTware. 2. Click the Device Catalog icon ( ) in the PACTware toolbar to open the Device Catalog (Figure 8-3), which lists all the DTMs currently available for the project except the P+F multiplexer DTMs you just installed.
3. Click the Update device catalog button to bring the newly installed DTMs into the PACTware database. 4. Click Yes when the confirmation dialog box (Figure 8-3) prompts you to Create a
new PACTware device catalog?
For the examples in this chapter, the Project view has been moved to the top of the window and expanded to show additional information about the selected device: Data Changed in Project, Online State, Channel and Device Type (Figure 8-4). 5. Right-click any of the column headers in the Project view and use the context menu to add or remove Project view columns.
128
B0400EF Rev H
Online state
6. Do the following to name and save the new project: a. Choose File > Save from the main menu to open the Save As dialog box (Figure 8-5). b. Use the dialog box to name project file and specify its storage location, and then click Save.
129
B0400EF Rev H
To configure the HART Communication DTM to reference its HART multiplexer network: 1. Double-click the DTM in the Project view to open the HART communication DTM Parameter dialog box (Figure 8-7).
130
B0400EF Rev H
2. Select HART multiplexer in the Communication interface pull-down list. 3. Select the port and baud rate based upon the HART network parameters. 4. Accept the default values for the remaining parameters and click OK.
131
B0400EF Rev H
4. Select PEPPERL+FUCHS GmbH in the Vendor tab to display available DTMs in the device list on the right and then double-click KFD2-HMM-16 (FDT) to add the master to COM1. 5. Double-click KFD2-HMM-16 (FDT) in Project view to open the DTM in the Devices view (Figure 8-9).
132
B0400EF Rev H
6. Set the RS-485 address to 1 and press Enter to confirm the selection.
NOTE
These addresses and channel selections are based on the topology that was built and recorded earlier. The pencil symbol in the Data Changed in Project column indicates that there are unsaved changes to the device configuration.
133
B0400EF Rev H
2. Double-click KFD2-HMS-16 (FDT) to select the slave DTM and to display a dialog box for specifying the communication channel (Figure 8-11).
These addresses and channel selections are based upon the topology that was built and recorded earlier. The slave multiplexer DTM (Slave00) is added under the master in Project view. You can also select the slave DTM by browsing the Device Catalog as was done to add the master to HOST PC (page 131). 4. Double-click Slave00 in the Project view to open the DTM in the Devices view and edit the parameters (Figure 8-12).
134
B0400EF Rev H
Refer to Appendix D Choosing a Proper DTM for a Field Device to choose the correct DTM for a device from Code Wrights DTM library. To create an instance of the device DTMs: 1. Select the slave multiplexer DTM (SLAVE00) in the Project view and select the device manufacturer (FISHER CONTROLS in the example) in the Device Catalog Vendor tab. 2. Select the device (DVC6000 V1.6) in the list to the right and click the Add button in the lower right corner of the catalog.
135
B0400EF Rev H
PACTware displays the Channel Selection dialog box (Figure 8-11 on page 134). 3. Choose the proper communication channel (Channel 1) and click OK. The device DTM (DVC6000) is added under the slave multiplexer in the Project view. 4. Choose File > Save from the PACTware main menu to save the project. The pencil icons are removed from the Data Changed in Project column indicating that the configurations have been saved.
136
B0400EF Rev H
2. Right-click the Master Multiplexer DTM again and click Additional Functions > Rebuild Loops. The Rebuild Loops dialog box appears. 3. Click the >> button to begin the rebuild loops operation. This button is disabled during this operation.
The operation will complete, and the >> button becomes selectable again. Now, verify the connections as follows: 1. Right-click each DTM in the Project view starting with the HART communication DTM (COM2) and choose Connect from the context menu to verify the online state of the DTM. The slave multiplexer is being connected in Figure 8-15. The HART Communication DTM and the Multiplexer master module are already connected. When the DTM is online to the device, the icon in the Online State column changes from to and the device is displayed in bold type.
137
B0400EF Rev H
2. Double-click DVC6000 in the Project view to open the DTM in the Device view (Figure 8-16) and verify the connectivity by displaying online parameters of the device in device DTM. 3. Close the DTM and right-click the device in the Project view and choose Disconnect from the context menu to go offline.
138
B0400EF Rev H
NOTE
If you need to make extensive changes to the configuration, it is advisable to take the DTM offline, edit and save the configuration. Then reconnect and download the changes by choosing Store to Device from the devices context menu in the Project view.
5. Right-click the device in the Project view and choose Disconnect from the context menu to go offline. 6. Choose File > Save from the PACTware main menu to save the values in the project.
B0400EF Rev H
Updating the Service on page 120 Managing the Scan Service on page 120
3. Save the project and exit PACTware. 4. Do one of the following to open the EFS Scanner Configuration dialog box(Figure 8-18): Double-click the EFS Scanner Configuration desktop icon ( ).
Click the Start button in the task bar and choose Programs > Invensys > FDM_EFS > EFSScannerConfig from the popup menu.
140
B0400EF Rev H
5. Click the radio button for NonI/A mode in the Environment group in the upper right corner of the dialog box if the mode is not already selected. 6. Click the Add device button to open the Network Object Selection dialog box (Figure 8-18).
The dialog box displays the DTMs that were configured in the PACTware project and exported to the EFS database. In Figure 8-18, the database contains the example HART multiplexer configuration created in this chapter and an MTL multiplexer DTM with it attached devices. 7. Expand the data tree, select the device and click OK to insert the full pathname of the device DTM in the Devices table in the EFS Scanner Configuration dialog box (Figure 8-19).
141
B0400EF Rev H
8. Right-click the device and use the context menu to set the scanning period. The default scanning period is one hour. You can select a longer period from the menu, or click User defined and specify the frequency in the Scan period dialog box. In Figure 8-19, the scan frequency is being set to 12 hours.
142
B0400EF Rev H
Do the following to delete unused device objects from Network Object Selection window, 1. Open the EFS Scanner Configuration dialog box. 2. Ensure that Non-IA radio button is selected. 3. Click Add device to open the Network Object Selection dialog box (Figure 8-21).
If a parent object is selected for deletion all the associated child objects of that parent are deleted along with the selected parent object. 5. Click Yes in the confirmation dialog box (Figure 8-22) to confirm deletion of the selected object along with its child objects.
B0400EF Rev H
Figure 8-23. Configuring Devices Connected via an MTL Multiplexer for EFS Scanning
NOTE
Refer to Appendix D Choosing a Proper DTM for a Field Device to choose the correct DTM for a device from Code Wrights DTM library.
144
B0400EF Rev H
To configure and scan a device connected to an MTL Multiplexer: 1. Start a PACTWare and add MTL Serial Communication DTM to HOST PC in the PACTware. 2. Right-click on MTL Serial Communication DTM and choose Additional functions -> Scan List, as shown in Figure 8-24. Click Yes when a message prompts you to establish the connection.
Wait for the scan list to generate. Once the scan list is displayed, record the RS-485 address of the Multiplexer. 3. Add MTL 4840 Multiplexer under MTL Serial Communication DTM. 4. Double click on MTL 4840 Multiplexer, as shown in Figure 8-25, and select the RS-485 Address as the one recorded from the scan list. Then, click Apply.
145
B0400EF Rev H
5. Right-click MTL 4840 Multiplexer and select Additional functions -> Instrument List. 6. Click Refresh to refresh the list and display the details for all connected devices.
146
B0400EF Rev H
Wait for the refresh operation to complete. After it is complete, the details of all the connected instruments/devices are displayed.
147
B0400EF Rev H
7. Using the device details in the Instrument List, add the field device DTMs below MTL 4840 Multiplexer on the corresponding Channel Address.
148
B0400EF Rev H
8. Connect the device DTMs. 9. Click Load from Device to upload the parameters for a connected device. Repeat this for all devices added. 10. Choose Extras > EFS Export from the PACTware main menu and follow the procedures described in Configure EFS Scanning on page 140.
149
B0400EF Rev H
Figure 8-31 shows the steps needed to configure scanning of off-platform devices using a FoxCom or HART modem. This section covers steps 1 through 9 of the workflow.
150
B0400EF Rev H
Figure 8-31. Configuring Devices Connected via a Modem for EFS Scanning
NOTE
Refer to Appendix D Choosing a Proper DTM for a Field Device to choose the correct DTM for a device from Code Wrights DTM library. Do the following in PACTware to prepare a HART or FoxCom device using a modem: 1. Add a communication DTM to HOST PC using either the FoxCom Communication or the HART Communication DTM. 2. Double-click the DTM and select Modem from the Communication Interface field. 3. Add the device DTM to the communication DTM. 4. Connect the intelligent field device and verify connectivity by displaying the current measurement of the device. 5. Choose Extras > EFS Export from the PACTware project.
151
B0400EF Rev H
NOTE
Refer to Appendix D Choosing a Proper DTM for a Field Device to choose the correct DTM for a device from Code Wrights DTM library. Do the following in PACTware to prepare a device connected to multiplexer for scanning: 1. Add HART Communication DTM to the HOST PC in the Project view.
152
B0400EF Rev H
2. Double-click the HART Communication DTM and configure as follows: Set Communication Interface to HART multiplexer Set the following in Serial Interface; Port: COM1 Baud rate: 19200 RTS Control: Toggle Set HART protocol; Master: Primary Master Preamble: 7 Number of communication retries: 3 Address scan:
153
B0400EF Rev H
3. Click Save and OK. 4. Add Mux 2700G (FDT) master DTM to the HART Communication DTM in the PACTware. Configure RS-485 Address = 1 and Master Type = Primary Master. Close DTM.
154
B0400EF Rev H
Figure 8-35. Adding Mux 2700G (FDT) Master DTM to the HART Communication DTM
5. Add 2700 Slave (FDT) slave DTM to the Mux Master DTM.
155
B0400EF Rev H
Figure 8-36. Adding 2700 Slave (FDT) Slave DTM to the Mux Master DTM
6. Double click on Mux Slave DTM and configure the following items: Select Communication Channel 1. 7. Select field device DTM for your project. 8. Select device Communication Channel 1. 9. Provide power connection to devices. 10. Provide power connection to the multiplexer. Fault LED turns ON Red and then OFF and the Power LED blinks for approximately 5 seconds then turns solid ON Green. 11. Wait for Rebuild scan to complete scanning of channels. The completed scan is indicated by the HART TX LED on the 2700G Mux module going from blinking to OFF.
156
B0400EF Rev H
NOTE
Sometimes the scanning can take up to approximately 30 minutes based on default settings. 12. Connect the HART Comm DTM, and Master and Slave DTMs. 13. Connect the device DTMs.
157
B0400EF Rev H
14. Perform an online parameter test for each device. 15. Choose Extras > EFS Export from the PACTware main menu.
158
B0400EF Rev H
Figure 8-39. Choosing Extras > EFS Export from PACTware Main Menu
159
B0400EF Rev H
160
Appendix A. Troubleshooting
This appendix lists error messages generated by the device scanner and device access components of Extended Frame Services 2.3. All these error messages are visible to the user either in a message box or written to the system event logger, which can be viewed using Windows Event Viewer application.
161
B0400EF Rev H
Appendix A. Troubleshooting
Processing Errors
The following errors indicate processing errors:
GetCurrentComputerName failed. GetComputerName failed.
These errors indicate a system failure. Reboot your computer to attempt to clear the problem.
Unable to fetch path from registry
This error indicates an incorrect installation of the EFS components. Reinstall the EFS software.
Unable to write event into file
This error indicates an inability to enter information into the System Event Log. Verify that the event log is not full.
ScanThread: Worker thread finished for SystemTag = XXXX with error X.
This message indicates that an error occurred while performing the device scan. Additional error information should have been reported by the device access component.
Device is already being accessed. This may be a result of user interaction with the device through a configurator. The scan will retry.
UNABLE TO CREATE NEW DEVICE
Internal error that may be due to a lack of resources. If the problem persists, reboot the system.
162
Appendix A. Troubleshooting
B0400EF Rev H
Internal error unable to initialize the DTM for the device. The DTM may be incorrectly installed or there may be insufficient system resources.
FAILED TO GET IDTM INTERFACE TO THE DEVICE
Internal error unable to initialize the DTM for the device. The DTM may be incorrectly installed or there may be insufficient system resources.
FAILED TO GET DEVICE PARAMETERS
The DTM failed to provide device parameters. The device DTM may not support the interfaces required to get device parameters.
UNABLE TO CREATE EFS OBJECT
Internal error unable to initialize the database EFS component. There may be insufficient system resources.
FAILED TO GET DEVICE RECORD FROM EFS DATABASE
The device information was not retrievable from the device database. This may be due to the removal of devices from the database or database corruption. There should be additional error information from the database component.
UNHANDLED EXCEPTION
Internal error that may be due to a lack of resources. If the problem persists, reboot the system.
FAILED TO SET DEVICE PARAMETERS
Parameter values must be set for the communication DTM. The communication DTM failed the set parameter request. The communication DTM may not support the interfaces required to set device parameters.
FAILED TO SET PARAMETERS IN EFS DATABASE
The device information was not settable in the device database. This may be due to the removal of devices from the database or database corruption.
System time conversion failed.
Internal error that may be due to a lack of resources. If the problem persists, reboot the system.
Unable to connect to EFSObject library.
Unable to locate the database component of the EFS set. Reinstalling the EFS software may fix the problem.
Unable to get information from database for device. Device tag XXX.
The device information was not retrievable from the device database. There should be additional error information from the database component.
Invalid device record type. Device is not of type FOXDEVICE. Device tag is XXX. Record type is X.
The device to which you are establishing connectivity is not a field device. Check the device type selected for scanning.
163
B0400EF Rev H
Appendix A. Troubleshooting
Cannot find in the database CLSID of the device. Device tag is XXX.
The device being accessed is not associated with a DTM. This error can be caused by selecting a device that has never been accessed by the configurator. Devices must be accessed by the configurator to establish an association with a DTM.
Database contains invalid channel value of device. Device tag is XXX.
A field device does not have the proper association with a communication device.
Cannot find in the database Info parameters of the device. Device tag is XXX.
The device being accessed is not associated with a DTM. This error can be caused by selecting a device that has never been accessed by the configurator. Devices must be accessed by the configurator to establish an association with a DTM.
Cannot find in the database Device parameters of the device. Device tag is XXX.
The device being accessed is not associated with a DTM. This error can be caused by selecting a device that has never been accessed by the configurator. Devices must be accessed by the configurator to establish an association with a DTM.
Cannot find in the database Communication device of the device. Device tag is XXX.
A field device does not have a proper association with its communication device.
Invalid device record type. Device is not of type FOXCOMMDEVICE. Device tag is XXX. Record type is XXX.
The device to which you are establishing connectivity is not a field device. Check the device type selected for scanning.
Load DTM failed. DTM CLSID is XXX.
Unable to start the device DTM. This error may be caused by insufficient system resources or by an improperly installed DTM.
Unable to get IDtmChannels interface from DTM. DTM CLSID is XXX.
Unable to get communication channels from the communication DTM. This error may be caused by insufficient system resources or by an improperly installed DTM.
Unable to get FDT channels collection interface from DTM. DTM CLSID is XXX.
Unable to get communication channels from the communication DTM. This error may be caused by insufficient system resources or by an improperly installed DTM.
164
Appendix A. Troubleshooting
B0400EF Rev H
Unable to get communication channels from the communication DTM. This error may be caused by insufficient system resources or by an improperly installed DTM.
Cannot establish communication between device and communication device. Device channel index is XXX. Communication device channels count is XXX. Device system tag is XXX. Communication device system tag is XXX.
Unable to connect the communication DTM and the device DTM. Communication may be failed, the communication DTM may not be properly configured, or the DTMs are incompatible.
Unable to get FDT channel. Device channel index is X. Device system tag is XXX. Communication device system tag is XXX.
Unable to get communication channels from the communication DTM. This error may be caused by insufficient system resources or by an improperly installed DTM.
Cannot query IFdtChannelSubTopology interface from communication channel. Communication device tag is XXX. Communication device CLSID is XXX.
Unable to get communication channels from the communication DTM. This error may be caused by insufficient system resources, an improperly installed DTM, or selecting a device that has never been accessed by the configurator. Devices must be accessed by the configurator to establish an association with a DTM.
Notification of communication channel that device is added has failed. Device system tag is XXX. Communication device system tag is XXX.
Unable to connect the communication DTM and the device DTM. Communication may be failed, the communication DTM may not be properly configured, or the DTMs are incompatible.
DTM configuration failed. Device system tag is XXX.
Unable to initialize the device DTM. This error may be caused by insufficient system resources, an improperly installed DTM, or selecting a device that has never been accessed by the configurator. Devices must be accessed by the configurator to establish an association with a DTM.
Cannot query IFdtCommunication interface from communication channel. Device tag is XXX. Communication device tag is XXXX.
Unable to connect the communication DTM and the device DTM. Communication may be failed, the communication DTM may not be properly configured, or the DTMs are incompatible.
Set communication failed. Device tag is XXX. Communication device tag is XXX.
Unable to connect the communication DTM and the device DTM. Communication may be failed, the communication DTM may not be properly configured, or the DTMs are incompatible.
165
B0400EF Rev H
Appendix A. Troubleshooting
Cannot establish communication. Communication timeout. Device tag is XXX. Communication device tag is XXX.
Internal error that should not be seen during normal operation. Stop the device scan process and restart it.
Unable to create IPresistPropertyBag of DTM. DTM CLSID is XXX.
Unable to initialize the device DTM. This error may be caused by insufficient system resources, an improperly installed DTM, or selecting a device that has never been accessed by the configurator. Devices must be accessed by the configurator to establish an association with a DTM.
Failed initialize new property bag. DTM CLSID is XXX.
Unable to initialize the device DTM. This error may be caused by insufficient system resources, an improperly installed DTM, or selecting a device that has never been accessed by the configurator. Devices must be accessed by the configurator to establish an association with a DTM.
Failed to get DTM interface from Property Bag. DTM CLSID is XXX.
Unable to initialize the device DTM. This error may be caused by insufficient system resources, an improperly installed DTM, or selecting a device that has never been accessed by the configurator. Devices must be accessed by the configurator to establish an association with a DTM.
Failed to set the Environment of DTM. DTM CLSID is XXX.
Unable to initialize the device DTM. This error may be caused by insufficient system resources, an improperly installed DTM, or selecting a device that has never been accessed by the configurator. Devices must be accessed by the configurator to establish an association with a DTM.
Failed initialize new device type manager. DTM CLSID is XXX.
Unable to initialize the device DTM. This error may be caused by insufficient system resources, an improperly installed DTM, or selecting a device that has never been accessed by the configurator. Devices must be accessed by the configurator to establish an association with a DTM.
Failed to get Dtm Parameters interface from DTM. DTM CLSID is XXX.
The DTM failed to provide device parameters. The device DTM may not support the interfaces required to get device parameters.
Failed to set parameters of the communication device DTM. DTM CLSID is XXX.
The DTM failed to provide device set parameters. The device DTM may not support the interfaces required to get device parameters.
166
Appendix A. Troubleshooting
B0400EF Rev H
Closure of communication failed. This error may be caused by insufficient resources or a prior error.
Prepare to release failed. Device tag is XXX.
Closure of communication failed. This error may be caused by insufficient resources or a prior error.
Release of communication failed. Device tag is XXX.
Closure of communication failed. This error may be caused by insufficient resources or a prior error.
Prepare to delete device failed. Device tag is XXX.
Closure of communication failed. This error may be caused by insufficient resources or a prior error.
Invalid device connection. The device handle is pointing to invalid DTM connection.
This is an internal error. Stop the device scan service and restart it.
Cannot send upload request. Upload request failed. Device system tag is XXX.
A communication error occurred while reading parameters from the device. Check connectivity with the device.
Failed to complete the upload request. Communication timeout. Device system tag is XXX.
A communication error occurred while reading parameters from the device. Check connectivity with the device.
Unable to retrieve device parameters. Device system tag is XXX.
A communication error occurred while reading parameters from the device. Check connectivity with the device.
Unable to set device parameters. Device system tag is XXX.
A communication error occurred while writing parameters to the device. Check connectivity with the device.
Cannot send download request. Download request failed. Device system tag is XXX.
A communication error occurred while writing parameters to the device. Check connectivity with the device.
Failed to complete the download request. Communication timeout. Device system tag is XXX.
A communication error occurred while writing parameters to the device. Check connectivity with the device.
167
Cannot get Online diagnosis interface from DTM. Device system tag is XXX
The DTM failed to provide device status interface. The device DTM may not support the interfaces required to get device status.
Unable to get the status of device. Device system tag is XXX.
A communication error occurred while writing parameters to the device. Check connectivity with the device.
Cannot open device. There is already opened device with same system tag. Device system tag is XXX.
The same device is being opened more than once. There may be multiple device scanners accessing the device. Check the configuration.
Could not communicate with the device as the Device DTM XXX failed to respond.
The same device is being accessed by FDT frame application and Extended frame services.
Unable to read ECB Configuration for <ECB Block name>.
This error message is displayed when EFS tries to scan an FBM ECB and the CP containing the ECB is not present on the network. If this message is displayed, acknowledge each dialog box (one per ECB); or make the CP with these ECBs available.
Appendix A. Troubleshooting
B0400EF Rev H
LogfilePath="C:\Program Files\Invensys\FDM_EFS\log" [DeviceAccess] LogDetails=1 LogDTMEvents=1 LogErrors=1 LogFDTEvents=1 LogfilePath="C:\Program Files\Invensys\FDM_EFS\log" LogInfo=1 LogWarnings=1 MaxLogFileSize=19000 UploadCheck=1 UseLog=0 UseMultipleLogFiles=0 [PTAPI] Count=5
Names enclosed in the square brackets specify the application name and entries below the application are the settings corresponding to that application. Following are descriptions of the configurable settings provided for each component or application.
EFSObject
Count - can take an unsigned integer value and specifies the maximum number of EFSObject log files that can be generated at a particular time. EFSloglevel can be either 0 or 1. If the value is 0 then EFSObject component does not generate the log. If the value is 1, it generates the log. LogfilePath takes string specifying the path of a folder in which the EFSObject shall generate log files.
Device Access
LogDetails Is the setting indicating if the detailed log shall be enabled or not. If the value is 0 (zero) then details logging shall be disabled and if the value is 1 (one) detailed logging shall be enabled. LogDTMEvents Is the setting indicating if the DTM Events logging shall be enabled or not. If the value is 0 (zero) then DTM Events logging shall be disabled and if the value is 1 (one) DTM Events logging shall be enabled.
169
B0400EF Rev H
Appendix A. Troubleshooting
LogErrors Is the setting indicating if the Error logging shall be enabled or not. If the value is 0 (zero) then error logging shall be disabled and if the value is 1 (one) error logging shall be enabled. LogFDTEvents Is the setting indicating if the FDT events logging shall be enabled or not. If the value is 0 (zero) then FDT events logging shall be disabled and if the value is 1 (one) FDT events logging shall be enabled. LogfilePath Is the setting that shall indicate the path to a folder where the trace/log files shall be generated. Device access log files shall get generated in the path specified in this setting. LogInfo This setting indicates if the information logging shall be enabled or not. If the value is 0 (zero) then information logging shall be disabled and if the value is 1 (one) information logging shall be enabled. LogWarnings Is the setting indicating if the warning error logging shall be enabled or not. If the value is 0 (zero) then warning error logging shall be disabled and if the value is 1 (one) warning error logging shall be enabled. MaxLogFileSize Is the setting indicating the maximum file size to which the device access log can grow. After reaching the maximum size the file shall be truncated. UploadCheck This setting specifies how EFS should work after Upload is complete during device scan as follows: 0 = After the Upload is complete and successful EFS should update the device parameters and update time in to database. If the upload fails, device parameters and update time are not updated in the database. 1 = After the Upload is complete irrespective of the completion status, that is, success or failure, EFS updates the device parameters and the update time in database. UseMultipleLogFiles This setting specifies whether to continue logging to a different file if the current file has exceeded the size specified in MaxLogFileSize. 1 = If the current log file reaches MaxLogFileSize, EFS continues logging but to a newly created file. UseLog Is the setting that indicates if the trace/log is enabled or not. This is a kind of master key for all other log settings. If the value of this is 0 (zero) then log files shall not be generated. If the value is 1 then log files shall get generated.
Appendix A. Troubleshooting
B0400EF Rev H
It may take a while the entire contents of the cell to be selected. After you have selected the contents, wait until the context menu appears with the Copy command. 6. Open the text file (SQL_XML_DB.txt) that you created on the desktop. 7. Paste the parameters into the file, and begin your analysis. The pasted text will be in XML format.
171
B0400EF Rev H
Appendix A. Troubleshooting
The EFS instance in the example in the following instruction was installed to the default location: C:\Program Files\Invensys\FDM_EFS\log. If the software was installed in an I/A Series workstation, the installation folder would be D:\Invensys\FDM_EFS\log. To restore the database from an SQL Server 2008 backup: 1. Open Microsoft SQL Server Management Studio and connect to the server (Figure A-1).
2. Right-click Databases in the Object Explorer and choose Restore Database from the context menu to open the Restore Database window (Figure A-2).
172
Appendix A. Troubleshooting
B0400EF Rev H
3. Select EFSDB in the pull-down menu in the To Database field, check the radio button button to the right to open the Specify for From Device and then click the Backup dialog box (Figure A-3).
4. Select File in the pull-down menu for Backup media and click Add.
173
B0400EF Rev H
Appendix A. Troubleshooting
5. Select All Files (*) in the pull-down menu in the Files of type field, select the backup file (EFS_BACKUP in Figure A-4) and click OK to add the file to Backup location list in the Specify Backup dialog box (Figure A-5).
174
Appendix A. Troubleshooting
B0400EF Rev H
6. Click OK to return to the Restore Database window (Figure A-6). 7. Check the Restore checkbox in the box labeled Select backup sets to restore.
175
B0400EF Rev H
Appendix A. Troubleshooting
8. Click Options in the Select a page pane on the left, and check the Overwrite the existing database checkbox (Figure A-7).
10. Modify the paths for EFSDB_Data and EFDB_Log under Restore the database file as to the path of the Database folder in the EFS installation folder (Figure A-8). For example, if EFS is installed in the path D:\Invensys\FDM_EFS, the path for the database folder is D:\Invensys\FDM_EFS\Database. a. Modify the path for EFSDB_Data as
D:\Invensys\FDM_EFS\Database\EFSDB.MDF
176
Appendix A. Troubleshooting
B0400EF Rev H
11.
Click OK. A popup messages indicates that you have successfully restored the SQL Server 2008 EFS database (Figure A-9).
177
B0400EF Rev H
Appendix A. Troubleshooting
NOTE
While upgrading the database from SQL 2000 to SQL 2008 on the same system, the following query (EXEC Sp_dropuser efsobj) need not be executed. 12. Navigate to Databases > EFSDB in the Object Explorer, right-click EFSDB and choose New Query from the context menu (Figure A-10).
178
Appendix A. Troubleshooting
B0400EF Rev H
13. Type EXEC Sp_dropuser efsobj as shown in the Figure A-11 and click the Execute command. Command(s) completed successfully should be displayed in the Messages frame (below the query frame) as shown in Figure A-11.
179
B0400EF Rev H
Appendix A. Troubleshooting
14. Expand Databases > EFSDB > Security > Logins in the Object Explorer, rightclick Logins and choose New Login from the context menu to open Login Properties window to the General Page (Figure A-12).
15. Enter efsobj in the Name field, click the radio button for SQL Server Authentication and enter fox$FDT12 in Password and Confirm password. 16. Uncheck the Enforce password expiration option. 17. Use the pull-down lists to select EFSDB for the Defaults database and <Default> for Default language. 18. Select the User Mapping page (Figure A-13) and click the checkbox for EFSDB under Users mapped to this login to specify which databases can be accessed by this login.
180
Appendix A. Troubleshooting
B0400EF Rev H
19. Select the following checkboxes in the list box labeled Database role membership for: ESFDB:
db_datareader db_datawriter
(selected by default). 20. Click on OK. 21. Set the DSN for the restored database. See Set the DSN for the Microsoft SQL Server Database on page 103 for detailed instructions.
public
181
B0400EF Rev H
Appendix A. Troubleshooting
182
B0400EF Rev H
Click OK in the Configure EFS Database dialog box to accept the default database selection, Microsoft Access Database.
5. Start PACTware 4.0 and update the PACTware Device Catalog, as described in Initialize PACTware V4.0 Device Catalog on page 45.
184
B0400EF Rev H
4. For each device in the project: a. Connect the parent FBM Communication DTM and the device DTM. b. Perform a Load from Device and save the DTM. c. Disconnect device DTM. See Configuring the Device on page 65 for information on connecting to the device and uploading device parameters. 5. Save and close the PACTware project.
Extended Frame Services 2.3 requires PACTware 4.0 for configuration. To upgrade the software: 1. Save your PACTware 3.6 SP1 projects on a safe media. 2. Ensure that the EFS Scanner service (DevScan) is stopped. See Managing the Scan Service on page 120 for information on stopping the service (Figure B-3).
185
B0400EF Rev H
3. Back up the EFS database. For a Microsoft Access database, make a copy of FDMEFSAccessDatabase.mdb and move it to safe media. For Microsoft SQL Server, use the standard SQL Server backup procedure. 4. Use the Add or Remove Programs applet in the Control Panel to remove the following software: PACTware 3.6 SP1 Generic HART DTM Release 3 HART Communication DTM 1.0.25 Extended Frame Services 2.2 5. Install PACTware 4.0, the Generic HART DTM Release 4.0 and the HART Comm DTM 1.0.25, as described in Install PACTware on page 11. 6. Install the FDT components from the FDT Device Manager Components V2.3 (EFS V2.3) CD (p/n K0201AX), as discussed in Install EFS and HART/FoxCom Device Manager on page 25. Select all three components on the Select Features page in installation wizard (Figure B-1). Select the database application in the Configure EFS Database dialog box. Microsoft SQL Server 2008 is the recommended database. See Appendix C Database Migration if you plan to migrate from Microsoft Access to Microsoft SQL 2008.
186
B0400EF Rev H
7. Start PACTware 4.0 and update PACTware Device Catalog, as described in Initialize PACTware V4.0 Device Catalog on page 45.
187
B0400EF Rev H
NOTE
Refreshing the database is unnecessary if the EFS database is a Microsoft SQL Server 2008 database. 3. For each device in the project: a. Connect the parent FBM Communication DTM and the device DTM. b. Perform a Load from Device and save the DTM c. Disconnect device DTM. See Configuring the Device on page 65 for information on connecting to the device and uploading device parameters. 4. Export the project to EFS if the EFS database is Microsoft Access. This step is not necessary if the database is Microsoft SQL Server 2008. 5. Save and close the PACTware project.
188
If you are upgrading the Microsoft SQL software from SQL Server 2000/2005 to SQL Server 2008 and you want to migrate the EFS data on the same system from SQL Server 2000 to Server SQL 2008, select Analysis services as a mandatory option while installing SQL Server 2008.
NOTE
To convert the EFS database from Access to SQL Server 2008, you must have administrator privileges on the system as well as administrative privileges for the SQL 2008 database. The following steps are to be executed to create SQL Server 2008 EFS database from an Access EFS database: Create a new SQL Server database as described in Create the New Database on page 98.
Perform Setting Options on EFS Database on page 102. Import from the Access Database on page 189 Set the Primary Key for the Database Tables on page 197 Set Default Values for the CommunicationDevices Table on page 202.
189
B0400EF Rev H
Figure C-1. SQL Server Import and Export Wizard Dialog Box
2. Click Next on the first page (Figure C-1) to move to the Choose a Data Source page (Figure C-2)
190
B0400EF Rev H
Do the following: a. Choose Microsoft Access from Data source pull-down list. b. Click the File name Browse button to browse for and select the EFS database:
D:\Invensys\FDM_EFS\Database\EFSEFSAccessDatabase.mdb
This path may vary based on where EFS is installed. c. Leave the Username and Password fields blank. d. Click Next. The wizard displays the Choose a Destination page (Figure C-3).
191
B0400EF Rev H
3. Make the following selections on the Choose a Destination page (Figure C-3): a. Use the Destination pull-down list to select Microsoft OLE DB Provider for SQL Server if it is not already selected. b. Select the database server from the Server pull-down list. If the SQL Server database resides in the same system, select either (local) or the database name as your server. If the SQL Server database does not reside in the same system, browse for the Server name. c. Accept the default selection of Use Windows Authentication. d. Select EFSDB (the new database created) from the Database pull-down list. e. Click Next to move to the Specify Table Copy or Query page (Figure C-4).
192
B0400EF Rev H
4. Accept the default option (Copy data from one or more tables or views) and click Next to move to the next wizard page to select the tables and views to be copied (Figure C-5).
193
B0400EF Rev H
5. Check the Source check box on the Select Source Tables and Views page to select all three tables and then click Next. The wizard displays the Save and Execute Package page (Figure C-6).
194
B0400EF Rev H
6. Accept the default selections and click Next to move to the SQL Server Import and Export Wizard (Figure C-7).
195
B0400EF Rev H
7. Click Finish to launch the import. The next wizard displays progress of the import tasks (Figure C-8).
196
B0400EF Rev H
Figure C-8. Final Wizard Page Indicates the Import Was a Success
8. Click Close when the wizard indicates that the import was successful to close the SQL Server Import and Export Wizard.
197
B0400EF Rev H
2. In the Microsoft SQL Server Management Studio navigation pane, expand Databases -> EFSDB -> Tables to list all the tables of EFS database in the pane to the right (Figure C-10). The tables of interest for EFS are CommunicationDevices, Devices and FBMInfoTable.
198
B0400EF Rev H
3. Right-click the CommunicationDevices table and choose Design from the context menu to open the table in the Design view (Figure C-11).
199
B0400EF Rev H
4. Right-click the SystemTag field in the Design view and choose Set Primary Key from the context menu (Figure C-12). Then select SystemTag.
200
B0400EF Rev H
5. Save and close the table to return to the Summary tab for Tables (Figure C-11 above). 6. Use the procedure described in steps 3, 4 and 5 to set SystemTag as the Primary Key for the Devices table and to set SoftwareType as the Primary Key for the FBMInfoTable table. 7. In the Microsoft SQL Server Management Studio, select Tools -> Options from the tool bar. Select Designers and check the Prevent saving changes that requires table re-creation checkbox in the Options dialog box (Figure C-13), and then click OK.
201
B0400EF Rev H
Figure C-13. Option Dialog Box in SQL Server Management Studio (Checking)
202
B0400EF Rev H
4. Enter 0 in the Default Value field (Figure C-14). 5. Select Channel in the list of columns to display its properties and set the Default Value field to 0 (Figure C-15).
203
B0400EF Rev H
B0400EF Rev H
EFS 1.1 uses integers to identify non I/A Series devices and the integer device tags are not supported in EFS 2.3. 2. If a DTM version of a device in the previous version of the EFS database is at a lower level than the desired device firmware, that DTM may not support device calibration or device maintenance. This case might arise due to the upgrading of a device or a DTM package. 3. The EFS database depends not only on ECB information (in case of an I/A Series configuration) or device tag information (in case of a non I/A Series configuration) but also on the DTM package. If the DTM package does not have backward compatibility to an older version, the DTM information contained in the previous version of EFS database must be synchronized with that of the package installed on the system in order to run EFS scans.
205
B0400EF Rev H
8. Select the option Migrate 100 series FBMs and click Next if the 100 series FBMs are to be migrated to corresponding new 200 series FBMs in EFS database, or click Next to proceed without selecting the option. Selecting the Migrate 100 series FBMs option migrates the 100 Series FBMs to new 200 Series FBMs. A partial list of these mappings is listed in Table C-1.
Table C-1. Migration to 200 Series FBMs (Partial)
The full list of 200 Series FBM replacements for 100 Series FBMs is available in 100 Series Fieldbus Module Upgrade User's Guide (B0700BQ). 9. Continue with the installation to finish migration.
206
B0400EF Rev H
NOTE
Steps to backup EFSDB from the SQL Server and restore the database are optional if the same station with SQL server installation will be used as database server for EFS 2.3.
207
B0400EF Rev H
208
This procedure uses the Metso ND9100H Valve Positioner as the device listed in all the examples and figures. The Device Revision for this device will be Rev. 2. 2. Physically connect the field device to its associated FBM/Multiplexer/Modem.
NOTE
In this procedure, all examples assume that the device (the Valve Positioner listed above) is connected to an FBM. 3. Do one of the following to start the PACTware Frame Application: Double-click the PACTware desktop icon ( ). Click the Start button and choose PACTware 4.0 > PACTware 4.0 from the popup menu.
209
B0400EF Rev H
4. Configure Communication DTM/DTMs corresponding to the one used. In the example shown in Figure D-1, the device is being connected to a HART FBM Communication DTM.
210
B0400EF Rev H
5. In PACTWare, select the appropriate device catalog for your device. In the example shown in Figure D-2, this is the Metso Automation in the Device catalog. PACTWare displays the entire device DTMs corresponding to Metso devices.
211
B0400EF Rev H
6. Select the appropriate revision for your device in the Device catalog. In the example shown in Figure D-3, to match the device revision for the Metso ND9100H Valve Positioner (Rev. 2), DTM ND9100H V2.2 should be selected. If device revision is not available on any label on the field device, select the DTM with earliest revision. In the example shown in Figure D-3, this would be ND9100H V1.1.
212
B0400EF Rev H
7. Add the selected DTM under the field devices associated FBM/Multiplexer/Modem; in the example shown in Figure D-4, that is the FBM Communication DTM. While adding this DTM, select proper channel on which device is connected, as shown in Figure D-5.
213
B0400EF Rev H
214
B0400EF Rev H
8. Right-click on the Device DTM and select Connect as shown in Figure D-6. Wait for the DTM to go online, as shown in Figure D-7.
215
B0400EF Rev H
216
B0400EF Rev H
9. Right-click on the Device DTM and select Print -> Online Parameterization as shown in Figure D-8.
217
B0400EF Rev H
10. The Device DTM starts uploading the parameters. Wait until the upload is complete and you see printed material in the right pane as shown in Figure D-9.
218
B0400EF Rev H
11. In the right pane, move the scroll bar to locate where the Fld Dev Rev and Software Rev fields are printed and record these values. In the example shown in Figure D-10, the Fld Dev Rev value is 2, matching the Device revision on the label of the field device. Also in this example, the value of Software Rev is 153.
Figure D-10. Online Parameterization Showing Fld Dev Rev and Software Rev
219
B0400EF Rev H
12. Return to the Device Catalog and open the DTM list for the field device. In the example shown in Figure D-11, this is Metso Automation devices.
Figure D-11. Selecting Correct DTM From List of DTMs for a Vendor
For this example, in the available list of DTMs for ND9100H device, choose the DTMs whose major revision matches with the value of Fld Dev Rev value. In this example, the Fld Dev Rev value is 2 and there is only one DTM whose major revision is 2; i.e. ND9100H V2.2. If there are multiple DTMs whose major revision matches Fld Dev Rev value, select the DTM whose minor revision is much closer to the value of the Software Rev field.
220
B0400EF Rev H
221
Invensys Operations Management 5601 Granite Parkway Suite 1000 Plano, TX 75024 United States of America http://www.iom.invensys.com
Global Customer Support Inside U.S.: 1-866-746-6477 Outside U.S.: 1-508-549-2424 or contact your local Invensys representative. Website: http://support.ips.invensys.com