View Issue Details

IDProjectCategoryView StatusLast Update
0005928NodeSets, XSDs and Generated CodeApi Changepublic2024-10-10 15:19
ReporterJim Luth Assigned ToRandy Armstrong  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0005928: 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 0005862 closedJeff Harding 10000-019: Dictionary Reference ValueRank mismatch between MultiStateDictionaryEntryDiscreteBaseType and its base type 
related to 0006243 closedRandy Armstrong NodeSets, XSDs and Generated Code ValueRank mismatch between MultiStateDictionaryEntryDiscreteBaseType and its base type 
related to 0006244 closedRandy Armstrong NodeSets, XSDs and Generated Code ValueRank mismatch between MultiStateDictionaryEntryDiscreteBaseType and its base type 
related to 0009881 closedKarl Deiretsbacher 10000-008: Data Access MultiStateValueDiscreteType is broken 

Activities

Melvin

2020-09-01 18:07

reporter   ~0012741

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-09-01 18:07

reporter   ~0012742

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-09-01 18:07

administrator   ~0012743

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-09-01 18:07

reporter   ~0012744

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-09-01 18:07

administrator   ~0012745

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-09-07 18:14

administrator   ~0012755

MultiStateDictionaryEntryDiscreteBaseType.ValueRank now Any.

Randy Armstrong

2021-02-23 17:31

administrator   ~0013776

MultiStateDictionaryEntryDiscreteType needs to be updated too.

Randy Armstrong

2021-03-02 13:06

administrator   ~0013870

NodeSet updated.

Jim Luth

2021-03-02 18:59

administrator   ~0013914

Agreed to changes in Virtual F2F.

Issue History

Date Modified Username Field Change
2020-09-01 18:07 Jim Luth New Issue
2020-09-01 18:07 Jim Luth Status new => assigned
2020-09-01 18:07 Jim Luth Assigned To => Randy Armstrong
2020-09-01 18:07 Jim Luth Issue generated from: 0005862
2020-09-01 18:07 Jim Luth Note Added: 0012741
2020-09-01 18:07 Jim Luth Note Added: 0012742
2020-09-01 18:07 Jim Luth Note Added: 0012743
2020-09-01 18:07 Jim Luth Note Added: 0012744
2020-09-01 18:07 Jim Luth Note Added: 0012745
2020-09-01 18:07 Jim Luth Relationship added related to 0005862
2020-09-01 18:08 Jim Luth Project 10000-019: Dictionary Reference => NodeSets, XSDs and Generated Code
2020-09-01 18:08 Jim Luth Category Spec => Api Change
2020-09-07 18:14 Randy Armstrong Status assigned => resolved
2020-09-07 18:14 Randy Armstrong Resolution open => fixed
2020-09-07 18:14 Randy Armstrong Note Added: 0012755
2020-11-10 17:53 Jim Luth Issue cloned: 0006243
2020-11-10 17:53 Jim Luth Relationship added related to 0006243
2020-11-10 17:54 Jim Luth Issue cloned: 0006244
2020-11-10 17:54 Jim Luth Relationship added related to 0006244
2021-02-23 17:31 Randy Armstrong Status resolved => assigned
2021-02-23 17:31 Randy Armstrong Note Added: 0013776
2021-03-02 13:06 Randy Armstrong Status assigned => resolved
2021-03-02 13:06 Randy Armstrong Note Added: 0013870
2021-03-02 18:59 Jim Luth Status resolved => closed
2021-03-02 18:59 Jim Luth Fixed in Version => 1.05
2021-03-02 18:59 Jim Luth Note Added: 0013914
2024-10-10 15:19 Paul Hunkar Relationship added related to 0009881