Hej Pedro,
If you are working with a slit, it may be useful to look at a slit system
developed by Tim Mooney:
<https://github.com/epics-modules/optics/blob/master/opticsApp/Db/2slit_soft.vdb>
I had stolen that once, redone stuff and tested.
<https://github.com/EuropeanSpallationSource/m-epics-ethercatmc/blob/master/ethercatmcApp/Db/ethercatmcslit_soft.template>
But I don’t know, what the actual status is,
at the end, we decided to do the slit code inside the motion controller.
To be honest, we are not there fully yet, handling all the corner cases.
Which controller do you use ?
My suggestion would be to simulate the motor controller.
And not using the sim-motor.
I any way, it seems as if everybody (“tm”) uses 4 motors :
2 logical (Soft Motor in EPICS speech) for gap and center and then
2 physical motors (the blades, or arms)
Of course, for a typical slit system you need to duplicate the setup:
gap and center for horizontal and gap and center for vertical….
Hope that things work out, please let us know, how it goes
😉
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of "Nariyoshi, Pedro via Tech-talk" <tech-talk at aps.anl.gov>
Reply to: "Nariyoshi, Pedro" <nariyosh at frib.msu.edu>
Date: Tuesday, 21 November 2023 at 19:25
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Subject: Simulated limit switches on motorSim motor
Hi,
I am working on creating virtual motors to control some slits. One problem I have is that I couldn't find a way to set the HLS/LLS/RHLS/RLLS fields. Is there a way to control these (whether having an input link
to these values or a writing them directly with a calcout or bo record)?
Thank you very much
Pedro Nariyoshi
Software Controls Engineer
Facility for Rare Isotope Beams
Michigan State University
640 South Shaw Lane
East Lansing, MI 48824, USA
Tel. 517-908-7352
Email:
nariyosh at frib.msu.edu
|
|