Files
motorBase/motorApp/PIGCS2Src/PIC702Controller.h
T

57 lines
1.5 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.
*************************************************************************
Version: $Revision$
Modified By: $Author$
Last Modified: $Date$
HeadURL: $URL$
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(asynUser* pCom, const char* szIDN)
: PIGCSMotorController(pCom, 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_ */