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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Outputting a constant value |
From: | "Ned D. Arnold" <[email protected]> |
To: | David Dudley <[email protected]> |
Cc: | [email protected] |
Date: | Wed, 04 Apr 2007 10:13:21 -0500 |
David - I seem to remember (when I actually worked with this stuff) that setting the DOL to 1 only worked for Soft Channel BOs. Try setting DOL to a link that is always one (e.g. DISV or DISA of the same BO record) and OMSL to closed_loop. This way it will always fetch a 1 for the output. This eliminates the need for the extra BI record you described. Ned David Dudley wrote: Unfortunately, that didn't work. In vdct, I can set the .VAL field to 1, but when I load the db, the VAL field is 0. Setting DOL to 1 causes it to have a 'CONSTANT 1' value when you do a 'dbpr' on the field, and I have OMSL set to 'closed-loop', however the .VAL field remains at 0. If I do a forward link to the block, it outputs a zero, and the .VAL remains 0. If a do a 'dbpf' to set the value to 1, it then works fine. What I did as a patch around the questionable action was to use a BI block with its DTYPE set to 'Soft Channel' and an INP of '1' that is linked to the BO, but seems like a round-about way of doing such a simple thing. I thought I was probably just missing something on the BO block. David Dudley"Paul Sichta" <[email protected]> 4/4/2007 9:20 AM >>>David, Can you set the DOL to '1' and use closed-loop control, rather than the default supervisory. |