I am new to snap7. Reading the documentation, i didn't quite understand how to connect to a PLC with following parameters:
2 connections with connection type "TCP Connection" with no active partner. One is for "fetch passive" with <local address="">:<local port=""> and one for "write passive" <local address="">:<local port="">. Could you throw me some hints(which API) how to achieve this? </local></local></local></local>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I am new to snap7. Reading the documentation, i didn't quite understand how to connect to a PLC with following parameters:
2 connections with connection type "TCP Connection" with no active partner. One is for "fetch passive" with <local address="">:<local port=""> and one for "write passive" <local address="">:<local port="">. Could you throw me some hints(which API) how to achieve this? </local></local></local></local>
There is no fetch/write.
The communication is handled by the firmware of the CPU, you don't need of configuring anything.
Have a look to the examples.
I am trying so simulate PLC and create a server with such "behaviour". PLC settings are set like this.
Have a look at S7Server