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.

36 lines
1.0 KiB
C++

// MotionController_8164.h: interface for the CMotionController_8164 class.
//
//////////////////////////////////////////////////////////////////////
#pragma once
#include "Pci_8164.h"
#include "MotionControllerBase.h"
class CMotionController_8164 : public CMotionControllerBase
{
public:
CMotionController_8164(int index);
virtual ~CMotionController_8164();
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;
};