如何在VB2010中编写启用Modbus的设备 [英] how do I write Modbus enabled equipment in VB2010
本文介绍了如何在VB2010中编写启用Modbus的设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我对编程非常陌生,但是想了解如何发送MODBUS命令,例如,我是否只写了一个以:"开头的字符串,以及从启用了MODBUS的设备接收什么字符串. />
我目前正在使用CUBLOC
I am very new to programming but would like to find out how to send a MODBUS command eg do I just write a string starting with a ":" and what string do I receive from the unit that is MODBUS enabled.
I am currently experimentin with a CUBLOC
推荐答案
进行实验,请参阅MODBUS文档.您可以在本文中找到所有参考: http://en.wikipedia.org/wiki/Modbus [ ^ ].
此外,还有一个.NET实现: http://code.google.com/p/nmodbus/ [ ^ ].
—SA
Refer to MODBUS documentation. You can find all the references in this article: http://en.wikipedia.org/wiki/Modbus[^].
Also, there is a .NET implementation: http://code.google.com/p/nmodbus/[^].
—SA
这篇关于如何在VB2010中编写启用Modbus的设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文