This ObjectType is used to indicate and change the status of a PubSub Object like PubSubConnection, DataSetWriter or DataSetReader. The PubSubStatusType is formally defined in Table 280.

Table 280 – PubSubStatusType definition

Attribute

Value

BrowseName

PubSubStatusType

IsAbstract

False

References

NodeClass

BrowseName

DataType

TypeDefinition

ModellingRule

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

Conformance Units

PubSub Model Base

The State Variable provides the current operational state of the PubSub Object. The default value is Disabled. The PubSubState Enumeration and the related state machine are defined in 6.2.1.

The State may be changed with product-specific configuration tools or with the Methods Enable and Disable.

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

The Server shall reject Enable Method calls if the current State is not Disabled.

The Client shall be authorized to modify the configuration for the PubSub functionality when invoking this Method on the Server.

Signature

Enable ();

Method Result Codes

ResultCode

Description

Bad_InvalidState

The state of the Object is not disabled.

Bad_UserAccessDenied

The Session user is not allowed to configure the Object.

Table 281 specifies the AddressSpace representation for the Enable Method.

Table 281 – Enable Method AddressSpace definition

Attribute

Value

BrowseName

Enable

ConformanceUnits

PubSub Model Base

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

The Server shall reject Disable Method calls if the current State is Disabled.

The Client shall be authorized to modify the configuration for the PubSub functionality when invoking this Method on the Server.

Signature

Disable ();

Method Result Codes

ResultCode

Description

Bad_InvalidState

The state of the Object is not operational.

Bad_UserAccessDenied

The Session user is not allowed to configure the Object.

Table 282 specifies the AddressSpace representation for the Disable Method.

Table 282 – Disable Method AddressSpace definition

Attribute

Value

BrowseName

Disable

ConformanceUnits

PubSub Model Base

PubSub ObjectTypes that require a status Object add a component with the BrowseName Status.