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

@@ -131,4 +131,16 @@ class LiftAxis : public pmacAxis
int waitStart;
};
/********************************************
* Protocol version 3 requires just some minor change
*
* Michele Brambilla, February 2022
********************************************/
class pmacV3Axis : public pmacAxis {
public:
using pmacAxis::pmacAxis;
friend class pmacController;
};
#endif /* pmacAxis_H */