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  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: db question about S7-PLC driver
From: marco_hair <[email protected]>
To: tech-talk <[email protected]>
Date: Thu, 21 Aug 2008 10:34:49 +0800 (CST)
hi,all:

I am using S7 plc driver written by dirk.zimoch. If I want to exchange interger value(1234567) between IOC and PLC using ai/ao record(that's because plc uses interger format data), but in edm's gui, the data format(123.4567) is float type. how can I do this?
1. I can use an additional record such as calc to convert.
2. I can exchange float data directly between ioc and plc if changing plc program.
while I don't want to take these ways, Are there any other ways? such as using linear convert of ai/ao, etc.? is it possible?
Thanks a lot in advance.




伊利:有梦想,就有下一次飞翔。期待刘翔王者归来。
Replies:
Re: db question about S7-PLC driver Dirk Zimoch

Navigate by Date:
Prev: Re: PV Gateway David Dudley
Next: Re: db question about S7-PLC driver Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: PV Gateway Andrew Johnson
Next: Re: db question about S7-PLC driver Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·