Question

I have got a Siemens PLC (S7 315-2 PN/DP PLC), which has got a built in Ethernet port.

I want to establish communication between PLC and my PC through TCP/IP (VB.NET based program).

How can it be done ? is any demo or example program available for this ?

Was it helpful?

Solution 2

Libnodave has examples for many languages and VB.NET is one of them. I have used it a lot my self with Pascal and C.

OTHER TIPS

Try also Snap7, 32/64 bit with .NET/mono wrappers ready

If you want to send data based on events you could also use the 315's build-in Ethernet cummunication blocks and send a data packet (like emulated XML or JSON) each time something interresting happens. I did it a few times and it works very well.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top