epics-modules / motor

APS BCDA synApps module: motor
https://epics-modules.github.io/motor/
20 stars 47 forks source link

Negative backlash distance does not work properly with relative moves #181

Closed FreddieAkeroyd closed 2 years ago

FreddieAkeroyd commented 2 years ago

If the motor record backlash distance BDST is negative, then backlash is applied correctly if the controller is making absolute moves in any direction. If however RTRY is set so the motor record will retry moves, then all moves are now relative moves and backlash is no longer applied correctly when moving in a negative direction. This behaviour is reproducible with the simulated motor driver.