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  2023  2024  <2025 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  2023  2024  <2025
<== Date ==> <== Thread ==>

Subject: How to use Optics Slit records with absolute encoders?
From: Jesse Hopkins via Tech-talk <tech-talk at aps.anl.gov>
To: EPICS Tech-Talk <tech-talk at aps.anl.gov>
Date: Wed, 14 May 2025 22:24:58 +0000

Hi folks,

 

Now that I’ve got the absolute encoders working on my slits, I have a new problem. We’ve been using the Optics module Slits records to calculate and control slit center and gap based on the pairs of slit blades. The way these work is they reset the motor positions when you set the center or gap, so that the calculation of center/gap matches the setpoint you provide. Unfortunately, this doesn’t work with our slit blades with absolute encoders. As you would expect if you set the center position (for example) it resets the individual slit bade drive positions but not the readback positions, since those are based on the encoders.

 

Does anyone have any suggestions on how to use the Slit records with absolute encoded motors?

 

One possibility that occurred to me was creating a soft motor layer between the slit bade and the slit definition, that applies an offset to the slit position. When you set the position of this soft motor it would then recalculate the offset between the hard motor and the requested set position and act appropriately. I imagine this would look something like the TransPos.db record in the motorApp, but I don’t’ think that quite gets there?

 

All the best.

- Jesse

 

----
Jesse Hopkins, PhD (he/him)
Director, BioCAT

Sector 18, Advanced Photon Source

Research Associate Professor, Illinois Tech


Navigate by Date:
Prev: Re: [Ext]RE: Help with BiSS encoders and Galil controller Jesse Hopkins via Tech-talk
Next: RE: Help with BiSS encoders and Galil controller Mark 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  2023  2024  <2025
Navigate by Thread:
Prev: Re: Problems GHA building motor, asyn rpc/rpc.h Ralph Lange via Tech-talk
Next: How to use Optics Slit records with absolute encoders? Mark 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  2023  2024  <2025
ANJ, 15 May 2025 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·