如何从RS485到以太网转换器读取数据 [英] How to Read Data from RS485 to Ethernet Converter

查看:697
本文介绍了如何从RS485到以太网转换器读取数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请任何人帮我这个。我需要通过以太网端口读取RS485转换器数据

我的Etheernet IP连接到程序切换我需要读取远程ip端口

please any one help me on this.I need to read RS485 converter data via Ethernet port
my Etheernet IP is connected to switch from program i need to read remote ip port

推荐答案

没有读远程IP端口这样的东西。



它只是说你需要使用TPC / IP堆栈。首先,这一切都取决于你在电缆的另一端有什么,以及那里实施的协议。如果安装了.NET,则可以实现TCP / IP堆栈。因此,根据连接到电缆另一端的系统文档,您需要使用一些基于IP的协议(IP,这里的意思是Internet协议)。



在.NET端,首先请看: http://msdn.microsoft.com/en-us/library/System.Net.Sockets%28v=vs.110%29.aspx [ ^ ]。



另请参阅: http://en.wikipedia.org/wiki/Internet_protocol_suite [ ^ ]。



-SA
There is no such thing as "read remote IP port".

It just says that you need to use TPC/IP stack. First of all it all depends on what do you have on the other end of the cable and what protocols are implemented there. If you have .NET installed, you have implementation of TCP/IP stack. So you need to use some IP-based protocol ("IP" here means "Internet Protocol") according to the documentation on the system attached to the other end of your cable.

On the .NET end, first of all, please see: http://msdn.microsoft.com/en-us/library/System.Net.Sockets%28v=vs.110%29.aspx[^].

See also: http://en.wikipedia.org/wiki/Internet_protocol_suite[^].

—SA


这篇关于如何从RS485到以太网转换器读取数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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