0.2.0 • Published 3 years ago

red-contrib-embrick v0.2.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Image

node-red-contrib-embrick

platform

This Module provides a Method to use your emBrick I/O Systems in Node-Red.

Required

Image

Install

To install use the 'Menu - Palette verwalten' option and search for 'node-red-contrib-embrick' or run the following command in your Node-RED user directory - typically ~/.node-red:

npm i @embrick/red-contrib-embrick

Restart your Node-RED instance and you should have UI nodes available in the palette and a new dashboard tab in the right side panel. The UI interface is available at http://localhost:1880/ui (if the default settings are used).

Settings Dashboard

The default url for the dashboard is based off your existing Node-RED httpRoot path with /ui added. This can be changed in your Node-RED settings.js file.

ui: { path: "ui" },

Settings Connection

Image Double Click on 'change updateRate (in ms), ip-address or port' if you use the Remote Master per Ethernet to change the Updaterate (in ms), ip-address or port. Double Click on 'change updateRate(in ms), Modbus ID' if you use the Remote Master per Serial to change the Updaterate (in ms) or the Modbus ID.

Functions of the Nodes

nodefunction
Digital Inputgives the State of the Input as msg.payload (1 or 0) out.
Digital Outputwrite the Input msg.payload on the Output (1 or 0 ).
Digital Visshow the State with a LED Icon (1 = yellow, 0 = black) of the Digital In- or Output on the Dashboard.
Digital Forcegive the opportunity to force the Digital In- or Output on the Dashboard.
Analog Inputgives the Value of the Input in Process Value(if configured in node) or in digits as msg.payload out.
Analog Outputwrite the Input msg.payload on the Output.
Analog Visshow the State in Process Value(if configured in node) or in digits of the Analog In- or Output on the Dashboard.
Analog Forcegives the opportunity to force the Analog In- or Output on the Dashboard.