View Issue Details

IDProjectCategoryView StatusLast Update
000357410000-006: MappingsSpecpublic2016-12-06 17:43
ReporterMatthias Damm Assigned Torandyarmstrong  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.03 
Target Version1.03 
Summary0003574: UA Binary encoding for Structures with optional fields needs clarification
Description

5.2.6 Structures with optional fields
Structures with optional fields are encoded with an encoding mask and as a sequence of fields in the order that they appear in the definition. The encoding for each field is determined by the data type for the field.
The EncodingMask is a 32-bit unsigned integer. Each optional field is assigned exactly one bit, however, a single bit may control multiple fields. The bits assigned to fields may not be contiguous. Unassigned bits are set to 0 by encoders. Decoders shall report an error if assigned bits are not 0.

The part 'however, a single bit may control multiple fields' makes no sense.

It may be possible to define this with the OPC Binary schema but it cannot be defined through the UANodeset XML schema (which should be the leading schema) and also not possible with the new StructureField provided in the new DataTypeDescripiton attribute.

The part of the sentence should be removed from the spec, including an errata for 1.03.

TagsNo tags attached.
Commit Version
Fix Due Date

Activities

Matthias Damm

2016-10-18 14:55

developer   ~0007256

There are related issues posted by Bjarne Boström and there maybe overlap.
He asked me the question that triggered this Mantis issue.

randyarmstrong

2016-12-04 20:13

administrator   ~0007401

Removed text "however, a single bit may control multiple fields."

Created errata.

Jim Luth

2016-12-06 17:43

administrator   ~0007447

Agreed to 1.04 changes and 1.03 Errata

Issue History

Date Modified Username Field Change
2016-10-18 14:53 Matthias Damm New Issue
2016-10-18 14:55 Matthias Damm Note Added: 0007256
2016-11-22 17:17 Jim Luth Assigned To => randyarmstrong
2016-11-22 17:17 Jim Luth Status new => assigned
2016-12-04 20:13 randyarmstrong Note Added: 0007401
2016-12-04 20:13 randyarmstrong Status assigned => resolved
2016-12-04 20:13 randyarmstrong Resolution open => fixed
2016-12-06 17:43 Jim Luth Note Added: 0007447
2016-12-06 17:43 Jim Luth Status resolved => closed
2016-12-06 17:43 Jim Luth Fixed in Version => 1.04