Files
motorBase/motorApp/PIGCS2Src/PIE517Controller.h
T

50 lines
1.0 KiB
C++

/*
* PIGCScontroller.h
*
* Created on: 15.12.2010
* Author: sra
*/
/*
Version: $Revision$
Modified By: $Author$
Last Modified: $Date$
HeadURL: $URL$
*/
#ifndef PIE517CONTROLLER_H_
#define PIE517CONTROLLER_H_
#include "PIGCSPiezoController.h"
/**
* class representing PI E-517 and E-545 controllers.
*
* Basically these controllers have the same functionality as a
* digital piezo controller. Specialties are "velocity control" mode
* and the "online" state. Output channels must be set to "online" mode
* before commands are accepted over the interface. This is done in
* init()
*/
class PIE517Controller : public PIGCSPiezoController
{
public:
PIE517Controller(asynUser* pCom, const char* szIDN)
: PIGCSPiezoController(pCom, szIDN)
{
}
~PIE517Controller() {}
virtual asynStatus init(void);
virtual asynStatus initAxis(PIasynAxis* pAxis);
private:
asynStatus setOnline(int outputChannel, int onlineState);
asynStatus getNrOutputChannels();
int m_nrOutputChannels;
};
#endif /* PIE517CONTROLLER_H_ */