View Issue Details

IDProjectCategoryView StatusLast Update
000640910000-014: PubSubSpecpublic2021-06-11 14:14
ReporterMatthias Damm Assigned ToMatthias Damm  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Summary0006409: Allowed KeyFrameCount and UADP DataSetMessage type not defined for custom PublishedDataSets
Description

The possible number of DataSetMessages for one DataSetWriter in a NetworkMessage depends on the KeyFrameCount.
KeyFrameCount = 0 -> number is 0 to N
KeyFrameCount = 1 -> number is always 1
KeyFrameCount > 1 -> number is 0 or 1

The DataSetWriter sends DataSets. A DataSet is described by a DataSetMetaData and this is defined by a PublishedDataSet. A PublisedDataSet also defines the source of information (if visible in OPC UA).

There are two well defined sources (1) a list of OPC UA variables and (2) OPC UA events.
Other sources are application specific and also the configuration of the source is application specific.

For the two OPC UA defined sources, the allowed KeyFrameCount values are clearly defined:
(1) PublishedDataItems requires KeyFrameCount >=1
(2) PublishedEvents requires KeyFrameCount of 0

Therefore a PublishedDataItems PublishedData set can produce maximum one DataSetMessage per PublishingInterval. In UADP it produces either a Data Key Frame DataSetMessage or a Delta Frame DataSetMessage.

A PublishedEvents PublishedData set can produce one to N DataSetMessage per PublishingInterval. In UADP it produces Event DataSetMessages.

For custom sources, it is not defined what kind of KeyFrameCount they allow and also not what kind of UADP DataSetMessage they produce.
It would be good if we would define the allowed KeyFrameCount as property for custom PublishedDataSets.

Would the KeyFrameCount automatically defined the UADP DataSetMessage type?
1 - Data Key Frame DataSetMessage (Yes)
higer than 1 - Data Delta Frame DataSetMessage (Yes)
0 - Event DataSetMessage (not sure - currently event DataSetMessages are limited to Variant field encoding)

TagsNo tags attached.
Commit Version
Fix Due Date

Activities

Matthias Damm

2021-06-07 19:06

developer   ~0014495

Discussed in WG meeting
The information about the event vs. data message should be directly derived from the PublishedDataSet information
Add new concrete sub-type of PublishedDataSetSourceDataType that has a IsEventBase flag.
Change description of KeyFrameCount to refer to the information in PublishedDataSet for 0 vs. >=1
Clearly define message type directly based on PublishedDataSet (not indirectly through KeyFrameCount)

Matthias Damm

2021-06-11 13:44

developer   ~0014550

OPC 10000-14 - UA Specification Part 14 - PubSub 1.05.0 Draft34.docx

5.3.3 DataSetMessage
Introduced:

  • DataSetMessages are either sent cyclic or acyclic
  • Event DataSetMessages

6.2.2 PublishedDataSet parameters
6.2.2.1 Overview
Introduced:

  • published data items - cyclic
  • published events - acyclic
  • Custom data source with cyclic/acyclic indication
    6.2.2.9 Custom PublishedDataSet source
    Added new chapter / data type

9.1.4.2.1 PublishedDataSetType
Added optional PublishedDataSetType::CyclicDataSet Property

Jim Luth

2021-06-11 14:14

administrator   ~0014552

Agreed to changes edited in Virtual F2F.

Issue History

Date Modified Username Field Change
2021-01-27 21:32 Matthias Damm New Issue
2021-01-27 21:34 Matthias Damm Description Updated
2021-06-07 18:59 Matthias Damm Assigned To => Matthias Damm
2021-06-07 18:59 Matthias Damm Status new => assigned
2021-06-07 19:06 Matthias Damm Note Added: 0014495
2021-06-11 13:44 Matthias Damm Status assigned => resolved
2021-06-11 13:44 Matthias Damm Resolution open => fixed
2021-06-11 13:44 Matthias Damm Note Added: 0014550
2021-06-11 14:14 Jim Luth Status resolved => closed
2021-06-11 14:14 Jim Luth Fixed in Version => 1.05
2021-06-11 14:14 Jim Luth Note Added: 0014552