This ObjectTypeis used to indicate and change the status of a PubSub Objectlike PubSubConnection, DataSetWriteror DataSetReader. The PubSubStatusTypeis formally defined in Table 132.

Table 132– PubSubStatusType Definition

Attribute

Value

BrowseName

PubSubStatusType

IsAbstract

False

References

Node Class

BrowseName

DataType

TypeDefinition

Modelling Rule

Subtype of BaseObjectType defined in OPC 10000-5.

HasComponent

Variable

State

PubSubState

BaseDataVariableType

Mandatory

HasComponent

Method

Enable

Defined in 9.1.10.2.

Optional

HasComponent

Method

Disable

Defined in 9.1.10.3.

Optional

The State Variableprovides the current operational state of the PubSub Object. The default value is Disabled_0. The PubSubState Enumerationand the related state machine is defined in 6.2.1.

The Statemay be changed with product specific configuration tools or with the Methods Enableand Disable.

This Methodis used to enable a configured PubSub Object. The related state machine and the transitions triggered by a successful call to this Methodare defined in 6.2.1.

The Servershall reject Enable Methodcalls if the current Stateis not Disabled_0.

The Clientshall be authorized to modify the configuration for the PubSubfunctionality when invoking this Methodon the Server.

Signature

Enable();

Method Result Codes

ResultCode

Description

Bad_InvalidState

The state of the Objectis not disabled.

Bad_UserAccessDenied

The Sessionuser is not allowed to configure the Object.

This Methodis used to disable a PubSub Object. The related state machine and the transitions triggered by a successful call to this Methodare defined in 6.2.1.

The Servershall reject Disable Methodcalls if the current Stateis Disabled_0.

The Clientshall be authorized to modify the configuration for the PubSubfunctionality when invoking this Methodon the Server.

Signature

Disable();

Method Result Codes

ResultCode

Description

Bad_InvalidState

The state of the Objectis not operational.

Bad_UserAccessDenied

The Sessionuser is not allowed to configure the Object.

PubSub ObjectTypesthat require a status Objectadd a component with the BrowseNameStatus. It is formally defined in Table 133.

Table 133– Status Object Definition

Attribute

Value

BrowseName

Status

References

Node Class

BrowseName

DataType

TypeDefinition

Modelling Rule

HasTypeDefinition

ObjectType

PubSubStatusType