docOpc
docOpc
Confidentiality Notice
The information contained in this document is confidential information of Tridium, Inc., a Delaware corporation (“Tridium”). Such
information, and the software described herein, is furnished under a license agreement and may be used only in accordance with
that agreement.
The information contained in this document is provided solely for use by Tridium employees, licensees, and system owners; and,
except as permitted under the below copyright notice, is not to be released to, or reproduced for, anyone else.
While every effort has been made to assure the accuracy of this document, Tridium is not responsible for damages of any kind,
including without limitation consequential damages, arising from the application of the information contained herein. Information
and specifications published here are current as of the date of this publication and are subject to change without notice. The latest
product specifications can be found by contacting our corporate headquarters, Richmond, Virginia.
Trademark Notice
OPC, the OPC logo, and OPC Foundation are trademarks of the OPC Foundation. BACnet and ASHRAE are registered trademarks
of American Society of Heating, Refrigerating and Air-Conditioning Engineers. Microsoft and Windows are registered trademarks,
and Windows 2000, Windows XP Professional, Windows 7, and Internet Explorer are trademarks of Microsoft Corporation. Java
and other Java-based names are trademarks of Sun Microsystems Inc. and refer to Sun's family of Java-branded technologies.
Mozilla and Firefox are trademarks of the Mozilla Foundation. Echelon, LON, LonMark, LonTalk, and LonWorks are registered
trademarks of Echelon Corporation. Tridium, JACE, Niagara Framework, NiagaraAX Framework, and Sedona Framework are regis-
tered trademarks, and Workbench, WorkPlaceAX, and AXSupervisor, are trademarks of Tridium Inc. All other product names and
services mentioned in this publication that is known to be trademarks, registered trademarks, or service marks are the property of
their respective owners.
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
Document Change Log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
NiagaraAX-3.x
iii
Opc Guide
Contents
August 17, 2010
NiagaraAX-3.x
1-iv
Opc Guide
PREFACE
Preface
This documents usage of the OPC Data Access client driver for the NiagaraAX platform.
NiagaraAX-3.x
v
Opc Guide
Document Change Log Preface
August 17, 2010
NiagaraAX-3.x
vi
Opc Guide
CHAPTER 1
Opc Setup
See the following sections about setup for the NiagaraAX OPC driver:
• Compatibility
• NiagaraAX OPC driver installation
• Client DCOM Configuration
• Server DCOM Configuration
Compatibility
NiagaraAX OPC driver compatibility encompasses the following:
• OPC Specifications
• NiagaraAX platform
• OPC network
• Supported OPC data types
OPC Specifications
The OPC Data Access Client (driver) is compatible with servers implementing OPC Data Access Speci-
fications 1.x - 2.x. Other specifications such as Alarms & Events are not supported.
NiagaraAX platform
The OPC Data Access Client software functions only on Windows operating systems, starting with
Window 2000 Service Pack 3 and beyond. This means the station must run on a Win-32 based platform,
such as a JACE-NXS or -NX, AX SoftJACE, or a PC especially licensed for the OPC driver.
Note: The OPC driver is not supported in any QNX-based platform, such as any JACE-2/6, -4, or -5 series
controller.
Also, starting in AX-3.4, NiagaraAX support for Windows 2000 was dropped.
OPC network
Although not necessary, it is highly recommended that both OPC client (NiagaraAX platform) and OPC
server machines be on a domain, and it be the same domain for both.
NiagaraAX-3.x
1–1
Opc Guide
NiagaraAX OPC driver installation Chapter 1 – Opc Setup
Configure OPCEnum August 17, 2010
OPC Item Type and value Data Type (WB) label OPC Item Type Description
VT_I2 = 2 Vt Int2 2-byte integer value
VT_I4 = 3 Vt Int4 4-byte integer value
VT_R4 = 4 Vt Real4 IEEE 4-byte real value
VT_R8 = 5 Vt Real8 IEEE 8-byte real value
VT_I1 = 16 Vt Signed Byte 1-byte character value
VT_UI1 = 17 Vt Unsigned Byte Unsigned 1-byte character
VT_UI2 = 18 Vt Uint2 Unsigned 2-byte integer value
VT_UI4 = 19 Vt Uint4 Unsigned 4-byte integer value
VT_INT = 22 Vt Int Integer value
VT_UINT = 23 Vt Uint Unsigned integer value
VT_BSTR = 8 Vt String String value
VT_BOOL = 11 Vt Boolean Unsigned 4-byte integer value
Configure OPCEnum
OPCEnum is software provided by the OPC Foundation and is used to discover OPC servers in the host
on which it is installed. If the OPC server machine does not have OPCEnum installed, the “Class ID” of
the OPC server application will be required for a remote client, or the “Program ID” will be required for
a local client (consult your OPC server documentation to obtain these).
On the OPC server, perform the following procedure:
Step 1 Launch DCOMCONFG (see Appendix A, “Launching DCOMCNFG” on page A-1).
Step 2 Find OPCEnum and go to its properties.
NiagaraAX-3.x
1–2
Opc Guide
Chapter 1 – Opc Setup Server DCOM Configuration
August 17, 2010 Configure the OPC server application
NiagaraAX-3.x
1–3
Opc Guide
Server DCOM Configuration Chapter 1 – Opc Setup
Configure the OPC server application August 17, 2010
NiagaraAX-3.x
1–4
Opc Guide
CHAPTER 2
Opc Quick Start
This section provides a collection of procedures to use the Opc driver to make Opc proxy points, the
station interface to OPC data items. As with other NiagaraAX drivers, you can do most configuration
from special “manager” views and property sheets using Workbench. These are the main subsections:
• Configure the OpcNetwork
• Create Opc proxy points
Add an OpcNetwork
Use the following procedure to add an OpcNetwork under the station’s Drivers container.
NiagaraAX-3.x
2–1
Opc Guide
Create Opc proxy points Chapter 2 – Opc Quick Start
Using online Discover to add Opc proxy points August 17, 2010
NiagaraAX-3.x
2–2
Opc Guide
CHAPTER 3
Niagara Opc Concepts
This section provides conceptual details on the OPC driver and its components, including views. These
are the main subsections:
• OPC terms
• About Opc Architecture
• About the Opc Network
• Opc Device Manager
• About the OpcDaClient
• Opc Point Manager
• Opc proxy point
OPC terms
The following list of terms and abbreviations is specific to OPC usage in NiagaraAX, and covers entries
used in this document. For the definitive collection of terms found in OPC publications, refer to the OPC
Foundation, at http://www.opcfoundation.org.
Note: For general NiagaraAX terms, see the Glossary in the User Guide.
Asynchronous vs. Synchronous IO Asynchronous Input / Output (that is, communications) in the
OPC context means server-initiated change messages sent to the client. Asynchronous (or async) IO is
the most efficient and scalable integration option, because the client does not have to poll for changes of
value (synchronous)—the server simply sends change-of-value messages as they occur.
COM and DCOM Most OPC specifications are embodied as COM interfaces. COM is Microsoft’s
Common Object Model technology. DCOM is distributed COM, where objects in remote processes ap-
pear to be local objects.
OPC Data Access There are several OPC specifications. The OPC Data Access specification provides
the baseline functionality for reading and writing data from various networked devices via a standard set
of interfaces.
OPC Group An OPC Group is an object that an OPC server uses to manage a collection of items. OPC
Group objects are created by OPC clients who specify what server items belong in the group. Client
grouping does not have to match the organization of the data on the server.
OPC Item OPC refers to individual data points as items.
NiagaraAX-3.x
3–1
Opc Guide
About the Opc Network Chapter 3 – Niagara Opc Concepts
August 17, 2010
Unlike some other drivers, Points is the only “device extension” under an OpcDaClient.
Note: You use “Manager” views of Opc container components to add all Opc components to your station,
including Opc proxy points. In these views, the Opc driver provides online “discovery” of available data
items (Learn Mode), which greatly simplifies engineering.
Note: The JACE-NXS or JACE-NX platform must have the Opc module installed. Otherwise, an error occurs
explaining that the Opc module is missing. If this occurs, install the opc module in that platform and
repeat the operation.
The OpcNetwork component has the typical collection of slots and properties as most other network
components. For details, See “Common network components” in the Drivers Guide. One exception is the
location of poll components (Poll Scheduler), which is not at the network-level, but under each OpcDa-
Client (device-level) component.
In addition, the following OpcNetwork property has special importance:
• Thread Pool
Controls the number of threads used to execute all actions of all OPC objects in the network. This
includes most communications with remote devices, which can be multi-threaded. In this case, if
there are performance issues, you can increase the number of threads.
NiagaraAX-3.x
3–2
Opc Guide
Chapter 3 – Niagara Opc Concepts Opc Device Manager
August 17, 2010 Opc Network status notes
NiagaraAX-3.x
3–3
Opc Guide
About the OpcDaClient Chapter 3 – Niagara Opc Concepts
Opc Device Manager usage notes August 17, 2010
After adding a discovered OPC server, you use the Opc Point Manager view of the Points container
(under its OpcDaClient component) to add Opc proxy points—one for each OPC data item of interest.
• Opc Device Manager usage notes
NiagaraAX-3.x
3–4
Opc Guide
Chapter 3 – Niagara Opc Concepts About the OpcDaClient
August 17, 2010 OpcDaClient properties
OpcDaClient properties
Figure 3-6 shows the property sheet for an example OpcDaClient.
As shown in the figure above, OpcDaClient properties can be categorized into three groups:
• Device status properties (typical)
• Config properties
• Status properties
Device status properties
An OpcDaClient has typical device-level status properties (see “Device status properties” in the Drivers
Guide). The following notes apply:
• Status
Status of OpcNetwork communications to this OpcDaClient. Possible status flags include:
• ok - Normal communications, no other status flags.
• disabled - Enabled property is set to false, either directly or in OpcNetwork. While status is dis-
abled, all child Opc points have disabled status; OpcDaClient polling is suspended.
• fault - Typically a licensing issue, if seen.
• down - Error communicating to the OPC server. If status was previously ok (without changing
OpcDaClient configuration), this may mean the server host is now unreachable, or the server
program is not running.
• Enabled
Either true (default) or false. Can be set directly or in parent OpcNetwork. See Status disabled de-
scription above.
• Health
Contains properties including timestamps of last “ok” time and last “fail” time, plus a string property
describing last fail cause.
• Fault Cause
If status has fault, describes the cause.
Note: As in other driver networks, the OpcDaClient has an available “Alarm Source Info” container slot you can
use to differentiate OpcDaClient alarms from other component alarms in the station. See “Device Alarm
Source Info” in the Drivers Guide for more details.
NiagaraAX-3.x
3–5
Opc Guide
About the OpcDaClient Chapter 3 – Niagara Opc Concepts
OpcDaClient properties August 17, 2010
NiagaraAX-3.x
3–6
Opc Guide
Chapter 3 – Niagara Opc Concepts About the OpcDaClient
August 17, 2010 OpcPollScheduler
OpcPollScheduler
Each OpcDaClient has a Poll Scheduler container slot (OpcPollScheduler), with the standard
collection of properties, as described in “About poll components” in the Drivers Guide. Note the poll
scheduler is “device level” (each OpcDaClient), versus a single poll scheduler at the “network level.”
Note: Polling by the station is used only when asynchronous messaging is not in use—otherwise, the server sends
change-of-value messages for updates. See properties of the Points device extension (OpcPointDevi-
ceExt) for related details.
OpcPointDeviceExt
Each OpcDaClient has a Points device extension (OpcPointDeviceExt). Note that unlike some other
drivers, other device extensions such as Schedules, Histories, and Alarms are not used.
The Points extension represents one “OPC Group,” where all Opc proxy points contained in the tree
rooted by Points are members of this OPC Group. The primary interface to the Points extension is via its
default view, the Opc Point Manager.
However, the property sheet of the Points extension is significant too, as shown in Figure 3-7.
The following properties are unique or have special importance to the OpcPointDeviceExt:
• Read Delay
Amount of time after “device up” before the client creates a subscription and reads any values from
the server.
• Write Delay
Amount of time after “device up” before the client attempts to write any values to the server.
• Group Name
Name of the group to create on the server for all points contained under this OpcPointDeviceExt.
• Percent Deadband
Percentage of change in a (numeric) data item value that causes a server-initiated change-of-value
message to be sent to the client (Niagara). Note this applies only to numeric Opc proxy points.
• Update Rate
Client requested update rate in milliseconds, this specifies the fastest rate at which data changes may
be sent by the server. For very large integrations, this value may need to be increased. Also see the
“Server Band Width” property, one of the Status properties.
• Revised Update Rate
(Read only) The server-returned value for the update rate.
• Batch Limit
Specifies the maximum number of items that can be batched together into a single subscribe, unsub-
scribe, or synchronous read operation.
• Message / Message Time
(Read only) If anything is wrong, check here.
NiagaraAX-3.x
3–7
Opc Guide
Opc Point Manager Chapter 3 – Niagara Opc Concepts
Opc Point Manager usage notes August 17, 2010
• Server Handle
(Read only) The server-generated handle for this group.
• State
(Read only) Client group state, either Attached, Attaching, Detached, or Detaching.
• Enable Async Io
If true, asynchronous change-of-value messages from the server are enabled. Note that Async Io is
the most efficient and scalable way to integrate with an OPC server.
• Async Io
(Read only) Whether or not async messaging is being used; some OPC servers do not support it.
• Default Point Facets
Null, by default. If set to a non-null value, these facets are applied by the OpcPointManager to the
proxy extension device facets first—they would then be overridden by any facets coming from the
OPC server. These facets also affect the control point facets, since they are overridden by the proxy
extensions device facets.
Figure 3-8 Adding Opc proxy points discovered using Opc Point Manager
You are not required to mimic the organizational structure of the OPC server when adding data items
(Opc proxy points). For more details, see “Discovered pane notes” on page 3-8. For procedures, see
“Create Opc proxy points” on page 2-2.
For listings of the available columns in the Discovered and Database panes of the Opc Point Manager, see
“opc-OpcPointManager” on page 4-2.
NiagaraAX-3.x
3–8
Opc Guide
Chapter 3 – Niagara Opc Concepts Opc Point Manager
August 17, 2010 Opc Point Manager usage notes
Figure 3-9 Discovered pane in Opc Point Manager shows OPC Address Space
• Folders of items are shown in gray rows as expandable folder icons with “learned” descriptors.
You can add these levels as OpcPointFolders, or simply expand to access child subfolders and/or
data items. Adding folders is optional—note that any data item added (as a proxy point) automati-
cally includes the server’s hierarchy for it (in its OpcProxyExt “Id” property).
• Data Items are shown in white rows with object icons , again with “learned” descriptors.
You can add these as Opc proxy points. If you double-click, or select and click the Add button, the
Add dialog appears. This lets you select the control point type before it is added to the station. See
the next section “Add and Edit dialog fields”.
Add and Edit dialog fields
When adding Opc proxy points for discovered data items, the following items are available in the Add (or
Edit) dialog (Figure 3-10):
• Name
Name of the Opc proxy point, as learned from the discovery. Often left at default, unless there are
multiple points using this name (equivalent to right-click Rename, can be edited anytime).
• Type
The type of Opc proxy point to create (not editable after adding). A default type is pre-selected, based
upon discovered OPC “Data Type” and “Mode” (RO, RW) of the data item. If mode is writable (R/W),
the default is a writable point type, as either:
• NumericWritable
• BooleanWritable
• StringWritable
Otherwise if mode is RO, type selection is limited to read-only point types (NumericPoint, Boolean-
Point, or StringPoint).
• Id
The unique ID of the data item on the server, including its full hierarchical folder structure.
NiagaraAX-3.x
3–9
Opc Guide
Opc proxy point Chapter 3 – Niagara Opc Concepts
Opc point types August 17, 2010
• Conversion
The conversion type used between units in the proxy extension’s “Device Facets” and the units in the
parent point’s Facets. Typically, this left at “Default.”
• Tuning Policy Name
The assigned tuning policy for this proxy point, as configured in the OpcNetwork. See “Opc Net-
work tuning policy notes” on page 3-3.
• Opc Data Type
The Windows variant datatype of the OPC item. In most cases, the server provides this information.
See Table 1-1 on page 2 for related details.
• Facets
Facets for the Opc proxy point. Equivalent to accessing facets through the point’s property sheet
(and can be edited anytime). For more details, see “About point facets” in the User Guide.
• Device Facets
Facets for the OPC data item, as known in the server. Will contain OPC “properties” for the point
discovered by the Opc Point Manager. Typically, this value is left unchanged.
Note: Additional OpcProxyExt properties are available in its property sheet—see “Opc Proxy Ext” on page 3-10.
These 6 types are simply a subset of the 8 basic control point types, minus the EnumPoint and
EnumWritable. Each point type has an Opc Proxy Ext (proxy extension).
NiagaraAX-3.x
3–10
Opc Guide
Chapter 3 – Niagara Opc Concepts Opc proxy point
August 17, 2010 Opc Proxy Ext
The following properties of the Opc Proxy Ext are unique or have special importance—note that some
are also available in the Add or Edit dialog in the Opc Point Manager (see Figure 3-10):
• Device Facets
Will contain OPC “properties” for points discovered by the Opc Point Manager.
• Id
The ID of the point on the OPC server.
• Opc Data Type
Windows variant datatype of the OPC item. In most cases, the server provides this information.
• Opc Read Time
(read only) The server timestamp of the current value.
• Opc Quality
(read only) The server-supplied status of the value, as either:
• Good
• Bad
• Uncertain
• Opc Quality Subcode
(read only) The server-supplied status subcode (numeric subcodes indicate vendor information):
• Good
– Non-specific
– Local Override
• Bad
– Non-specific
– Configuration Error
– Not Connected
– Device Failure
– Last Known Value — Comm has failed, however the last known value is available.
– Comm Failure — No last known value.
– Out of Service
– Waiting for Initial Data
• Uncertain
– Non-specific
– Last Usable Value — Whatever was writing this value has stopped doing so.
– Sensor Not Accurate
– Engineering Units Exceeded
– Sub-Normal — The value is derived from multiple sources, and has less than the required
number of good sources.
NiagaraAX-3.x
3–11
Opc Guide
Opc proxy point Chapter 3 – Niagara Opc Concepts
Opc Proxy Ext August 17, 2010
• Opc Limit
(read only) One of the following:
• Not Limited — The value is free to move up or down.
• Low Limited — The value has pegged at some lower limit.
• High Limited — The value has pegged at some upper limit.
• Constant — The value is a constant and cannot move.
• Server Handle
(read only) The server handle used to refer to this item. A handle of 0 means the item has not been
registered with the server.
• Tuning Policy Name
If the point is not being updated via asynchronous server callbacks, this controls the tuning policy,
and thus the poll frequency at which the point is synchronously polled.
NiagaraAX-3.x
3–12
Opc Guide
CHAPTER 4
Opc Plugin Guides
Plugins provide views of components, and can be accessed many ways—for example, double-click a
component in the tree for its default view. In addition, you can right-click a component, and select from
its Views menu. For summary documentation on any view, select Help > On View (F1) from the
Workbench menu, or press F1 while the view is open.
NiagaraAX-3.x
4–1
Opc Guide
Opc Plugin Guides Summary Chapter 4 – Opc Plugin Guides
opc-OpcPointManager August 17, 2010
• Address
The hostname or IP address of the OPC server.
• Class Id
The Windows class ID, or CLSID, of the OPC server instance.
• Local
Set to true if the OPC server is on the local host, otherwise it is false.
• Program Id
Either this or the Version Independent Program Id are needed to connect to local servers.
• Version Independent Program Id
Either this or the Program Id are needed to connect to local servers.
• Use Version Independent Program Id
Reflects this property of the OpcDaClient, which is typically true. If connecting to an older version
of an OPC server, this may need to be set to false.
• State
Reflects the client state, which is either attached, attaching, detached, or detaching.
opc-OpcPointManager
Use the OpcPointManager to add, edit, and access Opc proxy points under the OpcPointDeviceExt
extension of a selected OpcDaClient, or in an OpcPointFolder. The OpcPointManager is the default
view on both of those components. To view, double-click the OpcPointDeviceExt extension or OpcPoint-
Folder, or right-click and select Views > Opc Point Manager.
As in other point managers, there is a Discovered table (if in Learn mode) and a Database table. For
additional details, see “Opc Point Manager” on page 3-8.
Discovered table The Discovered table in the OpcPointManager view has the following available
columns:
• Name
Name of the OPC folder or data item.
• Id
The ID of the data item on the OPC server, including full hierarchical folder path.
• Data Type
The (Windows) OPC datatype of an item, as provided by the server—for example: Vt Real4. See
“Supported OPC data types” on page 1-1 for related information.
• Mode
Either RO (read-only) or RW (read-writable).
• Facets
Reflect default facets for a data item, including its description.
Database table The Database table in the OpcPointManager view has the following available columns:
• Name
Niagara name of the Opc component, often left as the (discovered) folder or data item name.
• Type
Niagara type of component, as either an Opc Point Folder (for a folder) or a type of control point if
an Opc proxy point (for example, Boolean Point, Boolean Writable, Numeric Point, and so on).
• To String
Last read value of a data item.
• Id
The ID of the data item on the OPC server.
• Fault Cause
String describing the cause of the point status fault, if any.
• Opc Quality
Server-supplied status of a data item value, as either: Good, Bad, or Uncertain.
• Opc Quality Subcode
Server-supplied status subcodes (numeric subcodes indicate vendor information), as either:
Bad:
• Non Specific
• Configuration Error
• Not Connected
• Device Failure
• Sensor Failure
• Last Known Value (Comm has failed, however the last known value is available.)
• Comm Failure (No last known value.)
NiagaraAX-3.x
4–2
Opc Guide
Chapter 4 – Opc Plugin Guides Opc Plugin Guides Summary
August 17, 2010 opc-OpcPointManager
• Out of Service
• Waiting for Initial Data
Uncertain:
• Non Specific
• Last Usable Value (Whatever was writing this value has stopped doing so.)
• Sensor Not Accurate
• Engineering Units Exceeded
• Sub Normal (Value is derived from multiple sources, with less than required number of good
sources)
Good:
• Non Specific
• Local Override
• Server Handle
Numeric server handle used to refer to this data item. A handle of 0 means the item has not been
registered with the server.
Note: By default, remaining columns (listed below) are not enabled to display in the Database table.
However, you can use the table controls to show/hide whichever columns needed.
• Conversion
Niagara conversion type used by the Opc proxy extension, which is typically Default.
• Tuning Policy Name
Name of the Niagara OpcTuningPolicy that the proxy point is assigned to.
• Data Type
The (Windows) OPC datatype of an item, as provided by the server—for example: Vt Real4. See
“Supported OPC data types” on page 1-1 for related information.
• Enabled
Reflects whether proxy point is enabled (true) or disabled (false).
• Facets
Reflect the facets in use by the proxy point.
• Device Facets
Reflects the read-only device facets used in the point’s proxy extension.
• Path
Reflects the station path for the Opc component, relative to the station’s root.
• Mode
Either RO (read-only) or RW (read-writable).
• Opc Read Time
Reflects the server timestamp of the current value.
• Read Value
Reflects current read value in point’s OpcProxyExt.
• Write Value
Reflects current write value (if any) in point’s OpcProxyExt..
• Opc Limit
Reflects the Opc limit for the data item.
NiagaraAX-3.x
4–3
Opc Guide
Opc Plugin Guides Summary Chapter 4 – Opc Plugin Guides
opc-OpcPointManager August 17, 2010
NiagaraAX-3.x
4–4
Opc Guide
CHAPTER 5
Opc Component Guides
These component guides provides summary help on Opc components.
NiagaraAX-3.x
5–1
Opc Guide
Opc Component Reference Summary Chapter 5 – Opc Component Guides
opc-OpcPollScheduler August 17, 2010
opc-OpcPollScheduler
An OpcPollScheduler is a child component of every (device-level) OpcDaClient. The poll scheduler
provides a flexible polling algorthim based on four “buckets.”
opc-OpcProxyExt
OpcProxyExt is the proxy extension for any type of Opc proxy point. For more details, see “Opc
proxy point” on page 3-10 and “Opc Proxy Ext” on page 3-10.
opc-OpcTuningPolicy
A tuning policy for the OpcNetwork, with standard NiagaraAX tuning policy properties. For an
explanation of driver tuning policies, see “About Tuning Policies” in the Drivers Guide.
opc-OpcTuningPolicyMap
A container for one or more OpcTuningPolicy(ies). You might create multiple tuning policies and
assign Opc proxy points as needed, based upon different criteria. For an explanation of driver tuning
policies, see “About Tuning Policies” in the Drivers Guide.
NiagaraAX-3.x
5–2
Opc Guide
APPENDIX A
Windows Tasks
This appendix provides procedures for Windows configuration tasks that may be needed at the OPC
server and/or client. The following main sections are included:
• Launching DCOMCNFG
• Windows XP Service Pack 2 (and later)
Launching DCOMCNFG
DCOMCNFG is “Distributed COM Configuration Properties,” and is used to configure security for
DCOM applications. As needed, launch it either from Windows 2000 or Windows XP.
Note: Starting in AX-3.4, NiagaraAX support for Windows 2000 ended. However, other Windows operating
systems are supported, including Windows Server 2003. Please consider Windows XP, described below, as
a “representative” Windows OS.
Windows 2000
Step 1 From the Windows Start menu, choose Run....
Step 2 In the Run dialog box, type in: dcomcnfg
and click OK.
Windows XP
Step 1 From the Windows Start menu, choose Run....
Step 2 In the Run dialog box, type in: dcomcnfg
and click OK.
A Component Services dialog appears, with a Console Root tree in the left pane. Under the
console root are Component Services, Event Viewer (Local), and Services (Local).
Windows Firewall
Configuration of the Windows Firewall is the same for both client and server. For troubleshooting, it
would be best to turn off the firewall, get everything working, and then turn it back on.
If the firewall is required, go to the firewall’s Exceptions tab and review the following:
• All OPC client and server programs on the local machine need to be added to the Exceptions tab.
The program to add for the OPC client is:
NiagaraRelease\nre\bin\niagarad.exe
• Add TCP port 135.
DCOM Enhancements
After launching DOMCNFG in Windows XP, do the following:
Step 1 In the Console Root tree, expand Component Services, then Computers.
NiagaraAX-3.x
A–1
Opc Guide
Windows XP Service Pack 2 (and later) Appendix A – Windows Tasks
DCOM Enhancements August 17, 2010
NiagaraAX-3.x
A–2
Opc Guide