|
EPICS Motor Module motor-R6-8-RC1_1-4
|
00001 /* 00002 FILENAME... omsBaseAxis.h 00003 USAGE... Pro-Dex OMS asyn motor base axes support 00004 00005 Version: $Revision: 1.3 $ 00006 Modified By: $Author: zoven $ 00007 Last Modified: $Date: 2014/02/07 18:44:39 $ 00008 HeadURL: $URL$ 00009 */ 00010 00011 /* 00012 * Created on: 06/2012 00013 * Author: eden 00014 */ 00015 00016 #ifndef OMSBASEAXIS_H_ 00017 #define OMSBASEAXIS_H_ 00018 00019 #include "asynMotorController.h" 00020 #include "asynMotorAxis.h" 00021 00022 class omsBaseController; 00023 00024 class omsBaseAxis : public asynMotorAxis 00025 { 00026 public: 00027 omsBaseAxis(class omsBaseController *, int, char ); 00028 virtual asynStatus move(double position, int relative, double minVelocity, double maxVelocity, double acceleration); 00029 virtual asynStatus moveVelocity(double minVelocity, double maxVelocity, double acceleration); 00030 virtual asynStatus home(double minVelocity, double maxVelocity, double acceleration, int forwards); 00031 virtual asynStatus stop(double acceleration); 00032 virtual asynStatus doMoveToHome(); 00033 virtual asynStatus setPosition(double position); 00034 virtual asynStatus poll(bool *moving); 00035 00036 int getAxis(){return axisNo_;}; 00037 int isStepper(){return stepper;}; 00038 void setStepper(int val){stepper=val;}; 00039 int getLimitInvert(){return invertLimit;}; 00040 void setLimitInvert(int val){invertLimit=val;}; 00041 void setAbsoluteEncoder(int val){absoluteEncoder=val;}; 00042 int getAbsoluteEncoder(){return absoluteEncoder;}; 00043 int card; 00044 int moveDelay; 00045 char axisChar; 00046 bool homing; 00047 00048 00049 private: 00050 omsBaseController *pC_; 00051 int stepper; 00052 int invertLimit; 00053 int absoluteEncoder; 00054 00055 friend class omsBaseController; 00056 }; 00057 00058 #endif /* OMSBASEAXIS_H_ */
1.7.4