Hello,
I have problem with snap7 and S71200. I want read DB on raspberry pi. What command should I write in? I tried to type in console:
from time import sleep
import snap7
from snap7. util import *
import struct
plc = snap7.client.Client()
plc.connect('192.168.1.1',0,1)
plc.db_read(1,0,1)
and i gets back
bytearray (b'B')
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I have problem with snap7 and S71200. I want read DB on raspberry pi. What command should I write in? I tried to type in console:
from time import sleep
import snap7
from snap7. util import *
import struct
plc = snap7.client.Client()
plc.connect('192.168.1.1',0,1)
plc.db_read(1,0,1)
and i gets back
bytearray (b'B')