8.2.6.1 Introduction

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
PreoperationalHasPropertyStateNumber1PropertyType--
FromTransitionHaltedToPreoperationalTransitionType--
FromTransitionHaltedToPreoperationalAutoTransitionType--
FromTransitionErrorToPreoperationalAutoTransitionType--
FromTransitionErrorToPreoperationalTransitionType--
FromTransitionOperationalToPreoperationalTransitionType--
FromTransitionOperationalToPreoperationalAutoTransitionType--
ToTransitionPreoperationalToHaltedTransitionType--
ToTransitionPreoperationalToHaltedAutoTransitionType--
ToTransitionPreoperationalToErrorAutoTransitionType--
ToTransitionPreoperationalToOperationalTransitionType--
ToTransitionPreoperationalToOperationalAutoTransitionType--
ToTransitionPreoperationalToInitializedTransitionType--
ToTransitionPreoperationalToInitializedAutoTransitionType--
HasSubStateMachinePreoperationalStepModelVisionStepModelState
MachineType
--
HaltedHasPropertyStateNumber2PropertyType--
FromTransitionPreoperationalToHaltedTransitionType--
FromTransitionPreoperationalToHaltedAutoTransitionType--
FromTransitionErrorToHaltedTransitionType--
FromTransitionErrorToHaltedAutoTransitionType--
FromTransitionOperationalToHaltedTransitionType--
FromTransitionOperationalToHaltedAutoTransitionType--
ToTransitionHaltedToPreoperationalTransitionType--
ToTransitionHaltedToPreoperationalAutoTransitionType--
HasSubStateMachineHaltedStepModelVisionStepModelState
MachineType
--
ErrorHasPropertyStateNumber3PropertyType--
FromTransitionPreoperationalToErrorAutoTransitionType--
FromTransitionOperationalToErrorAutoTransitionType--
ToTransitionErrorToPreoperationalTransitionType--
ToTransitionErrorToPreoperationalAutoTransitionType--
ToTransitionErrorToHaltedTransitionType--
ToTransitionErrorToHaltedAutoTransitionType--
ToTransitionErrorToOperationalAutoTransitionType--
HasSubStateMachineErrorStepModelVisionStepModelState
MachineType
--
OperationalHasPropertyStateNumber4PropertyType--
FromTransitionPreoperationalToOperationalTransitionType--
FromTransitionPreoperationalToOperationalAutoTransitionType--
FromTransitionErrorToOperationalAutoTransitionType--
ToTransitionOperationalToPreoperationalTransitionType--
ToTransitionOperationalToPreoperationalAutoTransitionType--
ToTransitionOperationalToHaltedTransitionType--
ToTransitionOperationalToHaltedAutoTransitionType--
ToTransitionOperationalToErrorAutoTransitionType--
HasSubStateMachineAutomaticModeStateMachineVisionAutomaticModeState
MachineType
--

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

Table 83 – VisionStateMachineType State Descriptions
StateName Description
PreoperationalThis 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.
HaltedThis 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.
ErrorThis 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.