pmacV3 read axis state

This commit is contained in:
brambilla_m
2022-03-03 14:13:09 +01:00
parent 14bbda3364
commit fbf2331a05
4 changed files with 35 additions and 30 deletions

View File

@@ -165,6 +165,7 @@ class SeleneController : public pmacController {
};
#define EnableAxisString "ENABLE_AXIS"
#define AxisStateString "AXIS_STATE"
class pmacV3Controller : public pmacController {
public:
@@ -175,6 +176,9 @@ public:
// overloaded because we want to enable/disable the motor
asynStatus writeInt32(asynUser *pasynUser, epicsInt32 value);
// overloaded because we want to read the axis state
asynStatus readInt32(asynUser *pasynUser, epicsInt32 *value);
friend class pmacV3Axis;
friend class pmacAxis;