Emergency stop is now counted as "Axis disabled"
Test And Build / Lint (push) Failing after 5s
Test And Build / Build (push) Failing after 13s

This prevents sending another command while the motor is in emergency
stop and also provides a pop-up window on NICOS "for free".
This commit is contained in:
2026-07-02 13:56:22 +02:00
parent bf56e49729
commit c1df82676c
+3 -2
View File
@@ -425,8 +425,9 @@ asynStatus turboPmacAxis::doPoll(bool *moving) {
// Update the enablement PV, if we are not in the middle of a enabling /
// disabling procedure.
if (!(pTurboPmacA_->enableDisable)) {
setAxisParamChecked(this, motorEnableRBV,
(axStatus != -3 && axStatus != -5));
setAxisParamChecked(
this, motorEnableRBV,
(axStatus != -3 && axStatus != -4 && axStatus != -5));
}
// Create the unique callsite identifier manually so it can be used