Replies: 5 comments 4 replies
|
As far as I know, the S1200/S1500 PLCs use the |
|
OPC UA is not implemented in the PLC but in the siemen software connecting to the PLC lasttime i checked years ago. And because of that software in the middle it is never and not nearly as reliable als connecting directly to the plc. I was thinking the same and could not get my software reliable to work. It took ages to change all the variables I needed to change. Then i found snap7 and wrote this library together with gijs. A truely open source way of connecting to a siemens plc. And did you know fhe protocal used to talk to the plc S7 is 99.9 identical to an opensource version...but its not... |
|
Having worked for several monthon Siemens products, particularly those communicating in S7. Thanks to this protocol, we can communicate FAST between 1 PC/Card and a PLC. S7 is still the preferred choice for its speed and ease of use compared to OPC (UA/DA). I'm forced to admit that today's PLC networks are increasingly the target of cyber-attacks due to poor network rules. I can only encourage the use of protocols such as OPC UA, but unfortunately these are far too cumbersome and greedy in terms of resources and description. For fast industrial application it is prohibited. The initiative to launch an S7+ protocol is great (Structure, TIA DataTypes), but as usual Siemens isn't going the open source route, it's starting to work on this connector in proprietary format, as was the case with other protocols long before.. |
|
Update: S7CommPlus support is now implemented and available on master (will ship in the next release). The new from s7 import Client
client = Client()
client.connect("192.168.0.1", 0, 1) # auto-detects protocol
data = client.db_read(1, 0, 100)Pure Python, no C library, no native dependencies. V2+TLS has been validated in production against real S7-1500 and S7-1200 hardware. |
Uh oh!
There was an error while loading. Please reload this page.
Maybe the answer is never...
But is there a way to do it by-self ? (even if I know OPC UA could replace Snap7)
3 votes ·
All reactions