如何使用以太网与delta DVP plc通信? [英] How to Communicate with delta DVP plc with ethernet ?

查看:135
本文介绍了如何使用以太网与delta DVP plc通信?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



i我正在使用C#.net而我的问题是关于通过以太网连接通过PLC传递数据。



i已将PLC与c#.Net TCPClient方法连接起来。



i编写如下代码:



tcpclient.connect(ipadress,portNum)

即tcpclient.connect(192.168.1.5,502);



建立连接。但现在问题在于将数据传递给PLC。

如何读取/写入Delta DVP PLC的数据?

之前我已经使用相同的PLC进行了RS232连接并且工作正常。
这个RS232连接的
代码是:



serialport.writeline(010105100001E8);

和它工作正常。那么如何在以太网连接中写入相同的线路?



以太网的字符串是否相同?即010105100001E8对于以太网是否相同?





请帮我解决这个问题,因为我是Pl​​C世界的新手。

Hello,

i am using C#.net and my question is about Passing data through PLC via Ethernet Connection.

i have connected PLC with c#.Net TCPClient methods.

i have written below code :

tcpclient.connect(ipadress,portNum)
i.e tcpclient.connect(192.168.1.5,502);

The connection is established. But now problem comes in passing data to PLC.
How to read/write data to Delta DVP PLC?
i have done RS232 connection with same PLC before and it worked Properly.
code for that RS232 connection was:

serialport.writeline("010105100001E8");
and it worked Properly. so how to write same line in Ethernet connection ?

the String will be same for Ethernet? i.e. "010105100001E8" will be same for Ethernet ?


Please help me in this problem as i am new to PlC world.

推荐答案

我强烈建议您从制造商开始: http://www.deltaww.com/Products/CategoryListT1.aspx?CID=060301&PID=ALL&hl=en-US [ ^ ]并查看他们的支持页面上是否有任何示例应用程序 - 他们似乎有一个下载部分,所以我从那里开始。



他们真的应该成为你的第一联系人 - 如果他们无法帮助你(他们应该能够),那么他们需要知道,这样他们可以在以后帮助其他人!



这不是Delta PLC特定站点,所以你会这样做我们不得不希望具有您所使用的确切模型的特定经验的人正在阅读并能及时回复。去制造商几乎肯定更快更准确!
I'd strongly suggest that you start with the manufacturers: http://www.deltaww.com/Products/CategoryListT1.aspx?CID=060301&PID=ALL&hl=en-US[^] and see if there are any sample applications on their support pages - they would appear to have a "downloads" section, so I'd start there.

They really should be your first point of contact - if they can't help you (and they should be able to) then they need to know so they can help others in your position later!

This is not a Delta PLC specific site, so you would have to hope that someone with specific experience of the exact model you are using is reading and can respond in a timely manner. Going to the manufacturers is almost certainly quicker and more accurate!


你最终找到了解决方案吗?
Did you find a solution eventually?


这篇关于如何使用以太网与delta DVP plc通信?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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