Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect position restored on MRES mismatch #196

Open
kmpeters opened this issue Jan 11, 2023 · 1 comment
Open

Incorrect position restored on MRES mismatch #196

kmpeters opened this issue Jan 11, 2023 · 1 comment
Milestone

Comments

@kmpeters
Copy link
Member

If the MRES the database/substitutions file that loads a motor record doesn't match the autosaved value, the restored position will (always?) use the MRES value from the database instead of the autosaved MRES.

Bug rediscovered by @tim-speight

@tim-speight
Copy link

tim-speight commented Jan 11, 2023

One assumes that motorAcsAxes.substitions at the running IOC could be set as an initial template - for one Motor Axis.

A user may actively switch scales between mm & µm, then this gets autosaved and never bother to make a mod to the substitution's. I found this with Kevin when testing one of his PR's for motorAcsMotion. I could not figure out why I was getting a 10x multiplier between the values coming back from the controller in respects MRES - ERES everytime I restarted the IOC.

@kmpeters kmpeters modified the milestones: R7-3-1, R7-4 May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants