AIM OPC Server Manual
AIM OPC Server Manual
I/A Series® System
AIM*AT™ Suite
AIM*OPC Server
User’s Guide
B0400DG
Rev C
August 30, 2012
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 1/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Invensys, Foxboro, AIM*API, AIM*AT, AIM*Historian, AIM-Supervisor, I/A Series. and the Invensys logo are
trademarks of Invensys plc, its subsidiaries, and affiliates.
All other brand names may be trademarks of their respective owners.
2. All softwarepermitted
specifically issued by to
Invensys Systems,
make, are Inc. in
protected and copies of the
accordance withsoftware
Federal that you are
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.
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 2/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Contents
Figures.................................................................................................................................... ix
Tables..................................................................................................................................... xi
Preface................................................................................................................................. xiii
Purpose .................................................................................................................................. xiii
Audience ................................................................................................................................ xiii
Revision Information ............................................................................................................. xiii
Reference Documents ............................................................................................................ xiv
Request For Comments .......................................................................................................... xiv
1. Overview ........................................................................................................................... 1
AIM*AT OPC Server ................................................................................................................ 1
The OPC Standard ................................................................................................................... 2
OPC Data Access ................................................................................................................. 2
OPC Historical Data Access ................................................................................................. 3
iii
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 3/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Contents
OPC Configuration
Toolbar Menu Bar ........................................................................................... 22
.............................................................................................................................. 21
Status Bar ........................................................................................................................... 22
Using the AIM*OPC Configurator to Configure the OPC Server .......................................... 22
Creating/Updating an OPC Server Configuration File with Tags and Item Aliases ................. 23
Delta Configuration Page ........................................................................................................ 23
Browsing for Tags .............................................................................................................. 25
Selecting/Deleting Tags ...................................................................................................... 27
Changing Delta Values of Selected Tags ............................................................................. 29
Changing Delta Values of Imported Tags ........................................................................... 31
Alias Configuration Page ......................................................................................................... 33
Browsing for Tags In Order To Assign Aliases .................................................................... 35
Selecting/Deleting Tags ...................................................................................................... 35
Creating An Alias ............................................................................................................... 35
Creating A New Alias ......................................................................................................... 36
Editing A Selected Alias ...................................................................................................... 38
Saving To the Configuration File ............................................................................................ 41
Exit Without Saving Changes to the Configuration File ..................................................... 41
Saving Information To A New Configuration File ............................................................. 42
Saving to the Default Configuration File ............................................................................ 43
iv
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 4/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Contents B0400DG – Rev C
Starting OPCBar
Menu Explorer ............................................................................................................ 87
...................................................................................................................... 88
Toolbar ......................................................................................................................... 90
Using OPC Explorer ............................................................................................................... 91
Viewing Available OPC Servers .......................................................................................... 91
Connecting to an OPC Server ............................................................................................ 92
Adding OPC Groups ......................................................................................................... 93
Adding OPC Items ............................................................................................................ 96
Item ID ......................................................................................................................... 97
v
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 5/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Contents
Appendix H. Bit Mapping I/A Series Status Codes to OPC Status Codes ......................... 119
vi
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 6/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Contents B0400DG – Rev C
vii
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 7/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Contents
viii
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 8/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Figures
1-1. Data Transfer Between OPC Clients and Data Servers via the OPC Server ................... 2
5-1. Services Dialog Box on a Windows XP Station ........................................................... 16
5-2. AIM*AT OPC Server Control Panel ........................................................................... 16
5-3. Reduced Control Panel ............................................................................................... 17
6-1. Initial OPC Configuration Display - Delta Configuration Page .................................. 20
6-2. Delta Configuration Page - Existing Configuration File .............................................. 24
6-3. Delta Configuration Page - Global and Historian Instances - Station Letterbugs ........ 26
6-4. Delta Configuration Page - Station Name and Compound:Block.Parameters ............. 27
6-5. Delta Configuration Page - Selected Tag Inserted in Change Delta Tags Window ...... 28
6-6. Delta Configuration Page - Delete Selected Tags ........................................................ 29
6-7. Delta Configuration Page - Set Delta Values Of Selected Tags Dialog ........................ 30
6-8. Delta Configuration Page - Imported Tags Inserted By OPC Server ........................... 33
6-9. Alias Configuration Page ............................................................................................. 34
6-10. Alias Configuration Page - Insert Alias Name .............................................................. 36
6-11. Configured Aliases List in Matrikon OPC Explorer Client .......................................... 38
6-12. Alias Configuration Page - Edit An Alias ..................................................................... 39
6-13. Alias Configuration Page - Edit Alias Dialog ............................................................... 40
6-14. Exiting Configurator Without Saving Changes Dialog ................................................ 42
6-15. Saving a New Configuration File ................................................................................ 43
6-16. Saving Changes to a Configuration File -- Confirmation Dialog ................................. 44
6-17. Saving Configuration File as a Default Configuration -- Confirmation Dialog ............ 45
6-18. General Server Parameters Page ................................................................................... 46
6-19. Advanced Server Parameters Page ................................................................................ 48
6-20. Options Dialog - General Page. ................................................................................... 50
6-21. Options Dialog - General Logging Page ...................................................................... 52
6-22. Options Dialog - Interface Logging Page ..................................................................... 53
6-23. Options Dialog - Advanced Page ................................................................................. 54
B-1. Navigating to DCOM Config from Component Services ........................................... 58
B-2. AIM*AT OPC Server Properties Dialog Box, General Page ........................................ 59
B-3. AIM*AT OPC Server Properties Dialog Box, Security Page ........................................ 60
B-4. DPC Server Security Settings - Launch, Access, and Configuration Permissions ......... 61
B-5. Configuring Permissions ............................................................................................. 62
B-6. AIM*AT OPC Server Properties Dialog Box, Identity Page ........................................ 63
C-1. OPC Server Shortcut Menu ........................................................................................ 67
C-2. Configuration Utility Window Features ...................................................................... 68
C-3. General Configuration Options .................................................................................. 71
C-4. Advanced Configuration Options ............................................................................... 73
C-5. Options Dialog Box .................................................................................................... 75
C-6. Insert New Alias Dialog Box ....................................................................................... 76
C-7. Edit Alias Dialog Box .................................................................................................. 78
C-8. Listing Aliases Configured for a Group ....................................................................... 79
C-9. Options Dialog Box .................................................................................................... 81
C-10. Options Dialog Box: General Logging Tab ................................................................. 83
C-11. Options Dialog Box: Interface Logging ....................................................................... 85
ix
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 9/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Figures
x
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 10/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Tables
6-1. AIM* OPC Configurator Menu Bar Options ............................................................. 21
6-2. Configuration Utility Toolbar Options ....................................................................... 22
C-1. Configuration Utility Menu Bar Options .................................................................... 69
C-2. Configuration Utility Toolbar Options ....................................................................... 70
C-3. Alias Scaling Options .................................................................................................. 77
D-1. Matrikon OPC Explorer Menu Bar Options ............................................................... 88
D-2. Matrikon OPC Explorer Toolbar Options .................................................................. 90
E-1. Supported Server Object Interfaces ........................................................................... 107
E-2. Supported Group Object Interfaces ........................................................................... 108
E-3. Supported Data Access Methods by Interface ............................................................ 108
E-4. Supported HDA Interfaces ........................................................................................ 111
E-5. Supported HDA Methods by Interface ..................................................................... 111
E-6. AIM*AT OPC Server Registry Entries ...................................................................... 114
F-1. Standard Quality Flags .............................................................................................. 115
F-2. HDA Quality Flags ................................................................................................... 116
G-1. Constant Numeric Values for VARIANT Data Types .............................................. 117
G-2. AIM*AT to VARIANT Data Type Mappings ........................................................... 117
H-1. I/A Series Status Bit Map .......................................................................................... 119
L-1. Alias Scaling Expressions ........................................................................................... 129
L-2. Alias Configuration CSV File Syntax ........................................................................ 131
xi
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 11/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Tables
xii
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 12/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Preface
Purpose
This document describes the operation, and configuration of the AIM*AT Suite AIM OPC
Server software.
Audience
This document is intended for use by process engineers, system administrators, and developers
who wish to run and configure AIM OPC Server application.
Revision Information
For this release
appendices wereofrenamed.
the document (B0400DG-C),
In addition, the document
the following has made:
changes were been restructured. Some
Global
Removed support for the Solaris operating system.
Updated OPC Data Access to Version 2.05a.
Chapter 1 “Overview”
Removed the AIM-Supervisor system from “AIM*AT OPC Server” on page 1.
Chapter 2 “System Requirements”
Added support for the Windows 7 and Windows Server 2008 operating systems.
xiii
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 13/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Preface
Reference Documents
In addition to the information presented herein, you should be familiar with the following
I/A Series documents:
AIM*AT Suite AIM API™ User’s Guide (B0193YN)
AIM*AT Suite AIM Installation Guide (B0193YM)
xiv
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 14/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
1. Overview
This chapter introduces AIM*OPC Server software and describes how the server enables OPC
clients to communicate with data servers to access real-time and historical data.
1
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 15/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C 1. Overview
OPC Client
Network
AIM*AT
OPC Server
OPC Data Access/
Historical Data Access
Interfaces
AIM*AT
AIM*API Library
Network
Data Servers
Figure 1-1. Data Transfer Between OPC Clients and Data Servers via the OPC Server
2
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 16/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
1. Overview B0400DG – Rev C
3
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 17/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C 1. Overview
4
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 18/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
2. System Requirements
This chapter lists AIM*AT OPC Server installation prerequisites.
The workstation on which you install the AIM*AT OPC Server must meet the following
requirements:
Pentium® class processor, recommend 500 MHz or higher
128 MB of RAM
25 MB of available disk space.
One of the following operating systems:
Windows Server® 2008 R2
Windows® 7
Windows Server 2003 R2
Windows XP (Service Pack 3)
5
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 19/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C 2. System Requirements
6
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 20/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Overview
The OPC Server Software V3.4 is a complete installation of the OPC Server software:
The AIM*OPC Server components can be installed on a Windows based workstation
or an I/A Series (Windows based) workstation.
The AIM*AT API Server can be installed on any I/A Series workstation.
The software install program detects the OPC server currently installed on the target station
allowing you to abort the installation should you need to un-installed an earlier version of the
OPC Server software. The installation of the OPC server also allows you to install an AIM*AT
API Server component to an I/A Series workstation, if one is required.
Configurators
The AIM*OPC Server is configured using one of two available configurators:
AIM OPC Configurator
Matrikon Configurator.
Regardless of which configurator is installed, the delta values for all the client tags are defaulted to
a value of .001.
NOTE
Only one configurator can be installed.
7
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 21/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C 3. AIM*AT OPC Server Installation
Matrikon Configurator
The Matrikon Configurator was distributed on earlier versions of the AIM OPC Server and is still
supported as the “legacy configurator”. The Matrikon configurator does not have the ability to
configure change delta values.
If an earlier version of the OPC server was installed with the Matrikon Configurator and the
OPC server parameters were saved to the Matrikon XML configuration file, this file can be re-
applied to the new OPC Server installation.
NOTE
The saved Matrikon configuration file works with either the Matrikon or the AIM
OPC Configurator.
AIM*OPC Server
The aim\opc directory contains:
File Description
AIMOPCSVR.exe AIM*OPC Server executable
AIMOPChelp.chm Help file
PSTCFGAIM.ocx Configuration utility ActiveX component
The version independent Program ID for the AIM*AT OPC Server is: AIM.OPC.
The version specific Program ID for this version of the server is: AIM.OPC.1.
Standard
In complianceOPC Server
with OPC Browser
Standards, the installation program installs and registers the official
OPC Server Browser (OPCEnum.exe). This file contains version information which protects the
browser from being overwritten by an older version of the file. The installation program also
ensures that the ActiveX Interface Marshalling Library (ACTXPRXY.DLL) is already installed on
the station so that the server browser functions properly.
The WINDOWS\system32 directory contains: OPCEnum.exe
The \aim\common directory contains: servutil.dll
8
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 22/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
3. AIM*AT OPC Server Installation B0400DG – Rev C
PSTcfgps.dll
The WINDOWS\SYSTEM32 directory contains:
ExprEval.dll
OPCEnum.exe
OEM_Matrikon_OPC.dll
PSTcfgps.dll
The WINDOWS\SYSTEM32 directory contains:
ExprEval.dll
OPCEnum.exe
OPCHDA_ps.dll
OPC_aeps.dll
opccomn_ps.dll
OPCEnum.exe.
9
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 23/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C 3. AIM*AT OPC Server Installation
NOTE
If the station that hosts the OPC Server is an I/A Series station (AW70), then the
computer name is the station letterbug name.
The AIM*AT ApiAdmin utility allows you to configure the authorization code, user name, and
security read/write privileges to the AIM server(s). Refer to the AIM*AT Installation Guide
(B0193YM) for information on installing and using the ApiAdmin utility. The guide also pro-
vides instructions and the forms for obtaining the authorization codes from Invensys.
Instructions for obtaining the authorization code and configuring the AIM server using the Api-
Admin utility are described in the following section.
a. Enter the required information and include the Server Host ID for the OPC
Server.
b. Indicate which license you want: OPCDAO for real-time or OPCHDA for both
real-time and historian data access.
c. FAX the request to the person and location indicated at the top of the form.
10
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 24/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
3. AIM*AT OPC Server Installation B0400DG – Rev C
Once you receive the authorization code(s), run the ApiAdmin utility to connect to
the appropriate AIM server station and configure the following information:
a. On the Authorization page, enter the authorization code for the appropriate
OPCDAO or OPCHDA Package Name.
b. On the User Names page, enter the name of the station hosting the OPC Server.
This is the station name as it appears on the network; it is not the user logon
name. If the station is an I/A Series AW station, then the user name is the station
letterbug.
c. On the Packages page, expand the appropriate user name and mark the check box
for the OPC package code that applies (OPCDAO or OPCHDA).
d. On the Security page, expand on the appropriate user name and check the security
options that are to be granted to the OPC clients via the AIM*AT OPC Server
application that resides on the (user name) station.
e. On the Read List page, optionally restrict the user name (the OPC clients) to a
specific list of database object names and shared variables that the OPC clients are
allowed to read.
f. On the Write List page, optionally restrict the user name (the OPC clients) to a
specific list of database object names and shared variables to which the OPC cli-
ents are allowed to write.
11
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 25/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C 3. AIM*AT OPC Server Installation
12
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 26/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
NOTE
Do not install the ApiAdmin utility to the local station if AIM server configuration
is done exclusively by a system administrator from another station. Only one Api-
Admin utility is needed to configure all the AIM servers on the same network.
13
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 27/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C 4. AIM*AT API Server Component Installation
14
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 28/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
15
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 29/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C 5. OPC Server Startup and Shutdown
When you install the OPC Server as an executable program, the OPC Server Control Panel is
accessible if the Matrikon Configurator is installed. The OPC server control panel (Figure 5-2)
presents: server status, current time, and number of clients using the server.
The three menu items displayed along the bottom of the panel are:
Configure which starts the server configuration utility.
Shutdown which closes the control panel and shuts down the OPC server.
About which opens a dialog box that shows the software version number and licensing
information.
The help button [?] in the title bar displays a description of the AIM*AT OPC Server software.
16
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 30/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
5. OPC Server Startup and Shutdown B0400DG – Rev C
NOTE
A warning appears if clients are currently connected to the OPC Server.
17
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 31/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C 5. OPC Server Startup and Shutdown
3. Select Action menu > Stop to select the AIM AT OPC Server in the Services dialog
box.
18
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 32/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
6. AIM*OPC Configurator
This chapter describes the features of the OPC Server Configurator as well as how to use the
configurator.
The AIM*OPC Configurator is an interactive utility that allows you to configure the OPC Server
to perform communication services; these services are required by its client applications and are
related to the selected and imported tags needed by its clients in the configuration file.
The configurator has the following features:
Configuration can be performed whether or not the OPC Server is running.
All configuration changes are automatically applied to the OPC Server upon save of
the configuration file. Therefore, there is no need to re-start the OPC Server to apply
configuration changes.
The browser, accessible from the Delta Configuration page, allows you to browse for
database tags among I/A Series stations and AIM*Historian instances.
Delta values of individual and selected groups of client tags are configurable.
All OPC Server parameters, such as server time-out values and API scan rates, are
configurable.
Alias names can be configured in place of the regular OPC database tag names.
19
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 33/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C 6. AIM*OPC Configurator
I/A Servers
If the AIM*ApiAdmin utility has the broadcast feature enabled (check box is not checked), then
the AIM*OPC Configurator attempts to connect to all AIM*API Servers that are available on the
network. If the AIM*ApiAdmin broadcast feature is disabled (check box is checked), then the
20
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 34/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
6. AIM*OPC Configurator B0400DG – Rev C
AIM*OPC Configurator attempts to connect to only the API servers that have been configured
by AIM*ApiAdmin to the client initialization file (an_init.cfg). It is important to note that the
AIM*OPC Configurator can connect to an AIM*API Server and browse only if that server has
been authorized for the AIM*OPC Server. Refer to “AIM*AT OPC Server Licensing” on page 9.
21
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 35/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C 6. AIM*OPC Configurator
Toolbar
The configuration toolbar provides easy access to configuration utility functions (Table 6-2).
Button Function
Opens a new configuration file having the default server configuration settings.
Status Bar
The status bar at the bottom of the window, when visible, indicates Ready.
22
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 36/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
6. AIM*OPC Configurator B0400DG – Rev C
3. After setting the OPC server and configurator options, perform either of the following
tasks:
Save these settings to the file as described in “Saving To the Configuration File” on
page 41 and end the configuration session.
Configure the tags as discussed in “Creating/Updating an OPC Server Configura-
tion File with Tags and Item Aliases” on page 23 and then save both the OPC
server settings and tag information to the configuration file.
23
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 37/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C 6. AIM*OPC Configurator
NOTE
Configuring a larger delta value reduces the volume of data that is transferred over
the network, therefore, enhancing the performance of the OPC Server. This action
reduces the load on Control Processor (CP) modules in an I/A Series system.
24
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 38/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
6. AIM*OPC Configurator B0400DG – Rev C
configuration file. The associated tag information consists of: Tag Name, Data Type,
Delta, High Scale and Low Scale.
When there is no configuration file, the AIM OPC Server Configurator display indicates Unti-
tled* in the display title. No tags appear in the Change Delta Tags window. When a configuration
file exists, the OPC Server Configurator display indicates the name of the configuration file and
the Changed Delta Tags window is populated with tags from the configuration file; however, if no
tags have been saved to the existing configuration file, no tags appear.
NOTE
The Load configuration on startup check box must be marked in the Options
dialog (see “Options for Server Configuration” on page 49) for the existing configura-
tion file to appear.
Check Boxes
Import Client Tags On startup the OPC server imports client tags into the configuration win-
dow. Client tags displayed in the Changed Delta Tag window appear with
an asterisk (*) to distinguish them from non-client tags. Client tags are
those tags designated by an application, such as the Matrikon OPC
Explorer Client, to be collected by the OPC server. (Figure 6-8 shows
Imported tags listed in the Change Delta Tags window.)
Buttons
25
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 39/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C 6. AIM*OPC Configurator
1. In the Browse window, highlight the desired host station and click on the + button to
view:
a. Global folder to access all the station letterbugs associated with the selected
I/A server as shown in Figure 6-3.
b. AIM*Historian instance folder to access compound:block.parameters.
NOTE
Historian instances are used to search for tag names that are known to exist in an
historian instance; they are not used to establish an OPC Server connection to the
historian.
I/A Server
List of Stations
Station Letterbugs
Historian Instance
Figure 6-3. Delta Configuration Page - Global and Historian Instances - Station Letterbugs
2. Continue to highlight the desired item and click on the associated + button to access
the list of associated tags (compound:block.parameters). Select items as follows:
a. I/A Server > Global > Station Letterbug > Compound > Block > Individual Block
Parameters OR
b. Host Station > Historian Instance > Individual Tag(s)
NOTE
When an Historian instance is selected, you can select the Tag folder (representing
the entire list of tags) to populate the Tags Selection window with all of the tags.
Alternately, you can click the Tag folder and expand the tree (click +) to access the
list of tags and select individual tags.
26
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 40/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
6. AIM*OPC Configurator B0400DG – Rev C
Station Letterbug
Compound
Block
Parameters
Selecting/Deleting Tags
The Tags Selection window must contain the desired tags (Compound:Block.Parameters) in order
for you to select and transfer the tags to the Changed Delta Tags window for inclusion in the con-
figuration file.
To select tags in the Tag Selection window,
27
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 41/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C 6. AIM*OPC Configurator
Figure 6-5. Delta Configuration Page - Selected Tag Inserted in Change Delta Tags Window
28
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 42/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
6. AIM*OPC Configurator B0400DG – Rev C
Context Menu
Button
29
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 43/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C 6. AIM*OPC Configurator
Figure 6-7. Delta Configuration Page - Set Delta Values Of Selected Tags Dialog
3. The Set Delta Values of Selected Tags dialog (see Figure 6-7) appears with the selected
tags in the dialog box. Notice that the dialog displays the Delta, High Scale and Low
Scale parameter values for the Tag name.
If the Get Tag Info. from I/A Server box is checked (default), the values
for the Delta, High Scale and Low Scale parameters are the actual values con-
figured in the I/A Server for the block parameters. The purpose of getting the
tag information
setting the delta from
value.the I/A Server is to provide the user with a guideline for
If the Get Tag Info. from I/A Server check box is not marked, the fol-
lowing default values appear: Delta 0.001, High Scale 100.00, and Low Scale
0.00.
30
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 44/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
6. AIM*OPC Configurator B0400DG – Rev C
NOTE
If you select a large number of tags located on a remote server and the check box for
Get Tag Info. from I/A Server is checked, it may take considerable time for the
AIM Configurator to retrieve the Delta, High and Low Scale I/A database values for
each tag. The estimated time is about four seconds for each tag located on a remote
server. During this time, the AIM Configurator appears to be disabled; however, the
OPC server operation is not affected.
4. Use one of two methods to change the delta field for the tag entries:
To change the delta value for one tag,
a.Click the Delta field of the selected tag once.
b.Click the Delta field again and enter the desired delta value.
To change all the tag entries to the same delta value,
a.Enter a value in the field to the left of the Set Group Delta button.
b.Click Set Group Delta.
Range checking is done on any new value if access has been made to the I/A
Server.
5. Click OK to set the new delta values.
NOTE
When the configuration file is saved, the tags in the Changed Delta Tags window
are saved to the configuration file.
1. On the Delta Configuration page, check the box labeled Import Client Tags [*] and
then exit the configurator.
2. Select View > Options on the AIM OPC configurator main menu bar to display the
Options dialog box.
3. On the General page, check the box labeled Load Configuration on Startup.
4. Select File > Exit to exit the configurator.
5. Restart the OPC Server.
31
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 45/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C 6. AIM*OPC Configurator
6. Start the AIM OPC configurator. The client tag names that were not previously con-
figured and saved to the configuration file now appear with an asterisk [*] in the
Change Delta Tags window.
To change the delta values of imported tags,
1. Select the desired tags in the Changed Delta Tags window.
2. Access the Set Delta Values of Selected Tags dialog using one of two methods.
Click Set Deltas of Imported Tags.
Right mouse button click within the Change Delta Tags window to activate the
context menu and click Set Deltas of Imported Tags.
3. The delta values for these new [*] client tags can now be changed as described in
“Changing Delta Values of Selected Tags” on page 29, Step 4.
NOTE
When the configuration file is saved, the imported tags in the Changed Delta Tags
window are saved to the configuration file. The next time the configurator is
started, these tags will not appear with an asterisk [*].
32
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 46/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
6. AIM*OPC Configurator B0400DG – Rev C
Imported Tags
Figure 6-8. Delta Configuration Page - Imported Tags Inserted By OPC Server
NOTE
Only one tag can be selected at a time for alias configuration.
33
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 47/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C 6. AIM*OPC Configurator
Tags Selection window showing a list of all the parameters of the selected block in the
Browse Database Tags window.
Changed Alias Settings window showing the definition of aliased tags. The associated
alias information consists of: Name (Alias), Item Path, Data Type, R/W, Update Rate,
Poll Always.
Buttons
Insert New Alias Provides access to the Insert New Alias dialog to create a new alias without
having to select a tag.
34
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 48/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
6. AIM*OPC Configurator B0400DG – Rev C
Clear All All the tags in the Changed Alias Settings window are cleared from the
screen.
Selecting/Deleting Tags
To select tags,
1. Mark the check box in front of each desired tag in the Tags Selection window.
2. Click Insert to transfer the selected tags to the Changed Alias Settings window.
Duplicate tags do not appear in the Changed Alias Settings window. See Figure 6-5.
To delete tags in the Changed Alias Settings window,
1. Select the tag(s) to be deleted. Use Ctrl or Shift key to select multiple tags.
2. Use one of two methods:
Click Delete Selected Alias.
Right mouse button click within the Change Delta Tags window to activate the
context menu and click Delete Selected Alias.
To erase all the tags in the Changed Alias Settings window,
Click Clear All.
Creating An Alias
To create an alias for an existing tag,
1. After browsing for the tag, mark the check box in front of the tag name listed in the
Tags Selection window.
2. Click Insert, located under the Tags Selection window.
3. When the Insert New Alias dialog appears, enter the desired alias settings:
a. Alias name - user-defined
b. Item Path is already pre-filled with the location of selected tag.
c. Data type is pre-filled (Default).
d. Update rate - Optionally, mark the check boxes:
-- Read Only
e. -- Poll when inactive
35
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 49/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C 6. AIM*OPC Configurator
4. Click OK.
The alias name is checked for uniqueness and the other inputs are validated. If all
inputs are valid, the new alias is inserted into the Changed Alias Settings window.
NOTE
When the configuration file is saved, the tags in the Changed Alias Settings window
are saved to the configuration file.
36
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 50/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
6. AIM*OPC Configurator B0400DG – Rev C
NOTE
Defined aliases appear under the Configured Aliases branch in an OPC client. See
Figure 6-11.
1. Access the Insert New Alias dialog using one of two methods.
Click Insert New Alias (without selecting a tag).
Right mouse button click within the Changed Alias Settings window to activate
the context menu and click Insert New Alias.
2. When the Insert New Alias dialog appears, enter the desired alias settings:
a. Alias name
b. Item path
c. Data type (if not Default)
d. Update rate
e. Optionally, mark the check boxes:
-- Poll
-- Readwhen
Only inactive
3. Click OK.
4. The alias name is checked for uniqueness and the other inputs are validated. If all
inputs are valid, the new alias is inserted into the Changed Alias Settings window.
NOTE
When the configuration file is saved, the tags in the Changed Alias Settings window
are saved to the configuration file.
37
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 51/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C 6. AIM*OPC Configurator
Configured Aliases
38
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 52/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
6. AIM*OPC Configurator B0400DG – Rev C
4. When the Edit Alias dialog appears, enter the desired alias settings:
a. Alias name
b. Item path
39
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 53/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C 6. AIM*OPC Configurator
5. Click OK.
6. The alias name is checked for uniqueness and the other inputs are validated. If all
inputs are valid, the new alias is inserted into the Changed Alias Settings window.
NOTE
When the configuration file is saved, the tags in the Changed Alias Settings window
are saved to the configuration file.
40
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 54/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
6. AIM*OPC Configurator B0400DG – Rev C
NOTE
If changes to the configuration file have not been saved and Exit under the File
menu is selected, an AimOpcConfig dialog (Figure 6-14) appears warning the user
that changes have been made that have not been saved.
41
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 55/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C 6. AIM*OPC Configurator
42
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 56/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
6. AIM*OPC Configurator B0400DG – Rev C
3. Click Save.
43
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 57/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C 6. AIM*OPC Configurator
44
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 58/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
6. AIM*OPC Configurator B0400DG – Rev C
NOTE
Changes to the General Server Parameter Settings take effect immediately. Changes
to Advanced Server Parameters require that a server be restarted before the changes
take effect.
45
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 59/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C 6. AIM*OPC Configurator
Click Defaults.
To apply the inputs on the screen to the OPC Server during runtime:
Click Apply. If the OPC Server is running, the parameter values are immediately
transmitted to the Server.
46
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 60/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
6. AIM*OPC Configurator B0400DG – Rev C
47
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 61/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C 6. AIM*OPC Configurator
NOTE
Clicking the Apply button does not save the file to disk. If the user does not per-
form Save before exiting the OPC Configurator, all changed values are lost when
the OPC Server is restarted.
48
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 62/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
6. AIM*OPC Configurator B0400DG – Rev C
AIM*Servers
Specifies a list of data servers separated by commas, to which you can
connect. If left blank, the OPC server auto-detects data servers and then
opens connections to all detected servers. By default, this field is blank.
49
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 63/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C 6. AIM*OPC Configurator
Server Options
To configure the optional settings:
1. Select View > Options to access the Options dialog box.
2. In the dialog, click the desired tab and configure the desired options:
a. General. See “General Option Settings” on page 50
General
Option Settings
50
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 64/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
6. AIM*OPC Configurator B0400DG – Rev C
configuration file is called deltaconfig.xml, and 3 backup copies are allowed, then the following
files could appear in the same directory of the configuration file:
Backup (1) of deltaconfig.xml
Backup (2) of deltaconfig.xml
Backup (3) of deltaconfig.xml
Backup (3) of deltaconfig.xml is the oldest file. In this scenario, if a Save is executed, the following
events occur:
1. Backup(2) is saved to Backup(3)
2. Backup(1) is saved to Backup(2)
3. Current configuration before change is saved to Backup(1)
4. New configuration is saved to deltaconfig.xml
As another example, if the user changes the value from 0 to 3 and does a Save, then only the file
Backup(1) is produced. Subsequent Saves produce more backup files.
51
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 65/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C 6. AIM*OPC Configurator
52
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 66/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
6. AIM*OPC Configurator B0400DG – Rev C
53
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 67/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C 6. AIM*OPC Configurator
Time Granularity
Time Granularity is used to calculate the requested buffer time (in milliseconds), which tells the
server how often to send event notifications.
54
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 68/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
55
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 69/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix A. OPC Item Syntax
56
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 70/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
NOTE
These affect all DCOM communications on the local station.
1. For a Windows 7/Server 2008 workstation, open the Component Services window by
navigating to:
Control Panel > Administrative Tools > Component Services.
2. Expand and navigate to Component Services > Computers > My Computer in the
left-hand pane of the Component Services window.
3. Right-click on My Computer and select Properties from the context menu to dis-
play the My Computer Properties dialog box.
4. Go to the Default Properties page and set the following settings for Default Proper-
ties:
Enable Distributed COM on this computer – checked
Default Authentication Level – Connect
Default Impersonation Level – Identify
5. Click Ok to apply the settings and exit the dialog.
In general, the other settings do not need to be changed.
The Authentication Level specifies when COM should authenticate the identity of calling clients
(for example, each call, each packet). Normally, it should be set to Connect, indicating that COM
should authenticate clients when they first connect to a server. If this level is set to None, then
COM performs no authentication and ignores any access permission settings.
The Impersonation Level specifies whether servers can ascertain the identity of calling clients and
whether they can then perform operations on the client’s behalf (as if the server is the client). Nor-
57
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 71/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix B. DCOM Configuration
mally, the Impersonation Level should be set to Identify.With this Impersonation Level, the server
identifies the client and determines if the client is allowed access to a certain resource, but does
not actually access any of these resources as the client.
3. Select the AIM*AT OPC Server name from the list of DCOM applications, and
right-click on it to open the Properties dialog box.
58
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 72/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Appendix B. DCOM Configuration B0400DG – Rev C
4. When the Properties dialog box appears (shown in Figure B-2), click the General tab
and set the Authentication Level to None, as shown below.
Figure B-2. AIM*AT OPC Server Properties Dialog Box, General Page
59
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 73/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix B. DCOM Configuration
5. Next, click the Security tab and set the three properties -- Access, Launch, and Con-
figuration Permissions -- as required.
Figure B-3. AIM*AT OPC Server Properties Dialog Box, Security Page
You have a choice of using the default for all COM servers or creating a custom set of permissions.
When you select the custom option, the adjacent Edit button becomes active. The button opens a
dialog box for entering a list of users that have specific permissions. The three security properties
are described as follows:
Launch Permissions control list are users who are allowed to start up a server
process or service.
Include the names of users or user groups from trusted domains that you are
allowing to use the OPC server on this machine.
Include the Everyone group to allow access to all users on a particular domain.
Access Permissions are those principals that are allowed to interact with objects
supplied by a server.
Configuration Permissions include users permitted to modify the server config-
uration, that is, allowed to alter the Windows Registry entries for the server and access
the Registry to install new servers. It is usually simpler to install and configure servers
as a user with local administrative rights.
To confirm that all clients can communicate with the OPC Server, it is strongly recommended
that initially all AIM*AT OPC Server security permissions are set to allow access to everyone.
60
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 74/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Appendix B. DCOM Configuration B0400DG – Rev C
Once communications are confirmed, then security permissions can be set as desired. See “Cus-
tomizing Permissions” on page 61 to add “everyone” as a user for each of the three security prop-
erties.
Customizing Permissions
For each property, you must add “everyone” to the users and groups list to confirm communica-
Figure B-4. DPC Server Security Settings - Launch, Access, and Configuration Permissions
61
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 75/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix B. DCOM Configuration
3. In the Select
cursor shouldUsers
be inor Groups
that dialog
edit box box, See
already. typeFigure
“ everyone ” in the
B-5. Click large
OK at editdialog
each box. The
to
return back to the Security properties dialog.
4. Repeat these steps for each of the three properties (access permissions, default launch
permissions, and default configuration permissions).
After “everyone” has been added, click the OK button and make sure the property settings are as
follows:
Settings:
1. Access Permissions – Everyone – Allow Access
2. Default Launch Permissions – Everyone – Allow Launch
3. Default Configuration Permissions – Everyone – Full Control
62
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 76/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Appendix B. DCOM Configuration B0400DG – Rev C
Figure B-6. AIM*AT OPC Server Properties Dialog Box, Identity Page
The available settings for a server that runs as a local executable differ from those available for a
server that runs as a Windows Service.
It is strongly recommended that the AIM*AT OPC Server be installed to run as a Windows Ser-
vice if it is going to be accessed by remote clients via DCOM. Install the server as a service to:
Ensure that the server can always be accessed even if no one is presently logged onto
the machine
Ensure that only one server process starts up
Add a greater degree of security.
OPC Servers that run as local executables have the option of running as the launching user (the
calling client; this is the default), the interactive user (the one currently logged onto the machine),
or a specified user (this user). It is usually best to use the interactive user. Otherwise, remote cli-
ents might start up multiple separate server processes that are not accessible to others. Alterna-
tively, the server can be set to run as a specified user.
When the server runs as a Windows Service, it should generally run under the local system
account.
63
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 77/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix B. DCOM Configuration
NOTE
If the OPC server has been installed as a service, the Interactive User selection
is disabled. The This user and The system account selections are enabled, and
one of them will be selected already. If this is the case, leave the setting as is.
64
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 78/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Appendix B. DCOM Configuration B0400DG – Rev C
NOTE
The following method may not work for every OPC client. Please check the user
documentation supplied with the client application for more information.
The simplest way to ensure backward compatibility with older client applications is to install the
OPC Server software on the client machine even if it is not used. Alternatively, use the following
steps to copy a program ID to the client machine:
1. On the server machine, run REGEDIT as a user that has access rights to the local
Registry.
2. Expand the HKEY_CLASSES_ROOT key.
AIM.OPC
3. Select , the program ID for the AIM*AT OPC Server.
4. Right click on AIM.OPC and select Export from the context menu. The Export Regis-
try File dialog box opens.
5. Enter a file name and click Save.
The dialog box supplies the extension .REG.
6. Copy the exported file to the client machine.
7. Merge the .REG file into the Registry of the client machine by doing one of the
following:
Double-click on the file from the desktop of the client machine
Run
fromREGEDIT
the Registryon the client machine and choose Import Registry File
menu.
8. Use REGEDIT to verify that the program ID has been copied.
9. Delete the .REG files as they are no longer needed.
65
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 79/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix B. DCOM Configuration
66
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 80/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
3. Choose Configure.
The configuration utility window appears as shown in Figure C-2.
To run the configuration utility when the server operates as a Windows Service:
1. Open a DOS Prompt window.
2. Enter the following command at the command line:
PSTCFG.EXE PSTCFGAIM.OPC.1 AIM.OPC
The configuration utility window appears as shown in Figure C-2.
67
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 81/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix C. Using the Matrikon Configurator
Menu
Bar
Toolbar
Tree View of
Configured
Objects
Option
Setting
Fields
Server
Statistics
Panel
Status
Bar
Figure C-2. Configuration Utility Window Features
68
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 82/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Appendix C. Using the Matrikon Configurator B0400DG – Rev C
Menu Bar
The configuration utility window menu bar provides easy access to configuration utility functions
(Table C-1).
69
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 83/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix C. Using the Matrikon Configurator
Toolbar
The configuration utility toolbar provides easy access to nine configuration utility functions
(Table C-2).
Table C-2. Configuration Utility Toolbar Options
Button Function
Saves the currently loaded server configuration file to disk using the specified
file name and path.
Statistics
A pane immediately below the tree view provides current statistics on operation of the server.
See “Viewing Server Statistics” on page 80.
Status Bar
The status bar at the bottom of the window presents the number of OPC clients currently
connected to the OPC server and the server’s current time.
70
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 84/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Appendix C. Using the Matrikon Configurator B0400DG – Rev C
71
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 85/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix C. Using the Matrikon Configurator
72
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 86/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Appendix C. Using the Matrikon Configurator B0400DG – Rev C
73
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 87/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix C. Using the Matrikon Configurator
points at the data server level are scanned at only two possible rates, a fast
scan rate and a slow scan rate.
AIM*Servers
Specifies a list of data servers separated by commas, to which you can
connect. If left blank, the OPC server auto-detects data servers and then
opens connections to all detected servers. By default, this field is blank.
NOTE
Changes to properties in the General tab take effect immediately. Properties in the
Advanced tab requires that a server be restarted before it will take effect.
If you made changes to the configuration using options on the Advanced tab, you must stop and
restart the server for those changes to take effect. Changes made with the options on the General
tab are implemented when you click Apply.
To implement advanced configuration changes:
1. Choose File > Save to save the server configuration setting to a file.
2. Choose View > Options to open the Options dialog box (Figure C-5).
74
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 88/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Appendix C. Using the Matrikon Configurator B0400DG – Rev C
75
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 89/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix C. Using the Matrikon Configurator
5. Enter the alias in the Name field and specify the item ID in the Item Path field.
Click the browse button [ ...] to view available item IDs on the server.
6. Use any of the following options as required for the application:
a. Specify a canonical data type for the alias from the Data Type pull-down list.
The OPC item value is changed to this data type prior to being sent to the client.
b. Mark the Read only check box to prevent client applications from writing to the
OPC item.
c. Enter a value in seconds in the Update Rate field, and mark the Poll when
inactive check box to ensure that data for the OPC item is always received at a
particular rate even if it is not being read by a client.
d. Click Scaling to apply standard scaling formulas to the alias.
See “Applying Scaling Formulas to an Alias” on page 77 for a complete discussion.
7. Click Save to save the alias, or click Save Create New to save the configuration
and create another alias.
76
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 90/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Appendix C. Using the Matrikon Configurator B0400DG – Rev C
Mark the Default to new check box to make Save & Create New (rather than
Save) the default control when you press the Enter key.
Option Formula
Linear Algorithm Scaled Hi gh –
x – Ra w Lo w ------------------------------
Scaled Lo w
---
------------------------------ + Scaled Lo w
Ra w Hi gh –
Ra w Lo w
Gain/Offset Algorithm
G ai n x + O ff se t
77
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 91/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix C. Using the Matrikon Configurator
2. Click the tab corresponding to the desired type of scaling and enter the parameter
values as required.
For Linear and Square Root scaling:
a. Enter the high and low range for the expected raw values and their corresponding
high and low scaled values.
b. Optionally, select the corresponding check boxes to clamp the value to its high or
See Appendix
syntax. L “Alias Configuration” for further information about expression
3. Click No Scaling to hide the scaling portion of the window.
When the scaling information is not visible, no scaling is applied to the alias.
4. Click Save to save the alias, or click Save Create New to configure another alias.
78
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 92/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Appendix C. Using the Matrikon Configurator B0400DG – Rev C
Configuring
The menu selectionDCOM Settings
Tools > DCOM launches a standard Microsoft utility for editing DCOM set-
tings, as described in Appendix B “DCOM Configuration”.
79
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 93/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix C. Using the Matrikon Configurator
for the selected object. Different objects display different statistics as appropriate.
The possible communication statistics displayed for an object are:
Timed Out The number of time-out periods that have elapsed waiting for a response.
Click Reset .Statistics at the bottom of the panel or choose View > Reset
Statistics
The statistics for the selected object are set to 0. The displayed statistics are updated
roughly once every second.
80
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 94/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Appendix C. Using the Matrikon Configurator B0400DG – Rev C
2. Click the General tab and configure the general option settings as required.
The general options are described in the next section.
3. Click the General Logging tab and configure the logging option settings as
required.
The general logging options are described in “General Logging Settings” on page 83.
4. Click the Interface Logging tab and configure the logging option settings as
required.
The interface logging options are described in “Interface Logging Settings” on
page 85.
5. Click the Advanced tab and configure the advanced option settings as required.
The advanced options are described in “Advanced Option Settings” on page 86.
6. Click Defaults to restore the original settings for the server.
7. Click OK to save your configuration changes.
8. Restart the server to implement the new configuration.
81
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 95/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix C. Using the Matrikon Configurator
82
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 96/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Appendix C. Using the Matrikon Configurator B0400DG – Rev C
General activity logging records information about the internal workings of the OPC server. It is
useful for troubleshooting problems with configuration and device communication.
Mark this
menu checkgeneral
to enable box andactivity
chooselogging.
the desired log level
Available logfrom
levelsthe pull-down
include High,
Medium, Low, and None.
NOTE
The higher the log level, the more information is recorded. However, server perfor-
mance may decrease at higher log levels. The recommended operating level is Low.
83
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 97/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix C. Using the Matrikon Configurator
Filename Enter a general activity log filename in the edit box or click the browse
button [...] to browse for a file. The default log file is
PSTCFGAIM.OPC.1.LOG in the AIM\OPC\ directory.
Filter String Enter a string on which to filter log data. Only data containing the speci-
fied string is written to the specified filtered log.
Filename Enter a filtered general activity log filename in the edit box or click the
browse button [...] to browse for a file.
84
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 98/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Appendix C. Using the Matrikon Configurator B0400DG – Rev C
Enable logging Check this check box to enable interface activity logging and choose the
desired log level: High, Medium, Low, or None.
85
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 99/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix C. Using the Matrikon Configurator
are impossible
is 100 msec. to achieve or that cause heavy CPU loads. The default value
Time granularity Specify the time granularity in ms for OPC group update rates.
86
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 100/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
87
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 101/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix D. Using the Matrikon OPC Explorer Client
The window consists of a pull-down menu to select a server, a tree view of groups for the selected
server on the left, and a detailed listing of items in the selected group on the right. You can also
display an Information panel in the lower portion of the screen.
Menu Bar
The window menu bar provides easy access to the functions listed in Table D-2.
file.
[previous sessions] Lists file names of the most recently saved session. Click on
the file name to re-open the session.
Exit Exits the Matrikon OPC Explorer window. Prompts you
to save current sessions that have unsaved changes.
Server Connect/Disconnect Connects or disconnects the selected OPC server. Discon-
nect opens a dialog box that prompts you to save the cur-
rent session.
Perform! Opens the Matrikon OPC Explorer Perform window.
Add Group Opens the Add Group dialog box for setting up a new
group on the selected server.
Properties Displays a dialog box containing information on current
server status, supported interfaces, and Registry settings.
Group Deactivate/Activate Toggles the group status from active to inactive.
Use Async I/O Switches the data retrieval method for the group between
synchronous and asynchronous.
Add Items Starts Tag Studio to add items to the selected group.
Delete Deletes the select group after you confirm the action by
clicking Yes in a dialog box.
Properties Opens the Properties dialog box for configuring group
options.
Item Writes Values Opens a Write values dialog box for writing values to the
selected OPC server.
Deactivate Deactivates the selected items.
Delete Deletes the selected items.
Properties Opens the Properties dialog box for the selected item.
88
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 102/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Appendix D. Using the Matrikon OPC Explorer Client B0400DG – Rev C
89
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 103/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix D. Using the Matrikon OPC Explorer Client
Toolbar
The toolbar provides easy access to the functions listed in Table D-2.
Button Function
Opens the Add Group dialog box for setting up a new group on the selected server.
Deletes the select group after you confirm the action by clicking Yes in a dialog box.
Deactivates the selected group after you select Yes in a confirm action dialog box.
Opens a Writes values dialog box for writing values to the selected OPC server.
90
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 104/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Appendix D. Using the Matrikon OPC Explorer Client B0400DG – Rev C
Pull-down list
to view available
OPC Servers
Every OPC Server has a unique program ID, a human-readable text string that is converted to a
globally unique identification number that COM uses to identify the server. Each server may have
a version-specific program ID (with a number appended to the end of the string), a
91
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 105/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix D. Using the Matrikon OPC Explorer Client
version-independent program ID (no number), or both. AIM*AT OPC Server applications have
both types, but only version-independent program IDs are included in the list.
If an error occurs during the communication session between OPC Explorer and an OPC Server,
a message box appears explaining the error.
To troubleshoot the error:
1. Click Details in the message dialog box to get a more descriptive explanation of the
error.
2. Choose View > Error Log to display a log of past errors.
3. Right-click on the window.
4. Choose Clear Log to clear the log.
92
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 106/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Appendix D. Using the Matrikon OPC Explorer Client B0400DG – Rev C
If the edit box is left blank, the OPC server assigns a unique name for the group.
3. Change the other settings as desired, and click OK to create the group.
Matrikon OPC Explorer adds Group to the menu bar, if it is not already displayed.
To change the group settings at a later time:
1. Choose Group > Properties to open the Group Properties dialog box
(Figure D-3).
93
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 107/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix D. Using the Matrikon OPC Explorer Client
94
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 108/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Appendix D. Using the Matrikon OPC Explorer Client B0400DG – Rev C
95
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 109/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix D. Using the Matrikon OPC Explorer Client
2. Enter an Item ID in the edit box, and click the right arrow.
The item appears in the list box on the right side of the window.
3. Double-click on an item to edit its settings.
The appearance of the arrow changes.
4. Choose File > Update and Return to Explorer to add the created items to the
OPC group and return to the Matrikon OPC Explorer main window.
In addition to an item ID, you can also specify an access path, a requested data type, and an active
state for each OPC item you add, as described in the following sections.
96
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 110/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Appendix D. Using the Matrikon OPC Explorer Client B0400DG – Rev C
Item ID
All OPC items must be identified by an item ID, a server specific string of characters that
uniquely identifies a source of data to OPC server. You can add the same item ID to multiple
groups.
1. Enter the item ID in the Item ID edit box.
2. Click the button next to this edit box to bring up the Tag Generator, a utility for
creating large numbers of tags that follow a known pattern.
The item ID format for AIM*AT OPC items is “ServerName\TagName\[Instance].”
Some examples of valid item IDs are:
01AW01\BOILER_1:FIC101.RO01\hist01
02AW01\COLUMN_A:FT100.PNT\
03AW01\COMP:BLOCK.PARAM.
Refer to Appendix A “OPC Item Syntax” for additional information about the syntax for
item IDs.
Access Path
Some OPC Servers allow clients to specify an access path in addition to an item ID, which sug-
gests to the server how it should access the data for a particular item. For example, it might specify
the method of communication to use for accessing the data (that is, radio, satellite, or modem).
Servers are under no obligation to use the access path, although they return errors if the access
path is invalid. The AIM*AT OPC Server software does not support access paths. Leave the access
path field blank.
97
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 111/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix D. Using the Matrikon OPC Explorer Client
Items can be filtered by data type and access rights. Choosing a type other than Empty/Default
causes the browser to display only those items with the same canonical data type as that selected.
Access rights are non exclusive. For example, selecting write access and deselecting read access dis-
plays only items that can be written to, regardless of their read accessibility. Selecting both should
filter nothing out.
1. Double-click on an item.
Tag Studio places the fully qualified item ID for that item in the edit box.
2. Right-click on the item.
3. Choose Add to Tag List to add the item using the previous item’s settings.
4. Choose Add All Items to Tag List to add every item under the branch.
Active State
Like groups, OPC items can be active or inactive. See “Reading Real-Time Values” on page 98 for
more information about this setting.
98
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 112/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Appendix D. Using the Matrikon OPC Explorer Client B0400DG – Rev C
Data Display
Although the OPC server supplies data changes to Matrikon OPC Explorer at the update rate of
the group, a global setting specifies the refresh rate for the display in OPC Explorer (Figure D-6).
To set the refresh rate:
1. Choose View > Update Speed.
2. Select one of the four available options:
High
Normal
Low
Paused.
If the update speed is Paused, you can refresh the display by pressing the F5 on the
keyboard.
99
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 113/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix D. Using the Matrikon OPC Explorer Client
Time stamp Indicates the time that it was received from the data source to indicate
how fresh the data is.
Quality Indicates whether or not this value is valid, and why (See Appendix F
“Quality Flags” for a list of valid quality values).
The information panel at the bottom of the window presents status information about the
selected server and group.
To toggle the window between showing and hiding the status information:
100
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 114/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Appendix D. Using the Matrikon OPC Explorer Client B0400DG – Rev C
NOTE
Control values can be written to items whether they or their group are active or
inactive. If the items and the group containing the items are both active, the written
control value should appear when the next update occurs. Also, the server may
contain read-only items. Values written to these items are discarded.
OPC Explorer also provides a Signal Generator to write ramping control values to OPC items.
To write ramping control values:
1. Click the Signal Generator tab in the Write Values dialog box.
2. Enter the high and low limits and the increment factor for the ramp wave.
3. Enter the time period in milliseconds, and press Start.
4. Press Stop or close the dialog box to finish writing the ramp wave.
101
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 115/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix D. Using the Matrikon OPC Explorer Client
The dialog box opens to the General tabbed page, which contains two options used by
AIM*AT OPC Server applications:
Errors specifies that the error dialog box should be displayed when COM or
OPC errors occur, or when errors occur for individual items.
Sanity check ensures that the server keeps track of lists of groups and items
properly.
Session files are only stored as text files.
2. Click the check boxes of the OPC Explorer options you want to set.
3. Click Defaults to restore the options default settings.
102
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 116/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Appendix D. Using the Matrikon OPC Explorer Client B0400DG – Rev C
This option specifies the data source that OPC Explorer should use when requesting
values from the OPC server.
2. Select the Data Source as follows:
Select Cache for normal operation.
Use Device for special testing operations.
Device reads yield a serious performance penalty and can prevent servers from
functioning properly if they are used too often.
3. Select the Request time stamps with notification option for 1.0a asynchro-
nous I/O, to receive time stamps from the OPC Server.
Otherwise, OPC Explorer assumes the current time when it receives new values.
103
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 117/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix D. Using the Matrikon OPC Explorer Client
104
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 118/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Appendix D. Using the Matrikon OPC Explorer Client B0400DG – Rev C
2. Select Display value qualities as text to show a text description of the item
quality in the Quality field rather than a numeric value.
Deselect this option if the quality value contains vendor-specific information in the
upper byte.
3. Deselect Display time stamps using local time zone to display the time
stamps in UTC rather than local time.
COM Options
The COM tabbed page (Figure D-11) is used to specify the class context flags to be used when
OPC Explorer attempts to connect to an OPC server. Do not deselect any of these flags unless
absolutely necessary.
105
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 119/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix D. Using the Matrikon OPC Explorer Client
106
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 120/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
The AIM*AT
Standard. OPC
It also Serversome
supports complies
of thefully with the
optional OPC Data
capabilities, Access 2.05a
including Custom
backward Interface for
compatibility
the old style of asynchronous communication found in the 1.0a specification.
The information in this appendix is arranged as follows:
Supported server object interfaces
Supported group object interfaces
Supported HDA interfaces
AIM*AT OPC Server Registry entries.
NOTE
In the tables that follow, optional interfaces appear in square brackets.
107
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 121/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix E. OPC Compliance
Supported DA Methods
Table E-3 lists the methods for each OPC DA interface and indicates whether the method is sup-
ported by AIM*AT OPC Server software. Some of the interfaces defined by the specification are
optional interfaces and are not required for OPC servers.
OPC
Interface Requirement Supported
Server Interfaces
IOPCCommon Required Yes
SetLocaleID Required Yes
GetLocaleID Required Yes
QueryAvailableLocaleIDs Required Yes
GetErrorString Required Yes
SetClientName Required Yes
IOPCServer Required Yes
AddGroups Required Yes
GetErrorString Required Yes
GetGroupByName Required Yes
GetStatus Required Yes
108
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 122/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Appendix E. OPC Compliance B0400DG – Rev C
OPC
Interface Requirement Supported
RemoveGroups Required Yes
CreateGroupEnumerator Required Yes
Load Optional No
Save Optional No
SaveCompleted Optional No
GetCurFileByName Optional No
IUnknown (all methods) Required Yes
Group Interfaces
IOPCGroupStateMgt Required Yes
GetState Required Yes
SetState Required Yes
SetName Required Yes
CloneGroup Required Yes
IOPCSyncIO Required Yes
Read Required Yes
Write Required Yes
IOPCAsyncIO Obsolete Yes
Read Obsolete Yes
109
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 123/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix E. OPC Compliance
OPC
Interface Requirement Supported
Write Obsolete Yes
Cancel Obsolete Yes
110
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 124/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Appendix E. OPC Compliance B0400DG – Rev C
interfaces andserver
cates that the are not required
returns the for OPC and
message servers.
thatE_NOTIMPL in the
the method is not yetSupported column
implemented indi-
in AIM*AT
OPC Server software.
Table E-5. Supported HDA Methods by Interface
OPC
Interface Name Requirement Supported
Synchronous Interfaces
IOPCCommon Required Yes
111
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 125/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix E. OPC Compliance
OPC
Interface Name Requirement Supported
GetHistorianStatus Required Yes
GetItemHandles Required Yes
112
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 126/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Appendix E. OPC Compliance B0400DG – Rev C
OPC
Interface Name Requirement Supported
Cancel Optional Yes
IOPCHDA_AsyncUpdate Optional Yes
Read Optional No
Insert Optional No
Cancel Optional No
IOPCHDA_Playback Optional Yes
ReadRawWithUpdate Optional Yes
ReadProcessedWithUpdate Optional Yes
Cancel Optional Yes
IConnectionPointContainer Required for Yes
Asyc
EnumConnectionPoints Required for Yes
Asyc
FindConnectionPoint Required for Yes
Asyc
IUnknown (all methods) Required Yes
113
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 127/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix E. OPC Compliance
0050DA 19 DDDA
PSTCFGAIM.OPC.1\ShellPath (path to PSTCFG.EXE)
PSTCFGAIM.OPC.1\HelpFile (path to .HLP file, if it exists)
CLSID\{CLSID2} AIM*AT OPC Server
CLSID\{CLSID2}\APPID {APPID}
CLSID\{CLSID2}\ProgID PSTCFGAIM.OPC.1
CLSID\{CLSID2}\LocalServer32 (path to server executable)
APPID\{APPID} AIM*AT OPC Server
The AIM*AT OPC Server also registers itself with the Microsoft Standard Component Category
Manager. After ensuring that the OPC 1.0 and 2.05a categories exist, the server registers in both
of these categories. The OPC Server browser searches for servers that implement these categories.
114
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 128/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
115
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 129/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix F. Quality Flags
116
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 130/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Table G-2 shows how AIM*AT data types are mapped to VARIANT data types.
117
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 131/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix G. Variant Data Types
The mapped VARIANT types are the canonical types of the OPC server. For example, if an OPC
client adds an OPC item that refers to a field that is an FH_SHORT in data server, the canonical
data type for that item is VT_I4. If a data type other than VT_EMPTY is specified by the client
when adding the item, that data type is always converted to VT_I4 first.
118
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 132/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
31 (msb) 3 to 0
to 16 15 14 13 12 11 10 9 8 7 to 5 4 (lsb)
d
s
u
t
t a
t
n
I s
w
o h
g
i d
. k t
c
e e
L H n c O n p
d o
c e
s /
s n y
e d
e d w n n i o e T
v
r r t e
t o u D C
g e
e o i i d S / U
/ / n
a u
s
e r
r m m a O k
c c d
a M h l
a
I i h e
R E L L S O A S B O C V
AIM*AT qualities are converted to standard OPC qualities. The mapping of AIM*AT real-time
status codes to OPC status codes is shown below:
The following flow diagram shows how the mapping is done for real-time data:
119
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 133/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix H. Bit Mapping I/A Series Status Codes to OPC
true false
bQual or bOOS
wStatus = Q UNCERTAIN
false
false
bOOS
wStatus = Q_GOOD
return
wStatus = Q_BAD S_BAD_OUTOFSERV
wStatus
Other cases:
If a tag cannot be added, the status is set to Q_BAD | S_BAD_NOTCONN.
If a tag stops being updated, the status is set to Q_BAD | S_BAD_LASTKNOWN.
Qualities returned from historical queries indicate both the DA quality tag and the Historical data
access quality. Bits 15-0 or the quality word indicate the DA quality information, and Bits 31-16
indicate the Historical Data access quality. The following flow diagram shows how the quality is
determined:
120
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 134/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Appendix H. Bit Mapping I/A Series Status Codes to OPC Status Codes B0400DG – Rev C
true
bUnavail
false true
wStatus = Q_GOOD
return
wStatus
The historical data access qualities that are “and’d” into the DA quality word are shown below.
Associated DA
Quality Values Description Value Quality
OPCHDA_EXTRADATA More than one piece of data that may be 0x00010000 Good, Bad, Quest.
hidden exists at same timestamp.
OPCHDA_INTERPOLATED Interpolated data value. 0x00020000 Good, Bad, Quest.
OPCHDA_RAW Raw data value. 0x00040000 Good, Bad, Quest.
OPCHDA_CALCULATED Calculated data value, as would be 0x00080000 Good, Bad, Quest.
returned from a ReadProcessed call.
OPCHDA_NOBOUND No data found to provide upper or lower 0x00100000 Bad
bound value.
OPCHDA_NODATA No data collected. Archiving not active (for 0x00200000 Bad
When a historical value is returned to an OPC client, the quality is set with the corresponding bit
set for the particular operation. For instance, the quality for returning raw historical data is done
this way:
m_dwQuality = (PSTHDA_RAW << 16) | AIMQualityToPXPQuality(iSta-
tus[0]);
121
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 135/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix H. Bit Mapping I/A Series Status Codes to OPC
where:
m_dwQuality 32-bit integer
PSTHDA_RAW Bit position for raw historical data
AIMQualityTOPXPQual- Function depicted by the first flow diagram in Figure H-1
ity
122
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 136/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
For
Thereal-time data, theCoFileTimeNow
Win32 function current time is used when
is used tothe
get I/A
thedata server
current reports
time. Thisthe newtime
is the value of a tag.
format
accepted by OPC. For historical data, the time value from the I/A server is converted to
FILETIME as is, regardless whether it is UTC or I/A time. The definition of CoFileTimeNow is
as follows:
CoFileTimeNow
Returns the current time as a FILETIME structure.
HRESULT CoFileTimeNow(
FILETIME * lpFileTime //Pointer to return the structure
);
Parameter
LpFileTime
[out] Pointer to return the FILETIME structure.
Return Values
S_OK
123
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 137/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix I. Timestamp to OPC
124
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 138/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
125
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 139/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix J. How to Configure Secured Read/Write
NOTE
If this Allow secured writes option is changed, the configuration must be saved
to a config file and then loaded at server startup (similar to the secured writes file
option) in order for the changes to take effect.
126
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 140/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
NOTE
Please refer to the OPC DA 2.05a specification for further information.
127
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 141/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix K. OPC I/O Methods
Device reads may be performed at any time on specific items in a group. They ignore the update
rate and active state of the group or items involved. Due to the fact that they by-pass normal
optimization routines, however, device reads should be used sparingly as they can incur severe
performance penalties in the server.
A scenario where a synchronous read from a device might be useful is in the case of a utility for
altering a series of set points in the device. The client application might create an inactive group
with theasdesired
current items
possible. Theand perform
utility a device
can then read.
display theWhen theallow
values, call completes,
the user to the
alteritem values
them, andare
syn-as
chronously write them out to the device. This can be followed by a second device read to ensure
that the values were written.
Had a device read not been used, it could take some time before the server receives the first values
for the group after it is activated. Additionally, there is no guarantee that the values would all
arrive in the same update. A device read ensures that the values all arrive at the same time.
Technically, write operations are always device writes. However, there is no point in writing to the
cache, so this terminology is redundant.
128
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 142/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Scaling Expressions
Table L-1 lists and describes the syntax for scaling expressions used in AIM*AT OPC Server
aliases.
129
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 143/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix L. Alias Configuration
Alias Configuration
AIM*AT OPC Server imports andCSV
exports File Formatdata in .CSV format files (see
alias configuration
Table L-2).
Comma-delimited text files (CSV) contain records on each line. Commas separate the individual
fields in a record. If the data within a field contains commas or spaces in itself, then the data is
enclosed in double quotation marks (““). If the data contains a double quotation mark within
itself, then two double quotation marks are used in place. Lines beginning with a hash mark (-)
are ignored as comments.
Each record in an alias configuration CSV file has the following general format:
“Alias Group”, “Alias Name”, “Item Path”, <data type>, <read-only>,
<poll always>, <update rate>, <scaling> [, <scaling parameters>...]
For example:
“North.FIC101”,”CV”,”Com1.Plc1.4:0001F”,5,1,0,0,0
describes the syntax used in an alias configuration CSV file.
130
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 144/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Appendix L. Alias Configuration B0400DG – Rev C
Field Description
“Alias Group” The name of the alias group folder to which the alias
item is added. Periods in this name indicate subfolders
below the root (that is, North.FIC101 = folder North
under the root and subfolder “FIC101” under that).
“Alias Nam” The alias item name. To access a particular item from
an OPC client, the full pathname is delimited with
periods (that is, North.FIC101.CV).
“Item Path” The fully qualified item ID for the OPC item to which
this alias refers.
<data type> A number indicating the data type to convert the value
to before it is returned to the OPC client. This also
appears as the canonical data type for the alias when
browsing. Use as zero in this field for the default data
type of the referenced OPC item.
<read-only> The number one in this field indicates that the alias
cannot be written to. The number zero indicates that it
can.
<poll always>,<update rate> These values are used in conjunction to ensure that an
OPC item is always being scanned whether the client is
presently using it or not. Set the “poll always” value to a
one for the item to be scanned continuously, and spec-
ify the update rate in milliseconds. Otherwise, set both
values to zero.
131
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 145/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Appendix L. Alias Configuration
132
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 146/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Index
A
About this document xiii
Access Path 97
Active State 98
Activity logging, enabling 83
Adding OPC groups 93
Adding OPC items 96
Advanced OPC server options 54
OPC group update rate 54
time granularity 54
Advanced performance option settings 86
Advanced server configuration options 73
Advanced server parameter
AIM*AT server list 49
fast scan interval 49
max items per browse folder 49
max items per netAPI object 49
scan interval for string 49
slow scan interval 49
Aggregate Validity Threshold 47, 72
AIM*AT API Server Component
installing 13
AIM*AT ApiAdmin 13
AIM*AT OPC Server
configuring 67, 70
configuring DCOM for 57
configuring the AIM server 10
illustration of 2
installing 7
item ID 55
licensing 9
obtaining authorization code 10
OPC compliance 107
overview of 1
system requirements 5
AIM*AT Server List 49, 74
AIM*OPC Configurator 7, 19
AIM*OPC configurator
alias configuration page 33
starting 19
Alias
133
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 147/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Index
browsing for 35
creating new alias in OPC client 36
deleting 35
selecting 35
Alias configuration 129
Alias configuration CSV file format 130
Alias Configuration Page 33
Alias, creating 35
Alias, editing 38
Aliases, creating 76
Aliases. viewing configured 78
API*AT Server Timeout 72
Audience, document xiii
Authorization code 10
B
Backup For Saved Configuration 50
Blue question mark 98
Browsing for tags 25
Browsing for Tags In Order To Assign Aliases 35
Browsing the Server Address Space 97
Buttons
alias configuration page 34
Delta configuration page 25
insert 34
Buttons, delete selected aliases 35
Buttons, edit selected alias 34
Buttons, insert new alias 34
C
Canonical data type 118
Check boxes
Delta configuration page 25
Clear All 25
Buttons
clear all 35
COM options 105
Commit all log file writes 84
Configuration file
creating tags, updating tags, creating alias 23
defining OPC server parameters 22
defining settings 22
Configuration file, saving to 41
Configuration utility, main window 68
Configuration utility, server 67
Configurator
OPC server 19
Control values, writing to OPC items 100
Create Items when they are browsed 47, 72
134
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 148/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Index B0400DG – Rev C
D
Data display 99
DCOM Configuration 79
Dead-band support
Delete Selected 94 35
Aliases
Delete Selected Tags 25
Deleting alias tags 35
Deleting tags 27
Delta configuration page
clear all tags 25
delete selected tags 25
set deltas of imported tags 25
set deltas of selected tags 25
Delta values
changing 29
Delta Values, changing 31
Device versus cache reads 127
Display time stamps using local time zone 105
Display value qualities as text 105
E
Edit Selected Alias 34
Editing A Selected Alias 38
Export Aliases 79
Expressions, scaling 129
F
Fast Scan Interval 49, 73
G
General logging settings 52, 83
General options 50
backup for saved configuration 50
load configuration on startup 51
restrict items to preconfigured aliases 51
General servervalidity
aggregate parameters
threshold 47
create items when they are browsed 47
NetAPI Server Timeout 47
Server Connection Ping 47
server discovery ping 47
Global Customer Support Center xiv
Green checkmark 98
135
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 149/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Index
H
HDA interfaces 111
HDA quality flags 116
I
Import Aliases 79
Imported
Insert Aliastags 31 76
Group
Insert New Alias 34, 76
Insert or Insert new alias 34
Installation
AIM*AT API server 13
Installing
AIM*AT OPC Server 7
Interface Logging Settings 53
Interface logging, enabling 85
Item ID 55, 97
L
Launch configuration program on startup 82
Licensing
AIM*AT OPC Server 9
Linear scaling 77
Load Configuration On Startup 51
Load configuration on startup 82
M
Matrikon automation component 1
Matrikon configurator 8
Matrikon OPC Explorer
connecting to an OPC server 92
data display 99
setting options 102
signal generator 101
starting 87
viewing available OPC servers 91
Matrikon OPC explorer 1
Max Items per AIM*AT Object 49, 74
Max Items per Browse Folder 49, 74
Microsoft standard component category manager 114
N
NetAPI Server Timeout 47
O
OLE for Process Control (OPC) 2
OPC
136
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 150/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Index B0400DG – Rev C
DA 2
group object interfaces 108
HDA interfaces 111
I/O methods 95, 127
server object interfaces 107
standards xiv, 2
OPC DA 2.0 versus 1.0a asynchronous I/O 128
OPC Explorer, starting and using 87
OPC Group Update Rate 54
OPC groups, adding 93
OPC HDA 3
OPC items, adding 96
OPC items, validating added 98
OPC Server
shutdown 15, 17
startup 15
OPC server
configurator 19
OPC server parameters
OPC server control panel
4516
Options
advanced options settings 54
general 50
general logging settings 52
interface logging settings 53
Overrun 80
Overwrite old log information 84
P
Parameters
general settings 46, 50
OPC server 45
PSTCFG.EXE 67
Q
Quality flags 115
R
Real-time values, reading 98
Reference documents xiv
Registry entries, server 114
Request asynchronous refreshes 104
Request time stamps with notification 103
Requested Data Type 98
Reset Statistics 80
Respect access rights when writing values 104
Restrict Items To Preconfigured Aliases Only 51
Restrict items to pre-configured aliases only 82
137
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 151/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
B0400DG – Rev C Index
S
Sanity check option 102
Save current configuration on shutdown 82
Saving the configuration file 41
Scaling
Scaling expressions 129 to an alias 77
formulas, applying
Scan Interval for String 49, 74
Selecting alias tags 35
Selecting tags 27
Server Connection Ping 47, 72
Server Discovery Ping 47, 72
Server object interfaces 107
Server parameters
general 46, 50
Set Deltas of Imported Tags 25
Set Deltas of Selected Tags 25
Shortcut menu, OPC server 67
Signal generator 101
Slow Scan Interval 49, 74
Software components 8
AIM OPC configurator 8
AIM*OPC Server 8
OPC automation components 8
standard OPC server browser 8
Standard quality flags 115
Statistics, viewing server 80
Synchronous versus asynchronous I/O 127
System requirements 5
T
Tag Studio main window 96
Tags
browsing for 25
changing delta values 29, 31
creating an alias 35
deleting 27
deleting alias 35
imported 31
selecting 27
selecting alias 35
Tags, browsing 35
Telephone numbers for the Global Customer Support Center xiv
Time bias setting 94
Time Granularity 54
Time granularity 86
138
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 152/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
Index B0400DG – Rev C
U
Update rate, specifying 94
V
Validate Tags 98
Validating the OPC Items 98
VARIANT data types 117
W
Writing control values 100
139
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 153/154
8/19/2019 AIM*AT™ Suite AIM*OPC Server User’s Guide
http://slidepdf.com/reader/full/aimat-suite-aimopc-server-users-guide 154/154