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  <20122013  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  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: [db] simple command ?
From: Tim Mooney <[email protected]>
To: Pavel Masloff <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
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" <[email protected]>
To: "EPICS Tech Talk" <[email protected]>
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 ([email protected]) (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  2021  2022  2023  2024 
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  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·