-
Notifications
You must be signed in to change notification settings - Fork 48
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
How to set the value of SREV correctly in motor record? #216
Comments
The motor record keeps
The first approach is truer to the definitions of The I don't know what the AN command, which is controller-specific, does, so I can't say why someone put it in the |
Thanks for your reply firstly. Another question is about ERES & UEIP、RRES & URIP, especially RRES & URIP. |
Yes, that is correct.
If there is no encoder, |
OK, thanks very much for your reply. |
For most controllers the RBV and DRBV update during a move at the move poll frequency, even for motors with no encoders or motors with encoders that have UEIP and URIP set to No. The DRBV in this case is usually the theoretical position of the motor. If the motor controller's move command blocks communication with the controller, it might not be possible for the driver to query the position while a move is in progress. It might also be the case that there are errors when polling the controller (unsupported commands or incorrect asyn terminators) that result in much slower polling than expected. One way to test for this is to lower the velocity and make a very long move. Does the RBV/DRBV update at all during the move? |
Hi, I have some doubts about the set of SREV in the description of "Motor Record and related software".
https://epics.anl.gov/bcda/synApps/motor/R7-3/motorRecord.html
For example, there is a motor, it's partial parameters are as follows.
fullstep: 0.004 degree
max velocity: 20 degree / sec
If I set 20 subdivisions, then the microstep will be 0.0002 degree. In this case, how to set SREV value?
Is 360°/0.0002° = 1800000?
Another question, what should be set for INIT field of motor record for Kohzu ARIES/LYNX Controller? Is necessary? I noticed some people have set this field to "AN", but I can't find the description about "AN". I am puzzled.
Thanks for your reply very much!
The text was updated successfully, but these errors were encountered: