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  <2026 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  <2026
<== Date ==> <== Thread ==>

Subject: Re: asynInt32 device support for mbbiDirect record for representing bitmasks
From: Ralph Lange via Tech-talk <tech-talk at aps.anl.gov>
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Mon, 2 Feb 2026 17:28:12 +0100
On Mon, 2 Feb 2026 at 16:29, Wlodek, Jakub via Tech-talk <tech-talk at aps.anl.gov> wrote:
As an aside, it would be nice if I could also give names to each of the bits in an mbbiDirect/mbboDirect, like with mbbo/mbbi record values. This would be helpful for creating UIs and other client programs. From the record reference manual, I don't see any fields that would allow for this, is that correct?

The usual setup will have a bi record for each bit, with an appropriate name, description, string values and alarm severities for each state, and its input set to "status_word,Bxx CP MS".
That makes sure each single bit is only processed when its value changes.

The mbb[io]Direct record are bitset records for command words and status words, and as such, their description, status, severity, ... refer to the bitset, not single bits.

Cheers,
~Ralph


References:
asynInt32 device support for mbbiDirect record for representing bitmasks Wlodek, Jakub via Tech-talk

Navigate by Date:
Prev: asynInt32 device support for mbbiDirect record for representing bitmasks Wlodek, Jakub via Tech-talk
Next: MODBUS User-Defined Function Codes William Jamieson 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  <2026
Navigate by Thread:
Prev: asynInt32 device support for mbbiDirect record for representing bitmasks Wlodek, Jakub via Tech-talk
Next: Re: asynInt32 device support for mbbiDirect record for representing bitmasks 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  2023  2024  2025  <2026
ANJ, 19 Mar 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·