EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020 
<== Date ==> <== Thread ==>

Subject: Re: [db] simple command ?
From: Tim Mooney <mooney@aps.anl.gov>
To: Pavel Masloff <pavel.masloff@gmail.com>
Cc: EPICS Tech Talk <tech-talk@aps.anl.gov>
Date: Wed, 4 Apr 2012 09:12:05 -0500 (CDT)
Hi Pavel,

I don't understand.  Do you want the record automatically to switch its value back to 0 after somebody sets it to 1?  Do you want the switch back to happen after some time interval?  If so, the bo record's HIGH field might do what you want.

Tim

----- Original Message -----
From: "Pavel Masloff" <pavel.masloff@gmail.com>
To: "EPICS Tech Talk" <tech-talk@aps.anl.gov>
Sent: Wednesday, April 4, 2012 8:42:40 AM
Subject: [db] simple command ?

Hello tech-talkers, 


I would like to implement a simple command record, the idea of which is to switch its VAL to 1 and then back to 0. Let's assume we have got the following record: 

record (bo,"cmd:valve_trigger") 
{ 
field(PINI, "YES") 
field(DTYP, "S7plc") 
field(OUT, "@plc/0 T=UINT8 B=0") 
field(SCAN, "I/O Intr") 
field(ONAM, "ONE") 
field(ZNAM, "ZERO") 
} 

Is there any straightforward solution? 
Thank you. 


-- 
Best regards, 


Pavel Maslov, MS 
Controls Engineer at Pulsed power Lab 
Efremov Institute for Electro-Physical Apparatus 
St. Petersburg, Russia 

Mobile: +7 (951) 672 22 19 
Phone: +7 (812) 461 01 01 

-- 
Tim Mooney (mooney@aps.anl.gov) (630)252-5417
Software Services Group (www.aps.anl.gov)
Advanced Photon Source, Argonne National Lab


Replies:
Re: [db] simple command ? Pavel Masloff
References:
[db] simple command ? Pavel Masloff

Navigate by Date:
Prev: Re: [db] simple command ? Hartman, Steven M.
Next: devLib2 2.3 release Michael Davidsaver
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020 
Navigate by Thread:
Prev: Re: [db] simple command ? Hartman, Steven M.
Next: Re: [db] simple command ? Pavel Masloff
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020