문제

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 ?

도움이 되었습니까?

해결책 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.

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top