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: | opc ua |
From: | "Sinclair, John via Tech-talk" <tech-talk at aps.anl.gov> |
To: | tech-talk <tech-talk at aps.anl.gov> |
Date: | Thu, 25 May 2023 20:30:35 +0000 |
I have a simple IOC talking to an opc/ua simulation server using the open open62541 library.
I do not know how to identify an opc variable which is a member of an object except for displaying its numeric index on the server.
The object name is MyObject, the variable is MyVariable.
Saying:
field( INP, "@opcua1 num:123,2" )
works, because i determined the variable's index(2, in the above) on the server.
Saying:
field( INP, "@opcua1 str:123,MyObject.MyVariable" )
does not work but I could find nothing in the documentation that describes the syntax for this case.
I also tried MyObject:MyVariable without success.
Does anyone know the correct syntax?
Thanks,
John Sinclair
|