node-red-contrib-modbus 1.2.2

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

npm install node-red-contrib-modbus

Node-RED Modbus Standard - JavaScript Style Guide NPM download NPM version Build Status



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

Node-RED contribution package for Modbus

Support for the project straight away!

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

  • stress tested with Node-RED v0.16.2 and Node.js (4.7/6.9 LTS)
  • works with queueing per unit and round robin scheduling


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

npm install node-red-contrib-modbus

Run the following command for global install

npm install -g node-red-contrib-modbus

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

--unsafe-perm --build-from-source


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:

npm install [email protected]


npm install -g [email protected]

How to use

see Wiki pages

use the Flow example to see how it works ...

see YouTube Playlist

Flow Example


Debug will be activated by starting Node-RED with debug mode:

DEBUG=node_red_contrib_modbus node-red -v

see Wiki pages to get more options in detail


since April 2016 by Klaus Landsdorf


Node Info

Version: 1.2.2
Updated 2 months, 1 week ago
License: BSD-3-Clause


61 in the last day
340 in the last week
1516 in the last month


  • node-red
  • modbus
  • Modbus
  • tcp
  • serial
  • server
  • client
  • slave
  • master
  • rtu
  • ascii
  • C701
  • telnet
  • rtu buffered
  • flexible read
  • flexible write
  • contrib
  • modbus serial
  • modbus tcp
  • modbus slave
  • modbus master
  • modbus-serial
  • node-modbus


  • biancode