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

Subject: Re: mbbo & calcout for drive position management
From: Ralph Lange via Tech-talk <tech-talk at aps.anl.gov>
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Tue, 4 Oct 2022 09:04:51 +0200
Hi Dan,

If your calcout record is only doing the index-to-number conversion, that could be done easier inside the mbbo. Use the mbbo's xxVL fields to hold the pattern numbers for each of the values and use the "Raw Soft" DTYP to write these patterns (instead of the index) through the OUT link (pointing to ...:POS_CSET in your case). In recent Base versions, the pattern values could also be specified in hex or octal for increased clarity.

An additional calcout is only needed when doing more complicated operations, e.g., combining patterns from multiple mbbo records into a single output value (usually a chain of shift/OR). In that case, the individual index-to-value conversions should still be done in the mbbo records, each for their own part. (So that the conversions are independent of their value's final position in the combined value.)

Cheers,
~Ralph


References:
mbbo & calcout for drive position management Crisp, Daniel via Tech-talk

Navigate by Date:
Prev: Read and Write errors with VME-EVR-300 Hong, Ran via Tech-talk
Next: Re: EPICS Collaboration Meeting September 2022 in Ljubljana - videos available Rok Šabjan 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  <20222023  2024 
Navigate by Thread:
Prev: mbbo & calcout for drive position management Crisp, Daniel via Tech-talk
Next: Re: mbbo & calcout for drive position management Crisp, Daniel 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  <20222023  2024 
ANJ, 04 Oct 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·