Click here to Skip to main content
15,881,898 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more: , +
Hello Experts,
I am conversant with PLC programming but I am developing a PC interface wherein I am required to read status of Digital Inputs for further processing.
I need help in establishing Ethernet communication between Siemens S7-200 Smart PLC and my windows application (Which I will develop in Visio Studio-2012).
Please ask for additional details.
I am Eager to receive some suggestion for this.

What I have tried:

So far I have tried some free program library like libnodave and SNAP7 but have not succeeded.
Posted
Updated 2-Nov-16 1:28am
Comments
[no name] 1-Nov-16 12:25pm    
What help do you need or expect from us? What did the manual say for your PLC? What did the technical support people say when you asked them?

You need to study the device documentation to check what protocol it supports. you can then use the relevant .NET class to connect.
 
Share this answer
 
Comments
Sushil Mishra 1-Nov-16 22:52pm    
Protocol is Profinet.
Richard MacCutchan 2-Nov-16 4:41am    
Is that supposed to mean something?
Ralf Meier 2-Nov-16 7:32am    
@Richard:
No ... that means nothing. ProfiNet is a bus-protocol based on EtherNet.
The problems of the OP come from the handling (or not-handling) of the library he uses.
So originally the text of your answer had better be : "you need to study the documentation of the LibNoDave-Library ..." - but in sum you are right ...
Richard MacCutchan 2-Nov-16 7:38am    
I know that. I was just trying to prompt the OP to think about his/her problem, rather than posting vague messages.
The LibNoDave-Library nowadays is much improved by a guy named "Jochen Kuehner". He also made a lot of samples to work with it.
If you want more Information you should post this question in the German PLC-Forum www.SPS-Forum.de.
Here you could also contact Jochen Kühner for more Information.

But also there is much more Information about your code (and so on) required.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900