Allow enable/disable (tentative)
This commit is contained in:
@@ -164,4 +164,22 @@ class SeleneController : public pmacController {
|
||||
|
||||
};
|
||||
|
||||
#define EnableAxisString "ENABLE_AXIS"
|
||||
|
||||
class pmacV3Controller : public pmacController {
|
||||
public:
|
||||
pmacV3Controller(const char *portName, const char *lowLevelPortName,
|
||||
int lowLevelPortAddress, int numAxes, double movingPollPeriod,
|
||||
double idlePollPeriod, const int &extraParams = 2);
|
||||
|
||||
// overloaded because we want to enable/disable the motor
|
||||
asynStatus writeInt32(asynUser *pasynUser, epicsInt32 value);
|
||||
|
||||
friend class pmacV3Axis;
|
||||
friend class pmacAxis;
|
||||
|
||||
protected:
|
||||
int enableAxis_;
|
||||
};
|
||||
|
||||
#endif /* pmacController_H */
|
||||
|
||||
Reference in New Issue
Block a user