嗨任何人都可以告诉我如何通过C#通信PLC控制器 [英] Hi Any one Can tell me how to communicated PLC Controller through C#

查看:50
本文介绍了嗨任何人都可以告诉我如何通过C#通信PLC控制器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从PLC(可编程逻辑控制器)通过LAN上的C#应用​​程序读取数据而不使用任何第三方.dll

I want to read data from PLC (Programable Logical Controler) Through C# application over LAN without using any third party .dll

推荐答案

下面是一些链接经过这个: -



http://infosys.beckhoff.com/english.php?content=../content/1033/tcsample_net/html/webservice_sample_cs.htm&id= [ ^ ]



https://www.automation.siemens.com/WW/forum/guests/PostShow.aspx?PageIndex=1&PostID=350012&Language=en [<一个HREF =https://www.automation.siemens.com/WW/forum/guests/PostShow.aspx?PageIndex=1 & PostID = 350012& Language = entarget =_ blanktitle =New Window> ^ ]
Below are some links go throught this:-

http://infosys.beckhoff.com/english.php?content=../content/1033/tcsample_net/html/webservice_sample_cs.htm&id=[^]

https://www.automation.siemens.com/WW/forum/guests/PostShow.aspx?PageIndex=1&PostID=350012&Language=en[^]


首先获取您正在使用的PLC的技术文档。



然后学习如何在C#中实现一个简单的tcp客户端。例如: http://www.csharp-examples.net/socket-send-receive/ [ ^ ]



然后连接到您的设备并使用技术信息发送一些命令。



这是一个例子,可能是值:使用.NET进行PLC通信 [ ^ ]
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[^]


这篇关于嗨任何人都可以告诉我如何通过C#通信PLC控制器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆