User Documentation
Table Of Contents
- Table of contents
- 1 Introduction
- 2 Safety instructions
- 3 System overview
- 4 Operating behavior
- 5 Software installation
- 6 Configuration
- 7 Program development
- 8 Licensing
- 9 Device Administration (DevAdmin)
- 10 Software units
- 11 OPC UA Server
- 12 Node-RED
- 13 LongtermDiagnosticMonitor
- 14 Data recorder
- 15 Diagnostics
- 16 Maintenance
- 17 Technical data
- 18 Directives and standards
- 19 Appendix: Tutorial - creating an IEC project
- 20 Appendix: Addressing in the Ethernet (basics)
- 21 Appendix: Tutorial FoE
- 22 Appendix: Tutorial - call C function from IEC
- Index

OPC UA Server
System manual
2696790000/02/04.2020
65
Information
The instantiation of structure variables or more complex (basic) data types
is not supported.
The OPC UA data types BaseObjectType (0:Types.0:Object-
Types.0:BaseObjectType) and FolderType (0:Types.0:Object-
Types.0:BaseObjectType.0:FolderType) can be used to build a hierar-
chical model.
All instances are collected under a Instances entry. This entry needs an at-
tribute, Parent, which defines the root node of the following instances as a
node address. The Instances entry can be defined multiple times in suc-
cession. The root node must exist, as otherwise no child nodes can be gen-
erated.
The following example shows the instantiation of two directories within the
Objects node predefined by the OPC UA standard. The node hierarchy is
determined by the hierarchy of the XML entries.
<Instances Parent="0:Objects">
<Object
DataType="0:Types.0:ObjectTypes.0:BaseObjectType.0:FolderType"
NodeId="1:i=1000" BrowseName="Folder" DisplayName="Folder">
<Object
DataType="0:Types.0:ObjectTypes.0:BaseObjectType.0:FolderType"
NodeId="1:i=1001" BrowseName="Subfolder" DisplayName="Subfolder">
<!-- define further objects or variables .... -->
</Object>
</Object>
</Instances>
For the object instantiation, the XML entry Object is used, while for vari-
ables, the XML entry Variable is used. The following attributes have to be
specified for both tags:
● DataType
● NodeId
● BrowseName
● DisplayName
The description of the node IDs (NodeId) always consists of a namespace
index together with the specification of an identifier. The identifiers have to
be specified numerically (i=xx). Variables also need a value and, optionally,
an access right (attribute AccessLevel). The value of the variable can either
be set by a constant, which is defined by the ValueConstant attribute, or by
the path of a system variable, defined by the ValuePath attribute.
Possible XML attributes:
Attribute Description
DataType
Node address of the required data type for the instance. The node
address of the types can be read out of the address space with the
help of an OPC UA client, if necessary.