【发布时间】:2021-06-22 04:22:54
【问题描述】:
我试图通过 Python 从 PLC Micro Logics 1400(Allen Bradley) 读取数据并将其转储到 MS SQL,然后 "can only concatenate str (not "bytes") to str" this从 PLC Micro Logics 1400 读取数据时发生错误。我将附上我当前使用的 python 程序。如果有人知道这个问题的解决方案,请帮助我。
https://drive.google.com/file/d/1C-g4M5YhtsvvTCaDnz3jLhYuRg64E-8f/view?usp=sharing
谢谢!
【问题讨论】:
-
请在问题本身中发布产生此错误的代码。
-
另外,考虑使用search tool first
标签: python concatenation plc