Closed farhan296 closed 10 months ago
The DataTypeDictionaries have been removed from 1.05 (feature replaced by the DataTypeDefinition Attribute). New nodesets are permitted to omit them. You will need to update your generator to handle this case.
That said, you can submit a mantis issue to the Safety WG asking them to add the DataTypeDictionaries for backward compatibility. See https://mantis.opcfoundation.org/set_project.php?project_id=28&make_default=no.
Thank you for the response. I shall create mantis issue as suggested. Further, Is there any example for the usage of DataTypeDefinition Attribute? Do I have to include a DataTypeDefinition block in my ModelDesign file (App.xml) or will the UA-Model compiler generate accordingly?
ModelCompiler generates the DataTypeDefinition in the NodeSet.
I am working on a project that uses Open62541 SDK. My application makes use of Safety Nodesets. When I try to generate source code using Open62541 Nodeset Compiler I get the following error
While debugging I noticed that the Open62541 nodeset compiler is not including the UAModel.Safety.Types.bsd file generated by the UA-Model Compiler and the reason is that the Opc.Ua.Safety.NodeIds.csv and Opc.Ua.Safety.NodeSet2.xml is missing "_BinarySchema" and/or "TypeDictionary_BinarySchema" nodes which is required by the Open62541 nodeset compiler (see nodeset.py#L431). Is there any workaround for this? Also see the Issue here.
I compile the Safety Nodesets in the following way
I compile my App.xml model design file as follows
My App.xml model design is as follows