Click here to Skip to main content
15,891,633 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to read data from PLC (Programable Logical Controler) Through C# application over LAN without using any third party .dll
Posted
Comments
Mehdi Gholam 21-Nov-14 0:33am    
Try contacting the PLC vendor for a SDK.

Firstly obtain the technical documentation for the PLC you are using.

Then learn how to implement a simple tcp client in C#. For example: http://www.csharp-examples.net/socket-send-receive/[^]

Then connect to your device and using the technical information you have send it some commands.

Here is an example which may be of value: PLC Communication Using .NET[^]
 
Share this answer
 
v2
Comments
vishavajeet 24-Nov-14 5:01am    
thanks for reply , I tried with socket program connection is established, but still no data recived

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