How to know OPC Server ID

A

Thread Starter

Anonymous

How to list all the OPC server active on a Windows 2000 Machine? I need to know the OPC Server ID to be used on a remote client to connect to OPC Server Computer.
 
Anonymous,

Connect to OPCEnum.exe with DCOM. It should be running as a service on the machines with the OPC servers. The interface works much like the standard COM Component Categories Manager interface. These are the things to
look into.

Mark
[email protected]
 
J

James Aulgur

You can either get s OPC server explorer from a share whare outlet (I have heard about these but have never used one). Or you could log into the server and pull up the server software running the OPC gateway itself.
Jim...
 
Anonymous,
Connect to OPCEnum.exe with DCOM. It should be running as a service on the machines with the OPC servers. The interface works much like the standard COM Component Categories Manager interface. These are the things to look into.

Mark
[email protected]
 
Basically you are looking for an OPC Explorer to identify all (correctly) configured and running OPC Servers? Your best bet is to go to OPC Foundation web site and download a free explorer tool. They will allow you to 'Browse ' all the available OPC Servers and Tags.
 
M
Anonymous,
Connect to OPCEnum.exe with DCOM. It should be running as a service on the machines with the OPC servers. The interface works much like the standard COM Component Categories Manager interface. These are the things to look into.

Mark

[email protected]
 
J

Juergen Rensen

Some OPC clients display such information about the OPC server, for example, OPC Office Link (http://www.ris.co.nz/opc/opcofficelink.html) is a tool that displays the OPC server identifiers (CLSID and Application ID) when you right click on the OPC server icon and view the properties (you can download a free demo version that runs for a while, sufficient for this purpose).

Another option is to search the Windows registry (click on the Start button and Run command 'regedit'). Under node HKEY_CLASSES_ROOT scroll down until you see an entry starting with your OPC server vendor's name, you should find something like 'Vendor.OPCServer.1' with 'Vendor.OPCServer.1' being the Application ID of the OPC server. A sub-node contains the CLSID of the OPC server (the CLSID is what you need for remote clients).
 
J
What do you mean by "ID"? Any OPC client will give you a list of the OPC servers.

Are you looking for the CLSID? If so you can use Iconics Dr. DCOM to find out.

You can also try DCOMCNFG

If you set up your DCOM security properly in both server and client machine you should in most cases be able to browse to locate servers from a remote client without having to know CLSID.

Jonas Berge SMAR
===========
[email protected]
www.smar.com
Learn fieldbus at your own pace: www.isa.org/fieldbuses
 
Top