Skip to main content

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。

Release files for a2y-mew 0.9.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for a2y-mew 0.9.10
File Interpreter ABI Platform
a2y_mew-0.9.10-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details

Release files / a2y_mew-0.9.10-cp312-cp312-win_amd64.whl

Download URL a2y_mew-0.9.10-cp312-cp312-win_amd64.whl
Size 177.4 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
d108182a7e91dd36c0d5ebe566afb8de2affa21f67a41216533ebcf1c38717b9
BLAKE2b-256 checksum
How to use checksums
89736bda3c9bef08a784b6065daec5a7dfcef738c54ee32cbc90d977b8fc223e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release history Release notifications | RSS feed

This release

0.9.10 This release

1 release file

0.9.9

1 release file

0.9.8

1 release file

0.9.7

1 release file

0.9.6

1 release file

0.9.5

1 release file

0.9.4

1 release file

0.9.3

4 release files

0.9.2

1 release file

0.9.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page