View Issue Details

IDProjectCategoryView StatusLast Update
000558910000-003: Address SpaceSpecpublic2020-04-28 17:46
ReporterHock, Christian Assigned ToJeff Harding  
PriorityurgentSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Summary0005589: Clarification for the abstract DataTypes "BaseDataType", "Number", "UInteger" and "Integer" needed
Description

An customer created an SubType from UInteger named "halfByte".

  • complaining about that he is not able to define the length of the created SubType "halfByte" and how to define the valid bits which represents the "halfByte".
  • complaining about that he is not able to serialize/deserialize this "halfByte" without changes in the OPC UA de-/encoder.

The argumentation from him - as it is described in Part 3-V1.04 - he should be able (allowed) to do this:

  • 8.7 BaseDataType
    This abstract DataType defines a value that can have any valid DataType.
  • 8.31 Number
    This abstract DataType defines a number. Details are defined by its subtypes.
  • 8.34 UInteger - 8.24 Integer is similar
    This abstract DataType defines an unsigned integer whose length is defined by its subtypes.

A good Solution - especially for interoperability of de-/encoding which is defined by our OPC UA Specs:

  • for 8.7 - explain what is a "valid DataType" and who (OPC Foundation only?) is allowed to define subtypes of this (and how).
  • for 8.31 - explain who (OPC Foundation only?) is allowed to define subtypes of this (and how).
  • for 8.24 and 8.34 - explain who (OPC Foundation only?) is allowed to define subtypes of this (and how).
TagsNo tags attached.
Commit Version
Fix Due Date

Activities

Jeff Harding

2020-04-28 16:43

developer   ~0012006

Abstract datatypes which do not have an encoding defined in Part 6 can't actually be subtyped since there is no way for the code to determine what concrete encoding should be used. The concrete types defined for an abstract type can subtyped.

Added the following sentence to Part 3's definitions of BaseDataType, Number, Integer and UInteger.

"This abstract DataType does not have an encoding defined in OPC 10000-6 and therefore can not be directly subtyped."

Jim Luth

2020-04-28 17:46

administrator   ~0012010

Agreed to changes in telecon.

Issue History

Date Modified Username Field Change
2020-04-24 10:48 Hock, Christian New Issue
2020-04-28 16:37 Jim Luth Assigned To => Jeff Harding
2020-04-28 16:37 Jim Luth Status new => assigned
2020-04-28 16:43 Jeff Harding Status assigned => resolved
2020-04-28 16:43 Jeff Harding Resolution open => fixed
2020-04-28 16:43 Jeff Harding Fixed in Version => 1.05
2020-04-28 16:43 Jeff Harding Note Added: 0012006
2020-04-28 17:46 Jim Luth Status resolved => closed
2020-04-28 17:46 Jim Luth Note Added: 0012010