This section is about writing parameter data to an IO-Link device using Node-RED. The target is the creation of a specific Node-RED node for the write operation of the parameter’s index and sub-index.
Starting point is the configuration web interface. If a parameter is writeable (Read/Write, Write Only), the Node-RED node creation link is shown at the variable:
In the new tab that opens, click on “Copy to clipboard”:
In 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 and strings can be put to the input of the Write Parameter Node in the native Javascript format. The input is expected as payload to the message.
There are two ways to format OctetSting input data: