Python 3.x 到 Productivity 2000 PLC 通信

Python 3.x to Productivity 2000 PLC Communication

我想使用 python 与 PLC(特别是 Productivity 2000)通信。我找到了 cpppo 和 pycomm;问题是这些是为 python2 制作的。我可以在 python3 中使用的最佳替代方案是什么?

最新的CPPPO库支持Python3.

https://github.com/pjkundert/cpppo

Productivity 2000 PLC 还支持 Modbus TCP。该协议也有几个 python 库。

https://github.com/sourceperl/pyModbusTCP https://github.com/riptideio/pymodbus