7 using dcom opc servers, Opc servers on windows nt/windows 2000, Using dcom opc servers – Rockwell Automation 1757-PROCESSLINX ProcessLinx OPC Server to Server Software User Manual User Manual

Page 63: Opc servers on windows nt/windows 2000 -1, Chapter

Advertising
background image

1

Publication 1757-UM002B-EN-P - January 2003

Chapter

7

Using DCOM OPC Servers

This section details how to setup and diagnosis problems with DCOM Servers
over a TCP/IP network. This is not an exhaustive guide and only discusses the
common problems found with DCOM Network setup.

All of the software components of the ProcessLogix OPC Server are installed
during the ProcessLogix server installation. The OPC Server option MUST be
included with your ProcessLogix license. In order for ProcessLinx to connect
to the ProcessLogix OPC Server over the network, the OPC Server Connect
option must be installed on the client PC. Follow the directions outlined in the
ProcessLogix Server and Client Installation Guide to setup a network connec-
tion correctly. If problems persist, this section may be used to connect your
DCOM OPC Servers over the network.

In most cases, the TCP/IP network protocol must be installed and enabled on
the PC before DCOM can be used. Before connecting to each OPC Server,
the server must be in the Registry on the PC running ProcessLinx. The OPC
Server generally performs this step at installation or when it is run for the first
time.

If this does not occur, register the server:

1. Run regsvr32 <server.exe>” where server.exe is the name of the

executable OPC Server.

2. The OPC Proxy DLL must also be registered on each PC using DCOM.

Copy <opcproxy.dll> to the Windows System32 directory.

In Windows NT, this directory is found at: C:\WINNT\System32. Run
regsvr32 opcproxy.dll. A message displays stating that the registration
succeeded. If the OPC Proxy is not registered on the local or remote
node, a message displays indicating this at runtime startup or when a
server switchover/fail-over occurs.

OPC Servers on Windows NT/Windows 2000

In Windows NT/Windows 2000, access to the OPC Server is setup using the
<dcomcnfg.exe> (DCOM Configuration) program. In this program, the
identity of the OPC Server must be set to Interactive User. This can be verified

Advertising