Examples for Node-RED
142/263
10.6 Example 6: Fieldbus input node
The fieldbus input node allows you to receive data from the fieldbus, e.g.
PROFINET, and uses signals to address this data. Before you can use the
fieldbus input node, you have to configure the fieldbus and define the
signals.
Figure 93: Fieldbus input node
This example uses the fieldbus input node together with a Debug node to
receive fieldbus data (in this case PROFINET) and to display the data
thereafter in the Debug tab of the Node-RED sidebar.
Prerequisite
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.
Step-by-step instructions
1. Inserting the fieldbus input node:
Ø
Drag a fieldbus input node from the node library and drop it in the
worksheet.
Ê
The red triangle the fieldbus 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
fieldbus
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