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: ASLO doesn't work |
From: | 李刚 via Tech-talk <tech-talk at aps.anl.gov> |
To: | "vishnu patel" <patel.vishnu at hotmail.com> |
Cc: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Fri, 18 Sep 2020 00:27:03 +0800 (GMT+08:00) |
Hi Vishnu,
If DB6.DBD36 is not float,you must set DLV and DHV in INP field,and discard "float" parameter.
record(ai, "AI0") {
record(ai, "AI0") {
Cheers
Gang
-----原始邮件-----
发件人:"Vishnu Patel via Tech-talk" <tech-talk at aps.anl.gov>
发送时间:2020-09-17 17:10:28 (星期四)
收件人: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
抄送:
主题: ASLO doesn't work
Hi,
I have tried to divide the value of ai record using ASLO field. But It doesn't work.
record(ai, "AI0") {field(DTYP,"s7nodave")field(INP,"@lcpcPLC DB6.DBD36 float")field(LINR,"LINEAR")field(HOPR,"20")field(LOPR,"0")field(ASLO,"0.001")field(PREC,"4")field(SCAN,"1 second")field(EGU,"Bar")field(EGUF,"32767")field(EGUL,"-32768")}
my input is 1003.124 and it gives same only even i change ASLO to 1.
The PLC the value is 1003.124 in mBar, i have to display as 1.0031 Bar.
I am missing something to set.
ThanksVishnu