ifw-fcf  5.0.0-pre2
Classes | Enumerations | Functions | Variables
fcf::devmgr::motor Namespace Reference

Classes

class  Motor
 The Motor class. More...
 
class  MotorBaseConfig
 Motor Base Configuration class. More...
 
struct  MotorBaseControllerData
 The MotorBaseControllerData struct. More...
 
class  MotorBaseLcsIf
 Motor Local Control System (LCS) Interface (IF) class. More...
 
struct  InitAction
 
class  MotorConfig
 Motor Configuration class. More...
 
struct  MotorControllerData
 The MotorControllerData struct. More...
 
class  MotorLcsIf
 Motor Local Control System (LCS) Interface (IF) class. More...
 

Enumerations

enum  {
  RPC_SUCCESS = 0 , RPC_ERR_NOT_OP = -1 , RPC_ERR_NOT_OP_READY = -2 , RPC_ERR_NOT_OP_NOTREADY = -3 ,
  RPC_ERR_MOTOR_LOCAL = -4 , RPC_ERR_MOTOR_LOWER_LIMIT = -5 , RPC_ERR_MOTOR_UPPER_LIMIT = -6
}
 
enum class  Signal : short {
  LSTOP = 0 , LHW = 1 , REF = 2 , INDEX = 3 ,
  UHW = 4 , USTOP = 5
}
 
enum  {
  INIT_ACTION_END = 0 , INIT_ACTION_FIND_INDEX = 1 , INIT_ACTION_FIND_REF_LE = 2 , INIT_ACTION_FIND_REF_UE = 3 ,
  INIT_ACTION_FIND_LHW = 4 , INIT_ACTION_FIND_UHW = 5 , INIT_ACTION_DELAY = 6 , INIT_ACTION_MOVE_ABS = 7 ,
  INIT_ACTION_MOVE_REL = 8 , INIT_ACTION_CALIB_ABS = 9 , INIT_ACTION_CALIB_REL = 10 , INIT_ACTION_CALIB_SWITCH = 11
}
 
enum  {
  HW_SUCCESS = 0 , HW_ERR_HW_NOT_OP = 1 , HW_ERR_LOCAL = 2 , HW_ERR_INIT_ABORTED = 3 ,
  HW_ERR_TIMEOUT_INIT = 4 , HW_ERR_TIMEOUT_MOVE = 5 , HW_ERR_TIMEOUT_RESET = 6 , HW_ERR_TIMEOUT_SETPOS = 7 ,
  HW_ERR_TIMEOUT_USER_PREINIT = 8 , HW_ERR_TIMEOUT_USER_POSTINIT = 9 , HW_ERR_TIMEOUT_USER_PREMOVE = 10 , HW_ERR_TIMEOUT_USER_POSTMOVE = 11 ,
  HW_ERR_SETPOS = 12 , HW_ERR_STOP = 13 , HW_ERR_ABORT = 14 , HW_ERR_SW_LIMIT_LOWER = 15 ,
  HW_ERR_SW_LIMIT_UPPER = 16 , HW_ERR_BRAKE_ACTIVE = 17 , HW_ERR_BRAKE_ENGAGE = 18 , HW_ERR_BRAKE_DISENGAGE = 19 ,
  HW_ERR_SWITCH_NOT_USED = 20 , HW_ERR_ENABLE = 21 , HW_ERR_NOVRAM_READ = 22 , HW_ERR_NOVRAM_WRITE = 23 ,
  HW_ERR_SWITCH_EXIT = 24 , HW_ERR_STOP_LIMITS_BOTH = 25 , HW_ERR_HW_LIMITS_BOTH = 26 , HW_ERR_HW_IN_POS = 27 ,
  HW_ERR_HW_LOCKED = 28 , HW_ERR_SOE_ADS = 29 , HW_ERR_SOE_SERCOS = 30 , HW_ERR_TC_VEL = 16929 ,
  HW_ERR_TC_NOT_READY_FOR_STAR = 16933 , HW_ERR_TC_DISABLED_MOVE = 16992 , HW_ERR_TC_BISECTION = 17022 , HW_ERR_TC_MODULO_POS = 17026 ,
  HW_ERR_TC_STOP_ACTIVE = 17135 , HW_ERR_TC_VEL_NEG = 17241 , HW_ERR_TC_TARGET_LSW = 17504 , HW_ERR_TC_TARGET_USW = 17505 ,
  HW_ERR_TC_FOLLOWING_ERROR = 17744 , HW_ERR_TC_NOT_READY = 18000 , HW_ERR_TC_IN_POS_6_SEC = 19207
}
 
enum  {
  RPC_SUCCESS = 0 , RPC_ERR_NOT_OP = -1 , RPC_ERR_NOT_OP_READY = -2 , RPC_ERR_NOT_OP_NOTREADY = -3 ,
  RPC_ERR_MOTOR_LOCAL = -4 , RPC_ERR_MOTOR_LOWER_LIMIT = -5 , RPC_ERR_MOTOR_UPPER_LIMIT = -6
}
 

Functions

 REGISTER_DEVICE (Motor)
 

Variables

constexpr auto CI_DEF_VEL = "velocity"
 
constexpr auto CI_MAX_POS = "max_pos"
 
constexpr auto CI_MIN_POS = "min_pos"
 
constexpr auto CI_TIMEOUT_INIT = "tout_init"
 
constexpr auto CI_TIMEOUT_MOVE = "tout_move"
 
constexpr auto CI_TIMEOUT_SWITCH = "tout_switch"
 
constexpr auto CI_POSITIONS = "positions"
 
constexpr auto CI_POS_NAME = "name"
 
constexpr auto CI_POS_VALUE = "value"
 
constexpr auto CI_NAME_POS_TOLERANCE = "tolerance"
 
constexpr auto CI_SCALE_FACTOR = "scale_factor"
 
constexpr auto RPC_MOVE_ABS = "rpcMoveAbs"
 
constexpr auto RPC_MOVE_REL = "rpcMoveRel"
 
constexpr auto RPC_MOVE_VEL = "rpcMoveVel"
 
constexpr int SUBSTATE_ABORTING = 107
 
constexpr int SUBSTATE_OP_STANDSTILL = 216
 
constexpr int SUBSTATE_OP_MOVING = 217
 
constexpr int SUBSTATE_OP_SETTING_POS = 218
 
constexpr int SUBSTATE_OP_STOPPING = 219
 
constexpr auto SUBSTATE_READY_STR = "Ready"
 
constexpr auto SUBSTATE_ABORTING_STR = "Aborting"
 
constexpr auto SUBSTATE_OP_STANDSTILL_STR = "Standstill"
 
constexpr auto SUBSTATE_OP_MOVING_STR = "Moving"
 
constexpr auto SUBSTATE_OP_SETTING_POS_STR = "SettingPos"
 
constexpr auto SUBSTATE_OP_STOPPING_STR = "Stopping"
 
const std::unordered_map< short, std::string > SubstateMap
 
constexpr auto CI_STAT_ENC_POS = "pos_enc"
 
constexpr auto CI_STAT_TARGET_ENC = "target_enc"
 
constexpr auto CI_STAT_TARGET_POSNAME = "pos_target_name"
 
constexpr auto CI_STAT_ACTUAL_POSNAME = "pos_actual_name"
 
constexpr auto CI_STAT_TARGET_POS = "pos_target"
 
constexpr auto CI_STAT_ACTUAL_POS = "pos_actual"
 
constexpr auto CI_STAT_POS_ERROR = "pos_error"
 
constexpr auto CI_STAT_ACTUAL_VEL = "vel_actual"
 
constexpr auto CI_STAT_TARGET_VEL = "vel_target"
 
constexpr auto CI_STAT_INITIALISED = "initialised"
 
constexpr auto FITS_PARAM_POSNAME = "POSNAME"
 
constexpr auto FITS_PARAM_POS = "POS"
 
constexpr auto UndefinedNamedPos = "undefined"
 
const std::unordered_map< short, std::string > rpc_errors
 
constexpr auto LOGGER_NAME = "motor"
 
constexpr auto CI_BRAKE = "brake"
 
constexpr auto CI_BACKLASH = "backlash"
 
constexpr auto CI_AXIS_TYPE = "axis_type"
 
constexpr auto CI_CHECK_INPOS = "check_inpos"
 
constexpr auto CI_LOCK = "lock"
 
constexpr auto CI_LOCK_POS = "lock_pos"
 
constexpr auto CI_LOCK_TOLERANCE = "lock_tolerance"
 
constexpr auto CI_DISABLE = "disable"
 
constexpr auto CI_ACTIVE_LOW_BRAKE = "low_brake"
 
constexpr auto CI_ACTIVE_LOW_INPOS = "low_inpos"
 
constexpr auto CI_ACTIVE_LOW_STOP = "active_low_lstop"
 
constexpr auto CI_ACTIVE_LOW_LHW = "active_low_lhw"
 
constexpr auto CI_ACTIVE_LOW_REF = "active_low_ref"
 
constexpr auto CI_ACTIVE_LOW_INDEX = "active_low_index"
 
constexpr auto CI_ACTIVE_LOW_UHW = "active_low_uhw"
 
constexpr auto CI_ACTIVE_LOW_USTOP = "active_low_ustop"
 
constexpr auto CI_EXEC_PRE_INIT = "exec_pre_init"
 
constexpr auto CI_EXEC_POST_INIT = "exec_post_init"
 
constexpr auto CI_EXEC_PRE_MOVE = "exec_pre_move"
 
constexpr auto CI_EXEC_POST_MOVE = "exec_post_move"
 
constexpr auto CI_INITIALISATION = "initialisation"
 
constexpr auto CI_INIT_SEQUENCE = "sequence"
 
constexpr auto CI_INIT_ACTION = "step"
 
constexpr auto CI_INIT_VALUE_1 = "value1"
 
constexpr auto CI_INIT_VALUE_2 = "value2"
 
constexpr int CI_AXIS_TYPE_LINEAR = 1
 
constexpr int CI_AXIS_TYPE_CIRCULAR = 2
 
constexpr int CI_AXIS_TYPE_CIRCULAR_OPT = 3
 
constexpr auto CI_AXIS_TYPE_LINEAR_STR = "LINEAR"
 
constexpr auto CI_AXIS_TYPE_CIRCULAR_STR = "CIRCULAR"
 
constexpr auto CI_AXIS_TYPE_CIRCULAR_OPT_STR = "CIRCULAR_OPT"
 
constexpr int CI_AXIS_MODE_INPOS = 0
 
constexpr int CI_AXIS_MODE_INVEL = 1
 
constexpr auto CI_AXIS_MODE_INPOS_STR = "InPosition"
 
constexpr auto CI_AXIS_MODE_INVEL_STR = "InVelocity"
 
const std::unordered_map< int, std::string > AxisModeMap
 
constexpr int CI_MAX_INIT_STEPS = 10
 
constexpr auto CI_INIT_ACTION_END = "END"
 
constexpr auto CI_INIT_ACTION_FIND_INDEX = "FIND_INDEX"
 
constexpr auto CI_INIT_ACTION_FIND_REF_LE = "FIND_REF_LE"
 
constexpr auto CI_INIT_ACTION_FIND_REF_UE = "FIND_REF_UE"
 
constexpr auto CI_INIT_ACTION_FIND_LHW = "FIND_LHW"
 
constexpr auto CI_INIT_ACTION_FIND_UHW = "FIND_UHW"
 
constexpr auto CI_INIT_ACTION_DELAY = "DELAY"
 
constexpr auto CI_INIT_ACTION_MOVE_ABS = "MOVE_ABS"
 
constexpr auto CI_INIT_ACTION_MOVE_REL = "MOVE_REL"
 
constexpr auto CI_INIT_ACTION_CALIB_ABS = "CALIB_ABS"
 
constexpr auto CI_INIT_ACTION_CALIB_REL = "CALIB_REL"
 
constexpr auto CI_INIT_ACTION_CALIB_SWITCH = "CALIB_SWITCH"
 
constexpr auto CI_STAT_SCALE_FACTOR = "scale_factor"
 
constexpr auto CI_STAT_BACKLASH_STEP = "backlash_step"
 
constexpr auto CI_STAT_MODE = "mode"
 
constexpr auto CI_STAT_INIT_STEP = "init_step"
 
constexpr auto CI_STAT_INIT_ACTION = "init_action"
 
constexpr auto CI_STAT_AXIS_READY = "axis_ready"
 
constexpr auto CI_STAT_AXIS_ENABLE = "axis_enable"
 
constexpr auto CI_STAT_AXIS_INPOS = "axis_inposition"
 
constexpr auto CI_STAT_AXIS_LOCK = "axis_lock"
 
constexpr auto CI_STAT_AXIS_BRAKE = "axis_brake"
 
constexpr auto CI_STAT_AXIS_STOP_NEG = "axis_stop_pos"
 
constexpr auto CI_STAT_AXIS_STOP_POS = "axis_stop_neg"
 
constexpr auto CI_STAT_AXIS_INFO_DATA_1 = "axis_info_data1"
 
constexpr auto CI_STAT_AXIS_INFO_DATA_2 = "axis_info_data2"
 
constexpr auto CI_STAT_SIGNAL_LSTOP = "signal_lstop"
 
constexpr auto CI_STAT_SIGNAL_LHW = "signal_lhw"
 
constexpr auto CI_STAT_SIGNAL_REF = "signal_ref"
 
constexpr auto CI_STAT_SIGNAL_INDEX = "signal_index"
 
constexpr auto CI_STAT_SIGNAL_UHW = "signal_uhw"
 
constexpr auto CI_STAT_SIGNAL_USTOP = "signal_ustop"
 
constexpr auto FITS_PARAM_BRAKE = "BRAKE"
 
constexpr auto FITS_PARAM_LOCK = "LOCK"
 
const std::unordered_map< std::string, int > AxisTypeMap
 
const std::unordered_map< std::string, int > InitActionsMap
 
const std::unordered_map< int, std::string > InitActions2Map
 
const std::unordered_map< short, std::string > hw_errors
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
RPC_SUCCESS 
RPC_ERR_NOT_OP 
RPC_ERR_NOT_OP_READY 
RPC_ERR_NOT_OP_NOTREADY 
RPC_ERR_MOTOR_LOCAL 
RPC_ERR_MOTOR_LOWER_LIMIT 
RPC_ERR_MOTOR_UPPER_LIMIT 

◆ anonymous enum

anonymous enum
Enumerator
INIT_ACTION_END 
INIT_ACTION_FIND_INDEX 
INIT_ACTION_FIND_REF_LE 
INIT_ACTION_FIND_REF_UE 
INIT_ACTION_FIND_LHW 
INIT_ACTION_FIND_UHW 
INIT_ACTION_DELAY 
INIT_ACTION_MOVE_ABS 
INIT_ACTION_MOVE_REL 
INIT_ACTION_CALIB_ABS 
INIT_ACTION_CALIB_REL 
INIT_ACTION_CALIB_SWITCH 

◆ anonymous enum

anonymous enum
Enumerator
HW_SUCCESS 
HW_ERR_HW_NOT_OP 
HW_ERR_LOCAL 
HW_ERR_INIT_ABORTED 
HW_ERR_TIMEOUT_INIT 
HW_ERR_TIMEOUT_MOVE 
HW_ERR_TIMEOUT_RESET 
HW_ERR_TIMEOUT_SETPOS 
HW_ERR_TIMEOUT_USER_PREINIT 
HW_ERR_TIMEOUT_USER_POSTINIT 
HW_ERR_TIMEOUT_USER_PREMOVE 
HW_ERR_TIMEOUT_USER_POSTMOVE 
HW_ERR_SETPOS 
HW_ERR_STOP 
HW_ERR_ABORT 
HW_ERR_SW_LIMIT_LOWER 
HW_ERR_SW_LIMIT_UPPER 
HW_ERR_BRAKE_ACTIVE 
HW_ERR_BRAKE_ENGAGE 
HW_ERR_BRAKE_DISENGAGE 
HW_ERR_SWITCH_NOT_USED 
HW_ERR_ENABLE 
HW_ERR_NOVRAM_READ 
HW_ERR_NOVRAM_WRITE 
HW_ERR_SWITCH_EXIT 
HW_ERR_STOP_LIMITS_BOTH 
HW_ERR_HW_LIMITS_BOTH 
HW_ERR_HW_IN_POS 
HW_ERR_HW_LOCKED 
HW_ERR_SOE_ADS 
HW_ERR_SOE_SERCOS 
HW_ERR_TC_VEL 
HW_ERR_TC_NOT_READY_FOR_STAR 
HW_ERR_TC_DISABLED_MOVE 
HW_ERR_TC_BISECTION 
HW_ERR_TC_MODULO_POS 
HW_ERR_TC_STOP_ACTIVE 
HW_ERR_TC_VEL_NEG 
HW_ERR_TC_TARGET_LSW 
HW_ERR_TC_TARGET_USW 
HW_ERR_TC_FOLLOWING_ERROR 
HW_ERR_TC_NOT_READY 
HW_ERR_TC_IN_POS_6_SEC 

◆ anonymous enum

anonymous enum
Enumerator
RPC_SUCCESS 
RPC_ERR_NOT_OP 
RPC_ERR_NOT_OP_READY 
RPC_ERR_NOT_OP_NOTREADY 
RPC_ERR_MOTOR_LOCAL 
RPC_ERR_MOTOR_LOWER_LIMIT 
RPC_ERR_MOTOR_UPPER_LIMIT 

◆ Signal

enum fcf::devmgr::motor::Signal : short
strong
Enumerator
LSTOP 
LHW 
REF 
INDEX 
UHW 
USTOP 

Function Documentation

◆ REGISTER_DEVICE()

fcf::devmgr::motor::REGISTER_DEVICE ( Motor  )

Variable Documentation

◆ AxisModeMap

const std::unordered_map<int, std::string> fcf::devmgr::motor::AxisModeMap
Initial value:
= {
}
constexpr int CI_AXIS_MODE_INPOS
Definition: motorConfig.hpp:75
constexpr auto CI_AXIS_MODE_INVEL_STR
Definition: motorConfig.hpp:79
constexpr int CI_AXIS_MODE_INVEL
Definition: motorConfig.hpp:76
constexpr auto CI_AXIS_MODE_INPOS_STR
Definition: motorConfig.hpp:78

◆ AxisTypeMap

const std::unordered_map<std::string, int> fcf::devmgr::motor::AxisTypeMap
Initial value:
= {
}
constexpr auto CI_AXIS_TYPE_LINEAR_STR
Definition: motorConfig.hpp:71
constexpr auto CI_AXIS_TYPE_CIRCULAR_STR
Definition: motorConfig.hpp:72
constexpr auto CI_AXIS_TYPE_CIRCULAR_OPT_STR
Definition: motorConfig.hpp:73
constexpr int CI_AXIS_TYPE_CIRCULAR_OPT
Definition: motorConfig.hpp:69
constexpr int CI_AXIS_TYPE_CIRCULAR
Definition: motorConfig.hpp:68
constexpr int CI_AXIS_TYPE_LINEAR
Definition: motorConfig.hpp:67

◆ CI_ACTIVE_LOW_BRAKE

constexpr auto fcf::devmgr::motor::CI_ACTIVE_LOW_BRAKE = "low_brake"
constexpr

◆ CI_ACTIVE_LOW_INDEX

constexpr auto fcf::devmgr::motor::CI_ACTIVE_LOW_INDEX = "active_low_index"
constexpr

◆ CI_ACTIVE_LOW_INPOS

constexpr auto fcf::devmgr::motor::CI_ACTIVE_LOW_INPOS = "low_inpos"
constexpr

◆ CI_ACTIVE_LOW_LHW

constexpr auto fcf::devmgr::motor::CI_ACTIVE_LOW_LHW = "active_low_lhw"
constexpr

◆ CI_ACTIVE_LOW_REF

constexpr auto fcf::devmgr::motor::CI_ACTIVE_LOW_REF = "active_low_ref"
constexpr

◆ CI_ACTIVE_LOW_STOP

constexpr auto fcf::devmgr::motor::CI_ACTIVE_LOW_STOP = "active_low_lstop"
constexpr

◆ CI_ACTIVE_LOW_UHW

constexpr auto fcf::devmgr::motor::CI_ACTIVE_LOW_UHW = "active_low_uhw"
constexpr

◆ CI_ACTIVE_LOW_USTOP

constexpr auto fcf::devmgr::motor::CI_ACTIVE_LOW_USTOP = "active_low_ustop"
constexpr

◆ CI_AXIS_MODE_INPOS

constexpr int fcf::devmgr::motor::CI_AXIS_MODE_INPOS = 0
constexpr

◆ CI_AXIS_MODE_INPOS_STR

constexpr auto fcf::devmgr::motor::CI_AXIS_MODE_INPOS_STR = "InPosition"
constexpr

◆ CI_AXIS_MODE_INVEL

constexpr int fcf::devmgr::motor::CI_AXIS_MODE_INVEL = 1
constexpr

◆ CI_AXIS_MODE_INVEL_STR

constexpr auto fcf::devmgr::motor::CI_AXIS_MODE_INVEL_STR = "InVelocity"
constexpr

◆ CI_AXIS_TYPE

constexpr auto fcf::devmgr::motor::CI_AXIS_TYPE = "axis_type"
constexpr

◆ CI_AXIS_TYPE_CIRCULAR

constexpr int fcf::devmgr::motor::CI_AXIS_TYPE_CIRCULAR = 2
constexpr

◆ CI_AXIS_TYPE_CIRCULAR_OPT

constexpr int fcf::devmgr::motor::CI_AXIS_TYPE_CIRCULAR_OPT = 3
constexpr

◆ CI_AXIS_TYPE_CIRCULAR_OPT_STR

constexpr auto fcf::devmgr::motor::CI_AXIS_TYPE_CIRCULAR_OPT_STR = "CIRCULAR_OPT"
constexpr

◆ CI_AXIS_TYPE_CIRCULAR_STR

constexpr auto fcf::devmgr::motor::CI_AXIS_TYPE_CIRCULAR_STR = "CIRCULAR"
constexpr

◆ CI_AXIS_TYPE_LINEAR

constexpr int fcf::devmgr::motor::CI_AXIS_TYPE_LINEAR = 1
constexpr

◆ CI_AXIS_TYPE_LINEAR_STR

constexpr auto fcf::devmgr::motor::CI_AXIS_TYPE_LINEAR_STR = "LINEAR"
constexpr

◆ CI_BACKLASH

constexpr auto fcf::devmgr::motor::CI_BACKLASH = "backlash"
constexpr

◆ CI_BRAKE

constexpr auto fcf::devmgr::motor::CI_BRAKE = "brake"
constexpr

◆ CI_CHECK_INPOS

constexpr auto fcf::devmgr::motor::CI_CHECK_INPOS = "check_inpos"
constexpr

◆ CI_DEF_VEL

constexpr auto fcf::devmgr::motor::CI_DEF_VEL = "velocity"
constexpr

◆ CI_DISABLE

constexpr auto fcf::devmgr::motor::CI_DISABLE = "disable"
constexpr

◆ CI_EXEC_POST_INIT

constexpr auto fcf::devmgr::motor::CI_EXEC_POST_INIT = "exec_post_init"
constexpr

◆ CI_EXEC_POST_MOVE

constexpr auto fcf::devmgr::motor::CI_EXEC_POST_MOVE = "exec_post_move"
constexpr

◆ CI_EXEC_PRE_INIT

constexpr auto fcf::devmgr::motor::CI_EXEC_PRE_INIT = "exec_pre_init"
constexpr

◆ CI_EXEC_PRE_MOVE

constexpr auto fcf::devmgr::motor::CI_EXEC_PRE_MOVE = "exec_pre_move"
constexpr

◆ CI_INIT_ACTION

constexpr auto fcf::devmgr::motor::CI_INIT_ACTION = "step"
constexpr

◆ CI_INIT_ACTION_CALIB_ABS

constexpr auto fcf::devmgr::motor::CI_INIT_ACTION_CALIB_ABS = "CALIB_ABS"
constexpr

◆ CI_INIT_ACTION_CALIB_REL

constexpr auto fcf::devmgr::motor::CI_INIT_ACTION_CALIB_REL = "CALIB_REL"
constexpr

◆ CI_INIT_ACTION_CALIB_SWITCH

constexpr auto fcf::devmgr::motor::CI_INIT_ACTION_CALIB_SWITCH = "CALIB_SWITCH"
constexpr

◆ CI_INIT_ACTION_DELAY

constexpr auto fcf::devmgr::motor::CI_INIT_ACTION_DELAY = "DELAY"
constexpr

◆ CI_INIT_ACTION_END

constexpr auto fcf::devmgr::motor::CI_INIT_ACTION_END = "END"
constexpr

◆ CI_INIT_ACTION_FIND_INDEX

constexpr auto fcf::devmgr::motor::CI_INIT_ACTION_FIND_INDEX = "FIND_INDEX"
constexpr

◆ CI_INIT_ACTION_FIND_LHW

constexpr auto fcf::devmgr::motor::CI_INIT_ACTION_FIND_LHW = "FIND_LHW"
constexpr

◆ CI_INIT_ACTION_FIND_REF_LE

constexpr auto fcf::devmgr::motor::CI_INIT_ACTION_FIND_REF_LE = "FIND_REF_LE"
constexpr

◆ CI_INIT_ACTION_FIND_REF_UE

constexpr auto fcf::devmgr::motor::CI_INIT_ACTION_FIND_REF_UE = "FIND_REF_UE"
constexpr

◆ CI_INIT_ACTION_FIND_UHW

constexpr auto fcf::devmgr::motor::CI_INIT_ACTION_FIND_UHW = "FIND_UHW"
constexpr

◆ CI_INIT_ACTION_MOVE_ABS

constexpr auto fcf::devmgr::motor::CI_INIT_ACTION_MOVE_ABS = "MOVE_ABS"
constexpr

◆ CI_INIT_ACTION_MOVE_REL

constexpr auto fcf::devmgr::motor::CI_INIT_ACTION_MOVE_REL = "MOVE_REL"
constexpr

◆ CI_INIT_SEQUENCE

constexpr auto fcf::devmgr::motor::CI_INIT_SEQUENCE = "sequence"
constexpr

◆ CI_INIT_VALUE_1

constexpr auto fcf::devmgr::motor::CI_INIT_VALUE_1 = "value1"
constexpr

◆ CI_INIT_VALUE_2

constexpr auto fcf::devmgr::motor::CI_INIT_VALUE_2 = "value2"
constexpr

◆ CI_INITIALISATION

constexpr auto fcf::devmgr::motor::CI_INITIALISATION = "initialisation"
constexpr

◆ CI_LOCK

constexpr auto fcf::devmgr::motor::CI_LOCK = "lock"
constexpr

◆ CI_LOCK_POS

constexpr auto fcf::devmgr::motor::CI_LOCK_POS = "lock_pos"
constexpr

◆ CI_LOCK_TOLERANCE

constexpr auto fcf::devmgr::motor::CI_LOCK_TOLERANCE = "lock_tolerance"
constexpr

◆ CI_MAX_INIT_STEPS

constexpr int fcf::devmgr::motor::CI_MAX_INIT_STEPS = 10
constexpr

◆ CI_MAX_POS

constexpr auto fcf::devmgr::motor::CI_MAX_POS = "max_pos"
constexpr

◆ CI_MIN_POS

constexpr auto fcf::devmgr::motor::CI_MIN_POS = "min_pos"
constexpr

◆ CI_NAME_POS_TOLERANCE

constexpr auto fcf::devmgr::motor::CI_NAME_POS_TOLERANCE = "tolerance"
constexpr

◆ CI_POS_NAME

constexpr auto fcf::devmgr::motor::CI_POS_NAME = "name"
constexpr

◆ CI_POS_VALUE

constexpr auto fcf::devmgr::motor::CI_POS_VALUE = "value"
constexpr

◆ CI_POSITIONS

constexpr auto fcf::devmgr::motor::CI_POSITIONS = "positions"
constexpr

◆ CI_SCALE_FACTOR

constexpr auto fcf::devmgr::motor::CI_SCALE_FACTOR = "scale_factor"
constexpr

◆ CI_STAT_ACTUAL_POS

constexpr auto fcf::devmgr::motor::CI_STAT_ACTUAL_POS = "pos_actual"
constexpr

◆ CI_STAT_ACTUAL_POSNAME

constexpr auto fcf::devmgr::motor::CI_STAT_ACTUAL_POSNAME = "pos_actual_name"
constexpr

◆ CI_STAT_ACTUAL_VEL

constexpr auto fcf::devmgr::motor::CI_STAT_ACTUAL_VEL = "vel_actual"
constexpr

◆ CI_STAT_AXIS_BRAKE

constexpr auto fcf::devmgr::motor::CI_STAT_AXIS_BRAKE = "axis_brake"
constexpr

◆ CI_STAT_AXIS_ENABLE

constexpr auto fcf::devmgr::motor::CI_STAT_AXIS_ENABLE = "axis_enable"
constexpr

◆ CI_STAT_AXIS_INFO_DATA_1

constexpr auto fcf::devmgr::motor::CI_STAT_AXIS_INFO_DATA_1 = "axis_info_data1"
constexpr

◆ CI_STAT_AXIS_INFO_DATA_2

constexpr auto fcf::devmgr::motor::CI_STAT_AXIS_INFO_DATA_2 = "axis_info_data2"
constexpr

◆ CI_STAT_AXIS_INPOS

constexpr auto fcf::devmgr::motor::CI_STAT_AXIS_INPOS = "axis_inposition"
constexpr

◆ CI_STAT_AXIS_LOCK

constexpr auto fcf::devmgr::motor::CI_STAT_AXIS_LOCK = "axis_lock"
constexpr

◆ CI_STAT_AXIS_READY

constexpr auto fcf::devmgr::motor::CI_STAT_AXIS_READY = "axis_ready"
constexpr

◆ CI_STAT_AXIS_STOP_NEG

constexpr auto fcf::devmgr::motor::CI_STAT_AXIS_STOP_NEG = "axis_stop_pos"
constexpr

◆ CI_STAT_AXIS_STOP_POS

constexpr auto fcf::devmgr::motor::CI_STAT_AXIS_STOP_POS = "axis_stop_neg"
constexpr

◆ CI_STAT_BACKLASH_STEP

constexpr auto fcf::devmgr::motor::CI_STAT_BACKLASH_STEP = "backlash_step"
constexpr

◆ CI_STAT_ENC_POS

constexpr auto fcf::devmgr::motor::CI_STAT_ENC_POS = "pos_enc"
constexpr

◆ CI_STAT_INIT_ACTION

constexpr auto fcf::devmgr::motor::CI_STAT_INIT_ACTION = "init_action"
constexpr

◆ CI_STAT_INIT_STEP

constexpr auto fcf::devmgr::motor::CI_STAT_INIT_STEP = "init_step"
constexpr

◆ CI_STAT_INITIALISED

constexpr auto fcf::devmgr::motor::CI_STAT_INITIALISED = "initialised"
constexpr

◆ CI_STAT_MODE

constexpr auto fcf::devmgr::motor::CI_STAT_MODE = "mode"
constexpr

◆ CI_STAT_POS_ERROR

constexpr auto fcf::devmgr::motor::CI_STAT_POS_ERROR = "pos_error"
constexpr

◆ CI_STAT_SCALE_FACTOR

constexpr auto fcf::devmgr::motor::CI_STAT_SCALE_FACTOR = "scale_factor"
constexpr

◆ CI_STAT_SIGNAL_INDEX

constexpr auto fcf::devmgr::motor::CI_STAT_SIGNAL_INDEX = "signal_index"
constexpr

◆ CI_STAT_SIGNAL_LHW

constexpr auto fcf::devmgr::motor::CI_STAT_SIGNAL_LHW = "signal_lhw"
constexpr

◆ CI_STAT_SIGNAL_LSTOP

constexpr auto fcf::devmgr::motor::CI_STAT_SIGNAL_LSTOP = "signal_lstop"
constexpr

◆ CI_STAT_SIGNAL_REF

constexpr auto fcf::devmgr::motor::CI_STAT_SIGNAL_REF = "signal_ref"
constexpr

◆ CI_STAT_SIGNAL_UHW

constexpr auto fcf::devmgr::motor::CI_STAT_SIGNAL_UHW = "signal_uhw"
constexpr

◆ CI_STAT_SIGNAL_USTOP

constexpr auto fcf::devmgr::motor::CI_STAT_SIGNAL_USTOP = "signal_ustop"
constexpr

◆ CI_STAT_TARGET_ENC

constexpr auto fcf::devmgr::motor::CI_STAT_TARGET_ENC = "target_enc"
constexpr

◆ CI_STAT_TARGET_POS

constexpr auto fcf::devmgr::motor::CI_STAT_TARGET_POS = "pos_target"
constexpr

◆ CI_STAT_TARGET_POSNAME

constexpr auto fcf::devmgr::motor::CI_STAT_TARGET_POSNAME = "pos_target_name"
constexpr

◆ CI_STAT_TARGET_VEL

constexpr auto fcf::devmgr::motor::CI_STAT_TARGET_VEL = "vel_target"
constexpr

◆ CI_TIMEOUT_INIT

constexpr auto fcf::devmgr::motor::CI_TIMEOUT_INIT = "tout_init"
constexpr

◆ CI_TIMEOUT_MOVE

constexpr auto fcf::devmgr::motor::CI_TIMEOUT_MOVE = "tout_move"
constexpr

◆ CI_TIMEOUT_SWITCH

constexpr auto fcf::devmgr::motor::CI_TIMEOUT_SWITCH = "tout_switch"
constexpr

◆ FITS_PARAM_BRAKE

constexpr auto fcf::devmgr::motor::FITS_PARAM_BRAKE = "BRAKE"
constexpr

◆ FITS_PARAM_LOCK

constexpr auto fcf::devmgr::motor::FITS_PARAM_LOCK = "LOCK"
constexpr

◆ FITS_PARAM_POS

constexpr auto fcf::devmgr::motor::FITS_PARAM_POS = "POS"
constexpr

◆ FITS_PARAM_POSNAME

constexpr auto fcf::devmgr::motor::FITS_PARAM_POSNAME = "POSNAME"
constexpr

◆ hw_errors

const std::unordered_map<short, std::string> fcf::devmgr::motor::hw_errors

◆ InitActions2Map

const std::unordered_map<int, std::string> fcf::devmgr::motor::InitActions2Map
Initial value:
= {
}
constexpr auto CI_INIT_ACTION_FIND_REF_UE
Definition: motorConfig.hpp:91
constexpr auto CI_INIT_ACTION_CALIB_SWITCH
Definition: motorConfig.hpp:99
constexpr auto CI_INIT_ACTION_DELAY
Definition: motorConfig.hpp:94
constexpr auto CI_INIT_ACTION_FIND_INDEX
Definition: motorConfig.hpp:89
constexpr auto CI_INIT_ACTION_MOVE_ABS
Definition: motorConfig.hpp:95
constexpr auto CI_INIT_ACTION_CALIB_REL
Definition: motorConfig.hpp:98
@ INIT_ACTION_FIND_REF_UE
Definition: motorConfig.hpp:147
@ INIT_ACTION_FIND_REF_LE
Definition: motorConfig.hpp:146
@ INIT_ACTION_MOVE_ABS
Definition: motorConfig.hpp:151
@ INIT_ACTION_END
Definition: motorConfig.hpp:144
@ INIT_ACTION_FIND_INDEX
Definition: motorConfig.hpp:145
@ INIT_ACTION_CALIB_REL
Definition: motorConfig.hpp:154
@ INIT_ACTION_MOVE_REL
Definition: motorConfig.hpp:152
@ INIT_ACTION_FIND_LHW
Definition: motorConfig.hpp:148
@ INIT_ACTION_CALIB_SWITCH
Definition: motorConfig.hpp:155
@ INIT_ACTION_CALIB_ABS
Definition: motorConfig.hpp:153
@ INIT_ACTION_DELAY
Definition: motorConfig.hpp:150
@ INIT_ACTION_FIND_UHW
Definition: motorConfig.hpp:149
constexpr auto CI_INIT_ACTION_FIND_LHW
Definition: motorConfig.hpp:92
constexpr auto CI_INIT_ACTION_MOVE_REL
Definition: motorConfig.hpp:96
constexpr auto CI_INIT_ACTION_FIND_REF_LE
Definition: motorConfig.hpp:90
constexpr auto CI_INIT_ACTION_END
Definition: motorConfig.hpp:88
constexpr auto CI_INIT_ACTION_CALIB_ABS
Definition: motorConfig.hpp:97
constexpr auto CI_INIT_ACTION_FIND_UHW
Definition: motorConfig.hpp:93

◆ InitActionsMap

const std::unordered_map<std::string, int> fcf::devmgr::motor::InitActionsMap

◆ LOGGER_NAME

constexpr auto fcf::devmgr::motor::LOGGER_NAME = "motor"
constexpr

◆ rpc_errors

const std::unordered_map< short, std::string > fcf::devmgr::motor::rpc_errors
Initial value:
= {
{RPC_ERR_NOT_OP, "Cannot disable motor. Not in OP state"},
{RPC_ERR_NOT_OP_READY, "Cannot enable motor. Not in READY."},
{RPC_ERR_NOT_OP_NOTREADY, "Cannot init motor. Not in NOTREADY or FAILURE."},
{RPC_ERR_MOTOR_LOCAL, "RPC calls are not allowed in Local mode."},
{RPC_ERR_MOTOR_LOWER_LIMIT, "Move rejected. Target position beyond lower SW limit."},
{RPC_ERR_MOTOR_UPPER_LIMIT, "Move rejected. Target position beyond upper SW limit."}
}
@ RPC_ERR_NOT_OP_READY
Definition: motorBaseRpcErrors.hpp:21
@ RPC_ERR_MOTOR_LOCAL
Definition: motorBaseRpcErrors.hpp:23
@ RPC_ERR_NOT_OP
Definition: motorBaseRpcErrors.hpp:20
@ RPC_ERR_MOTOR_UPPER_LIMIT
Definition: motorBaseRpcErrors.hpp:25
@ RPC_ERR_NOT_OP_NOTREADY
Definition: motorBaseRpcErrors.hpp:22
@ RPC_ERR_MOTOR_LOWER_LIMIT
Definition: motorBaseRpcErrors.hpp:24

◆ RPC_MOVE_ABS

constexpr auto fcf::devmgr::motor::RPC_MOVE_ABS = "rpcMoveAbs"
constexpr

◆ RPC_MOVE_REL

constexpr auto fcf::devmgr::motor::RPC_MOVE_REL = "rpcMoveRel"
constexpr

◆ RPC_MOVE_VEL

constexpr auto fcf::devmgr::motor::RPC_MOVE_VEL = "rpcMoveVel"
constexpr

◆ SUBSTATE_ABORTING

constexpr int fcf::devmgr::motor::SUBSTATE_ABORTING = 107
constexpr

◆ SUBSTATE_ABORTING_STR

constexpr auto fcf::devmgr::motor::SUBSTATE_ABORTING_STR = "Aborting"
constexpr

◆ SUBSTATE_OP_MOVING

constexpr int fcf::devmgr::motor::SUBSTATE_OP_MOVING = 217
constexpr

◆ SUBSTATE_OP_MOVING_STR

constexpr auto fcf::devmgr::motor::SUBSTATE_OP_MOVING_STR = "Moving"
constexpr

◆ SUBSTATE_OP_SETTING_POS

constexpr int fcf::devmgr::motor::SUBSTATE_OP_SETTING_POS = 218
constexpr

◆ SUBSTATE_OP_SETTING_POS_STR

constexpr auto fcf::devmgr::motor::SUBSTATE_OP_SETTING_POS_STR = "SettingPos"
constexpr

◆ SUBSTATE_OP_STANDSTILL

constexpr int fcf::devmgr::motor::SUBSTATE_OP_STANDSTILL = 216
constexpr

◆ SUBSTATE_OP_STANDSTILL_STR

constexpr auto fcf::devmgr::motor::SUBSTATE_OP_STANDSTILL_STR = "Standstill"
constexpr

◆ SUBSTATE_OP_STOPPING

constexpr int fcf::devmgr::motor::SUBSTATE_OP_STOPPING = 219
constexpr

◆ SUBSTATE_OP_STOPPING_STR

constexpr auto fcf::devmgr::motor::SUBSTATE_OP_STOPPING_STR = "Stopping"
constexpr

◆ SUBSTATE_READY_STR

constexpr auto fcf::devmgr::motor::SUBSTATE_READY_STR = "Ready"
constexpr

◆ SubstateMap

const std::unordered_map<short, std::string> fcf::devmgr::motor::SubstateMap
Initial value:
= {
}
constexpr int SUBSTATE_OP_ERROR
Definition: deviceConfig.hpp:108
constexpr int SUBSTATE_INITIALISING
Definition: deviceConfig.hpp:99
constexpr int SUBSTATE_READY
Definition: deviceConfig.hpp:98
constexpr auto SUBSTATE_OP_ERROR_STR
Definition: deviceConfig.hpp:111
constexpr auto SUBSTATE_ERROR_STR
Definition: deviceConfig.hpp:105
constexpr int SUBSTATE_ERROR
Definition: deviceConfig.hpp:100
constexpr int SUBSTATE_NOTREADY
Definition: deviceConfig.hpp:97
constexpr auto SUBSTATE_NOTREADY_STR
Definition: deviceConfig.hpp:102
constexpr auto SUBSTATE_READY_STR
Definition: deviceConfig.hpp:104
constexpr auto SUBSTATE_INITIALISING_STR
Definition: deviceConfig.hpp:103
constexpr auto SUBSTATE_OP_MOVING_STR
Definition: motorBaseConfig.hpp:64
constexpr auto SUBSTATE_OP_STANDSTILL_STR
Definition: motorBaseConfig.hpp:63
constexpr auto SUBSTATE_OP_STOPPING_STR
Definition: motorBaseConfig.hpp:66
constexpr int SUBSTATE_OP_SETTING_POS
Definition: motorBaseConfig.hpp:58
constexpr auto SUBSTATE_ABORTING_STR
Definition: motorBaseConfig.hpp:62
constexpr int SUBSTATE_OP_STANDSTILL
Definition: motorBaseConfig.hpp:56
constexpr int SUBSTATE_OP_STOPPING
Definition: motorBaseConfig.hpp:59
constexpr int SUBSTATE_ABORTING
Definition: motorBaseConfig.hpp:55
constexpr auto SUBSTATE_OP_SETTING_POS_STR
Definition: motorBaseConfig.hpp:65
constexpr int SUBSTATE_OP_MOVING
Definition: motorBaseConfig.hpp:57

◆ UndefinedNamedPos

constexpr auto fcf::devmgr::motor::UndefinedNamedPos = "undefined"
constexpr