wiki:SNAP7

Version 5 (modified by krit, 2 years ago) (diff)

--

SNAP7 Siemens

Python3 as server and client to test with Siemens Logo8, pls download attached file Snap7.tar After untar run PLC server in

$ cd  Snap7/python-snap7-1.2/build/scripts-3.7
$ ./snap7-server.py

To test server, run client to connect server with

root@OpenWrt:~/pysiemens# python3 test.py
0
00:00:00
1990-01-01
Result of write at address 2
[{'function': 5, 'items_count': 1, 'result_code': 255}]
root@OpenWrt:~/pysiemens# 

Attachments (1)

Download all attachments as: .zip