Skip to main content

produce a model compatible with OPC UA 1.03

By default, the template generator produces a nodeset2.xml compliant with version 1.04 and 1.05.

In this version of OPC UA, Type Dictionaries have been deprecated and are no longer required. Indeed, extension objects** are now defined entirely in their DataType. External BSD and XSD schemas schemas are no longer used.

In some cases, it will be necessary to build models that are compatible with the old representation of extension objects. This can happen if the model has to be injected into a PLC development tool that is not yet compatible with OPC UA 1.04.

It is possible to set a flag that will force the generation of BSD XSD and type dictionaries:

# This flag, when set to true, indicates that the model will be compatible with OPC UA 1.03.
# The generator will produce the old TypeDictionary Entry ( from 1.03) which are no longer needed in 1.04.
outputBinaryTypeDictionary: true