ModbusTool | modbus master and slave test tool | TCP library

 by   ClassicDIY C# Version: 2.1.0.0 License: Apache-2.0

kandi X-RAY | ModbusTool Summary

kandi X-RAY | ModbusTool Summary

ModbusTool is a C# library typically used in Networking, TCP applications. ModbusTool has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

A modbus master and slave test tool with import and export functionality, supports TCP, UDP and RTU.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              ModbusTool has a low active ecosystem.
              It has 387 star(s) with 143 fork(s). There are 35 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 6 open issues and 13 have been closed. On average issues are closed in 283 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of ModbusTool is 2.1.0.0

            kandi-Quality Quality

              ModbusTool has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

              ModbusTool is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              ModbusTool 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 ModbusTool
            Get all kandi verified functions for this library.

            ModbusTool Key Features

            No Key Features are available at this moment for ModbusTool.

            ModbusTool Examples and Code Snippets

            No Code Snippets are available at this moment for ModbusTool.

            Community Discussions

            QUESTION

            How to format a byte array to a 16bit CRC check for a Modbus frame?
            Asked 2020-May-25 at 20:29

            I am currently trying to use an Arduino UNO R3 as a master in a Modbus serial (not TCP/IP) communications protocol. I have attempted to use outdated libraries for this with no avail, mostly due to deprecated dependencies. Anyways I decided to start from scratch and my current goal is to write a value to register 301 (starting address 300) to a slave I.D. "5". Before connecting to my slave I want to make sure I can regenerate the CRC for the frame depending on whether I write a 0, 1, or 2 to the register. For writing a 1 I have the frame as "05 06 01 2D 00 01 D8 7B" and from my research I can tell that "D8 7B" is the 16-bit CRC for the data. However the problem is that I can't seem to replicate the CRC output on my Arduino. I believe it has to do with how I have prepared and formatted my byte array but I am not sure. I do not understand the CRC algorithms well which is why I am using a library, any help would be greatly appreciated.

            The following code is a slight variation of the example sketch provided with vinmenn's Crc16 library.

            ...

            ANSWER

            Answered 2020-May-25 at 20:05

            As for replicating Modbus CRC16 with byte by byte method, according to the source, you need to use the parameters:

            poly=0x8005
            init=0xffff
            refin=true
            refout=true
            xorout=0x0000
            check=0x4b37

            which means you should initialize crc as:

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install ModbusTool

            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/ClassicDIY/ModbusTool.git

          • CLI

            gh repo clone ClassicDIY/ModbusTool

          • sshUrl

            git@github.com:ClassicDIY/ModbusTool.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 ClassicDIY

            ModbusAdapter

            by ClassicDIYC++

            SkyeTracker

            by ClassicDIYC#

            Anemometer

            by ClassicDIYC++

            ClassicMQTT

            by ClassicDIYPython

            ClassicMonitor

            by ClassicDIYJava