background image

 

 

 

 

 

 

Uniformance® 

PHD OPC Server 

User Guide 

R300 

 

Summary of Contents for Uniformance R300

Page 1: ...Uniformance PHD OPC Server User Guide R300 ...

Page 2: ...iable to anyone for any indirect special or consequential damages The information and specifications in this document are subject to change without notice Honeywell TotalPlant Uniformance PHD and Business FLEX are U S registered trademarks of Honeywell Inc Other brand or product names are trademarks of their respective owners Release Information Uniformance 300 Document Revision 12 Document Revisi...

Page 3: ...7 2708 Europe Contact Honeywell TAC EMEA Phone 32 2 728 2732 Facsimile 32 2 728 2696 Mail TAC BE02 Hermes Plaza Hermeslaan 1H B 1831 Diegem Belgium Pacific Contact Honeywell Global TAC Pacific Phone 1300 300 4822 toll free within Australia 61 8 9362 9559 outside Australia Facsimile 61 8 9362 9564 Mail Honeywell Limited Australia 5 Kitchener Way Burswood 6100 Western Australia Email GTAC honeywell ...

Page 4: ... Mail Honeywell China Co Ltd 33 F Tower A City Center 100 Zunyi Rd Shanghai 200051 People s Republic of China Email Global TAC China honeywell com Singapore Contact Global TAC South East Asia Phone 65 6580 3500 Facsimile 65 6580 3501 65 6445 3033 Mail Honeywell Private Limited Honeywell Building 17 Changi Business Park Central 1 Singapore 486073 Email GTAC SEA honeywell com Taiwan Contact Global T...

Page 5: ... Honeywell Japan Inc New Pier Takeshiba South Tower Building 20th Floor 1 16 1 Kaigan Minato ku Tokyo 105 0022 Japan Email Global TAC JapanJA25 honeywell com Elsewhere Call your nearest Honeywell office World Wide Web Honeywell Solution Support Online http www honeywell com ps Training Classes Honeywell Automation College http www automationcollege com ...

Page 6: ...Support and Other Contacts vi Uniformance PHD OPC Server User Guide ...

Page 7: ... Cached browsing 14 To enable AFM tag routing and put download 14 3 Configuring the PHD OPC Server 15 3 1 Overview 15 3 2 View Modify DCOM Configuration of PHD OPC Server 15 To configure DCOM settings for the machine default 16 To configure properties of the PHD OPC Server COM components 28 4 Overview of Uniformance PHD 37 4 1 Uniformance PHD Components 37 4 2 PHD Server Functionality 39 4 3 Multi...

Page 8: ...er Client Application 48 Required expertise 48 Software developer tools 48 5 4 PHD OPC Data Standards for Client Applications 49 PHD OPC name forms 50 Supported data types 50 Array indexing 51 Enumerated data types 51 Interpreting data quality 53 Data confidence versus data quality 54 Out of range and NaN values 54 Data for requested time of NOW 54 Extrapolated values 55 Interpolated values 55 INT...

Page 9: ...e server name forms and data types supported Glossary Definitions to industry terminology and Honeywell Uniformance specific terminology 1 2 Intended Audience The document assumes you are skilled in performing Windows operating system administrative tasks 1 3 Additional References The following list identifies documents that may be sources of reference for the material discussed in this publicatio...

Page 10: ...1 About This Document 1 3 Additional References 10 Uniformance PHD OPC Server User Guide ...

Page 11: ...e current or historical values from its storage The PHD OPC Server is an independent executable program it can reside on the same machine as the PHD Server or on a remote server The OPC standard interface specifies a standard set of interface semantics for access to data values The PHD OPC Server is compliant with both the OPC DA and OPC HDA standards described as follows OPC DA The OPC Data Acces...

Page 12: ... for security purposes PHD OPC Server Requires the installation of PHD Server software on at least one computer system within the same network domain Network environment Item Requirement Network Protocols Ethernet TCP IP Microsoft application layer software RPC and DCOM One of the following name services must be available DNS WINS Local Host File 2 3 Where to Install PHD OPC Server Software During...

Page 13: ...ywell recommends that Server and Client be on the same side of a firewall as the PHD Server otherwise OPC requires that you open additional ports in the Firewall Since OPC uses DCOM and DCOM uses many dynamically assigned ports OPC will not work well with a firewall REFERENCE For the software installation procedure refer to the PHD Installation Guide in6001 pdf 2 4 PHD OPC Server Registry Settings...

Page 14: ...mation If disabled each browse request will go to PHD for tag information The advantage of caching is that any subsequent browse request is quicker after the first request however with cached browsing enabled you will not see updated or new PHD tags through the browse The cached browsing can be enabled by changing the registry setting under the following key HKEY_LOCAL_MACHINE SOFTWARE Honeywell U...

Page 15: ...sing the Microsoft Distributed Component Object Model DCOM technology Its execution environment is defined by the system level settings established for DCOM components These settings can be customized using the tool provided by Microsoft DCOMCNFG DCOM has settings for the machine default and each COM server You can view modify the DCOM settings for the individual PHD OPC Server components by selec...

Page 16: ... To configure DCOM settings for the machine default Step Action 1 Click Start on the Windows taskbar Click Run The Run dialog box appears Type DCOMCNFG and click OK 2 On Windows 2000 The Distributed COM Configuration Properties window appears On Windows 2003 XP The Component Services window appears as shown below Expand Component Services expand Computers right click My Computer and choose Propert...

Page 17: ...tion RESULT On Windows 2003 XP On Windows 2000 Note For Windows 2000 the tabs in the Distributed COM Configuration Properties screen appear slightly different than those in the Windows 2003 XP My Computer Properties screen In most of the steps in this procedure we used Windows 2003 XP screen examples to illustrate the correct settings ...

Page 18: ...er 3 2 View Modify DCOM Configuration of PHD OPC Server 18 Uniformance PHD OPC Server User Guide Step Action Default Properties 3 Click the Default Properties tab 4 Set the Default Properties as shown in the following screen example ...

Page 19: ...ify DCOM Configuration of PHD OPC Server Uniformance PHD OPC Server User Guide 19 Step Action Default Protocols 5 Click the Default Protocols tab 6 Ensure that Connection oriented TCP IP is the first protocol listed 7 Click OK to close the window ...

Page 20: ...er Guide Step Action Default COM Security 8 On Windows 2003 XP Click the COM Security tab On Windows 2000 Click the Default Security tab Default COM Security Access Permissions Edit Limits 9 On Windows 2003 XP Under Access Permissions click Edit Limits On Windows 2000 Steps 6 7 and 8 are not applicable skip to Step 12 ...

Page 21: ... Configuration of PHD OPC Server Uniformance PHD OPC Server User Guide 21 Step Action On Windows 2003 XP only Edit Limits continued 10 Add the local group NETWORK to the list and make sure Remote Access is allowed as shown in the following screen example ...

Page 22: ...uide Step Action TIP On Windows 2003 XP to add the local group NETWORK do the following 1 Click Add 2 From the Locations window select the name of this machine 3 Click OK 4 The Select Users or Groups window appears Click Advanced 5 Click Find Now shown in the following screen example 6 In the search results select NETWORK ...

Page 23: ...3 Configuring the PHD OPC Server 3 2 View Modify DCOM Configuration of PHD OPC Server Uniformance PHD OPC Server User Guide 23 Step Action 7 Click OK 8 Click OK ...

Page 24: ...ick OK to close the Access Permission window Default COM Security Access Permissions Edit Default 12 On Windows 2003 XP Under Access Permissions click Edit Default On Windows 2000 Under Default Access Permissions click Edit Default 13 Add the Everyone group and ensure that it has the correct permissions as shown in the following screen examples ...

Page 25: ...f PHD OPC Server Uniformance PHD OPC Server User Guide 25 Step Action On Windows 2003 XP Ensure that the Everyone group has Remote Access as shown in the following screen example On Windows 2000 Ensure that the Everyone group has Allow Access selected for Type of Access ...

Page 26: ...lick OK to close the window Default COM Security Launch Permissions Edit Default 15 On Windows 2003 XP Under Launch Permissions click Edit Default On Windows 2000 Under Default Launch Permissions click Edit Default 16 Add the Everyone group and ensure that it has the correct permissions as shown in the following screen examples Windows 2003 XP ...

Page 27: ...3 Configuring the PHD OPC Server 3 2 View Modify DCOM Configuration of PHD OPC Server Uniformance PHD OPC Server User Guide 27 Step Action On Windows 2000 17 Click OK to close the window ...

Page 28: ...ws 2003 XP In the Component Services console tree expand the following directories Component Services Computers My Computer DCOM Config A list of the components will appear On Windows 2000 Click the Applications tab on the main DCOMCONFG 2 Right click Uniformance PHD OPC HDA Server and select Properties You will need to repeat the following steps for the Uniformance PHD OPC DA Server component Win...

Page 29: ...3 Configuring the PHD OPC Server 3 2 View Modify DCOM Configuration of PHD OPC Server Uniformance PHD OPC Server User Guide 29 Step Action Windows 2000 ...

Page 30: ...b Edit the properties as shown in the following screen example The PHD OPC Server runs on the local system by default If you wish to run the Server on a remote machine select Run application on the following computer and enter the computer name You may need to install the PHD OPC Server software on the remote computer before you can configure it to execute there ...

Page 31: ...Step Action 4 Click the Security tab The Security tab is used to customize the access launch and configuration permissions for a selected individual COM component On Windows 2000 normally you need not change these settings Skip to Step X On Windows 2003 XP under Launch and Activation Permissions select Customize and click Edit ...

Page 32: ...PC Server 32 Uniformance PHD OPC Server User Guide Step Action 5 Add the Distributed COM Users group to the list if it is not there already Ensure the Distributed COM Users group has Remote Launch and Remote Activation enabled as shown in the following screen example 6 Click OK ...

Page 33: ...uring the PHD OPC Server 3 2 View Modify DCOM Configuration of PHD OPC Server Uniformance PHD OPC Server User Guide 33 Step Action 7 On the Security tab under Access Permissions select Customize and click Edit ...

Page 34: ...uration of PHD OPC Server 34 Uniformance PHD OPC Server User Guide Step Action 8 Add the Distributed COM Users group to the list if it is not there already Ensure the Distributed COM Users group has Remote Access enabled as shown in the following screen example ...

Page 35: ...ver to run under a specific user identity select This User and enter the username and password Launch of the PHD OPC Server with the identity of The interactive user is often used for interactive client applications that use asynchronous operations that require the server to execute callbacks with the appropriate identity Note Ensure that the selected user identity has rights to access and launch ...

Page 36: ...3 Configuring the PHD OPC Server 3 2 View Modify DCOM Configuration of PHD OPC Server 36 Uniformance PHD OPC Server User Guide ...

Page 37: ...OPC Server User Guide 37 4 Overview of Uniformance PHD 4 1 Uniformance PHD Components The following diagram illustrates the relationships of OPC client to the PHD OPC Server PHD Server and other Uniformance components ...

Page 38: ...4 Overview of Uniformance PHD 4 1 Uniformance PHD Components 38 Uniformance PHD OPC Server User Guide Figure 1 Uniformance PHD Components ...

Page 39: ...s hosted by a SQL Server RDBMS The RDBMS may be physically hosted by the same computer as the PHD Server or it may be on another system The PHD Server maintains data samples for each point variable in a data cache in memory and periodically flushes its contents to the history archive files The data cache contains the most recent values input to PHD for each point variable Data can be placed in PHD...

Page 40: ...s peers where clients must access each server directly Unlike the Shadow server configuration peer servers are autonomous each having its own unique configuration data Operate as a mixture of both shadow and peer configurations The following figure illustrates the complexity you may encounter in a multiple PHD Server system where multiple DCS systems have also been integrated and the historical re...

Page 41: ...iguration represented in the previous figure has three Uniformance PHD Servers used by clients Multiple PHD Servers often provide distributed history storage to a varied group of clients thereby providing better security and more predictable system loading In this example diagram the client applications executing on computers in the Level 4 LAN are isolated from ...

Page 42: ...4 In addition the existence of PHD Server Collector is unknown to the Level 4 clients allowing greater control on the security of the Level 3 system Peer PHD Server uses its own reference data independent from that shared by the other two servers effectively isolating this server from Level 4 entirely Its configuration and the data values it stores are not accessable to Level 4 clients however you...

Page 43: ...D data and functions on a per user basis The security configuration is based on the definition of users and roles A user is configured in PHD with a name and password used to connect or log on to the PHD system Once configured the user becomes an authorized client of the server Roles specify the level of access available to a user after they connect to the server Access is granted to a PHD configu...

Page 44: ...nnection is made to the server All requests to read and write values are honored with the exception that the ability to write data values may be restricted by configuration attributes for each point variable Enabled Private and users must be configured by name in PHD before access to any data is allowed In addition a user is configured with a specific set of rights or role which governs the operat...

Page 45: ...and extrapolation to provide a value at any given time This anticipates what the value would be at a specific time based on known data Interpolation derives a value at a specific time between stored data values Extrapolation derives values for a point in time that has not yet been stored REFERENCE For detailed descriptions of PHD interpolation and extrapolation refer to the PHD User Guide pim0201 ...

Page 46: ...4 Overview of Uniformance PHD 4 7 PHD Server s interpolation and extrapolation 46 Uniformance PHD OPC Server User Guide ...

Page 47: ...ariable each point variable in a list Writes values to PHD for a single point variable each point variable in a list 5 2 Guidelines for Accessing PHD Values Any call to read data returns a maximum of 2000 values by default The OPC Specification states that a client requiring more than this will see a OPC_S_MOREDATA error condition and should repeat the call to obtain the next block of values until...

Page 48: ...tecture and should be well versed in the development of applications in Visual C or Visual Basic There are numerous documents available that will help you obtain the necessary expertise If you are developing an OPC client application that uses the PHD OPC Server become familiar with the Uniformance PHD to understand the fundamentals of its implementation and the services it provides Software devel...

Page 49: ...e QueryInterface mechanism as specified by OLE and OPC to determine if a server supports a given interface For all interfaces that are not implemented the PHD OPC Server returns the status E_NOTIMPL as specified by the standard HRESULT In order to make the return interface consistent with OPC APIs the PHD OPC Server uses a consistent 32 bit return value called HRESULT Each API description includes...

Page 50: ...uide pim0201 Supported data types The following table shows the supported data types common to Honeywell and how the PHD OPC Server maps them into OPC data The PHD OPC Server supports access of the following data types In the case where the source attribute is set to BARRAY the OPC Server will return an array of values The actual data type will depend on the data stored in PHD since the data is ac...

Page 51: ...1 In PHD 210 and later you can create an enumeration string table and PHD chooses the correct string from the enumeration table based on the ordinal value collected from the control system The digital enumeration ordinal would be defined as integer tag To designate the integer tag as a digital enumeration you must enable the tag s Digital Enumeration flag and then specify the name of the digital e...

Page 52: ...names as referenced through the PHD OPC Server Each would be configured in PHD to reference the same DCS point variable such as GEN1 MODE The data type stored for the PHD variable would be either Integer or String The use of convention which adds subscript text in the name to differentiate the data type simplifies application development and system administration of the name space ...

Page 53: ...This Bad Data status normally indicates a period of outage caused by server shutdown or loss of communications with the DCS The confidence factor assigned to a value is derived at the time the data value is collected from the remote data owner such as the DCS The confidence is derived from the specific status of the value as reflected by the underlying DCS system Using a simple percentage of confi...

Page 54: ...ace for example a communications error is a No Data condition This has a data value of 0 Out of range and NaN values By definition an Out of Range data value is any value that exceeds the configured Range Hi or Range Low for the PHD tag With only one exception all out of range values are arbitrarily assigned a confidence of zero when inserted into PHD by collectors In addition Out of Range values ...

Page 55: ...ted value is derived from actual data prior to the specific request time it has a confidence factor of less than 100 The PHD OPC Server translates the PHD value confidence to OPC data quality For extrapolated values the OPC data quality is always Uncertain and the sub status is Non Specific For the definition of the mapping of PHD data confidence to OPC data quality refer to Interpreting data qual...

Page 56: ...5 Using the PHD OPC Server 5 4 PHD OPC Data Standards for Client Applications 56 Uniformance PHD OPC Server User Guide ...

Page 57: ...y 53 OPC standards and conventions 49 PHD OPC name forms 50 supporting data types 50 supporting enumerated data types 51 understanding confidence versus quality 54 using extrapolated values 55 using NaN values 54 using out of range values 54 data types for client applications 50 DCOM running DCOMCNFG 15 setting up when configuring 15 DCOMCNFG running 15 default installation configuration using 15 ...

Page 58: ...C standards and conventions for client applications 49 HRESULT 49 out of range values using 54 peer server configuring in PHD 40 typical system 40 PHD OPC name forms for client applications 50 PHD OPC Server about the User Guide 9 configuring using default installation 15 35 PHD security administering 43 user rights 44 using from PHD Server 44 PHD Server configuring multiple 40 naming conventions ...

Page 59: ...Index Uniformance PHD OPC Server User Guide 59 user rights change 44 using PHD OPC Server creating client applications 48 data standards 49 ...

Page 60: ...Honeywell Process Solutions 1860 W Rose Garden Ln Phoenix AZ 85027 2708 USA ...

Reviews: