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: Process Record at ioc initialization with OPCUA module |
From: | LORIOT Vivien via Tech-talk <tech-talk at aps.anl.gov> |
To: | Ralph Lange <ralph.lange at gmx.de>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Thu, 12 Dec 2024 07:51:38 +0000 |
Hi Ralph, Ok thanks for your help, I think well understand the difference now between the PINI field, which does not seem to be implemented with
the OPCUA driver and the bini option. Best, Vivien De : Tech-talk <tech-talk-bounces at aps.anl.gov>
De la part de Ralph Lange via Tech-talk Hi Vivien, The bini option (behavior at initialization) determines what the driver is doing when the communication is established. This is different from the record's PINI field which determines record processing when the IOC initializes. bini=read (default): When the OPC UA communication is established, the value is read from the device and the EPICS record is updated. bini=write: When the OPC UA communication is established, the value is written from the EPICS record to the device. bini=ignore: When the OPC UA communication is established, neither the EPICS record nor the device is updated. The bini option does not cause the record to process. The configure action happens every time the connection comes up. (Also if the OPC UA server is started after the IOC boots or when the connection is reestablished after a communication loss.) In your configuration, the BO gets the value from the device when the connection comes up, silently. With monitor=y (default) your BO record is bidirectional. Changes on the EPICS side are written to the device, changes in the device update the EPICS record. Cheers, On Wed, 11 Dec 2024 at 13:12, LORIOT Vivien via Tech-talk <tech-talk at aps.anl.gov> wrote:
|