Examples for Node-RED
129/263
10.4 Example 4: OPC UA input node
The OPC UA input node allows you to read data from an OPC UA server
via the OPC UA protocol.
This example uses the OPC UA input node together with a Debug node to
receive data via OPC UA and to display the data thereafter in the tab
Debug
of the Node-RED sidebar.
Figure 91: OPC UA input node
Prerequisites
1. A connection to the Edge Gateway is established (see section
Using the
web browser to establish a connection with the Edge
Gateway
[
}
page 22]).
2. The Node-RED workspace is open.
3. The device with the OPC UA server is connected to the Edge Gateway.
4. The IP-address of the OPC UA server is known to you.
Step-by-step instructions
1. Inserting the OPC UA input node:
Ø
Drag an
OPC UA
input node from the node library and drop it in the
worksheet.
Ê
The red triangle the OPC UA input node is displayed with indicates that
the node still needs some more parameters which you have to configure
in the following steps.
2. Showing the sidebar:
Ø
Show the sidebar using the keyboard shortcut
Ctrl+spacebar
or via
the Node-RED menu
View
>
Show Sidebar
.
Ø
Click the tab
Info
.
Ø
Click the
OPC UA
input node to display its properties and a functional
description in the tab
Info
.
Edge Gateway | NIOT-E-TIB100-GB-RE (Remote)
DOC170501UM04EN | Revision 4 | English | 2018-08 | Released | Public
© Hilscher 2017 – 2018