mv_state_machine_def.h File Reference

Type definitions of vision state machine state enums. More...

Macros

#define AUTOMATIC_MODE_STATE_MASK(state)   (state & 0x000000F0)
 
#define FRONTEND_ACCESS_MODE_STATE_MASK(state)   (state & 0x00000F00)
 
#define VISION_STATE_MASK(state)   (state & 0x0000000F)
 

Typedefs

typedef enum MVModeType_t MVModeType_t
 
typedef enum MVVisionState_t MVVisionState_t
 
typedef enum MVAutomaticModeState_t MVAutomaticModeState_t
 Enumeration of states in the Automatic Mode substate machine of the OPC UA machine vision companion specification.
 
typedef enum MVFrontendAccessModeState_t MVFrontendAccessModeState_t
 

Enumerations

enum  MVModeType_t {
  eMVMode_Null = 0x00,
  eMVMode_Automatic = 0x01,
  eMVMode_FrontendAccess
}
 Enumeration of the operational modes. More...
 
enum  MVVisionState_t {
  eMVVisionState_Null = 0x0000,
  eMVVisionState_Preoperational = 0x0001,
  eMVVisionState_Halted = 0x0002,
  eMVVisionState_Error = 0x0004,
  eMVVisionState_Operational
}
 Enumeration of vision states in the main state machine of the OPC UA machine vision companion specification. More...
 
enum  MVAutomaticModeState_t {
  eMVAutomaticModeState_Null = 0x0000,
  eMVAutomaticModeState_Initialized = 0x0010,
  eMVAutomaticModeState_Ready = 0x0020,
  eMVAutomaticModeState_SingleExecution = 0x0040,
  eMVAutomaticModeState_ContinuousExecution = 0x0080
}
 Enumeration of states in the Automatic Mode substate machine of the OPC UA machine vision companion specification. More...
 
enum  MVFrontendAccessModeState_t {
  eMVFrontendAccessModeState_Null = 0x0000,
  eMVFrontendAccessModeState_FrontendAccess = 0x0100
}
 Enumeration of states in the Frontend Access Mode substate machine for MERLIC. More...
 

Detailed Description

Type definitions of vision state machine state enums.

Enumeration Type Documentation

◆ MVAutomaticModeState_t

Enumeration of states in the Automatic Mode substate machine of the OPC UA machine vision companion specification.

Enumerator
eMVAutomaticModeState_Null 

Placeholder for an invalid value.

eMVAutomaticModeState_Initialized 

Initialized state.

eMVAutomaticModeState_Ready 

Ready state.

eMVAutomaticModeState_SingleExecution 

SingleExecution state.

eMVAutomaticModeState_ContinuousExecution 

ContinuousExecution state.

◆ MVFrontendAccessModeState_t

Enumeration of states in the Frontend Access Mode substate machine for MERLIC.

Enumerator
eMVFrontendAccessModeState_Null 

Placeholder for an invalid value.

eMVFrontendAccessModeState_FrontendAccess 

FrontendAccess state.

◆ MVModeType_t

Enumeration of the operational modes.

Each of these modes corresponds to a substate machine within the "Operational".

Enumerator
eMVMode_Null 

Placeholder for an invalid value used when the system is not "Operational" at all.

eMVMode_Automatic 

Automatic mode state machine according to the OPC UA machine vision companion specification.

eMVMode_FrontendAccess 

Frontend access mode used by MERLIC to model the situation that a frontend has taken control.

◆ MVVisionState_t

Enumeration of vision states in the main state machine of the OPC UA machine vision companion specification.

Enumerator
eMVVisionState_Null 

Placeholder for an invalid value.

eMVVisionState_Preoperational 

Preoperational state.

eMVVisionState_Halted 

Halted state.

eMVVisionState_Error 

Error state.

eMVVisionState_Operational 

Operational state. This is the parent state hosting the operational mode's substate machine.