You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.1 KiB
C++
40 lines
1.1 KiB
C++
// MotionController_1203.h: interface for the CMotionController_1203 class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(AFX_MOTIONCONTROLLER_1203_H__7EA80A57_50A0_4983_A3B7_8176E4504168__INCLUDED_)
|
|
#define AFX_MOTIONCONTROLLER_1203_H__7EA80A57_50A0_4983_A3B7_8176E4504168__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#include "MotionControllerBase.h"
|
|
|
|
class CMotionController_1203 : public CMotionControllerBase
|
|
{
|
|
public:
|
|
CMotionController_1203(int index);
|
|
virtual ~CMotionController_1203();
|
|
|
|
BOOL Init(int &nNoOfMtr) override;
|
|
void Close() override;
|
|
|
|
// get the IOs status of the motor
|
|
unsigned short GetMotionIOStatus(const CMtrProfile &mtrProfile) override;
|
|
|
|
// get Motion status of motor
|
|
int GetMotionStatus(const CMtrProfile &mtrProfile) override;
|
|
|
|
// get Motor Pos value
|
|
double GetMtrPos(const CMtrProfile &mtrProfile) override;
|
|
|
|
// get position error value
|
|
double GetPosErr(const CMtrProfile &mtrProfile) override;
|
|
|
|
private:
|
|
|
|
};
|
|
|
|
#endif // !defined(AFX_MOTIONCONTROLLER_1203_H__7EA80A57_50A0_4983_A3B7_8176E4504168__INCLUDED_)
|