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 <2019> 2020 2021 2022 2023 2024 2025 | 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 <2019> 2020 2021 2022 2023 2024 2025 |
<== 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]>
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 |