-
Notifications
You must be signed in to change notification settings - Fork 49
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
Status of limit switches updated independent of movement direction. #36
Conversation
f7865bb
to
ddef3a8
Compare
"Status of limit switches updated independent of movement direction." Even then, I am not sure if I understand the patch. When the motor has stopped after a movement e.g. to the HLS,
For (a) and (b) nothing is changes with this patch, If we run into (c), I would consider this system broken. Beside that, the masking using cdir is not ideal. Beside that, a longer description in the commit message
And let people 2) matches 1) and, of course, |
This patch fixes issue #35 which is described here (this is why the description above is so short). To avoid future confusion I have also added this link to comment above. This patch fixes exactly this problem:
I definitely agree with you that masking with cdir is far from ideal, and this is why it was removed from the part of code, where HLS, LLS, RHLS, RLLS fields defined. As you said, motor may slowly drift and hit the limit, or in our use case it can be moved by some motion programs running directly on the controller (Deltatau PPMAC in our case). Without that fix following scenario can happen:
Since this fix removes CDIR masking, point 5 would now be: Kind Regards, P.S. If you check the commit changes, you will see that cdir checking was added to some other parts of the code (e.g. in function maybeRetry()). This was done this way to keep other functionality untouched. |
…_limit Apply patch from epics-modules/motor#36
I started testing this today, but did not finish. I expect to finish testing and merge this pull request early next week. |
…8_newport_controller Ticket 5688: Added newport to is moving flag
In case when move is triggered by external program (not motor record) limit switches status should also be updated.
(comment edited on 1.9.2016)
This fixes issue #35