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

Subject: Re: ASLO doesn't work
From: Ben Franksen via Tech-talk <tech-talk at aps.anl.gov>
To: <tech-talk at aps.anl.gov>
Date: Thu, 17 Sep 2020 17:02:28 +0200
Am 17.09.20 um 11:10 schrieb Vishnu Patel via Tech-talk:
> I have tried to divide the value of ai record using ASLO field. But It doesn't work.
> 
> record(ai, "AI0") {
>     field(DTYP,"s7nodave")
>     field(INP,"@lcpcPLC DB6.DBD36 float")
>     field(LINR,"LINEAR")
>     field(HOPR,"20")
>     field(LOPR,"0")
>     field(ASLO,"0.001")
>     field(PREC,"4")
>     field(SCAN,"1 second")
>     field(EGU,"Bar")
>     field(EGUF,"32767")
>     field(EGUL,"-32768")
> }

None of the replies so far have offered an explanation of exactly /why/
this doesn't work. Judging from the aiRecord.c code and the format of
the INP link, I venture that the device support indicates to the record
support that it already did the conversion and wrote the VAL field by
returning 2 instead of 0 from its read() method. To teh record support
this indicates that it should completely ignore all conversion related
fields (RVAL, LINR, EGUF, EGUL, ASLO, AOFF, ESLO, EOFF, ROFF).

Cheers
Ben

Attachment: signature.asc
Description: OpenPGP digital signature


Replies:
RE: ASLO doesn't work Mercado, Ronaldo (DLSLtd, RAL, LSCI) via Tech-talk
References:
ASLO doesn't work Vishnu Patel via Tech-talk

Navigate by Date:
Prev: Re: device support for IK342 Heinz Junkes via Tech-talk
Next: RE: ASLO doesn't work Mercado, Ronaldo (DLSLtd, RAL, LSCI) 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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: ASLO doesn't work Mark Rivers via Tech-talk
Next: RE: ASLO doesn't work Mercado, Ronaldo (DLSLtd, RAL, LSCI) 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  <20202021  2022  2023  2024 
ANJ, 17 Sep 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·