View Issue Details

IDProjectCategoryView StatusLast Update
0007630Part 81: UAFX Connecting Devices and Information ModelSpecpublic2022-02-04 14:35
ReporterBrian Batke Assigned ToGeorg Biehler  
PrioritynormalSeveritymajorReproducibilityhave not tried
Status closedResolutionreopened 
Fixed in Version1.00.00 Release 
Summary0007630: EstablishConnections: Resolve and clarify behavior with "mixed" Enabled flags PubSub config
Description

We have an open issue regarding behavior when a device receives EstablishConnections with PubSub that has mixed values for Enabled flags. e.g., Connection disabled but writer groups enabled. Or one writer group enabled but other disabled. This could lead to difficulty in diagnosing behavior in the field, especially if the server does not expose the PubSub objects in its address space.

Proposal to allow implementations to return an error when such an inconsistent configuration is received. However there were some differing opinions on what the behavior should be, and what should be documented (at a minimum something needs to be documented)

TagsNo tags attached.

Activities

Paul Hunkar

2022-01-21 13:39

manager   ~0015793

check to make sure it is clear enough - that pubSub configuration is just applied.

Georg Biehler

2022-01-24 15:04

developer   ~0015830

Behaviour is stated as follows:

Section 6.7.4.3.1 - end of the section:

The ConnectionManager shall ensure the expected result of the requested Action as follows:
• Calling ProcessConnectionConfigurationSets with Action set to ActionEstablishConnectionsEnabled shall establish all logical connections contained in the ConnectionConfigurationSets with a disabled communication model in the SetCommunicationConfigurationCmd and the ConnectionManager shall include EnableCommunicationCmd in the command sequence to enable the communication.
• Calling ProcessConnectionConfigurationSets with Action set to ActionEstablishConnectionsDisabled shall establish all logical connections contained in the ConnectionConfigurationSets with a disabled communication model in the SetCommunicationConfigurationCmd and the ConnectionManager shall omit EnableCommunicationCmd from the command sequence.
• Calling ProcessConnectionConfigurationSets with Action set to ActionEstablishConnections shall establish all logical connections contained in the ConnectionConfigurationSets with the communication model in its initial state. The ConnectionManager shall omit EnableCommunicationCmd from the command sequence. Depending on the initial state of the configuration elements, parts of the communication model may be enabled. This allows, for example, to have a subset of the connections enabled and the rest disabled.

and section 6.2.4.3.9.2 second paragraph

The EstablishConnections implementation shall add the supplied PubSubConfiguration to PubSub as described in OPC 10000-14. If an error is returned, the EstablishConnections implementation shall abort processing as described in 6.2.4.3.11. The SetCommunicationConfigurationCmd will apply the PubSubConfiguration, including the values of all Enabled flags for the configuration elements. This may result in enabled PubSub communication without passing the EnableCommunicationCmd.

We could add in both places, that a mixed behaviour could result, when a bidirectional connection is only partially enabled. Leave that to a decision in the team

Brian Batke

2022-01-24 17:36

developer   ~0015835

Suggest several clarifications to Part 81.

6.7.4.3.1:

  • for the ActionEstablishedConnectionsEnabled/Disabled, explicitly state that the "Enabled" variables in the communications config shall bet set to enabled/disabled.
  • for the ActionEstablishConnections, rather than "communications model in its initial state", state that the value of the Enabled flags in the communications config shall be as configured by the configuration tool. And then note that it is the responsibility of the tool to properly and consistently configure the values of the Enabled variables

6.2.4.3.9.2:

  • to the last sentence, also add that this "may result in some parts of the PubSub comminications with Enabled variables being set to enabled and others being set to disabled" (or something like that). And then further note that it is the responsibility of the configuration tools to properly configure the Enabled variables.

Georg Biehler

2022-01-25 10:03

developer   ~0015838

Added clarifications as proposed to 6.7.4.3.1 and 6.2.4.3.9.2.

Georg Biehler

2022-01-26 08:36

developer   ~0015868

Additional clarification in CloseConnection needed

Georg Biehler

2022-01-26 08:38

developer   ~0015869

Added clarifications to 6.7.4.3.1 (ConnectionManager), 6.2.4.3.9.2 (SetCommunicationConfigurationCmd) and 6.2.5.2 (CloseConnections)

Paul Hunkar

2022-02-04 14:35

manager   ~0015919

Reviewed changes, agreed to updates in call and closed issue

Issue History

Date Modified Username Field Change
2022-01-21 13:23 Brian Batke New Issue
2022-01-21 13:36 Paul Hunkar Assigned To => Georg Biehler
2022-01-21 13:36 Paul Hunkar Status new => assigned
2022-01-21 13:39 Paul Hunkar Note Added: 0015793
2022-01-24 15:04 Georg Biehler Note Added: 0015830
2022-01-24 17:36 Brian Batke Note Added: 0015835
2022-01-25 10:03 Georg Biehler Status assigned => resolved
2022-01-25 10:03 Georg Biehler Resolution open => fixed
2022-01-25 10:03 Georg Biehler Fixed in Version => 1.00.00 Release
2022-01-25 10:03 Georg Biehler Note Added: 0015838
2022-01-26 08:36 Georg Biehler Status resolved => feedback
2022-01-26 08:36 Georg Biehler Resolution fixed => reopened
2022-01-26 08:36 Georg Biehler Note Added: 0015868
2022-01-26 08:38 Georg Biehler Status feedback => resolved
2022-01-26 08:38 Georg Biehler Note Added: 0015869
2022-02-04 14:35 Paul Hunkar Status resolved => closed
2022-02-04 14:35 Paul Hunkar Note Added: 0015919