View Issue Details

IDProjectCategoryView StatusLast Update
000265110000-008: Data AccessSpecpublic2015-03-24 16:08
ReporterRAGHAVENDRA RAO Assigned ToKarl Deiretsbacher  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Target Version1.03Fixed in Version1.03 
Summary0002651: No specification exists on Mapping OPC DA Error Code information of each function such as Read, Write to OPC UA Status Codes.
Description

Currently There are no standard mapping specifications between the OPC DA Error code and OPC UA error code. It exists only in the COM Interop source code.

Also some of the error codes such as E_INVALID_PID don’t have equivalent mapping.

Based on this, we have come up with our own mapping that includes the ones from the COM Interop code. This mapping is in the attached file.

But even with this mapping, we have had issues. Below is an example:

This is based on the mapping of OPC DA error code E_UNKNOWNITEMID mapped to OPC UA status code of BadNodeIdUnknown .

If a User perform a Read on a NodeID mapped to ItemId in OPC DA but gets a operation status code of BadNodeIdUnknown, He does not know if the item does not exist in OPC DA Server or OPC UA server (both cases are valid).

The current solution to the problem is to include the OPC DA error code (HRESULT) in the Diagnostic Info to distinguish it from a OPC UA error.

Suggestion:
It would be useful to have specific OPC UA Status codes related to legacy OPC errors (such as OPC DA) or even provide similar specification as above so that vendor can conform to standard status codes and it becomes easier to trouble shoot issues.

TagsNo tags attached.
Attached Files
Commit Version
Fix Due Date

Relationships

related to 0002650 closedKarl Deiretsbacher No specification exists on Mapping OPC DA Value Quality Timestamp information to OPC UA Data Value & DiagnosticInfo 

Activities

Jim Luth

2013-11-19 17:26

administrator   ~0005126

Discussed in telecon. Agreed it would be good to have this in a non-normative appendix in Part 8 (parallel to the A&E mapping in Part 9). Paul will ask Rao if he is willing to write the appendix and/or provide additional text.

Karl Deiretsbacher

2015-03-24 16:07

developer   ~0005947

We added an Annex for this mapping to OPC UA Part 8 - DataAccess 1.03 Draft 05.docx.

Jim Luth

2015-03-24 16:08

administrator   ~0005949

Agreed to changes in annex (long ago).

Issue History

Date Modified Username Field Change
2013-10-11 10:38 RAGHAVENDRA RAO New Issue
2013-10-11 10:38 RAGHAVENDRA RAO File Added: OPC DA Error Code to OPC UA Status code Mapping.pdf
2013-11-19 17:26 Jim Luth Note Added: 0005126
2013-11-19 17:26 Jim Luth Relationship added related to 0002650
2013-11-19 17:27 Jim Luth Project Specifications => 10000-008: Data Access
2013-11-19 17:28 Jim Luth Status new => confirmed
2014-08-07 23:37 Karl Deiretsbacher Assigned To => Karl Deiretsbacher
2014-08-07 23:37 Karl Deiretsbacher Status confirmed => assigned
2014-08-07 23:39 Karl Deiretsbacher Severity feature => minor
2014-08-19 17:33 Jim Luth Category (No Category) => Spec
2014-08-19 17:33 Jim Luth Target Version => 1.03
2015-03-24 16:07 Karl Deiretsbacher Note Added: 0005947
2015-03-24 16:07 Karl Deiretsbacher Status assigned => resolved
2015-03-24 16:07 Karl Deiretsbacher Fixed in Version => 1.03
2015-03-24 16:07 Karl Deiretsbacher Resolution open => fixed
2015-03-24 16:08 Jim Luth Note Added: 0005949
2015-03-24 16:08 Jim Luth Status resolved => closed