Table 82 specifies the VisionStateMachine’s state Objects. These state Objects are instances of the StateType defined in OPC 10000-5 – Annex B. Each state is assigned a unique StateNumber value. Subtypes of the VisionStateMachineType can add References from any state to a subordinate or nested StateMachine Object to extend the FiniteStateMachine. See Table 83 for a brief description of the states.

Table 82 – VisionStateMachineType States

BrowseName

References

Target BrowseName

Value

Target TypeDefinition

Notes

Preoperational

HasProperty

StateNumber

1

PropertyType

--

FromTransition

HaltedToPreoperational

TransitionType

--

FromTransition

HaltedToPreoperationalAuto

TransitionType

--

FromTransition

ErrorToPreoperationalAuto

TransitionType

--

FromTransition

ErrorToPreoperational

TransitionType

--

FromTransition

OperationalToPreoperational

TransitionType

--

FromTransition

OperationalToPreoperationalAuto

TransitionType

--

ToTransition

PreoperationalToHalted

TransitionType

--

ToTransition

PreoperationalToHaltedAuto

TransitionType

--

ToTransition

PreoperationalToErrorAuto

TransitionType

--

ToTransition

PreoperationalToOperational

TransitionType

--

ToTransition

PreoperationalToOperationalAuto

TransitionType

--

ToTransition

PreoperationalToInitialized

TransitionType

--

ToTransition

PreoperationalToInitializedAuto

TransitionType

--

HasSubStateMachine

PreoperationalStepModel

VisionStepModelStateMachineType

--

Halted

HasProperty

StateNumber

2

PropertyType

--

FromTransition

PreoperationalToHalted

TransitionType

--

FromTransition

PreoperationalToHaltedAuto

TransitionType

--

FromTransition

ErrorToHalted

TransitionType

--

FromTransition

ErrorToHaltedAuto

TransitionType

--

FromTransition

OperationalToHalted

TransitionType

--

FromTransition

OperationalToHaltedAuto

TransitionType

--

ToTransition

HaltedToPreoperational

TransitionType

--

ToTransition

HaltedToPreoperationalAuto

TransitionType

--

HasSubStateMachine

HaltedStepModel

VisionStepModelStateMachineType

--

Error

HasProperty

StateNumber

3

PropertyType

--

FromTransition

PreoperationalToErrorAuto

TransitionType

--

FromTransition

OperationalToErrorAuto

TransitionType

--

ToTransition

ErrorToPreoperational

TransitionType

--

ToTransition

ErrorToPreoperationalAuto

TransitionType

--

ToTransition

ErrorToHalted

TransitionType

--

ToTransition

ErrorToHaltedAuto

TransitionType

--

ToTransition

ErrorToOperationalAuto

TransitionType

--

HasSubStateMachine

ErrorStepModel

VisionStepModelStateMachineType

--

Operational

HasProperty

StateNumber

4

PropertyType

--

FromTransition

PreoperationalToOperational

TransitionType

--

FromTransition

PreoperationalToOperationalAuto

TransitionType

--

FromTransition

ErrorToOperationalAuto

TransitionType

--

ToTransition

OperationalToPreoperational

TransitionType

--

ToTransition

OperationalToPreoperationalAuto

TransitionType

--

ToTransition

OperationalToHalted

TransitionType

--

ToTransition

OperationalToHaltedAuto

TransitionType

--

ToTransition

OperationalToErrorAuto

TransitionType

--

HasSubStateMachine

AutomaticModeStateMachine

VisionAutomaticModeStateMachineType

--

The brief state descriptions in Table 83 will be detailed in the following subsections.

Table 83 – VisionStateMachineType State Descriptions

StateName

Description

Preoperational

This is the initial state of the system after power-up and the state after a Reset method call. From here the system has to be brought into Operational state by selecting a mode of operation. Alternatively it can be halted.

Halted

This state is intended as the final state in the operation of the system. All resources shall be in a state allowing for safe power-down. However, the system can be put back into operation by a Reset method call, going through the Preoperational state.

Error

This state intended for the indication and resolution of errors preventing normal operation of the system.

Operational

This is the state for normal operation of the system. It is always a composite state with the SubStateMachine modelling the current mode of operation.

This specification describes only a single mode of operation, the “Automatic” mode, described in 8.3. Vendors can add other modes of operation by sub-typing VisionStateMachineType and adding other SubStateMachines for these modes of operation. See Section 8.3.9 for implementation remarks.