Node-RED – Plugin – Modbus

Node-RED Dashboard

Een plugin voor Modbus RS485 TCP, RTU, ASCII ondersteuning, project @ Github

Installatie via Menu > Manage Palette > Tab install en zoek:

nieuwe nodes:

Voorbeelden staan in het menu


The all in one Modbus TCP and Serial contribution package for Node-RED.

Node-RED contribution package for Modbus

Based on modbus-serial with TCP, C701, Telnet, Serial, RTU buffered, and ASCII

  • stress tested with Node-RED v0.19 and Node.js v9 and v10 LTS
  • works with queueing per unit and round robin scheduling
  • Node.JS 8.x is supported with v3.x
  • Node.JS 6.x is supported with v2.x
  • Node.JS 4.x is supported with v1.x

If you like that contributor’s package for Modbus, then please give us your star at GitHub !

You could help as a backer of the project.

Install

Run the following command in the root directory of your Node-RED install

Run the following command for global install

try these options on npm install to build, if you have problems to install

modbus-serial, serialport and jsmodbus

The serialport optional dependency is just to list all ports on your system in the client configuration. It is not the serialportversion to work with Modbus at runtime. For that check the modbus-serial or jsmodbus package.json, please! The modbus-serial supports and works for TCP connections in that package, too. The jsmodbus package is just to provide a simple Modbus Server node. All Modbus commands running on modbus-serial.

TCP or Serial testing

If you get in trouble with TCP connections, then check and test with just modbus-serial first, please!

If you get in trouble with Serial connections, then check with just serialport first, please!

Update/Upgrade/Downgrade

To update the dependencies or the whole package, you have just to install again.

To get a special version please set the version with @M.M.F:

or global by

How to use


Download Node-RED modbus @ Github

Top