Skip to main content

A Modbus RTU CRC-16 calculation package by Valtoris

Project description

Valtoris Modbus RTU CRC-16 Calculator

A lightweight, zero-dependency Python package for calculating the Modbus RTU CRC-16 checksum.

🚀 Free Interactive Web Version

If you don't want to write code and just need to quickly verify a Modbus hex frame in the field, use our free web tool: 👉 Launch the Valtoris Modbus CRC-16 Web Calculator

💻 Installation

pip install valtoris-modbus-crc16

⚙️ Usage

from valtoris_modbus_crc16 import calculate_modbus_crc16

# Example: Slave ID 01, Read Holding Registers 03, Start Address 0000, Length 0001
result = calculate_modbus_crc16("01 03 00 00 00 01")
print(result) # Output: 84 0A

## 🏭 About Us
This open-source package is maintained by **[Valtoris Electronics](https://valtoris.com/)**. We manufacture industrial 4G routers and Modbus gateways designed for extreme SCADA environments.

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

valtoris_modbus_crc16-0.1.0.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

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

valtoris_modbus_crc16-0.1.0-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file valtoris_modbus_crc16-0.1.0.tar.gz.

File metadata

  • Download URL: valtoris_modbus_crc16-0.1.0.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for valtoris_modbus_crc16-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ffacc457ea0a11e862089cf300c213363cb703b2c4d9c6c307a7cf8c3a090120
MD5 b151482e43a8dc5dc91a56655eb4037a
BLAKE2b-256 859fb53947441b9112a37868f2764c524df813dca6b418575ef9d6a7b6dac536

See more details on using hashes here.

File details

Details for the file valtoris_modbus_crc16-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for valtoris_modbus_crc16-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2a6e31d9b086412494ecc7dc9162d628408993d7157afe2d3979f61a663c989a
MD5 eed6bd3104249f6c3318959f15144eec
BLAKE2b-256 a66d5dac69e9f8706c21cf2deb0aecdff7f270074341db69986418575bc598a9

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