Calling method fails with "Bad_NotFound" #879
Replies: 3 comments
-
I believe you are running into a confirmed bug with the Siemens S7-1500 OPC UA server. As you can see prior to the snippet, the client does a browse from the ObjectNode for forward references of the |
Beta Was this translation helpful? Give feedback.
-
Here is a snippet from an email conversation with somebody else about this:I received confirmation that this is a bug in the Siemens server where it does not handle the NodeClassMask correctly:
In the meantime you could probably call methods on your own something like this:
If you don't know the NodeId of the UaMethodNode ahead of time then you could use AddressSpace::browseNodes to find it yourself, making sure that the general BrowseOptions are the default and include everything:
Probably wrapping this all into a utility function very similar to UaObjectNode::getMethodAsync would make sense. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your help! (And your great work for Milo Project of course, too). I'm on holiday right now but I will try it out later. |
Beta Was this translation helpful? Give feedback.
-
Hi,
we use Milo 0.6.3 for calling OPC-UA methods.
It fails on methods we want to call with an "status=Bad_NotFound" UaException with our application. But there are no problems in UA Expert (screenshot). Our prototype works fine with an other available method.
we get:
This exception comes from UaObjectNode.getMethodAsync(QualifiedName):
I found some issues regarding input / output parameters but they there fixed in ##815 and 816, its already in our Milo 0.6.3.
Coult it still be some parameter problem? I'm not sure if it's an PLC oder Milo issue.
UA Expert on method which fails in our application:
Beta Was this translation helpful? Give feedback.
All reactions