Table of Contents

5.2 Node-RED – Reading Parameters

This section is about reading parameter data from an IO-Link device using Node-RED. The target is the creation of a specific Node-RED node for the write read of the parameter’s index and sub-index.

Starting point is the configuration web interface. If a parameter is readable (Read only, Read/Write), the Node-RED node creation link is shown at the variable in the “Parameter section:

In the new tab that opens, click on “Copy to clipboard”:

In the Node-RED Flows Workspace, import the node (ether with the menu or CTRL-I).

Paste the content of the clipboard to the node/flow JSON box:

The specific node is the imported into Node-RED:

Numbers (Integers, Bool) and Strings

Numbers and strings are read in the native Javascript format.

OctetString/Buffers

Octet Stings and buffers are provided in OctetSting format.