Hi,
I would try to implement a new protocol for hmi server for Siemens S7, using snap7 library and python-snap7 wrapper. Any hints on where and how to start?
Thanx
Michael
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Michael,
I'm very sad about this great project, there are a very poor activity.
You can take two insigths to do this job:
Generic client. This is Michael Griffin's recommended way. It allow a greater integration level with the whole suite and its system management tools. I can't tell you much more about that, since not dug on it; I think this is the way if you have enough time to spent.
S7 to Modbus wrapper. I did some tests using python-libnodave at github (instead python-snap7), and was straigthforward to get a AS511 s5 working connection using Python. In the modbus side, you can use pymodbus, which is a really easy library for fast modbus project deployment. Since HmiServer acts a modbus TCP client, the natural way is to write your custom Modbus TCP server who can act as S7 protocol client on the Siemens side. I think this option is faster, and also you can use with further modbus apps than mblogic.
ALSO, if you atempt to connect to a S7-1200, it is a MB TCP server itself.
Last edit: mario jorge recio lozano 2015-09-12
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I would try to implement a new protocol for hmi server for Siemens S7, using snap7 library and python-snap7 wrapper. Any hints on where and how to start?
Thanx
Michael
Hi Michael,
I'm very sad about this great project, there are a very poor activity.
You can take two insigths to do this job:
Generic client. This is Michael Griffin's recommended way. It allow a greater integration level with the whole suite and its system management tools. I can't tell you much more about that, since not dug on it; I think this is the way if you have enough time to spent.
S7 to Modbus wrapper. I did some tests using python-libnodave at github (instead python-snap7), and was straigthforward to get a AS511 s5 working connection using Python. In the modbus side, you can use pymodbus, which is a really easy library for fast modbus project deployment. Since HmiServer acts a modbus TCP client, the natural way is to write your custom Modbus TCP server who can act as S7 protocol client on the Siemens side. I think this option is faster, and also you can use with further modbus apps than mblogic.
ALSO, if you atempt to connect to a S7-1200, it is a MB TCP server itself.
Last edit: mario jorge recio lozano 2015-09-12