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: Ascii SIO and alarms questions
From: "LYNCH, Damien" <[email protected]>
To: "'[email protected]'" <[email protected]>
Date: Wed, 15 Oct 2003 10:11:18 +1000
Hi,

I am seeking a bit of advice about using Ascii SIO (devAscii/drvAscii/drvSerial) and also alarm acknowledgement.

This is the first time I've done a job using Ascii SIO and am kinda new to EPICS anyway so I would like to know if there is any "accpeted wisdom" regarding the task I want to do.

I am using Ascii SIO to handle the serial comms with a magnet power supply. There are 8 commands that I send to the power supply which expect a response.

Originally I had set up my database so that a different command was being sent (via stringin records) every second. It turns out that the power supply can't be tusted to reply within one second. Occasionally a response from the power supply was arriving
late resulting in synchronisation being lost between the IOC and the power supply. So what I need to do is be able to recognise when I am in a late response situation.

Would it be a good idea to write a sequence program to implement the sending a command every second bit, and also use it to check for Read alarms on the stringin records to recognise late responses?

Can I easily ack alarms from a sequence program? Or, would it be a better idea to set the ACKT fields to No for my stringin records?

Also:
 - Is there a way of ack'ing alarms from the ioc shell?
 - Is there a list of which alarms are transient?

I am using EPICS base 3.14.2 and snc version 2.0.4.

Thanks, Damien.


Navigate by Date:
Prev: Re: problem linking medm on Solaris 8, XRT/graph Mark Ito
Next: RE: Ascii SIO and alarms questions Owens, PH (Peter)
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: problem linking medm on Solaris 8, XRT/graph Mark Ito
Next: RE: Ascii SIO and alarms questions Owens, PH (Peter)
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 ·