OPC - PC Specification/Performance

<< Click to Display Table of Contents >>

Navigation:  Instrument Connectivity > OPC Client Support - Overview >

OPC - PC Specification/Performance

Previous pageReturn to chapter overviewNext page

 

To provide some idea of the overhead that OPC puts on a PC we ran SpecView (build #693) and created project that included a Eurotherm 2404 connected to running iTools running on the same PC.

Operating System

Processor

Memory

(Mb RAM)

Time taken to for OPC Browser to appear

Time taken to load up the Eurotherm.ModbusServer.1 with Groups and Items in the OPC Browser

Time taken to create an instrument for the 2404 with 4,438 parameters

Windows XP

AMD Athlon 1100

256

< 1 second

< 1 second

16 seconds

Windows 2000

Pentium III 450

380

3.3 seconds

3.8 seconds

34.1 seconds

Windows 98

Pentium I 100

48

5.8 seconds

1 minute 39 seconds

3 minutes 54 seconds

The above test was used to give a worse case scenario – it is doubtful that any user would put 4,438 parameters on open GDW's. However it is good at pointing out that using a good specification of PC is worthwhile.

Debugging

SpecView can generate debug messages for errors generated by the OPC Browser. To turn debugging on or off use Preferences - Debug from the File menu.

SpecView Error Codes

You will see these if you have turned debugging on and look at the debug.txt file in your project folder e.g. C:\SV3\Furnace

Error code

Description

Meaning

18219

OPC Server status cannot be obtained

The OPC Server must be shutdown and restarted.

18229

OPC Server status indicates not running normally

The OPC Server must be shutdown and restarted.

The explainations for other codes are in Error Codes and Error Codes Protocol Specific.

OPC Error Codes

You will see these if you have turned debugging on and look at the svdata.txt file in your SpecView installation folder e.g. C:\SV3

Error code (in hex)

Description

Meaning

0004000D

OPC_S_UNSUPPORTEDRATE

The OPC Server cannot handle the scan rate in your project. Change the scan rates in File->Preferences under the Runtime tab and retry.

80010108

RPC_E_DISCONNECTED

The OPC Server has gone off line. Go into Edit Mode or exit SpecView. Then OPC Server must be shutdown and restarted. Then go online to SpecView.

80040154

REGDB_E_CLASSNOTREG

Update to build #693 or above.

If you are using a build of #693 or above then contact your SpecView representative to pass on your svdata.txt.

800706BA

RPC_S_SERVER_UNAVAILABLE

OPC Browser is trying to connect to remote OPC Server.

OPC Browser cannot connect to remote OPC Server as either it is not running or you do not have security access to it or access to DCOM.

800706D3

RPC_S_UNKNOWN_AUTHN_SERVICE

OPC Browser is trying to connect to remote OPC Server.

OPC Browser cannot connect to remote OPC Server, as you do not have security access to it or access to DCOM.

C0000005

Unknown

Shutdown and restart your OPC Server.

C0040007

OPC_E_UNKNOWNITEMID

Contact your SpecView representative to pass on your svdata.txt.

C004000C

OPC_E_DUPLICATENAME

Contact your SpecView representative to pass on your svdata.txt.

Further information

http://www.opcfoundation.org/

http://www.opceurope.org/

Microsoft’s article Q174024 “DCOM95 Frequently Asked Questions”