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: Doubts about DISS field |
From: | "Marco A. Barra Montevechi Filho via Tech-talk" <tech-talk at aps.anl.gov> |
To: | Andrew Johnson <anj at anl.gov>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Thu, 30 Jun 2022 14:19:22 +0000 |
Thanks for your reply, andrew! It did clarify some doubts.
I did a caget into the record fields and looked at IOC configuration files. Caget in .SDIS returns empty and i found no evidence to believe that SDIS is being configured anywhere. DISV and DISA are also not referenced anywhere, not even in the .db file. Is the severity in DISS field used in any other case? Or just when the record is disabled specifically by DISV, DISA and SDIS fields? Thanks for the help. Best regards, Marco From: Andrew Johnson <anj at anl.gov>
Sent: 29 June 2022 20:03 To: Marco A. Barra Montevechi Filho <marco.filho at lnls.br>; tech-talk at aps.anl.gov <tech-talk at aps.anl.gov> Subject: Re: Doubts about DISS field
Hi Marco,
On 6/29/22 3:32 PM, Marco A. Barra Montevechi Filho via Tech-talk wrote:
I am altering an old OPCUA IOC that was running here in the lab and i noticed that someone configured several records with the DISS field set to "INVALID". When the IOC is running, all of these records have the fields .SEVR set to "INVALID" and this was messing with some interfaces made with pydm. The records have no HSV, LSV or similar fields defined and cagetting into DISV and DISA fields revealed that they are at default value.The severity from the DISS field is used and the record's STAT field set to "DISABLE_ALARM" when the record is prevented from processing because the value read into DISA through the SDIS link matches that found in the DISV field. Where were the SDIS links of those records pointing to? Was their STAT field showing "DISABLE_ALARM" (or possibly the value 18, since CA only supports up to 16 enumeration states)? This mechanism is described on slide 37 of my Database Principles training lecture. Often a record's SDIS link will be pointed at a binary or calc record that is used to enable or disable parts of the IOC database, because the equipment it controls is not used in that configuration, or the binary value may reflect whether the device is currently connected or not. Just changing the DISS severity won't allow those records to process if they were being disabled using the SDIS/DISA/DISV mechanism. I suggest you investigate that further since there may be more to that database than you originally thought. HTH, - Andrew -- Complexity comes for free, Simplicity you have to work for. Aviso Legal: Esta mensagem e seus anexos podem conter informações confidenciais e/ou de uso restrito. Observe atentamente seu conteúdo e considere eventual consulta ao remetente antes de copiá-la, divulgá-la ou distribuí-la. Se você recebeu esta mensagem por engano, por favor avise o remetente e apague-a imediatamente. Disclaimer: This email and its attachments may contain confidential and/or privileged information. Observe its content carefully and consider possible querying to the sender before copying, disclosing or distributing it. If you have received this email by mistake, please notify the sender and delete it immediately. |