代码
from pycomm.ab_comm.slc import Driver as MLDriver
ML = MLDriver()
while 1:
try:
if ML.open('192.168.2.150'):
#print (ML.read_tag('F8:0',10))
print (ML.write_tag('N7:0',10))
ML.close()
except Exception as e:
print (e)
#continue
错误
错误(只能将str(不是“ bytes”)连接到str),打包值以写入SLC write_tag(N7:0,10)
Read标签可以正常工作,但是write模块在pycomm3中不起作用
包装链接:-
答案 0 :(得分:0)
这是应该最近修复的错误