View Issue Details

IDProjectCategoryView StatusLast Update
000592710000-008: Data AccessSpecpublic2020-09-08 15:18
ReporterJim Luth Assigned ToKarl Deiretsbacher  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0005927: 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 

Activities

Melvin

2020-09-01 18:06

reporter   ~0012736

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:06

reporter   ~0012737

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:06

administrator   ~0012738

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:06

developer   ~0012739

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:06

administrator   ~0012740

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.

Karl Deiretsbacher

2020-09-02 12:53

developer   ~0012749

Added new entryto ERRATA 1.04.8 and 1.03.8.

Jim Luth

2020-09-08 15:18

administrator   ~0012770

Agreed to changes edited in telecon and 1.03 and 1.04 Errata.

Issue History

Date Modified Username Field Change
2020-09-01 18:06 Jim Luth New Issue
2020-09-01 18:06 Jim Luth Status new => assigned
2020-09-01 18:06 Jim Luth Assigned To => Karl Deiretsbacher
2020-09-01 18:06 Jim Luth Issue generated from: 0005862
2020-09-01 18:06 Jim Luth Note Added: 0012736
2020-09-01 18:06 Jim Luth Note Added: 0012737
2020-09-01 18:06 Jim Luth Note Added: 0012738
2020-09-01 18:06 Jim Luth Note Added: 0012739
2020-09-01 18:06 Jim Luth Note Added: 0012740
2020-09-01 18:06 Jim Luth Relationship added related to 0005862
2020-09-01 18:06 Jim Luth Project 10000-019: Dictionary Reference => 10000-008: Data Access
2020-09-02 12:53 Karl Deiretsbacher Status assigned => resolved
2020-09-02 12:53 Karl Deiretsbacher Resolution open => fixed
2020-09-02 12:53 Karl Deiretsbacher Note Added: 0012749
2020-09-08 15:18 Jim Luth Status resolved => closed
2020-09-08 15:18 Jim Luth Fixed in Version => 1.05
2020-09-08 15:18 Jim Luth Note Added: 0012770