node-red-contrib-murrelektronik-iol-devices 0.0.19
Node-RED library for Murrelektronik GmbH
node-red-contrib-murrelektronik-iol-devices
Node-RED nodes for Murrelektronik IO-Link devices and process data handling.
Disclaimer
This package is an independent, privately developed Node-RED contribution. It is not affiliated with, endorsed by, sponsored by, or connected to Murrelektronik GmbH.
The package was created by a private individual to control and read out compatible IO-Link devices. Product names, device identifiers, and company names are used only to describe device compatibility.
Installation
Install the package from the Node-RED user directory:
npm install node-red-contrib-murrelektronik-iol-devices
Then restart Node-RED. The Murrelektronik IO-Link device nodes will appear in the Node-RED palette.
Offline installation / Offline-Installation
Auf dem Entwicklungsrechner im Repository pack-geraete.cmd starten oder in
diesem Paketordner npm run pack:offline ausfuehren. Beim ersten Bauen ist
Internet fuer die Abhaengigkeiten erforderlich; auf dem Zielgeraet nicht.
Beide Packbefehle (pack:offline und pack:palette-offline) erzeugen jetzt
node-red-contrib-murrelektronik-iol-devices-0.0.19-palette-offline.tgz.
Der Build prueft automatisch die Installation mit leerem npm-Cache und
--offline sowie das Laden der enthaltenen Node-Typen und Abhaengigkeiten.
Diese Datei auf das Zielgeraet kopieren und in Node-RED unter **Palette verwalten
Installieren > TGZ-Datei hochladen** auswaehlen. Alternativ im Node-RED- Benutzerverzeichnis (haeufig
~/.node-red, bei Docker meist/data) ausfuehren:
npm install --offline --no-audit --no-fund /pfad/zur/node-red-contrib-murrelektronik-iol-devices-0.0.19-palette-offline.tgz
Danach Node-RED neu starten. Die Datei muss als lokales TGZ installiert werden; eine Suche nach dem Paketnamen im Palettenmanager benoetigt Internet.
Included nodes
4000-76056-000000Xstatus light4000-76060-000000Xsignal tower4000-76070-1X00015signal tower5000-00501-XXXXXXXanalog converter5000-00501-1400001IOL AI-TH-V2-MULT-PAR thermocouple analog converter598XXIO module6920Xpush button6923Xthree-button station (3P-Pushbutton)murrelektronik-device-scandevice scanmurrelektronik-process-data-readprocess data readmurrelektronik-iodd-process-dataIODD process data
Usage
Use the device-specific nodes to integrate supported Murrelektronik IO-Link devices into Node-RED flows. The package also includes helper nodes for scanning devices and reading or interpreting process data.
License
MIT
Three-button station (6923X)
Output 1 reports the write result. Output 2 returns msg.payload as
[top, middle, bottom] booleans, with the connector at the bottom:
[true, false, true] means the top and bottom buttons are pressed.
These are mounting positions MP4, MP3 and MP2 (bit 0 of input bytes 3, 2 and 1).
msg.buttonPositions names these positions; msg.rawProcessData retains the response.
Check msg.valid before using the states. msg.deviceStatus reports the device status.
Like the two-button node, the node supports LED configuration, raw output bytes,
Read Only and cyclic requests. This station requires eight input/output bytes;
Eco mode is bit 7 and flashing uses bits 4-6. Set msg.interval to true to poll
at 500 ms, or false to stop and perform one final request.