ifw-fcf 7.1.4
Loading...
Searching...
No Matches
Classes | Enumerations | Functions | Variables
ifw::fcf::devmgr::motor Namespace Reference

Motor class source file. More...

Classes

struct  InitAction
 
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...
 
class  MotorConfig
 Motor Configuration class. More...
 
struct  MotorControllerData
 The MotorControllerData struct. More...
 
class  MotorLcsIf
 Motor Local Control System (LCS) Interface (IF) class. More...
 
struct  NamedPosConfig
 The NamedPositionConfig struct. 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 , RPC_ERR_INIT_WHILE_MOVING = -7 ,
  RPC_ERR_VEL_ZERO = -8 , RPC_ERR_VEL_NEG = -9 , RPC_ERR_VEL_MAX = -10 , RPC_ERR_UNSAFE = -11
}
 

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_POS_ID = "id"
 
constexpr auto CI_POS_TYPE = "type"
 
constexpr auto CI_POS_NO = "no"
 
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 > SUBSTATE_MAP
 
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 CI_STAT_USER_UNIT = "user_unit"
 
constexpr auto FITS_PARAM_POSNAME = "NAME"
 
constexpr auto FITS_PARAM_POS = "POS"
 
constexpr auto FITS_PARAM_POSTYPE = "TYPE"
 
constexpr auto FITS_PARAM_POSNO = "NO"
 
constexpr auto FITS_PARAM_POSID = "ID"
 
constexpr auto UNDEFINED_NAMED_POS = "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 > AXIS_MODE_MAP
 
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 > AXIS_TYPE_MAP
 
const std::unordered_map< std::string, int > INIT_ACTIONS_MAP
 
const std::unordered_map< int, std::string > INIT_ACTIONS2_MAP
 
const std::unordered_map< short, std::string > HW_ERRORS
 

Detailed Description

Motor class source file.

Motor LCS IF class source file.

MotorHwErrors header file.

LampRpcErrors header file.

ShutterLcsIf class header file.

MotorConfig class header file.

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 
RPC_ERR_INIT_WHILE_MOVING 
RPC_ERR_VEL_ZERO 
RPC_ERR_VEL_NEG 
RPC_ERR_VEL_MAX 
RPC_ERR_UNSAFE 

◆ Signal

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

Function Documentation

◆ REGISTER_DEVICE()

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

Variable Documentation

◆ AXIS_MODE_MAP

const std::unordered_map<int, std::string> ifw::fcf::devmgr::motor::AXIS_MODE_MAP
Initial value:
= {
}
constexpr int CI_AXIS_MODE_INVEL
Definition motorConfig.hpp:72
constexpr auto CI_AXIS_MODE_INPOS_STR
Definition motorConfig.hpp:74
constexpr int CI_AXIS_MODE_INPOS
Definition motorConfig.hpp:71
constexpr auto CI_AXIS_MODE_INVEL_STR
Definition motorConfig.hpp:75

◆ AXIS_TYPE_MAP

const std::unordered_map<std::string, int> ifw::fcf::devmgr::motor::AXIS_TYPE_MAP
Initial value:
= {
{CI_AXIS_TYPE_CIRCULAR_OPT_STR, CI_AXIS_TYPE_CIRCULAR_OPT}
}
constexpr int CI_AXIS_TYPE_CIRCULAR
Definition motorConfig.hpp:64
constexpr auto CI_AXIS_TYPE_CIRCULAR_STR
Definition motorConfig.hpp:68
constexpr auto CI_AXIS_TYPE_LINEAR_STR
Definition motorConfig.hpp:67
constexpr int CI_AXIS_TYPE_LINEAR
Definition motorConfig.hpp:63

◆ CI_ACTIVE_LOW_BRAKE

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

◆ CI_ACTIVE_LOW_INDEX

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

◆ CI_ACTIVE_LOW_INPOS

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

◆ CI_ACTIVE_LOW_LHW

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

◆ CI_ACTIVE_LOW_REF

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

◆ CI_ACTIVE_LOW_STOP

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

◆ CI_ACTIVE_LOW_UHW

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

◆ CI_ACTIVE_LOW_USTOP

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

◆ CI_AXIS_MODE_INPOS

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

◆ CI_AXIS_MODE_INPOS_STR

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

◆ CI_AXIS_MODE_INVEL

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

◆ CI_AXIS_MODE_INVEL_STR

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

◆ CI_AXIS_TYPE

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

◆ CI_AXIS_TYPE_CIRCULAR

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

◆ CI_AXIS_TYPE_CIRCULAR_OPT

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

◆ CI_AXIS_TYPE_CIRCULAR_OPT_STR

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

◆ CI_AXIS_TYPE_CIRCULAR_STR

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

◆ CI_AXIS_TYPE_LINEAR

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

◆ CI_AXIS_TYPE_LINEAR_STR

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

◆ CI_BACKLASH

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

◆ CI_BRAKE

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

◆ CI_CHECK_INPOS

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

◆ CI_DEF_VEL

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

◆ CI_DISABLE

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

◆ CI_EXEC_POST_INIT

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

◆ CI_EXEC_POST_MOVE

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

◆ CI_EXEC_PRE_INIT

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

◆ CI_EXEC_PRE_MOVE

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

◆ CI_INIT_ACTION

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

◆ CI_INIT_ACTION_CALIB_ABS

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

◆ CI_INIT_ACTION_CALIB_REL

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

◆ CI_INIT_ACTION_CALIB_SWITCH

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

◆ CI_INIT_ACTION_DELAY

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

◆ CI_INIT_ACTION_END

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

◆ CI_INIT_ACTION_FIND_INDEX

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

◆ CI_INIT_ACTION_FIND_LHW

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

◆ CI_INIT_ACTION_FIND_REF_LE

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

◆ CI_INIT_ACTION_FIND_REF_UE

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

◆ CI_INIT_ACTION_FIND_UHW

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

◆ CI_INIT_ACTION_MOVE_ABS

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

◆ CI_INIT_ACTION_MOVE_REL

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

◆ CI_INIT_SEQUENCE

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

◆ CI_INIT_VALUE_1

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

◆ CI_INIT_VALUE_2

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

◆ CI_INITIALISATION

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

◆ CI_LOCK

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

◆ CI_LOCK_POS

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

◆ CI_LOCK_TOLERANCE

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

◆ CI_MAX_INIT_STEPS

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

◆ CI_MAX_POS

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

◆ CI_MIN_POS

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

◆ CI_NAME_POS_TOLERANCE

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

◆ CI_POS_ID

constexpr auto ifw::fcf::devmgr::motor::CI_POS_ID = "id"
constexpr

◆ CI_POS_NAME

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

◆ CI_POS_NO

constexpr auto ifw::fcf::devmgr::motor::CI_POS_NO = "no"
constexpr

◆ CI_POS_TYPE

constexpr auto ifw::fcf::devmgr::motor::CI_POS_TYPE = "type"
constexpr

◆ CI_POS_VALUE

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

◆ CI_POSITIONS

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

◆ CI_SCALE_FACTOR

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

◆ CI_STAT_ACTUAL_POS

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

◆ CI_STAT_ACTUAL_POSNAME

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

◆ CI_STAT_ACTUAL_VEL

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

◆ CI_STAT_AXIS_BRAKE

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

◆ CI_STAT_AXIS_ENABLE

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

◆ CI_STAT_AXIS_INFO_DATA_1

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

◆ CI_STAT_AXIS_INFO_DATA_2

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

◆ CI_STAT_AXIS_INPOS

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

◆ CI_STAT_AXIS_LOCK

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

◆ CI_STAT_AXIS_READY

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

◆ CI_STAT_AXIS_STOP_NEG

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

◆ CI_STAT_AXIS_STOP_POS

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

◆ CI_STAT_BACKLASH_STEP

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

◆ CI_STAT_ENC_POS

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

◆ CI_STAT_INIT_ACTION

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

◆ CI_STAT_INIT_STEP

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

◆ CI_STAT_INITIALISED

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

◆ CI_STAT_MODE

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

◆ CI_STAT_POS_ERROR

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

◆ CI_STAT_SCALE_FACTOR

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

◆ CI_STAT_SIGNAL_INDEX

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

◆ CI_STAT_SIGNAL_LHW

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

◆ CI_STAT_SIGNAL_LSTOP

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

◆ CI_STAT_SIGNAL_REF

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

◆ CI_STAT_SIGNAL_UHW

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

◆ CI_STAT_SIGNAL_USTOP

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

◆ CI_STAT_TARGET_ENC

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

◆ CI_STAT_TARGET_POS

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

◆ CI_STAT_TARGET_POSNAME

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

◆ CI_STAT_TARGET_VEL

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

◆ CI_STAT_USER_UNIT

constexpr auto ifw::fcf::devmgr::motor::CI_STAT_USER_UNIT = "user_unit"
constexpr

◆ CI_TIMEOUT_INIT

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

◆ CI_TIMEOUT_MOVE

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

◆ CI_TIMEOUT_SWITCH

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

◆ FITS_PARAM_BRAKE

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

◆ FITS_PARAM_LOCK

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

◆ FITS_PARAM_POS

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

◆ FITS_PARAM_POSID

constexpr auto ifw::fcf::devmgr::motor::FITS_PARAM_POSID = "ID"
constexpr

◆ FITS_PARAM_POSNAME

constexpr auto ifw::fcf::devmgr::motor::FITS_PARAM_POSNAME = "NAME"
constexpr

◆ FITS_PARAM_POSNO

constexpr auto ifw::fcf::devmgr::motor::FITS_PARAM_POSNO = "NO"
constexpr

◆ FITS_PARAM_POSTYPE

constexpr auto ifw::fcf::devmgr::motor::FITS_PARAM_POSTYPE = "TYPE"
constexpr

◆ HW_ERRORS

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

◆ INIT_ACTIONS2_MAP

const std::unordered_map<int, std::string> ifw::fcf::devmgr::motor::INIT_ACTIONS2_MAP
Initial value:
= {
{INIT_ACTION_FIND_REF_LE, CI_INIT_ACTION_FIND_REF_LE},
{INIT_ACTION_FIND_REF_UE, CI_INIT_ACTION_FIND_REF_UE},
{INIT_ACTION_FIND_LHW, CI_INIT_ACTION_FIND_LHW},
{INIT_ACTION_FIND_UHW, CI_INIT_ACTION_FIND_UHW},
}
constexpr auto CI_INIT_ACTION_MOVE_REL
Definition motorConfig.hpp:92
@ INIT_ACTION_END
Definition motorConfig.hpp:140
@ INIT_ACTION_CALIB_ABS
Definition motorConfig.hpp:149
@ INIT_ACTION_CALIB_REL
Definition motorConfig.hpp:150
@ INIT_ACTION_MOVE_ABS
Definition motorConfig.hpp:147
@ INIT_ACTION_CALIB_SWITCH
Definition motorConfig.hpp:151
@ INIT_ACTION_MOVE_REL
Definition motorConfig.hpp:148
@ INIT_ACTION_DELAY
Definition motorConfig.hpp:146
@ INIT_ACTION_FIND_INDEX
Definition motorConfig.hpp:141
constexpr auto CI_INIT_ACTION_FIND_INDEX
Definition motorConfig.hpp:85
constexpr auto CI_INIT_ACTION_CALIB_REL
Definition motorConfig.hpp:94
constexpr auto CI_INIT_ACTION_END
Definition motorConfig.hpp:84
constexpr auto CI_INIT_ACTION_DELAY
Definition motorConfig.hpp:90
constexpr auto CI_INIT_ACTION_CALIB_SWITCH
Definition motorConfig.hpp:95
constexpr auto CI_INIT_ACTION_MOVE_ABS
Definition motorConfig.hpp:91
constexpr auto CI_INIT_ACTION_CALIB_ABS
Definition motorConfig.hpp:93

◆ INIT_ACTIONS_MAP

const std::unordered_map<std::string, int> ifw::fcf::devmgr::motor::INIT_ACTIONS_MAP
Initial value:
= {
{CI_INIT_ACTION_FIND_REF_LE, INIT_ACTION_FIND_REF_LE},
{CI_INIT_ACTION_FIND_REF_UE, INIT_ACTION_FIND_REF_UE},
{CI_INIT_ACTION_FIND_LHW, INIT_ACTION_FIND_LHW},
{CI_INIT_ACTION_FIND_UHW, INIT_ACTION_FIND_UHW},
}

◆ LOGGER_NAME

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

◆ RPC_ERRORS

const std::unordered_map< short, std::string > ifw::fcf::devmgr::motor::RPC_ERRORS
Initial value:
= {
{RPC_ERR_NOT_OP, "Cannot control motor. Not in OP state"},
{RPC_ERR_NOT_OP_READY, "Call failed. Not in READY."},
{RPC_ERR_NOT_OP_NOTREADY, "Call failed. 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_MOVE_ABS

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

◆ RPC_MOVE_REL

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

◆ RPC_MOVE_VEL

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

◆ SUBSTATE_ABORTING

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

◆ SUBSTATE_ABORTING_STR

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

◆ SUBSTATE_MAP

const std::unordered_map<short, std::string> ifw::fcf::devmgr::motor::SUBSTATE_MAP
Initial value:
= {
{fcf::devmgr::common::SUBSTATE_NOTREADY, ifw::fcf::devmgr::common::SUBSTATE_NOTREADY_STR},
{fcf::devmgr::common::SUBSTATE_INITIALISING, ifw::fcf::devmgr::common::SUBSTATE_INITIALISING_STR},
{fcf::devmgr::common::SUBSTATE_READY, ifw::fcf::devmgr::common::SUBSTATE_READY_STR},
{fcf::devmgr::common::SUBSTATE_ERROR, ifw::fcf::devmgr::common::SUBSTATE_ERROR_STR},
{SUBSTATE_ABORTING, SUBSTATE_ABORTING_STR},
{SUBSTATE_OP_STANDSTILL, SUBSTATE_OP_STANDSTILL_STR},
{fcf::devmgr::common::SUBSTATE_OP_ERROR, ifw::fcf::devmgr::common::SUBSTATE_OP_ERROR_STR},
}
constexpr auto SUBSTATE_INITIALISING_STR
Definition deviceConfig.hpp:100
constexpr auto SUBSTATE_ERROR_STR
Definition deviceConfig.hpp:102
constexpr auto SUBSTATE_NOTREADY_STR
Definition deviceConfig.hpp:99
constexpr auto SUBSTATE_READY_STR
Definition deviceConfig.hpp:101
constexpr auto SUBSTATE_OP_ERROR_STR
Definition deviceConfig.hpp:108
constexpr int SUBSTATE_OP_STOPPING
Definition motorBaseConfig.hpp:54
constexpr auto SUBSTATE_OP_MOVING_STR
Definition motorBaseConfig.hpp:59
constexpr auto SUBSTATE_OP_SETTING_POS_STR
Definition motorBaseConfig.hpp:60
constexpr auto SUBSTATE_OP_STOPPING_STR
Definition motorBaseConfig.hpp:61
constexpr int SUBSTATE_OP_SETTING_POS
Definition motorBaseConfig.hpp:53
constexpr int SUBSTATE_OP_MOVING
Definition motorBaseConfig.hpp:52

◆ SUBSTATE_OP_MOVING

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

◆ SUBSTATE_OP_MOVING_STR

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

◆ SUBSTATE_OP_SETTING_POS

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

◆ SUBSTATE_OP_SETTING_POS_STR

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

◆ SUBSTATE_OP_STANDSTILL

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

◆ SUBSTATE_OP_STANDSTILL_STR

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

◆ SUBSTATE_OP_STOPPING

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

◆ SUBSTATE_OP_STOPPING_STR

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

◆ SUBSTATE_READY_STR

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

◆ UNDEFINED_NAMED_POS

constexpr auto ifw::fcf::devmgr::motor::UNDEFINED_NAMED_POS = "undefined"
constexpr