OPC DA Connect uses OPCDAAuto Service to communicate with OPC Servers. This service can return the following error codes.
Error code |
Message |
-1073479679 |
OpcInvalidHandle: The value of the handle is invalid. Note a client should never pass an invalid handle to a server. If this error occurs, it is due to a programming error in the client or possibly in the server. |
-1073479676 |
OpcBadType: The server cannot convert the data between the specified format/ requested data type and the canonical data type. |
-1073479675 |
OpcPublic: The requested operation cannot be done on a public group. |
-1073479674 |
OpcBadRights: The Items AccessRights do not allow the operation. |
-1073479673 |
OpcUnknownItemID: The item ID is not defined in the server address space (on add or validate) or no longer exists in the server address space (for read or write). |
-1073479672 |
OpcInvalidItemID: The item ID doesn't conform to the server's syntax. |
-1073479671 |
OpcInvalidFilter: The filter string was not valid |
-1073479670 |
OpcUnknownPath: The item's access path is not known to the server. |
-1073479668 |
OpcDuplicateName: Duplicate name not allowed. |
-1073479165 |
OpcInvalidPid: The passed property ID is not valid for the item. |
-1073479663 |
OpcNotFound: The requested object (e.g. a public group) was not found. |
-1073478656 |
OpcDeadbandNotSet: The item deadband has not been set for this item. |
-1073478655 |
OpcDeadbandNotSupported: The item does not support deadband. |
-1073478654 |
OpcNoBuffering: The server does not support buffering of data items that are collected at a faster rate than the group update rate |
-1073478653 |
OpcInvalidContinuationPoint: The continuation point is not valid |
-1073478651 |
OpcRateNotSet: Indicates that there is no sampling rate set for a particular item. In this case, the item defaults to the update rate of the group. |
-1073478650 |
OpcNotSupported: If a client attempts to write any value, quality, timestamp combination and the server does not support the requested combination (which could be a single quantity such as just timestamp), then the server will not perform any write and will return this error code. |
262157 |
OpcUnsupportedRate: The server does not support the requested data rate but will use the closest available rate. |
262158 |
OpcClamp: A value passed to WRITE was accepted but the output was clamped. |
262159 |
OpcInUse: The operation cannot be performed because the object is being referenced. |
263172 |
OpcDataQueueOverflow: Indicates that not every detected change has been returned for this item. This is an indicator that servers buffer reached its limit and had to purge out the oldest data. Only the most recent data is provided. The server should only remove the oldest data for those items that have newer samples available in the buffer. This will allow single samplings of older items to be returned to the client. |
1073479664 |
OpcInvalidConfigFile: The server's configuration file is an invalid format. |
1073479669 |
OpcRange: The value was out of range. |