如何传输和接收从继电器到PC的数据以及从PC到继电器的数据.. [英] how to transmit and receiverom the data from relay to pc and pc to relay..

查看:91
本文介绍了如何传输和接收从继电器到PC的数据以及从PC到继电器的数据..的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在MFC中工作,我想知道如何使用MODBUS协议从PC接收数据并将数据传输到一个控制器.

[edit]更改了结构,取消了大写字母,并为问题本身设置了5.[/edit]

I''m working in MFC and I would like to know how to use the MODBUS protocol to receive and transmit data to one controller from/to the pc.

[edit]changed structure, decapitalized and a 5 for the question itself[/edit]

推荐答案

ufff ...

让我们看看...我知道一个人会在2秒内回答这个问题...

让我们看看我们能做什么...

您可以通过下载/了解协议规范开始: http://www.modbus.org/specs.php [ ^ ].

您可以在同一页面上下载规格: http://www.modbus.org/docs/PI_MBUS_300.pdf [^ ]

到达/阅读该页面后,您可以继续进行此操作,在该页面中,您将能够下载一些库,activex或其他资源,以使您的生活更轻松:
ufff...

let''s see... I knew a guy who would have answered this in 2 secs...

Let''s see what we can do...

You can start by downloading/learning about the protocol specs: http://www.modbus.org/specs.php[^].

In this same page you can download the specs: http://www.modbus.org/docs/PI_MBUS_300.pdf[^]

Once you''ve reached / read that page, then you could proceed to this one in which you will be able to download some libraries, activex or other resources that will make your life easier: http://www.modbus.org/tech.php[^].

Hope this helps! :thumbsup:


这篇关于如何传输和接收从继电器到PC的数据以及从PC到继电器的数据..的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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