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: | Problem: nozzle exchanger Local/Remote pv value is not received |
From: | 박무진 <[email protected]> |
To: | [email protected] |
Date: | Thu, 24 Dec 2015 14:14:27 +0900 (KST) |
Hello..
i'm reparing the ioc of Nozzle Exchanger.
Now, pv value (Local/Remote) is viewing in medm... but this is decoy... i think it is default value.
when i switch Remote/Local S/W in Nozzle Exchanger, pv value in medm is not changed.
this pv value is a valuable data?
i know "st.cmd" deamon is ioc deamon. so i stoped "st.cmd" deamon.
and i see all of pv value in medm is blanked. and i started "st.cmd" so, i see all of py value is displayed (but these value is not correct)
and i updated .db of device and i restart ioc deamon
i add the pv object in medm. and i see the default value of added pv in medm
is this situation correct?
somthing is missed..
-----------------------------------------------------------------
devNozzleExchange.db
-------------------------------------------------------------------
record(bi, "$(P)$(D):GetRemoteSta")
{
field(DESC, "Local/Remote Status")
field(DTYP, "stream")
field(INP, "@devNozzleExchange.proto GetRemoteSta $(PORT) $(A)")
field(ZNAM, "Local")
field(ONAM, "Remote")
field(SCAN, ".2 second")
field(FLNK, "$(P)$(D):GetCryoSolSta")
}
...
-----------------------------------------------------------------------
-----------------------------------------------------------------------
devNozzleExchage.proto
-----------------------------------------------------------------------
@writetimeout { disconnect; }
@replytimeout { disconnect; }
@readtimeout { disconnect; }
@mismatch { disconnect; }
ReplyTimeout = 1200;
InTerminator = "\r\n";
OutTerminator = "\r\n";
#
# Measure current
#
GetRemoteSta {
out "!50SWS";
in "?50%1d";
ExtraInput = Ignore;
}
GetCryoSolSta {
out "!51SOL";
in "?51%1d%*2d";
ExtraInput = Ignore;
}
this is code...