Skip to main content

A module that implements improved Mewtocol.

Project description

Python Module: a2y_mew

a2y_mew 模块实现了扩展的Mewtocol通信协议。原始的Mewtocol来自 Panasonic,用于其 FP 系列 PLC 与上位机、触摸屏等设备通信。 本模块在以下方面对Mewtocol进行了扩展:

  • 地址空间从 8 位整数扩展为不定长,最高可达 32 位。为了兼容性,最小为 8 位,在报文中至少占两个字节。

  • 通讯方式从半双工增强为全双工,即主从双方可以同时发送数据。当从设备发生了某个事件(例如,输入点发生了变化),可以主动给主机发送报文。

ChangeLog

  • 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


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

a2y_mew-0.9.8-cp38-cp38-win_amd64.whl (206.2 kB view details)

Uploaded CPython 3.8 Windows x86-64

File details

Details for the file a2y_mew-0.9.8-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: a2y_mew-0.9.8-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 206.2 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.8.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.6.8

File hashes

Hashes for a2y_mew-0.9.8-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 43890ac502d2b3211494a1b19e9ebc7a14b21683bfdd1bc4861d62f1f715e46f
MD5 141b6a9b24cc85c866f3360eb35dce04
BLAKE2b-256 0f9f775b5e4f59f68590357d3bd8400dacaf3086cbd261948e6fba76b2d5a01a

See more details on using hashes here.

Supported by

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