AnalyserDeviceStateMachineType 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].

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

image020.png

Figure 17 - AnalyserDeviceStateMachine

The Powerup state is where the AnalyserDevice waits for the completion of the power-up setup. Its sub-states are out of scope of the ADI specification.

The Shutdown state is where the AnalyserDevice waits for the completion of the power down sequence. Its sub-states are out of scope of the ADI specification.

AnalyserDeviceStateMachineType.is formally defined in Table 60 .

Table 60 – AnalyserDeviceStateMachineType Definition

Attribute

Value

BrowseName

AnalyserDeviceStateMachineType

IsAbstract

False

References

NodeClass

BrowseName

DataType

TypeDefinition

ModellingRule

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

HasComponent

Object

Powerup

InitialStateType

Mandatory

HasComponent

Object

Operating

StateType

Mandatory

HasComponent

Object

Local

StateType

Mandatory

HasComponent

Object

Maintenance

StateType

Mandatory

HasComponent

Object

Shutdown

StateType

Mandatory

HasComponent

Object

PowerupToOperatingTransition

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

OperatingToShutdownTransition

TransitionType

Mandatory

HasComponent

Object

LocalToShutdownTransition

TransitionType

Mandatory

HasComponent

Object

MaintenanceToShutdownTransition

TransitionType

Mandatory

Table 61 specifies the AnalyserStateMachine’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 AnalyserDeviceStateMachineType can add References from any state to a subordinate or nested StateMachine Object to extend the FiniteStateMachine.

See Table 62 for a description of the states.

Table 61 – AnalyserDeviceStateMachineType States

BrowseName

References

Target BrowseName

Value

Target Type Definition

Notes

States

Powerup

HasProperty

StateNumber

100

PropertyType

ToTransition

PowerupToOperatingTransition

TransitionType

Operating

HasProperty

StateNumber

200

PropertyType

FromTransition

PowerupToOperatingTransition

TransitionType

FromTransition

MaintenanceToOperatingTransition

TransitionType

FromTransition

LocalToOperatingTransition

TransitionType

ToTransition

OperatingToLocalTransition

TransitionType

ToTransition

OperatingToMaintenanceTransition

TransitionType

ToTransition

OperatingToShutdownTransition

TransitionType

Local

HasProperty

StateNumber

300

PropertyType

FromTransition

OperatingToLocalTransition

TransitionType

FromTransition

MaintenanceToLocalTransition

TransitionType

ToTransition

LocalToOperatingTransition

TransitionType

ToTransition

LocalToMaintenanceTransition

TransitionType

ToTransition

LocalToShutdownTransition

TransitionType

Maintenance

HasProperty

StateNumber

400

PropertyType

FromTransition

OperatingToMaintenanceTransition

TransitionType

FromTransition

LocalToMaintenanceTransition

TransitionType

ToTransition

MaintenanceToOperatingTransition

TransitionType

ToTransition

MaintenanceToLocalTransition

TransitionType

ToTransition

MaintenanceToShutdownTransition

TransitionType

Shutdown

HasProperty

StateNumber

500

PropertyType

FromTransition

OperatingToShutdownTransition

TransitionType

FromTransition

LocalToShutdownTransition

TransitionType

FromTransition

MaintenanceToShutdownTransition

TransitionType

A standard set of states are defined for analyser devices. These states represent the operational condition of the device. All devices that contain an AnalyserDeviceStateMachineType must support this base set. A device may or may not require a Client action to cause the state to change, as defined in the state descriptions below.

Table 62 – AnalyserDeviceStateMachineType State Description

StateName

Description

Powerup

The AnalyserDevice is in its power-up sequence and cannot perform any other task.

Operating

The AnalyserDevice is in the Operating mode.

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

In this mode, each child AnalyserChannels are free to accept commands from the ADI Client and the Parameter values published in the address space values are expected to be valid.

When entering this state, all AnalyserChannels of this AnalyserDevice automatically leave the SlaveMode state and enter their Operating state.

Local

The AnalyserDevice is in the Local mode. This mode is normally used to perform local physical maintenance on the analyser.

To enter the Local mode, the operator shall push a button, on the analyser 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 analyser itself.

When the analyser is in Local mode, all child AnalyserChannels sit in the SlaveMode state of the AnalyserChannelStateMachine.

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

Maintenance

The AnalyserDevice is in the Maintenance mode. This mode is used to perform remote maintenance on the analyser like firmware upgrade.

To enter in 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 analyser is in the Maintenance mode, all child AnalyserChannels sit in the SlaveMode state of the AnalyserChannelStateMachine.

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

Shutdown

The AnalyserDevice is in its power-down sequence and cannot perform any other task.

The set of states defined to describe an AnalyserDevice 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.

The Operating state of the AnalyserDeviceStateMachineType has no required sub-states.

The Local state of the AnalyserDeviceStateMachineType has no required sub-states.

The Local state provides suitably authorized personnel the ability to operate individual subordinate equipment controls (such as accessory logic) within the device under manual control (often pushbutton or embedded HMI). Such controls in this state may be on a "hold-to-run" basis such that removal of the run signal will cause a device to be stopped. The ability to perform specific functions will be dependent upon mechanical constraints and interlocks. Local state may be of particular use for setting up the machine to work.

The Maintenance state of the AnalyserDeviceStateMachineType has no required sub-states.

The Maintenance state allows suitably authorized personnel the ability to run an individual device independent of other devices that may be in the same production line or lab cell. This would typically be used for faultfinding, device trials or testing operational improvements.

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

Table 63 – AnalyserDeviceStateMachineType Transitions

BrowseName

References

Target BrowseName

Value

Target Type Definition

Notes

Transitions

PowerupToOperatingTransition

HasProperty

TransitionNumber

1

PropertyType

FromState

Powerup

InitialStateType

ToState

Operating

StateType

HasCause

Analyser is powering-up

External cause

OperatingToLocalTransition

HasProperty

TransitionNumber

2

PropertyType

FromState

Operating

StateType

ToState

Local

StateType

HasCause

Pressing Local button on analyser

External cause

OperatingToMaintenanceTransition

HasProperty

TransitionNumber

3

PropertyType

FromState

Operating

StateType

ToState

Maintenance

StateType

HasCause

GotoMaintenance

Method

LocalToOperatingTransition

HasProperty

TransitionNumber

4

PropertyType

FromState

Local

StateType

ToState

Operating

StateType

HasCause

Releasing Local button on analyser

External cause

LocalToMaintenanceTransition

HasProperty

TransitionNumber

5

PropertyType

FromState

Local

StateType

ToState

Maintenance

StateType

HasCause

Releasing Local button on analyser

External cause

MaintenanceToOperatingTransition

HasProperty

TransitionNumber

6

PropertyType

FromState

Maintenance

StateType

ToState

Operating

StateType

HasCause

GotoOperating

Method

MaintenanceToLocalTransition

HasProperty

TransitionNumber

7

PropertyType

FromState

Maintenance

StateType

ToState

Local

StateType

HasCause

Pressing Local button on analyser

External cause

OperatingToShutdownTransition

HasProperty

TransitionNumber

8

PropertyType

FromState

Operating

StateType

ToState

Shutdown

StateType

HasCause

Analyser is powering-down

External cause

LocalToShutdownTransition

HasProperty

TransitionNumber

9

PropertyType

FromState

Local

StateType

ToState

Shutdown

StateType

HasCause

Analyser is powering-down

External cause

MaintenanceToShutdownTransition

HasProperty

TransitionNumber

10

PropertyType

FromState

Maintenance

StateType

ToState

Shutdown

StateType

HasCause

Analyser is powering-down

External cause