AnalyserChannelStateMachineType is a subtype of FiniteStateMachineType. The states are derived from the ANSI/ISA TR 88.02-2008 Machine and Unit States Technical Report [ISA-88 TR], which in turn were derived from the OMAC PackML tag definition set and the ANSI/ISA 88 Part 1 standard [ISA-88].

AnalyserChannelStateMachineType contains a nested state model that defines the top level states Operating, Local and Maintenance (called Modes in [ISA-88 TR] and OMAC) and the Operating sub-states of a device.

image021.png

Figure 18 - AnalyserChannelStateMachine

The SlaveMode state is where the AnalyserChannel stays when its parent AnalyserDevice is in Local or Maintenance mode. In this context, the AnalyserDevice has the absolute control over all of its AnalyserChannels.

The Local button refers to a Local button on a given analyser channel for symmetry with the analyser device.

AnalyserChannelStateMachineType.is formally defined in Table 64.

Table 64 – AnalyserChannelStateMachineType Definition

Attribute

Value

BrowseName

AnalyserChannelStateMachineType

IsAbstract

False

References

Node

Class

BrowseName

Data

Type

TypeDefinition

Modelling

Rule

Subtype of the FiniteStateMachineType defined in [OPC 10000-5]

HasComponent

Object

SlaveMode

InitialStateType

Mandatory

HasComponent

Object

Operating

AnalyserChannelOperatingStateType

Mandatory

HasComponent

Object

Local

AnalyserChannelLocalStateType

Mandatory

HasComponent

Object

Maintenance

AnalyserChannelMaintenanceStateType

Mandatory

HasComponent

Object

SlaveModeToOperatingTransition

TransitionType

Mandatory

HasComponent

Object

OperatingToLocalTransition

TransitionType

Mandatory

HasComponent

Object

OperatingToMaintenanceTransition

TransitionType

Mandatory

HasComponent

Object

LocalToOperatingTransition

TransitionType

Mandatory

HasComponent

Object

LocalToMaintenanceTransition

TransitionType

Mandatory

HasComponent

Object

MaintenanceToOperatingTransition

TransitionType

Mandatory

HasComponent

Object

MaintenanceToLocalTransition

TransitionType

Mandatory

HasComponent

Object

OperatingToSlaveModeTransition

TransitionType

Mandatory

HasComponent

Object

LocalToSlaveModeTransition

TransitionType

Mandatory

HasComponent

Object

MaintenanceToSlaveModeTransition

TransitionType

Mandatory

HasComponent

Object

OperatingSubStateMachine

AnalyserChannel_OperatingModeSubStateMachineType

Mandatory

HasComponent

Object

LocalSubStateMachine

FiniteStateMachineType

Optional

HasComponent

Object

MaintenanceSubStateMachine

FiniteStateMachineType

Optional

GotoOperating Method transitions the AnalyserChannel to Operating mode.

GotoMaintenance Method transitions the AnalyserChannel to Maintenance mode.

Table 65 – AnalyserChannelOperatingStateType Definition

Attribute

Value

BrowseName

AnalyserChannelOperatingStateType

IsAbstract

False

References

NodeClass

BrowseName

Data

Type

TypeDefinition

Modelling

Rule

Subtype of the StateType defined in [OPC 10000-5]

HasSubStateMachine

Object

OperatingSubStateMachine

AnalyserChannel_OperatingModeSubStateMachineType

Mandatory

Table 66 – AnalyserChannelLocalStateType Definition

Attribute

Value

BrowseName

AnalyserChannelLocalStateType

IsAbstract

False

References

NodeClass

BrowseName

DataType

TypeDefinition

ModelingRule

Subtype of the StateType defined in [OPC 10000-5]

HasSubStateMachine

Object

LocalSubStateMachine

FiniteStateMachineType

Optional

Table 67 – AnalyserChannelMaintenanceStateType Definition

Attribute

Value

BrowseName

AnalyserChannelMaintenanceStateType

IsAbstract

False

References

NodeClass

BrowseName

Data

Type

TypeDefinition

Modelling

Rule

Subtype of the StateType defined in [OPC 10000-5]

HasSubStateMachine

Object

MaintenanceSubStateMachine

FiniteStateMachineType

Optional

Table 69 specifies the AnalyserChannelStateMachine’s State Objects. These State Objects are instances of the StateType defined in [OPC 10000-5]. Each State is assigned a unique StateNumber value. Subtypes of the AnalyserChannelStateMachineType can add References from any state to a subordinate or nested StateMachine Object to extend the FiniteStateMachine.

A standard set of states are defined for analyser channels. These states represent the operational condition of the channel. All devices that contain an AnalyserChannelStateMachineType shall support this base set. A channel may or may not require a client action to cause the state to change. See Table 68 for a description of the states.

Table 68 – AnalyserChannelStateMachineType State Description

StateName

Description

SlaveMode

The AnalyserDevice is in Local or Maintenance mode and all AnalyserChannels are in SlaveMode

Operating

The AnalyserChannel is in the Operating mode.

The ADI Client uses this mode for normal operation: configuration, control and data collection.

In this mode, AnalyserChannel can accept commands from the ADI Client and the Parameters published in the address space values are expected to be valid.

Local

The AnalyserChannel is in the Local mode.

This mode is normally used to perform local physical maintenance on the AnalyserChannel.

To enter the Local mode, the operator shall push a button, on the AnalyserChannel itself. This may be a physical button or a graphical control on the local console screen. To quit the Local mode, the operator shall press the same or another button on the AnalyserChannel itself.

When the AnalyserChannel is in the Local mode, the parent AnalyserDevice has no control over it.

In this mode, no commands are accepted from the ADI interface and no guarantee is given on the values in the address space of the AnalyserChannel.

Maintenance

The AnalyserChannel is in the Maintenance mode.

This mode is used to perform remote maintenance on the AnalyserChannel.

To enter the Maintenance mode, the operator shall call the GotoMaintenance Method from the ADI Client. To return to the Operating mode, the operator shall call the GotoOperating Method from the ADI Client.

When the AnalyserChannel is in the Maintenance mode, the parent AnalyserDevice has no control over it.

In this mode, there is no guarantee given on the values in the address space.

Table 69 – AnalyserChannelStateMachineType States

BrowseName

References

Target BrowseName

Value

Target Type Definition

Notes

States

SlaveMode

HasProperty

StateNumber

100

PropertyType

FromTransition

OperatingToSlaveModeTransition

TransitionType

FromTransition

MaintenanceToSlaveModeTransition

TransitionType

FromTransition

LocalToSlaveModeTransition

TransitionType

ToTransition

SlaveModeToOperatingTransition

TransitionType

Operating

HasProperty

StateNumber

200

PropertyType

FromTransition

SlaveModeToOperatingTransition

TransitionType

FromTransition

MaintenanceToOperatingTransition

TransitionType

FromTransition

LocalToOperatingTransition

TransitionType

ToTransition

OperatingToLocalTransition

TransitionType

ToTransition

OperatingToMaintenanceTransition

TransitionType

ToTransition

OperatingToSlaveModeTransition

TransitionType

Local

HasProperty

StateNumber

300

PropertyType

FromTransition

OperatingToLocalTransition

TransitionType

FromTransition

MaintenanceToLocalTransition

TransitionType

ToTransition

LocalToOperatingTransition

TransitionType

ToTransition

LocalToMaintenanceTransition

TransitionType

ToTransition

LocalToSlaveModeTransition

TransitionType

Maintenance

HasProperty

StateNumber

400

PropertyType

FromTransition

OperatingToMaintenanceTransition

TransitionType

FromTransition

LocalToMaintenanceTransition

TransitionType

ToTransition

MaintenanceToOperatingTransition

TransitionType

ToTransition

MaintenanceToLocalTransition

TransitionType

ToTransition

MaintenanceToSlaveModeTransition

TransitionType

The set of states defined to describe an AnalyserChannel can be expanded. Sub-states can be defined for the base states to provide more resolution to the process and to describe the cause and effects of additional stimuli and transitions.

Transitions are instances of Objects of the TransitionType defined in [OPC 10000-5] which also includes the definitions of the FromState, ToState, HasCause, and HasEffect References used. Table 70 specifies the Transitions defined for the AnalyserChannelStateMachineType. Each Transition is assigned a unique TransitionNumber.

Table 70 – AnalyserChannelStateMachineType Transitions

BrowseName

References

Target BrowseName

Value

Target Type Definition

Notes

Transitions

SlaveModeToOperatingTransition

HasProperty

TransitionNumber

1

PropertyType

FromState

SlaveMode

InitialStateType

ToState

Operating

AnalyserChannelOperatingStateType

HasCause

The AnalyserDevice moves from Local or Maintenance state to Operating state

OperatingToLocalTransition

HasProperty

TransitionNumber

2

PropertyType

FromState

Operating

AnalyserChannelOperatingStateType

ToState

Local

AnalyserChannelLocalStateType

HasCause

Press Local button on channel

External cause

OperatingToMaintenanceTransition

HasProperty

TransitionNumber

3

PropertyType

FromState

Operating

AnalyserChannelOperatingStateType

ToState

Maintenance

AnalyserChannelMaintenanceStateType

HasCause

GotoMaintenance

Method

LocalToOperatingTransition

HasProperty

TransitionNumber

4

PropertyType

FromState

Local

AnalyserChannelLocalStateType

ToState

Operating

AnalyserChannelOperatingStateType

HasCause

Release Local button on channel

External cause

LocalToMaintenanceTransition

HasProperty

TransitionNumber

5

PropertyType

FromState

Local

AnalyserChannelLocalStateType

ToState

Maintenance

AnalyserChannelMaintenanceStateType

HasCause

Release Local button on channel

External cause

MaintenanceToOperatingTransition

HasProperty

TransitionNumber

6

PropertyType

FromState

Maintenance

AnalyserChannelMaintenanceStateType

ToState

Operating

AnalyserChannelOperatingStateType

HasCause

GotoOperating

Method

MaintenanceToLocalTransition

HasProperty

TransitionNumber

7

PropertyType

FromState

Maintenance

AnalyserChannelMaintenanceStateType

ToState

Local

AnalyserChannelLocalStateType

HasCause

Press Local button on channel

External cause

OperatingToSlaveModeTransition

HasProperty

TransitionNumber

8

PropertyType

FromState

Operating

AnalyserChannelOperatingStateType

ToState

SlaveMode

StateType

HasCause

AnalyserDevice moves from Operating to Local or Maintenance state.

External cause

LocalToSlaveModeTransition

HasProperty

TransitionNumber

9

PropertyType

FromState

Local

AnalyserChannelLocalStateType

ToState

SlaveMode

StateType

HasCause

AnalyserDevice moves from Operating to Local or Maintenance state.

External cause

MaintenanceToSlaveModeTransition

HasProperty

TransitionNumber

10

PropertyType

FromState

Maintenance

AnalyserChannelMaintenanceStateType

ToState

SlaveMode

StateType

HasCause

AnalyserDevice moves from Operating to Local or Maintenance state.

External cause