node-modbus | Modbus TCP Client/Server implementation for Node.JS | TCP library

 by   Cloud-Automation TypeScript Version: v2.0.1 License: No License

kandi X-RAY | node-modbus Summary

kandi X-RAY | node-modbus Summary

node-modbus is a TypeScript library typically used in Networking, TCP applications. node-modbus has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

A simple an easy to use Modbus TCP client/server implementation.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              node-modbus has a low active ecosystem.
              It has 411 star(s) with 159 fork(s). There are 37 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 10 open issues and 199 have been closed. On average issues are closed in 108 days. There are 11 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of node-modbus is v2.0.1

            kandi-Quality Quality

              node-modbus has 0 bugs and 0 code smells.

            kandi-Security Security

              node-modbus has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              node-modbus code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              node-modbus does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              node-modbus releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of node-modbus
            Get all kandi verified functions for this library.

            node-modbus Key Features

            No Key Features are available at this moment for node-modbus.

            node-modbus Examples and Code Snippets

            No Code Snippets are available at this moment for node-modbus.

            Community Discussions

            Trending Discussions on node-modbus

            QUESTION

            Nodejs - How to act as modbus rtu server
            Asked 2019-Jul-08 at 07:05

            I'm trying to set up a listener that accepts modbus RTU polls.

            I have found a lot of modbus related npm library but they are all related to polling from other modbus slave, or act as modbus TCP server. I need to simulate the modbus slave, not the poller (act as modbus RTU server)

            Edit: I found this library https://github.com/Cloud-Automation/node-modbus

            There is a modbus-rtu-server.js file in the source, so I have been trying to use this. However, I'm having trouble understand and use the library without documentation. Here's what I have tried:

            ...

            ANSWER

            Answered 2019-Jul-08 at 07:05

            The server is just waiting for a client to connect. For the connect event to happen you have to start a query from a client. That means you need to have a second serial port connected to your /dev/ttyUSB0 and initiate a Modbus query from it. For that you can use the same library or any other tool like modpoll or QModMaster.

            You also need to develop a little bit your server, because right now it does not have any registers defined, so it won't be much use.

            Look at the TCP examples, in particular the SimpleServer. As you can see there, you need to define the Modbus registers or coils on your server, something like:

            Source https://stackoverflow.com/questions/56928400

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install node-modbus

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/Cloud-Automation/node-modbus.git

          • CLI

            gh repo clone Cloud-Automation/node-modbus

          • sshUrl

            git@github.com:Cloud-Automation/node-modbus.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular TCP Libraries

            masscan

            by robertdavidgraham

            wait-for-it

            by vishnubob

            gnet

            by panjf2000

            Quasar

            by quasar

            mumble

            by mumble-voip

            Try Top Libraries by Cloud-Automation

            chrome-modbus

            by Cloud-AutomationJavaScript

            node-net-reconnect

            by Cloud-AutomationJavaScript

            node-soem

            by Cloud-AutomationC++

            stampit-event-bus

            by Cloud-AutomationJavaScript

            node-modbus-tools

            by Cloud-AutomationJavaScript