gclib 2.5.0
Galil Communications Library
Loading...
Searching...
No Matches
DataRecord::Axis Struct Reference

Holds axis-specific data record fields. Provided by DataRecord.axis(). More...

#include <gclib.hpp>

Public Types

enum  ModeOfMotion {
  NoMotion = GCLIB_NO_MOTION ,
  Contour = GCLIB_CONTOUR ,
  PositionAbsolute = GCLIB_POSITION_ABSOLUTE ,
  PositionRelative = GCLIB_POSITION_RELATIVE ,
  FindEdge = GCLIB_FIND_EDGE ,
  FindIndex = GCLIB_FIND_INDEX ,
  Home = GCLIB_HOME ,
  VectorMove = GCLIB_VECTOR_MOVE ,
  LinearMove = GCLIB_LINEAR_MOVE
}

Public Member Functions

 Axis (gclib_data_record_handle h, char axis)
bool motor_off ()
bool latch_armed ()
bool final_deceleration ()
bool stopping ()
bool slewing ()
ModeOfMotion mode_of_motion ()
bool negative_direction_move ()
bool moving ()
int home_phase ()
bool stepper_mode ()
bool home_input ()
bool reverse_limit ()
bool forward_limit ()
bool latch_input ()
bool latch_occurred ()
uint8_t stop_code ()
int32_t reference_position ()
int32_t position ()
int32_t position_error ()
int32_t aux_position ()
int32_t velocity ()
double torque ()
double analog_input ()
int8_t halls ()
int32_t variable ()
bool hall_error ()
bool peak_current ()

Detailed Description

Holds axis-specific data record fields. Provided by DataRecord.axis().

Definition at line 141 of file gclib.hpp.

Member Enumeration Documentation

◆ ModeOfMotion

Enumerator
NoMotion 
Contour 
PositionAbsolute 
PositionRelative 
FindEdge 
FindIndex 
Home 
VectorMove 
LinearMove 

Definition at line 143 of file gclib.hpp.

Constructor & Destructor Documentation

◆ Axis()

Axis ( gclib_data_record_handle h,
char axis )
inline

Definition at line 142 of file gclib.hpp.

Member Function Documentation

◆ motor_off()

bool motor_off ( )
inline

Definition at line 154 of file gclib.hpp.

◆ latch_armed()

bool latch_armed ( )
inline

Definition at line 155 of file gclib.hpp.

◆ final_deceleration()

bool final_deceleration ( )
inline

Definition at line 156 of file gclib.hpp.

◆ stopping()

bool stopping ( )
inline

Definition at line 157 of file gclib.hpp.

◆ slewing()

bool slewing ( )
inline

Definition at line 158 of file gclib.hpp.

◆ mode_of_motion()

ModeOfMotion mode_of_motion ( )
inline

Definition at line 159 of file gclib.hpp.

◆ negative_direction_move()

bool negative_direction_move ( )
inline

Definition at line 160 of file gclib.hpp.

◆ moving()

bool moving ( )
inline

Definition at line 161 of file gclib.hpp.

◆ home_phase()

int home_phase ( )
inline

Definition at line 162 of file gclib.hpp.

◆ stepper_mode()

bool stepper_mode ( )
inline

Definition at line 163 of file gclib.hpp.

◆ home_input()

bool home_input ( )
inline

Definition at line 164 of file gclib.hpp.

◆ reverse_limit()

bool reverse_limit ( )
inline

Definition at line 165 of file gclib.hpp.

◆ forward_limit()

bool forward_limit ( )
inline

Definition at line 166 of file gclib.hpp.

◆ latch_input()

bool latch_input ( )
inline

Definition at line 167 of file gclib.hpp.

◆ latch_occurred()

bool latch_occurred ( )
inline

Definition at line 168 of file gclib.hpp.

◆ stop_code()

uint8_t stop_code ( )
inline

Definition at line 169 of file gclib.hpp.

◆ reference_position()

int32_t reference_position ( )
inline

Definition at line 170 of file gclib.hpp.

◆ position()

int32_t position ( )
inline

Definition at line 171 of file gclib.hpp.

◆ position_error()

int32_t position_error ( )
inline

Definition at line 172 of file gclib.hpp.

◆ aux_position()

int32_t aux_position ( )
inline

Definition at line 173 of file gclib.hpp.

◆ velocity()

int32_t velocity ( )
inline

Definition at line 174 of file gclib.hpp.

◆ torque()

double torque ( )
inline

Definition at line 175 of file gclib.hpp.

◆ analog_input()

double analog_input ( )
inline

Definition at line 176 of file gclib.hpp.

◆ halls()

int8_t halls ( )
inline

Definition at line 177 of file gclib.hpp.

◆ variable()

int32_t variable ( )
inline

Definition at line 178 of file gclib.hpp.

◆ hall_error()

bool hall_error ( )
inline

Definition at line 179 of file gclib.hpp.

◆ peak_current()

bool peak_current ( )
inline

Definition at line 180 of file gclib.hpp.


The documentation for this struct was generated from the following file: