View Issue Details

IDProjectCategoryView StatusLast Update
0006244NodeSets, XSDs and Generated CodeApi Changepublic2021-03-02 18:32
ReporterJim Luth Assigned ToRandy Armstrong  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0006244: ValueRank mismatch between MultiStateDictionaryEntryDiscreteBaseType and its base type
Description

The ValueRank attribute (-1) of MultiStateDictionaryEntryDiscreteBaseType (https://reference.opcfoundation.org/v104/Core/VariableTypes/MultiStateDictionaryEntryDiscreteBaseType/) does not match the ValueRank attribute (-1) of its base type MultiStateValueDiscreteType (https://reference.opcfoundation.org/v104/Core/VariableTypes/MultiStateValueDiscreteType/).

TagsNo tags attached.
Commit Version
Fix Due Date

Relationships

related to 0005928 closedRandy Armstrong ValueRank mismatch between MultiStateDictionaryEntryDiscreteBaseType and its base type 

Activities

Melvin

2020-11-10 17:54

reporter   ~0013176

It seems I can not edit my own issue. I meant to say that the ValueRank attribute of MultiStateValueDiscreteType is -2, not -1.

Christian von Arnim

2020-11-10 17:54

reporter   ~0013177

This issue was initially discussed here: https://github.com/open62541/open62541/issues/3826

The problem occures, when implementing the PADIM companion specification

MultiStateValueDiscreteType (ns=0;i=11238, ValueRank=-2[ANY]) --HasSubtype-->MultiStateDictionaryEntryDiscreteBaseType (ns=0;i=19077, ValueRank=-1[SCALAR]) --HasSubtype-->MultiStateDiscreteSignalVariableType(ns=PADIM;i1142, ValueRank=-2[ANY])

According to https://reference.opcfoundation.org/v104/Core/docs/Part3/6.2.7/ either MultiStateDictionaryEntryDiscreteBaseType should be ValueRank=-2, or MultiStateDiscreteSignalVariableType should have ValueRank=-1

Jim Luth

2020-11-10 17:54

administrator   ~0013178

Either PA-DIM needs to change to ValueRank = -1, or Part 19 needs to change to ValueRank=-2. Not sure which makes sense.

Jeff Harding

2020-11-10 17:54

reporter   ~0013179

During the August 27, 2019 TWG review of the Part 19 draft the ValueRank of the MultiStateDictionaryEntryDiscreteBaseType was changed to a Scalar.
During this review it was noted that since it is a subtype of MultiStateValueDiscreteType (defined in Part 8) which has a ValueRank of Scalar then it also needs to be Scalar.
Reference to meeting recording is https://youtu.be/_pT2ka45LyE start listening at 1:52:00.

I suggest we advise FCG that the PA-DIM spec needs to be updated.

-

Jim Luth

2020-11-10 17:54

administrator   ~0013180

Agreed to change specs to match nodeset (that has always been "any" since 1.03). Affects Part 8 and Part 19. Need Errata for 1.03 and 1.04.
Nodeset also needs to be changed (1.04) for MultistateDictionaryEntryDiscreteBaseType and MultistateDictionaryEntryDiscreteType from Scalar to Any.

Randy Armstrong

2020-11-10 17:54

administrator   ~0013181

MultiStateDictionaryEntryDiscreteBaseType.ValueRank now Any.

Randy Armstrong

2021-03-02 13:06

administrator   ~0013869

Errata created. NodeSet updated.

Jim Luth

2021-03-02 18:32

administrator   ~0013898

Agreed to changes in Virtual F2F.

Issue History

Date Modified Username Field Change
2020-11-10 17:54 Jim Luth New Issue
2020-11-10 17:54 Jim Luth Status new => assigned
2020-11-10 17:54 Jim Luth Assigned To => Randy Armstrong
2020-11-10 17:54 Jim Luth Issue generated from: 0005928
2020-11-10 17:54 Jim Luth Note Added: 0013176
2020-11-10 17:54 Jim Luth Note Added: 0013177
2020-11-10 17:54 Jim Luth Note Added: 0013178
2020-11-10 17:54 Jim Luth Note Added: 0013179
2020-11-10 17:54 Jim Luth Note Added: 0013180
2020-11-10 17:54 Jim Luth Note Added: 0013181
2020-11-10 17:54 Jim Luth Relationship added related to 0005928
2021-03-02 13:01 Randy Armstrong Target Version 1.03 => 1.04
2021-03-02 13:06 Randy Armstrong Status assigned => resolved
2021-03-02 13:06 Randy Armstrong Resolution open => fixed
2021-03-02 13:06 Randy Armstrong Note Added: 0013869
2021-03-02 18:32 Jim Luth Status resolved => closed
2021-03-02 18:32 Jim Luth Fixed in Version => 1.04
2021-03-02 18:32 Jim Luth Note Added: 0013898