The parameter NetworkMessageContentMaskdefines the optional header fields to be included in the NetworkMessagesproduced by the WriterGroup. The DataTypefor the JSON NetworkMessagemapping is JsonNetworkMessageContentMask.

The DataType JsonNetworkMessageContentMaskis formally defined in Table 92.

Table 92– JsonNetworkMessageContentMask values

Value

Bit No.

Description

NetworkMessageHeader

0

The JSON NetworkMessageheader is included in the NetworkMessages.

If this bit is false, bits 3 and 4 shall be 0.

DataSetMessageHeader

1

The JSON DataSetMessageheader is included in each DataSetMessage.

If this bit is false then the DataSetMessageContentMaskfor the DataSetWritersis ignored (see 6.3.2.3.1).

SingleDataSetMessage

2

Each JSON NetworkMessagecontains only one DataSetMessage.

PublisherId

3

The PublisherIdis included in the NetworkMessages.

DataSetClassId

4

The DataSetClassIdis included in the NetworkMessages.

The NetworkMessagecan only contain DataSetMessageswith the same DataSetClassId. If DataSetMessageshave different DataSetClassIdsthey must be sent in individual NetworkMessages.

ReplyTo

5

Reserved.

The JsonNetworkMessageContentMaskrepresentation in the AddressSpaceis defined in Table 93.

Table 93– JsonNetworkMessageContentMask definition

Attribute

Value

BrowseName

JsonNetworkMessageContentMask

IsAbstract

False

References

Node Class

BrowseName

DataType

TypeDefinition

Others

Subtype of UInt32 defined in OPC 10000-5

HasProperty

Variable

OptionSetValues

LocalizedText []

PropertyType

Conformance Units

PubSub Parameters JSON

This Structure DataTypeis used to represent the JSON NetworkMessagemapping specific WriterGroupparameters. It is a subtype of WriterGroupMessageDataTypedefined in 6.2.6.7.3.

The JsonWriterGroupMessageDataTypeis formally defined in Table 94.

Table 94– JsonWriterGroupMessageDataType structure

Name

Type

Description

JsonWriterGroupMessageDataType

Structure

Subtype of WriterGroupMessageDataTypedefined in 6.2.6.7.3.

NetworkMessageContentMask

JsonNetworkMessageContentMask

Defined in 6.3.2.1.1.

Its representation in the AddressSpace is defined in Table 95.

Table 95– JsonWriterGroupMessageDataType definition

Attributes

Value

BrowseName

JsonWriterGroupMessageDataType

IsAbstract

False

Subtype of WriterGroupMessageDataTypedefined in 6.2.6.7.3.

Conformance Units

PubSub Parameters JSON

There are no JSON specific message mapping parameters defined for the ReaderGroup.

The DataSetMessageContentMaskdefines the flags for the content of the DataSetMessageheader. The JSON message mapping specific flags are defined by the JsonDataSetMessageContentMask DataType.

The JsonDataSetMessageContentMask DataTypeis formally defined in Table 96.

Table 96– JsonDataSetMessageContentMask values

Value

Bit No.

Description

DataSetWriterId

0

If this flag is set, a DataSetWriterId shall be included in the DataSetMessageheader.

MetaDataVersion

1

If this flag is set, the ConfigurationVersionis included in the DataSetMessageheader.

SequenceNumber

2

If this flag is set, the DataSetMessageSequenceNumber is included in the DataSetMessage header.

Timestamp

3

If this flag is set, a timestamp shall be included in the DataSetMessageheader.

Status

4

If this flag is set, an overall status is included in the DataSetMessageheader.

MessageType

5

If this flag is set, the message type is included in the DataSetMessageheader.

DataSetWriterName

6

If this flag is set, a DataSetWriterName shall be included in the DataSetMessageheader.

ReversibleFieldEncoding

7

If this flag is set, the DataSetMessage fields are encoded in the reversible JSON encoding and in the non-reversible JSON encoding otherwise.

The JsonDataSetMessageContentMask representation in the AddressSpaceis defined in Table 97.

Table 97– JsonDataSetMessageContentMask definition

Attribute

Value

BrowseName

JsonDataSetMessageContentMask

IsAbstract

False

References

Node Class

BrowseName

DataType

TypeDefinition

Others

Subtype of UInt32 defined in OPC 10000-5

HasProperty

Variable

OptionSetValues

LocalizedText []

PropertyType

Conformance Units

PubSub Parameters JSON

This Structure DataTypeis used to represent JSON DataSetMessagemapping specific DataSetWriterparameters. It is a subtype of the DataSetWriterMessageDataTypedefined in 6.2.4.5.3.

The JsonDataSetWriterMessageDataTypeis formally defined in Table 98.

Table 98– JsonDataSetWriterMessageDataType structure

Name

Type

Description

JsonDataSetWriterMessageDataType

Structure

Subtype of DataSetWriterMessageDataTypedefined in 6.2.4.5.3.

DataSetMessageContentMask

JsonDataSetMessageContentMask

Defined in 6.3.2.3.1.

Its representation in the AddressSpace is defined in Table 99.

Table 99– JsonDataSetWriterMessageDataType definition

Attributes

Value

BrowseName

JsonDataSetWriterMessageDataType

IsAbstract

False

Subtype of DataSetWriterMessageDataTypedefined in 6.2.4.5.3.

Conformance Units

PubSub Parameters JSON

The NetworkMessageContentMaskwith DataType JsonNetworkMessageContentMaskindicates the optional header fields included in the received NetworkMessages. The JsonNetworkMessageContentMask DataTypeis defined in 6.3.2.1.1.

The DataSetMessageContentMaskwith the DataType JsonDataSetMessageContentMaskindicates the optional header fields included in the DataSetMessages.

The JsonDataSetMessageContentMaskDataType is defined in 6.3.2.3.1.

This Structure DataTypeis used to represent JSON DataSetMessagemapping specific DataSetReaderparameters. It is a subtype of the DataSetReaderMessageDataTypedefined in 6.2.9.13.3.

The JsonDataSetReaderMessageDataTypeis formally defined in Table 100.

Table 100– JsonDataSetReaderMessageDataType structure

Name

Type

Description

JsonDataSetReaderMessageDataType

Structure

Subtype of DataSetReaderMessageDataTypedefined in 6.2.9.13.3.

NetworkMessageContentMask

JsonNetworkMessageContentMask

Defined in 6.3.2.4.1.

DataSetMessageContentMask

JsonDataSetMessageContentMask

Defined in 6.3.2.4.2.

Its representation in the AddressSpace is defined in Table 101.

Table 101– JsonDataSetReaderMessageDataType definition

Attributes

Value

BrowseName

JsonDataSetReaderMessageDataType

IsAbstract

False

Subtype of DataSetReaderMessageDataTypedefined in 6.2.9.13.3.

Conformance Units

PubSub Parameters JSON