NOT ready - just for development with node-red-contrib-modbus for now!
Please help with your contribution to the package!
A simple and easy to use Modbus TCP and Serial client/server implementation.
Based on jsmodbus
node-modbus
NODE-MODBUS is a simple Modbus TCP/Serial Client/Server API.
Install
Run the following command in the root directory of your Node-RED install
npm install node-modbus
Run the following command for global install
npm install -g node-modbus
Testing
The test files are implemented using mocha and sinon.
Simply npm install -g mocha
and npm install -g sinon
. To run the tests type from the projects root folder mocha test/*
.
Please feel free to fork and add your own tests.
License
MIT