Classes | Public Types | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Static Private Attributes | List of all members
canopen::Command402 Class Reference

#include <motor.h>

Classes

struct  Op
 
class  TransitionTable
 

Public Types

enum  ControlWord {
  CW_Switch_On =0, CW_Enable_Voltage =1, CW_Quick_Stop =2, CW_Enable_Operation =3,
  CW_Operation_mode_specific0 =4, CW_Operation_mode_specific1 =5, CW_Operation_mode_specific2 =6, CW_Fault_Reset =7,
  CW_Halt =8, CW_Operation_mode_specific3 =9, CW_Manufacturer_specific0 =11, CW_Manufacturer_specific1 =12,
  CW_Manufacturer_specific2 =13, CW_Manufacturer_specific3 =14, CW_Manufacturer_specific4 =15
}
 

Static Public Member Functions

static bool setTransition (uint16_t &cw, const State402::InternalState &from, const State402::InternalState &to, State402::InternalState *next)
 

Private Member Functions

 Command402 ()
 

Static Private Member Functions

static State402::InternalState nextStateForEnabling (State402::InternalState state)
 

Static Private Attributes

static const TransitionTable transitions_
 

Detailed Description

Definition at line 60 of file motor.h.

Member Enumeration Documentation

Enumerator
CW_Switch_On 
CW_Enable_Voltage 
CW_Quick_Stop 
CW_Enable_Operation 
CW_Operation_mode_specific0 
CW_Operation_mode_specific1 
CW_Operation_mode_specific2 
CW_Fault_Reset 
CW_Halt 
CW_Operation_mode_specific3 
CW_Manufacturer_specific0 
CW_Manufacturer_specific1 
CW_Manufacturer_specific2 
CW_Manufacturer_specific3 
CW_Manufacturer_specific4 

Definition at line 84 of file motor.h.

Constructor & Destructor Documentation

canopen::Command402::Command402 ( )
private

Member Function Documentation

State402::InternalState canopen::Command402::nextStateForEnabling ( State402::InternalState  state)
staticprivate

Definition at line 119 of file motor.cpp.

bool canopen::Command402::setTransition ( uint16_t &  cw,
const State402::InternalState from,
const State402::InternalState to,
State402::InternalState next 
)
static

Definition at line 144 of file motor.cpp.

Member Data Documentation

const Command402::TransitionTable canopen::Command402::transitions_
staticprivate

Definition at line 80 of file motor.h.


The documentation for this class was generated from the following files:


canopen_402
Author(s): Thiago de Freitas , Mathias L├╝dtke
autogenerated on Sat May 4 2019 02:40:44