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

Motor class source file. More...

Classes

class  Smaract
 The Smaract class. More...
 
struct  SmaractControllerData
 The MotorControllerData struct. More...
 
class  SmaractLcsIf
 Motor Local Control System (LCS) Interface (IF) class. More...
 

Enumerations

enum  { HW_SUCCESS = 0 , HW_ERR_HW_NOT_OP = 1 , HW_ERR_LOCAL = 2 , HW_ERR_INIT_ABORTED = 3 }
 
enum  {
  RPC_ERR_CHANNEL = -7 , RPC_ERR_VEL_ZERO = -8 , RPC_ERR_VEL_NEG = -9 , RPC_ERR_VEL_MAX = -10 ,
  RPC_ERR_CHANNEL_NOT_OP = -11 , RPC_ERR_CTRL_ERROR = -12 , RPC_ERR_MOVING_ERROR = -13 , RPC_ERR_COMM_ERROR = -14
}
 

Functions

 REGISTER_DEVICE (Smaract)
 

Variables

constexpr auto LOGGER_NAME = "smaract"
 
constexpr auto CI_SCALE_FACTOR = "scale_factor"
 
const std::unordered_map< short, std::string > HW_ERRORS
 
const std::unordered_map< short, std::string > RPC_ERRORS
 

Detailed Description

Motor class source file.

SmaractLcsIf class source file.

LampRpcErrors header file.

ShutterLcsIf class header file.

MotorHwErrors header file.

MotorConfig class header file.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
HW_SUCCESS 
HW_ERR_HW_NOT_OP 
HW_ERR_LOCAL 
HW_ERR_INIT_ABORTED 

◆ anonymous enum

anonymous enum
Enumerator
RPC_ERR_CHANNEL 
RPC_ERR_VEL_ZERO 
RPC_ERR_VEL_NEG 
RPC_ERR_VEL_MAX 
RPC_ERR_CHANNEL_NOT_OP 
RPC_ERR_CTRL_ERROR 
RPC_ERR_MOVING_ERROR 
RPC_ERR_COMM_ERROR 

Function Documentation

◆ REGISTER_DEVICE()

ifw::fcf::devmgr::smaract::REGISTER_DEVICE ( Smaract )

Variable Documentation

◆ CI_SCALE_FACTOR

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

◆ HW_ERRORS

const std::unordered_map<short, std::string> ifw::fcf::devmgr::smaract::HW_ERRORS
Initial value:
= {
{HW_ERR_HW_NOT_OP, "TwinCAT not OP or CouplerState not mapped."},
{HW_ERR_LOCAL, "control not allowed. Motor in Local mode."},
{HW_ERR_INIT_ABORTED, "INIT command aborted."},
}

◆ LOGGER_NAME

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

◆ RPC_ERRORS

const std::unordered_map<short, std::string> ifw::fcf::devmgr::smaract::RPC_ERRORS
Initial value:
= {
{RPC_ERR_CHANNEL, "Channel not in range [0..17]."},
{RPC_ERR_VEL_ZERO, "Target Velocity cannot be zero."},
{RPC_ERR_VEL_NEG, "Target Velocity cannot be negative."},
{RPC_ERR_VEL_MAX, "Target Velocity higher than Maximum."},
{RPC_ERR_CHANNEL_NOT_OP, "Channel not OPERATIONAL. REFerence first."},
{RPC_ERR_CTRL_ERROR, "control error."},
{RPC_ERR_MOVING_ERROR, "Moving error."},
{RPC_ERR_COMM_ERROR, "Controller communication error."}
}
@ RPC_ERR_MOVING_ERROR
Definition smaractRpcErrors.hpp:23
@ RPC_ERR_COMM_ERROR
Definition smaractRpcErrors.hpp:24
@ RPC_ERR_CHANNEL
Definition smaractRpcErrors.hpp:17