{"repo":"Cloud-Automation/node-modbus","free":true,"listed":false,"github":"https://github.com/Cloud-Automation/node-modbus","clone":"git clone https://github.com/Cloud-Automation/node-modbus.git","description":"Modbus TCP Client/Server implementation for Node.JS","language":"TypeScript","stars":511,"topics":["javascript","modbus-tcp","tcp-client","serial-ports","rtu-client","modbus","nodejs"],"license":null,"category":"cli-tools","readme_excerpt":"A simple an easy to use Modbus TCP client/server implementation. Modbus ======== Modbus is a simple Modbus TCP/RTU Client/Server with a simple API. It supports modbus function codes 1 - 6, 15, 16 and 43/14. Status ------ Version 4.0.0 is a early beta release. Please use and test it and help make it better. We keep you posted on the status of this module. Installation ------------ Just type npm install jsmodbus and you are ready to go. You can also install this module globally and use the Command Line Interface. Simply type npm install -g jsmodbus . CLI --- Version 4 offers a Command Line Interface. Just install the module globally and type jsmodbus --help to get some more Information. 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. Debugging --------- If you want to see some debugging information, since Version 3 we use the debug module. You can filter the debug output by defining the DEBUG environment variable like so export DEBUG= TCP Client Example -------------- RTU Client Example --------------------- Client API Example ------------------ Keeping TCP Connections alive ---------------------------- I've written a module to keep net.Socket connections alive by emitting TCP Keep-Alive messages. Have a look at the node-net-reconnect module. Server example -------------- License (MIT) Cop","default_branch":null,"files":null,"tree":[],"storefront":"/r/Cloud-Automation","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Cloud-Automation/node-modbus/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}