Add PMAC V3

- limit switches: use PXX37, PXX38 insteam of MXX21, MXX22
- if the motor is running query for axis position (QXX10) and status (PXX00)
- else query also error status (PXX01) and limit switches (PXX37-8)
- make the requests in 1+1 transactions
This commit is contained in:
brambilla_m
2022-02-25 14:56:21 +01:00
parent 8c3e68394f
commit 929f9f600d
4 changed files with 243 additions and 1 deletions

View File

@@ -139,6 +139,7 @@ class pmacController : public SINQController {
friend class pmacHRPTAxis;
friend class SeleneAxis;
friend class LiftAxis;
friend class pmacV3Axis;
};
#define NUM_PMAC_PARAMS (&LAST_PMAC_PARAM - &FIRST_PMAC_PARAM + 1)
@@ -163,5 +164,4 @@ class SeleneController : public pmacController {
};
#endif /* pmacController_H */