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: question of data conversion
From: Remi Faure <[email protected]>
To: Epics <[email protected]>
Date: Mon, 27 Jun 2016 10:40:57 +0200
Hi,

I have a simple question. All the examples I found about EPICS data convertion starts from raw value (DAQ) to engineering unit value.

I don't arrive to make the opposite in a simple way. I want to write a numerical data from CSS boy to an output value of a plc.

For instance I tried a longout or ao record , wich is passing directly the 0/4095 value correctly. When I try to pass a 0/100% value and try convert it in 0/4095 with LOPR, HOPR fields it fails.

In attachement a simple drawing of what I want to make here.

Thank you in advance for help.

Remi FAURE

LPSC Grenoble


Attachment: epics.JPG
Description: JPEG image


Replies:
Re: question of data conversion Ralph Lange

Navigate by Date:
Prev: Re: streams drivers Dirk Zimoch
Next: Re: question of data conversion Ralph Lange
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: EPICS connect to siemens PLC317-2PN/DP: connetction problem XU Jie
Next: Re: question of data conversion Ralph Lange
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 ·