9 PubSub configuration model ToC Previous Next

9.1 Common configuration model ToC Previous Next

9.1.10 PubSub Status Object ToC Previous Next

9.1.10.1 PubSubStatusType ToC Model

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 220.

Table 220 – PubSubStatusType definition

Attribute Value
BrowseName PubSubStatusType
IsAbstract False

Subtype of BaseObjectType defined in OPC 10000-5.

References NodeClass BrowseName DataType TypeDefinition ModellingRule
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.

9.1.10.2 Enable Method ToC

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.

9.1.10.3 Disable Method ToC

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.

9.1.10.4 Status Object ToC

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

Previous Next