How can I write data to int value in plc with Python

后端 未结 0 1381
北海茫月
北海茫月 2021-01-30 07:10

my code:

import snap7.client as s7

ip = \'192.168.0.7\'
rack = 0
slot = 1
data_blok = 100
start_adress = 0
size = 260
try:
    plc = s7.Client()
    plc.connect(         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题