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: | mbboDirect record setup |
From: | Pontius Pontiac via Tech-talk <[email protected]> |
To: | [email protected] |
Date: | Tue, 13 Aug 2019 16:45:21 -0700 |
Hi,
While setting up an mbboDirect record with an Acromag XT1111 Binary I/O module, I observe the behavior that only the LSB of my 6-bit mbboDirect bit bank is being changed when the EPICS value is changed. Is modbus function "6" the appropriate one to use for the mbboDirect data type? The drvModbusAsynConfigure instruction I am using is:
drvModbusAsynConfigure("C1ISCAUX_BIO02","c1iscaux_bio02",0,6,0,4,0,1,"Acromag")
and the EPICS record itself is set up as:
grecord(mbboDirect,"C1:LSC-CM_REFL1_BITS")
{
field(DESC,"REFL1 gain bits")
field(DTYP,"asynUInt32Digital")
field(OUT,"@asynMask(C1ISCAUX_BIO02 0 0x1)")
field(NOBT,"6")
field(OMSL,"closed_loop")
field(DOL,"C1:LSC-CM_REFL1_SET")
field(PINI,"YES")
}
I'm also wondering if it is possible to have mbboDirect bits that are grouped together from two separate hardware Binary I/O PLCs?
thanks,
gautam