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

Subject: RE: help
From: Mark Rivers via Tech-talk <[email protected]>
To: 'enum riz' <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Wed, 20 Nov 2019 14:27:09 +0000

Ø  I applied this seq record but it waits for 2 seconds and then turns on the LED. which i don't required. i required Led On for 2 seconds as it takes input and then turns OFF don't wait to turn ON.

 

This means you have not configured the seq record correctly.  I think you must have set the DLY1 field to 2 seconds.  That is not correct. You should do the following:

 

-          Set the LNK1 and LNK2 fields to point to the LED record

-          Set the DOL1 field to 1

-          Set the DLY1 field to 0

-          Set the DOL2 field to 0

-          Set the DLY2 field to 2

 

This will cause the value 1 to be sent to the LED immediately.  It will then wait 2 seconds and then send the value 0 to the LED record.

 

Mark

 

 

From: enum riz <[email protected]>
Sent: Tuesday, November 19, 2019 9:46 PM
To: Mark Rivers <[email protected]>
Subject: help

 

 

Hi

 

If you just want to turn an LED on for 2 seconds and then turn it off I don't see why you need a counter that is updating an integer count at all.  For example the "seq" record in EPICS base can set an output record to 1 (turning on the LED), wait for 2 seconds, and then turn it off.  Each time you process that record it will do that.

 

Mark

 

 

 

 

I applied this seq record but it waits for 2 seconds and then turns on the LED. which i don't required. i required Led On for 2 seconds as it takes input and then turns OFF don't wait to turn ON.

 

 

 

get input from ai record. do some calculation in Calc record and then out in bo record.this is the flow of my assignment.

 

 

regards

enum

 


Navigate by Date:
Prev: RE: EPICS Codeathon 2020 Rose, Austen (DLSLtd, RAL, LSCI) via Tech-talk
Next: BigRecord in exampleCPP Pierrick M Hanlet via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: help Earl Green via Tech-talk
Next: Pro-Dex Oregon Micro Systems EPICS hardware support Earl Green via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
ANJ, 20 Nov 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·