JSPM

  • Created
  • Published
  • Downloads 2758
  • Score
    100M100P100Q128650F
  • License BSD-3-Clause

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

Package Exports

  • node-red-contrib-modbus/modbus/modbus-basics

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (node-red-contrib-modbus) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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

nodemodbus64

node-red-contrib-modbus

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

Node-RED contribution package for Modbus

Become a backer of the project straight away!

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

  • stress tested with Node-RED v0.17.5 and Node.js v6.x and v8.x LTS
  • works with queueing per unit and round robin scheduling
  • Node.JS 4.x is supported with v1.x

Install

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

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:

npm install node-red-contrib-modbus@1.3.0

or global by

npm install -g node-red-contrib-modbus@1.3.0

How to use

see Wiki pages

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

see YouTube Playlist

Flow Example

Debug

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

DEBUG=contribModbus*,modbus-serial node-red -v

or

DEBUG=contribModbus:{option},contribModbus:{option},...

Options

  • core
    • core:client
  • read
  • write
  • server
  • response
  • flex
    • flex:getter
    • flex:write
    • flex:connector
    • flex:server
  • modbus-serial

see Wiki pages to get more options in detail

Authors

since April 2016 by Klaus Landsdorf

History