EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: RE: the command formats in RS232
From: "Geng, Xiaosong" <[email protected]>
To: "'Porter, Rodney R.'" <[email protected]>, Lifang Zheng <[email protected]>
Cc: EPICS tech-talk <[email protected]>
Date: Thu, 10 Jul 2003 11:24:03 -0400
In the SNS vacumm controls, we use stringout records for MKS937A and Varian Dual Controller.
 
  field(OUT, "@$(PORT) <$$(ADDR)RLY$(CH)=%s>")
  %s=d.dE-dd
 
Xiaosong Geng
SNS Controls Group, BNL
Upton, NY 11973
-----Original Message-----
From: Porter, Rodney R. [mailto:[email protected]]
Sent: Thursday, July 10, 2003 10:46 AM
To: Lifang Zheng
Cc: EPICS tech-talk
Subject: RE: the command formats in RS232

I had a similar problem with exponential inputs and read the value into a drvAsciii stringin record linked to a soft analog input record.  For the output problem (all of the devices we have tried so far just ignore extra zeros) you could use a soft analog output record linked to an sCalcout Record (String Calcout Record) or a genSub Record to format the string, linked to a drvAscii stringOut Record. 

 

Rodney Porter

Scientific Associate - Data Acquisition

Intense Pulsed Neutron Source Division

Argonne National Laboratory

-----Original Message-----
From:
Lifang Zheng [mailto:[email protected]]
Sent:
Thursday, July 10, 2003 3:04 AM
To: EPICS tech-talk
Subject: the command formats in RS232

 

Hi everyone,

 

We are developing 100MeV LINAC vacuum control system through RS232 serial. The hardware has a VIPC616 carrier and an IP-Octal-232. The software includes drvSerial,drvAscii,drvIpac,drvVipc616, tyGSOctal and devAscii. The first test was successfully with the help of Allan Honey and Steven Hartman a few month ago.

 

But we have one problem. Some of the commands use the format d.ddde-dd, but the OUT field of AO have to be specified as %e instead of %9.3e or %.3e. So the value of AO will be sent as d.ddd000e-dd which doesn't meet our requirement.

Does somebody meet the same problem? Is there any solution?

 

Any suggestion is welcome,

 

Lifang


Navigate by Date:
Prev: RE: EPICS 3.14.2 Under Windows Cox, G (Graham)
Next: Re: the command formats in RS232 Allan Honey
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: the command formats in RS232 Porter, Rodney R.
Next: Re: the command formats in RS232 Allan Honey
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·