Skip to main content

Function to convert a decimal integer to four byte doubleword

Project description

Decimal to doubleword

This package contains a function to easily generate the values assigned to bytes 19 - 22 when using the Modbus TCP on the Igus Dryve D1 controller.

How to use

Import with:

from decimaldoubleword import ddConverter as conv

Now calling conv() with a decimal argument returns a correctly formatted list in the shape of (Byte 19, Byte 20, Byte 21, Byte 22)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

decimaltodoubleword-1.0.0.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

decimaltodoubleword-1.0.0-py2.py3-none-any.whl (13.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file decimaltodoubleword-1.0.0.tar.gz.

File metadata

  • Download URL: decimaltodoubleword-1.0.0.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.25.0

File hashes

Hashes for decimaltodoubleword-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5a1e564bca580afc3de432685da6d0c006a886ea37e39f3f1438d5f280ea839c
MD5 041682e591158bc1d8355f3b5644768f
BLAKE2b-256 7ed391dcacec9d5d8bcdc964ca4f941acc15a9dbaf5bdb2f660482fe77918ac1

See more details on using hashes here.

File details

Details for the file decimaltodoubleword-1.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for decimaltodoubleword-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 09e23b556751bcc764852a6891bfb2d6f2e344d67f33557d5969225e2f3bea26
MD5 9f9ec5d94db57c2948e6f06001d8fa01
BLAKE2b-256 088d8aeffd5b0d6a8821bdc8d39574d2f8146914642457beab6b50ce7f6ea1a6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page