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  <20162017  2018  2019  2020  2021  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  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: motor: rval/lrvl double or long ?
From: Henrique Almeida <[email protected]>
To: Dirk Zimoch <[email protected]>
Cc: "[email protected] Talk" <[email protected]>
Date: Tue, 7 Jun 2016 10:22:15 -0300
 It depends on whether using floating point could introduce precision
errors in the long term, something that might happen with stepper
motors without encoders, for example.


2016-06-07 9:07 GMT-03:00 Dirk Zimoch <[email protected]>:
> It would also allow more than 32 bit signed. With modern motors and encoders
> this is not sufficient any more.
>
> However it may necessary to modify the existing low-level motor drivers.
>
> Dirk
>
>
> On 07.06.2016 12:10, Torsten Bögershausen wrote:
>>
>> The rval and lrvl fields are declared  as DBF_LONG in motorRecord.dbd.
>>
>> In opposite to what is explained in documentation/motorRecord.html,
>> they are double here.
>>
>> Does it make sense to turn them into double ?
>> This would ease the usage of servo motors and/or controllers
>> that talk engineering units on the line.
>>
>>
>> And at the same time, add the "set point dead band" ?
>>
>> http://www.aps.anl.gov/epics/tech-talk/2015/msg01485.php
>>
>> http://www.aps.anl.gov/epics/tech-talk/2013/msg01051.php
>>
>> What are the pros and cons for long vs double ?
>>
>>
>


References:
motor: rval/lrvl double or long ? Torsten Bögershausen
Re: motor: rval/lrvl double or long ? Dirk Zimoch

Navigate by Date:
Prev: Re: epicsEventSignal() question Henrique Almeida
Next: Re: epicsEventSignal() question Michael Westfall
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: motor: rval/lrvl double or long ? Dirk Zimoch
Next: Spallation Neutron Source - Controls Job Openings White, Karen S.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 15 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·