forked from epics_driver_modules/motorBase
532afdc5a0
They have no meaning in Git, are not updated and may cause unwanted diffs when otherwise nothing is changed in a file
53 lines
1.4 KiB
C++
53 lines
1.4 KiB
C++
/*
|
|
FILENAME... PIC702Controller.h
|
|
|
|
*************************************************************************
|
|
* Copyright (c) 2011-2013 Physik Instrumente (PI) GmbH & Co. KG
|
|
* This file is distributed subject to the EPICS Open License Agreement
|
|
* found in the file LICENSE that is included with this distribution.
|
|
*************************************************************************
|
|
|
|
|
|
Original Author: Steffen Rau
|
|
*/
|
|
|
|
#ifndef PIC702CONTROLLER_H_
|
|
#define PIC702CONTROLLER_H_
|
|
|
|
#include "PIGCSMotorController.h"
|
|
#include <epicsTime.h>
|
|
|
|
/**
|
|
* class representing PI C-702.
|
|
*
|
|
*/
|
|
class PIC702Controller : public PIGCSMotorController
|
|
{
|
|
public:
|
|
PIC702Controller(PIInterface* pInterface, const char* szIDN)
|
|
: PIGCSMotorController(pInterface, szIDN)
|
|
{
|
|
}
|
|
~PIC702Controller() {}
|
|
|
|
virtual asynStatus getStatus(PIasynAxis* pAxis, int& homing, int& moving, int& negLimit, int& posLimit, int& servoControl);
|
|
virtual asynStatus getMaxAcceleration( PIasynAxis* pAxis );
|
|
virtual asynStatus hasReferenceSensor(PIasynAxis* pAxis);
|
|
virtual asynStatus getReferencedState(PIasynAxis* axis);
|
|
virtual asynStatus referenceVelCts( PIasynAxis* pAxis, double velocity, int forwards);
|
|
|
|
virtual bool IsGCS2() { return false; }
|
|
|
|
protected:
|
|
virtual asynStatus findConnectedAxes();
|
|
enum
|
|
{
|
|
PI_PARA_C702_REFERENCED = 0x000001CUL
|
|
};
|
|
|
|
private:
|
|
epicsTimeStamp m_timeREFstarted;
|
|
};
|
|
|
|
#endif /* PIC702CONTROLLER_H_ */
|