pmacV3 enable/disable axis

The default behaviour of the pmac controller is to enable the motor at startup. With the controller V3 we want that at IOC startup the axis to be off.
A database entry like

record(longout, "$(P)$(M):Enable") {
    field(DTYP, "asynInt32")
    field(OUT, "@asyn($(PORT),$(N),1) ENABLE_AXIS")
    field(PINI, "YES")
}

can be used to give access to enable/disable the axis.
This commit is contained in:
Michele Brambilla
2022-03-02 15:24:15 +01:00
committed by brambilla_m
parent edc71af235
commit c7fea08718
4 changed files with 40 additions and 2 deletions

View File

@@ -143,7 +143,7 @@ class LiftAxis : public pmacAxis
class pmacV3Axis : public pmacAxis {
public:
pmacV3AxisAxis(pmacController *pController, int axisNo) : pmacAxis(pController,axisNo, false) {};
pmacV3Axis(pmacController *pController, int axisNo) : pmacAxis(pController,axisNo, false) {};
protected: