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.
mitlib.pub/MITLIB/IODll/MotionController_8134.h

44 lines
1.3 KiB
C

// MotionController_8134.h: interface for the CMotionController_8134 class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_MOTIONCONTROLLER_8134_H__F2664347_E0A4_4C40_88E3_AF6D113F06E5__INCLUDED_)
#define AFX_MOTIONCONTROLLER_8134_H__F2664347_E0A4_4C40_88E3_AF6D113F06E5__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Pci8134a.h"
#include "MotionControllerBase.h"
class CMotionController_8134 : public CMotionControllerBase
{
public:
CMotionController_8134(int index);
virtual ~CMotionController_8134();
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;
// check if motor is ready
BOOL IsMotorReady(const CMtrProfile &mtrProfile) override;
// check if motor is on
BOOL IsMtrOn(const CMtrProfile &mtrProfile) override;
};
#endif // !defined(AFX_MOTIONCONTROLLER_8134_H__F2664347_E0A4_4C40_88E3_AF6D113F06E5__INCLUDED_)