Table 74 specifies the AnalyserChannel_OperatingModeSubStateMachineType’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 AnalyserChannel_OperatingModeSubStateMachineType 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 the AnalyserChannel_OperatingModeSubStateMachineType. These states represent the operational condition of the AnalyserChannel in Operating mode. All AnalyserChannels that contain an AnalyserChannel_OperatingModeSubStateMachineType must support this base set. A device may or may not require a Client action to cause the state to change. See Table 73 for the description of the states.

Table 73 – AnalyserChannel_OperatingModeSubStateMachineType State Descriptions

State No.

StateName

Description

1

Clearing

Initiated by Clear Method call, this state clears faults that may have occurred when Aborting and are present in the Aborted state before proceeding to a Stopped state.

This state guarantees that the Client will see fault signals before going back to Stopped state.

2

Stopped

This is the initial state after AnalyserDeviceStateMachine state Powerup. At this point:

  • All communications with other systems are functioning (If applicable).
  • The state machine waits for a Reset or SetConfiguration Method call.

3

Starting

The analyser has received the Start or StartSingleAcquisition Method call and it is preparing to enter in Execute state. At this point:

The analyser system shall be ready to start. Prepare the system for continuous acquisition. When completed, the state machine automatically goes in Execute state.

4

Idle

At the beginning of this state:

  • The Resetting state is completed
  • All Parameters have been committed
  • All analyser components are warmed-up and ready to start acquisition
  • Waiting for Start or StartSingleAcquisition Method call

5

Suspended

The analyser or channel may be running but no results are being generated while the analyser or channel is waiting for external process conditions to return to normal. When the offending process conditions return to normal, the Suspended state will transition to Unsuspending and hence continue towards the normal Execute state.

At this state, no acquisition cycle is performed.

Note: The Suspended state can be reached as a result of abnormal external process conditions and differs from Held in that Held is typically a result of an operator request or an automatically detected analyser or channel fault condition that should be corrected before an operator request to transition to the Unholding state will be processed.

6

Execute

All repetitive acquisition cycles are done in this state:

  • Wait for trigger
  • Grab sample from process
  • Prepare the sample for analysis
  • Analyse the sample
  • Publish results
  • Cleanup sampling system for next acquisition cycle

See AnalyserChannel_OperatingModeExecuteSubStateMachine for more details.

7

Stopping

Initiated by a Stop Method call, this state:

  • Complete the ongoing acquisition if not too long
  • Get the actual acquisition (partial acquisition)
  • Discontinue the ongoing acquisition if partial acquisition does not make sense
  • Go to safe states gently, no rush

Transitions automatically to Aborted state.

8

Aborting

The Aborting state can be entered at any time in response to the Abort command or on the occurrence of a machine fault.

The aborting logic will bring the device to a rapid safe stop.

Operation of an Emergency Stop may cause the machine to be tripped by its safety system and may provide a signal to initiate the Aborting State.This state may include:

  • Abandoning the ongoing acquisition data
  • Rapidly putting the analyser system in safe states
  • Cooling down sampling cell
  • Closing cleaning solvent line
  • Closing sample inputs
  • Turning off Raman laser
  • Turning off source

All error conditions are saved and exposed in the AnalyserDevice/Channel.Status FunctionalGroup.

Transitions automatically to Aborted state.

9

Aborted

This state maintains machine status information relevant to the Abort condition.

The analyser is in safe state and:

The analyser can only exit the Aborted state after an explicit Clear Method call, often after manual intervention to correct and reset the detected device fault.

10

Holding

When the analyser or channel is in the Execute state, the Hold command can be used to start Holding logic which brings the analyser or channel to a controlled stop or to a state which represents Held for the particular unit control mode. An analyser or channel can go into this state either when an internal equipment fault is automatically detected or by an operator command. The Hold command offers the operator a safe way to intervene manually in the process (such as replacing solvent container) and restarting execution when conditions are safe.

11

Held

The Held state holds the analyser or channel's operation. At this state, no acquisition cycle is performed.

12

Unholding

The Unholding state is a response to an operator command to resume the Execute state.

Issuing the Unhold Method call will prepare the analyser or channel to re-enter the normal Execute state. The actions of this state may include:

  • Heating-up accessories
  • Reinitiating sampling system

Note that an operator Unhold command is always required and Unholding can never be initiated automatically.

13

Suspending

This state is a result of a change in monitored conditions due to process conditions or factors. The trigger event will cause a temporary suspension of the Execute state. Suspending is typically the result of starvation of the process to analyse or or issues with the sampling system that prevents the analyser or channel from continued Execution. During the controlled sequence of Suspending the analyser or channel will transition to a Suspended state. The Suspending state might be forced by the operator using the Suspend Method call.

14

Unsuspending

This state is a result of a device request from Suspended state to transition back to the Execute state by calling the Unsuspend Method. The actions of this state may include:

  • Heating-up accessories
  • Reinitiating sampling system

This state is entered prior to the Execute state, and prepares the analyser or channel for the Execute state.

15

Resetting

This state is the result of a Reset or SetConfiguration Method call from the Stopped state.

The Parameters are committed at this state. The actions of this state may include:

  • Resetting Hardware
  • Analyser warm up
  • Enabling sampling sub-system
  • Enabling cleaning sampling path
  • Turning on source
  • Heating-up liquid cell

When completed, the state machine goes automatically to the Idle state.

16

Completing

This state is an automatic or commanded exit from the Execute state. Normal operation has run to completion, i.e. the requested number of samples has been analysed.

At this point, the pre-configured acquisition cycle(s) are completed. The actions of this state may include:

  • Flushing data path
  • Completing sample cells cleaning state
  • Going to safe states

When done, it automatically transitions to the Complete state.

17

Complete

At this point, the Completing state is done and it transitions automatically to Stopped state to wait.

From an analyser point of view, this is almost a transient state.

Table 74 – AnalyserChannel_OperatingModeSubStateMachineType States

BrowseName

References

Target BrowseName

Value

Target Type Definition

Notes

States

Stopped

HasProperty

StateNumber

2

PropertyType

FromTransition

CompleteToStoppedTransition

TransitionType

Method

FromTransition

StoppingToStoppedTransition

TransitionType

Method

FromTransition

ClearingToStoppedTransition

TransitionType

Method

ToTransition

StoppedToResettingTransition

TransitionType

Method

ToTransition

StoppedToAbortingTransition

TransitionType

Method

Resetting

HasProperty

StateNumber

15

PropertyType

FromTransition

StoppedToResettingTransition

TransitionType

Method

ToTransition

ResettingToIdleTransition

TransitionType

Method

ToTransition

ResettingToStoppingTransition

TransitionType

Method

ToTransition

ResettingToAbortingTransition

TransitionType

Method

Idle

HasProperty

StateNumber

4

PropertyType

FromTransition

ResettingToIdleTransition

TransitionType

Method

ToTransition

IdleToStartingTransition

TransitionType

Method

ToTransition

idleToStoppingTransition

TransitionType

Method

ToTransition

IdleToAbortingTransition

TransitionType

Method

Starting

HasProperty

StateNumber

3

PropertyType

FromTransition

IdleToStartingTransition

TransitionType

Method

ToTransition

StartingToExecuteTransition

TransitionType

Method

ToTransition

StartingToStoppingTransition

TransitionType

Method

ToTransition

StartingToAbortingTransition

TransitionType

Method

Execute

HasProperty

StateNumber

6

PropertyType

FromTransition

StartingToExecuteTransition

TransitionType

Method

ToTransition

ExecuteToCompletingTransition

TransitionType

Method

ToTransition

ExecuteToStoppingTransition

TransitionType

Method

ToTransition

ExecuteToAbortingTransition

TransitionType

Method

Completing

HasProperty

StateNumber

16

PropertyType

FromTransition

ExecuteToCompletingTransition

TransitionType

Method

ToTransition

CompletingToCompleteTransition

TransitionType

Method

ToTransition

CompletingToStoppingTransition

TransitionType

Method

ToTransition

CompletingToAbortingTransition

TransitionType

Method

Complete

HasProperty

StateNumber

17

PropertyType

FromTransition

CompletingToCompleteTransition

TransitionType

Method

ToTransition

CompleteToStoppedTransition

TransitionType

Method

ToTransition

CompleteToStoppingTransition

TransitionType

Method

ToTransition

CompleteToAbortingTransition

TransitionType

Method

Suspending

HasProperty

StateNumber

13

PropertyType

FromTransition

ExecuteToSuspendingTransition

TransitionType

Method

ToTransition

SuspendingToSuspendedTransition

TransitionType

Method

ToTransition

SuspendingToStoppingTransition

TransitionType

Method

ToTransition

SuspendingToAbortingTransition

TransitionType

Method

Suspended

HasProperty

StateNumber

5

PropertyType

FromTransition

SuspendingToSuspendedTransition

TransitionType

Method

ToTransition

SuspendedToUnsuspendingTransition

TransitionType

Method

ToTransition

SuspendedToStoppingTransition

TransitionType

Method

ToTransition

SuspendiedToAbortingTransition

TransitionType

Method

Unsuspending

HasProperty

StateNumber

14

PropertyType

FromTransition

SuspendedToUnsuppendingTransition

TransitionType

Method

ToTransition

UnsuppendingToExecuteTransition

TransitionType

Method

ToTransition

UnsuppendingToSuspendingTransition

TransitionType

Method

ToTransition

UnsuppendingToStoppingTransition

TransitionType

Method

ToTransition

UnsuppendingToAbortingTransition

TransitionType

Method

Holding

HasProperty

StateNumber

10

PropertyType

FromTransition

ExecuteToHoldingTransition

TransitionType

Method

ToTransition

HoldingToHeldTransition

TransitionType

Method

ToTransition

HoldingToStoppingTransition

TransitionType

Method

ToTransition

HoldingToAbortingTransition

TransitionType

Method

Held

HasProperty

StateNumber

11

PropertyType

FromTransition

HoldingToHeldTransition

TransitionType

Method

ToTransition

HeldToUnholdingTransition

TransitionType

Method

ToTransition

HeldToStoppingTransition

TransitionType

Method

ToTransition

HeldToAbortingTransition

TransitionType

Method

Unholding

HasProperty

StateNumber

12

PropertyType

FromTransition

HeldToUnholdingTransition

TransitionType

Method

ToTransition

UnholdingToExecuteTransition

TransitionType

Method

ToTransition

UnholdingToHoldingTransition

TransitionType

Method

ToTransition

UnholdingToStoppingTransition

TransitionType

Method

ToTransition

UnholdingToAbortingTransition

TransitionType

Method

Stopping

HasProperty

StateNumber

7

PropertyType

FromTransition

ResettingToStoppingTransition

TransitionType

Method

FromTransition

IdleToStoppingTransition

TransitionType

Method

FromTransition

StartingToStoppingTransition

TransitionType

Method

FromTransition

ExecuteToStoppingTransition

TransitionType

Method

FromTransition

CompletingToStoppingTransition

TransitionType

Method

FromTransition

CompleteToStoppingTransition

TransitionType

Method

FromTransition

SuspendingToStoppingTransition

TransitionType

Method

FromTransition

SuspendedToStoppingTransition

TransitionType

Method

FromTransition

UnsuspendingToStoppingTransition

TransitionType

Method

FromTransition

HoldingToStoppingTransition

TransitionType

Method

FromTransition

HeldToStoppingTransition

TransitionType

Method

ToTransition

StoppingToStoppedTransition

TransitionType

Method

ToTransition

StoppingToAbortingTransition

TransitionType

Method

Aborting

HasProperty

StateNumber

8

PropertyType

FromTransition

StoppingToAbortingTransition

TransitionType

Method

FromTransition

StoppedToAbortingTransition

TransitionType

Method

FromTransition

ResettingToAbortingTransition

TransitionType

Method

FromTransition

IdleToAbortingTransition

TransitionType

Method

FromTransition

StartingToAbortingTransition

TransitionType

Method

FromTransition

ExecuteToAbortingTransition

TransitionType

Method

FromTransition

CompletingToAbortingTransition

TransitionType

Method

FromTransition

CompleteToAbortingTransition

TransitionType

Method

FromTransition

SuspendingToAbortingTransition

TransitionType

Method

FromTransition

SuspendedToAbortingTransition

TransitionType

Method

FromTransition

UnsuspendingToAbortingTransition

TransitionType

Method

FromTransition

HoldingToAbortingTransition

TransitionType

Method

FromTransition

HelpToAbortingTransition

TransitionType

Method

FromTransition

UnholdingToAbortingTransition

TransitionType

Method

ToTransition

AbortingToAbortedTransition

TransitionType

Method

Aborted

HasProperty

StateNumber

9

PropertyType

FromTransition

AbortingToAbortedTransition

TransitionType

Method

ToTransition

AbortedToClearingTransition

TransitionType

Method

Clearing

HasProperty

StateNumber

1

PropertyType

FromTransition

AbortedToClearingTransition

TransitionType

Method

ToTransition

ClearingToStoppedTransition

TransitionType

Method

The set of states defined to describe in AnalyserChannel_OperatingModeSubStateMachineType 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. For example, the “Stopped” state can include the sub states “Preparing” and “Done” to indicate if the function is still preparing the device or if it has completed preparation