uModbus | Python implementation of the Modbus protocol | TCP library

 by   AdvancedClimateSystems Python Version: 1.0.4 License: MPL-2.0

kandi X-RAY | uModbus Summary

kandi X-RAY | uModbus Summary

uModbus is a Python library typically used in Networking, TCP applications. uModbus has no vulnerabilities, it has build file available, it has a Weak Copyleft License and it has low support. However uModbus has 2 bugs. You can download it from GitHub.

Python implementation of the Modbus protocol.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              uModbus has a low active ecosystem.
              It has 138 star(s) with 59 fork(s). There are 19 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 22 open issues and 54 have been closed. On average issues are closed in 128 days. There are 9 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of uModbus is 1.0.4

            kandi-Quality Quality

              uModbus has 2 bugs (0 blocker, 0 critical, 2 major, 0 minor) and 20 code smells.

            kandi-Security Security

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

            kandi-License License

              uModbus is licensed under the MPL-2.0 License. This license is Weak Copyleft.
              Weak Copyleft licenses have some restrictions, but you can use them in commercial projects.

            kandi-Reuse Reuse

              uModbus releases are available to install and integrate.
              Build file is available. You can build the component from source.
              uModbus saves you 858 person hours of effort in developing the same functionality from scratch.
              It has 1964 lines of code, 281 functions and 49 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed uModbus and discovered the below as its top functions. This is intended to give you an instant insight into uModbus implemented functionality, and help decide if they suit your requirements.
            • Generate a lookup table
            • Get meta data from the device
            • Unpack data from modbus
            • Decorator for routes
            • Create response adu
            • Pack the MBAP header
            • Process incoming request
            • Execute a route
            • Process a request adu
            • Create function instance from a request PDU
            • Logs to stream
            • Get a serial port
            • Serve requests forever
            • Serve one request
            • Respond to the device
            • Write a single register
            • Read input registers
            • Reading all holding registers
            • Write multiple Coils
            • Read Coil
            • Write a single coil to a slave
            • Write multiple registers
            • Read discrete inputs
            • Create response ADU
            • Sets the signed values
            • Set the serial port
            Get all kandi verified functions for this library.

            uModbus Key Features

            No Key Features are available at this moment for uModbus.

            uModbus Examples and Code Snippets

            No Code Snippets are available at this moment for uModbus.

            Community Discussions

            QUESTION

            Send bit to Siemens Logo 8 with Python (modbus connection)
            Asked 2020-Aug-20 at 21:21

            I am trying to send 1 bit from my pc (192.168.0.2) to Siemens network input (IP: 192.168.0.11:504) with Python. But i can't get it work. The goal is to send bit via modbus connection to trigger BO31 condition.

            My Python code:

            ...

            ANSWER

            Answered 2020-Aug-20 at 21:21

            As per my comment tcp.write_multiple_coils(slave_id=1, starting_address=1, values=[1, 0, 0, 0]) writes four coils (1/true to coil 1 then 0/false to coils 2,3 & 4); to write a single coil either use write_single_coil or tcp.write_multiple_coils(slave_id=1, starting_address=1, values=[1]) (which is best depends upon your device; not all devices implement both functions but I'd suggest starting with write_single_coil).

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install uModbus

            You can download it from GitHub.
            You can use uModbus like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            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/AdvancedClimateSystems/uModbus.git

          • CLI

            gh repo clone AdvancedClimateSystems/uModbus

          • sshUrl

            git@github.com:AdvancedClimateSystems/uModbus.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 AdvancedClimateSystems

            docker-buildroot

            by AdvancedClimateSystemsShell

            io

            by AdvancedClimateSystemsGo

            goldfish

            by AdvancedClimateSystemsGo

            inflow

            by AdvancedClimateSystemsPython

            moment-relativism

            by AdvancedClimateSystemsJavaScript