Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Papyrus/customizations/manufacturing/opcua/generator

Our Code generator uses the QVTO technology: Query View Transform Operational. The figure below shows the generator inputs and outputs.

Generator1.PNG
Generated Files

The information model is generated on a NedesetFile. Papyrus generates NodeSet including both the type models and also the instance model. We generate also a csv File containing a simple list of the generated nodes with their corresponding nodeId and NodeClass.

In order to generate the two files select the menu «Generate OPC UA Nodeset Files» from the model explorer or from the diagram (in Papyrus SysML) by selecting the element for which you want to generate the files. It is possible to select a Package or the whole model and in this case the NodeSet file will contain all the sub-elements of the selected package or model.

Generator2.PNG
Menu for code generation from the SysML model

Back to the top