Python Module: a2y_modbus
a2y_modbus模块实现了基本的Modbus通信协议,包括以下功能码:
- 0x01,读多个连续的线圈。
- 0x03,读多个连续的寄存器。
- 0x05,写单个线圈。
- 0x06,写单个寄存器。
- 0x10,写多个连续寄存器。
开始只有主站功能。从 2.2.0 开始,类ModbusSlave提供了从站(只含RTU)功能。
ChangeLog
-
2026-11-05 向后兼容 Python38。没有做严谨测试。版本改为 2.2.1。
-
2026-10-31 初步实现
ModbusSlave(未实现功能码 0x01)。版本升级为 2.2.0。 -
2026-10-26 增加对
DualSerial的支持:读、写可以使用独立的串口通道。版本升级为 2.1.2。 -
2024-06-19 Bug 修正,验证 2.1.0 中新增的功能成功。版本升级为 2.1.1。
-
2024-06-19 增加 ModbusTCPMaster 读多个(功能码 0x01)、写单个(功能码 0x05)线圈的功能,版本升级为 2.1.0。
-
2024-06-15 从
hidcom改为kcom,版本升级为 2.0.2。
Metadata
Release files for a2y-modbus 2.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| a2y_modbus-2.2.1-cp312-cp312-win_amd64.whl | CPython 3.12 | CPython 3.12 | Windows x86-64 | Details for a2y_modbus-2.2.1-cp312-cp312-win_amd64.whl |
Release files / a2y_modbus-2.2.1-cp312-cp312-win_amd64.whl
| Download URL | a2y_modbus-2.2.1-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 203.0 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e76e584c77f74170fdc0d79712ba82dbf4187678d1b72a66ea9fef7ebf2d9d3b
|
|
BLAKE2b-256 checksum How to use checksums |
0f8562b6a9b58b3997203d95b4374c99e1baf5bdc5a819c18574741957c93b3c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Security for a2y-modbus 2.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.