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 hashes)

Uploaded CPython 3.8 Windows x86-64

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