diff --git a/motorApp/MotorSrc/asynMotorAxis.cpp b/motorApp/MotorSrc/asynMotorAxis.cpp index eb61b5bc..81a2d6da 100644 --- a/motorApp/MotorSrc/asynMotorAxis.cpp +++ b/motorApp/MotorSrc/asynMotorAxis.cpp @@ -288,7 +288,12 @@ asynStatus asynMotorAxis::setDoubleParam(int function, double value) statusChanged_ = 1; status_.encoderPosition = value; } - } + } else if (function == pC_->motorVelocity_) { + if (value != status_.velocity) { + statusChanged_ = 1; + status_.velocity = value; + } + } // Call the base class method return pC_->setDoubleParam(axisNo_, function, value); }