Emergency stop is now counted as "Axis disabled"
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user