Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-red-contrib-modbus

Package Overview
Dependencies
Maintainers
1
Versions
197
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-modbus

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

  • 4.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.9K
decreased by-14.8%
Maintainers
1
Weekly downloads
 
Created
Source

Platform Node-RED Node-RED Modbus NPM version ES_Sourdce_Version ES_Deploy_Version NodeJS_Version Standard - JavaScript Style Guide NPM download Build Status Codacy Badge Percentage of issues still open Average time to resolve an issue

node-red-contrib-modbus

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

nodemodbus64

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

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

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 serialport version 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.

npm show node-red-contrib-modbus@* version

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

npm install node-red-contrib-modbus@3.6.1

or global by

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

How to use

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
    • core:client:fsm
  • io
    • io:core
  • basics
  • read
  • write
  • server
  • response
  • flex
    • flex:getter
    • flex:write
    • flex:connector
    • flex:server
  • modbus-serial

see Wiki pages to get more options in detail

Contributing

Let's work together! Please read and in best case accept CONTRIBUTING by your sign and send it via E-Mail. You could also send just a pull request or issues while testing, please!

Click here if you want to back the project!

Authors

since April 2016 by Klaus Landsdorf

History

Keywords

FAQs

Package last updated on 08 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc