EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
<== Date ==> <== Thread ==>

Subject: Re: Simulated limit switches on motorSim motor
From: Torsten Bögershausen via Tech-talk <tech-talk at aps.anl.gov>
To: "Nariyoshi, Pedro" <nariyosh at frib.msu.edu>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Wed, 29 Nov 2023 08:00:31 +0000

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

1633986722804

 


Replies:
RE: Simulated limit switches on motorSim motor Mark Rivers via Tech-talk
References:
Simulated limit switches on motorSim motor Nariyoshi, Pedro via Tech-talk

Navigate by Date:
Prev: C and C++ standard required by EPICS 7 Base and modules? J. Lewis Muir via Tech-talk
Next: Andor3 IOC detects and connects to Marana, can get frames, but frames appear noisy/corrupted Wlodek, Jakub via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
Navigate by Thread:
Prev: Re: Simulated limit switches on motorSim motor Kevin Peterson via Tech-talk
Next: RE: Simulated limit switches on motorSim motor Mark Rivers via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
ANJ, 29 Nov 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·