Dear Open62541 Committee,
I have a question to load the PA-DIM nodeset, which relies on the IRDI nodeset. There is no problem loading these nodesets under my old open62541 repos (before Dec. 2020), but the latest version (
https://github.com/open62541/open62541) does not support these nodesets.
The stack of our nodeset is "UA -> DI -> IRDI -> PADIM -> Apps". There is no problem with loading UA and DI nodesets. However, when loading IRDI, it fails, as shown in the following.
"SecureChannel 0 | Session g=00000001-0000-0000-0000-000000000000 | AddNode (ns=3;s=0112/2///61987#ABN614#001): Parent node not found
SecureChannel 0 | Session g=00000001-0000-0000-0000-000000000000 | AddNode (ns=3;s=0112/2///61987#ABN614#001): The parent reference for is invalid
error/server Adding the IRDI namespace failed. Please check previous error output."
I checked the parent-child relations among these related objects, it seems no problem on XML files.
To make a simple test on your side, you can use /modify the existing example of "server_node_plcopen.c" to test it under the folder "example/nodeset/". The only place you need to revise is its CMakeLists.txt (e.g., line 94 in
https://github.com/open62541/open62541/blob/master/examples/nodeset/CMakeLists.txt ) to direct the place of your IRDI.xml file (Opc.Ua.IRDI.NodeSet2.xml).
If you use the standard version (e.g., using "git submodule update --init --recursive" to load the nodesets ), you can change "FILE_NS" to "${FILE_NS_DIRPREFIX}/PADIM/Opc.Ua.IRDI.NodeSet2.xml". And then, you can compile and run plc program.
Any comments or suggestions are welcome. Your help is greatly appreciated. If you have any questions, please feel free to let me know. Thank you.
Best,
Gang Wang