A module that implements improved Mewtocol.
Project description
Python Module: a2y_mew
a2y_mew 模块实现了扩展的Mewtocol通信协议。原始的Mewtocol来自 Panasonic,用于其 FP 系列 PLC 与上位机、触摸屏等设备通信。
本模块在以下方面对Mewtocol进行了扩展:
-
地址空间从 8 位整数扩展为不定长,最高可达 32 位。为了兼容性,最小为 8 位,在报文中至少占两个字节。
-
通讯方式从半双工增强为全双工,即主从双方可以同时发送数据。当从设备发生了某个事件(例如,输入点发生了变化),可以主动给主机发送报文。
ChangeLog
-
2025-05-02 设计类
DualSerial,以提供两个串口当一个串口用(一个用来写,另一个用来读)的功能。这样,就可以使用两个RS485组合端口跟一个RS422端口通信了。版本升级为 0.9.10。 -
2024-07-20 解决以下两个 bug,版本升级为 0.9.8:
MewMaster对象构建时缺乏timeout参数,导致close无限等待。MewBase无法使用KCOM类型串口。
-
2024-07-08 修正依赖项,升级为 0.9.7
-
2024-06-22 使用
kcom取代hidcom,版本升级为 0.9.6。
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file a2y_mew-0.9.10-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: a2y_mew-0.9.10-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 177.4 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d108182a7e91dd36c0d5ebe566afb8de2affa21f67a41216533ebcf1c38717b9
|
|
| MD5 |
a097f77c7431348f385117ad7eeced8e
|
|
| BLAKE2b-256 |
89736bda3c9bef08a784b6065daec5a7dfcef738c54ee32cbc90d977b8fc223e
|