There are several Modbus TCP libraries available on npm. We created a GitHub repository that uses a few of the libraries and mentions a few other interesting Modbus libraries called node-modbus_library_testing.
Modbus Libraries used
-
Modbus-Stack that is used by iobroker.modbus
Other interesting npm packages to explore
Search for more Modbus related modules on npm.
Installing
Run the following commands:
-
git clone https://github.com/chrisJohn404/node-modbus_library_testing
-
cd node-modbus_library_testing
-
npm install
Look at the project's README.md file for more details.
Getting Started with Direct Modbus TCP
See the information and getting started guide in our Direct Modbus TCP documentation.