DeltaV OPC Data Access Server functional overview

Common OPC error codes

These error codes can be returned by an OPC server. They can occur when OPC Mirror or any other OPC client communicates with a DeltaV OPC server. This is not a complete list of error codes. Refer to the OPC Foundation for more information.

Table: Common OPC error codes that can occur when the client is establishing a connection

Code

Description

0x80080005

(Server execution failed): Make sure the server machine is set up correctly by running an OPC client on it.

0x80070005

(General access denied error): If OPCPing works, make sure the user logged in to the client machine has a valid DeltaV account. If the client is run as a service configured with a specific user, make sure that user also has a valid DeltaV account.

0x80004005

(Unspecified error): Make sure the client has the appropriate privileges in the DeltaV system.

0x80070776

(The object exporter specified was not found.): Most instances of this error code occur when you try to connect two DeltaV systems and DCOM does not know which network

card to use for client/server communication. Make sure the system has NT 4.0 with service pack 3 (at least) and four hotfixes from Microsoft. (The hotfixes are already included in the DeltaV install image.) Then, make sure the network card for the client/server connection is the first in the network binding. Verify this by double-clicking Network in the control panel. Select the Bindings tab and then select all protocols from the drop-down list named "Show bindings for". Click the aforementioned network adapter in each category and move it up to the first place. Restart the system when prompted. Perform these tasks for both the client and server machines.

Table: Common OPC error codes from an OPC server

Code

Description

0xC0040001

An invalid handle was passed.

0xC0040002

A duplicate parameter was passed where one is not allowed.

0xC0040003

The server does not support the specified locale ID.

0xC0040004

The server cannot convert between the passed or requested data type and the canonical type.

0xC0040005

The requested operation cannot be done on a public group.

0xC0040006

The item's access rights do not allow the operation.

0xC0040007

The item definition does not exist within the server's address space.

0xC0040008

The item definition does not conform to the server's syntax.

0xC0040009

The filter string is not valid.

0xC004000A

The server does not recognize the item's access path.

0xC004000B

The value passed to WRITE was out of range.

0xC004000C

A group with a duplicate name already exists in the server.

0x0004000D

The server does not support the requested rate but will use the closest available.

0x0004000E

A value passed to WRITE was accepted but was clamped.

0xC0040800

The server cannot currently communicate to the device requested.

0x00040801

The server cannot currently communicate to the device requested, but the item was added.

0xC0040802

The function block has indicated a mode discrepancy.

0xC0040803

The server could not open the database for browsing.

0xC0040804

There are no branches to browse.

0xC0040805

The name supplied is not a valid branch name.

0xC0040806

WRITE operations are not allowed on the item.

0xC0040807

DeltaV controller software revision does not match the workstation.

0xC0040808

No device with the supplied name could be found.

0xC0040809

No device with the supplied ID could be found.

0xC004080A

There is no actual device associated with this object anymore.

0xC004080B

Exceeded OPC Server license limit. Item not added.

0x0004080C

The call succeeded, but there are no devices connected to this instance.

0xC0040864

The handler is inconsistent.

0xC0040865

The group is not in the handler.

0xC0040866

The item is not in the handler.

0xC0040867

The handler's counter overflows.

0xC0040868

There is no interface pointer to the remote object.

0xC0040869

Cannot find a real connection from the client.

0xC004086A

This is a solitary group.

0xC004086B

This is a solitary item.

0xC004086C

Cannot find transaction for this ID.

0x0004086D

The client sink does not provide the entry point of callback.