diff --git a/motorApp/MotorSrc/motorRecord.cc b/motorApp/MotorSrc/motorRecord.cc index 03d83c6d..4550d68e 100644 --- a/motorApp/MotorSrc/motorRecord.cc +++ b/motorApp/MotorSrc/motorRecord.cc @@ -3633,6 +3633,12 @@ static void process_motor_info(motorRecord * pmr, bool initcall) /* Calculate raw and dial readback values. */ msta.All = pmr->msta; + + if ((pmr->ueip == motorUEIP_Yes) && (!(msta.Bits.EA_PRESENT))) + { + pmr->ueip = motorUEIP_No; + db_post_events(pmr, &pmr->urip, DBE_VAL_LOG); + } if (pmr->ueip == motorUEIP_Yes) { /* An encoder is present and the user wants us to use it. */