|
|
|
@ -165,6 +165,12 @@ protected:
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
using stAxTranslation = struct _stAxTranslation
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
double dPulsePerMM{}; // pulse per mm
|
|
|
|
|
|
|
|
int iPosDir{ 1 }; // positive direction
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
CMotorBase();
|
|
|
|
CMotorBase();
|
|
|
|
CMotorBase(const std::string& strMutexName, const CMtrProfile& mtrProfile, double* dpPos, CMotionControllerBase* pBaseController);
|
|
|
|
CMotorBase(const std::string& strMutexName, const CMtrProfile& mtrProfile, double* dpPos, CMotionControllerBase* pBaseController);
|
|
|
|
@ -612,6 +618,9 @@ public:
|
|
|
|
// keep track of which motor no
|
|
|
|
// keep track of which motor no
|
|
|
|
int m_iMtrNo;
|
|
|
|
int m_iMtrNo;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// keep track of slave id for ECAT slave
|
|
|
|
|
|
|
|
int m_iSlaveId;
|
|
|
|
|
|
|
|
|
|
|
|
// keep track of no of pos
|
|
|
|
// keep track of no of pos
|
|
|
|
int m_iNoOfPos;
|
|
|
|
int m_iNoOfPos;
|
|
|
|
|
|
|
|
|
|
|
|
@ -794,4 +803,3 @@ private:
|
|
|
|
|
|
|
|
|
|
|
|
int BaseAbsoluteMove(double dPosition, int nPos, int nMode, PROFILE_CURVE curve);
|
|
|
|
int BaseAbsoluteMove(double dPosition, int nPos, int nMode, PROFILE_CURVE curve);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|