登录
首页 » Windows开发 » Modbus TCP VB.net

Modbus TCP VB.net

于 2023-01-14 发布 文件大小:29.06 kB
0 130
下载积分: 2 下载次数: 1

代码说明:

这是用于阅读和写作 Modbus TCP 寄存器 VB.net 项目。开始是我找示例程序 VB.net 的 Modbus TCP 的通信。然后我一个样例项目在 CodeProject.com,在这里找到:http://www.codeproject.com/Tips/16260/Modbus-TCP-class这是用 C# 语言,由 Stephan 史翠克的 Modbus TCP 通信 VB.net 项目。原始项目包含 2 个项目。我打开所有这一切,与上述网站转换。提出了用 VB 语言的新项目。我选择.Net 2.0 框架。这个新的项目名为 Modbus 样品 vb。在我的新项目,我只是创建一个项目,是由一种形式、 一个模块组成。我将 Modbus TCP 类移至模块 ModbusTCP,和我在 frmStart 中复制所有的 objek 和 frmStart 将它粘贴在我的新项目。它令人惊叹,翻译的剧本是几乎是完美的只有几行错误。下面图片显示错误行在 ModuleTCP 事件 OnReceive,对代码 ElseIf......我不知道还如何修复这条线,所以我将该行更改为唯一 Else。我的新项目完成后,建立了用 VB 语言编写的 Modbus TCP 客户端。我尝试连接到本地 IP 127.0.0.1,Modbus 模拟器和成功,它可以读取和写入寄存器。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 对指定的计算机进行端口的扫描,很简单但很实用
    对指定的计算机进行端口的扫描,很简单但很实用-On the specified computer port scanning is very simple but very practical
    2022-03-05 01:28:22下载
    积分:1
  • This is a list used to achieve the reported number of people one by one out of t...
    这是一个用链表来实现报数的人一个一个出队,输入一个要报的数,并且现输入几个数,则输出按这个报的数依次出队的数-This is a list used to achieve the reported number of people one by one out of teams to enter a number of newspapers, and now enter a few a few, then the output according to the reported number of the team followed a number of
    2022-08-09 00:34:22下载
    积分:1
  • windows下ftp服务端与客户端的实现
    1.ftpServer是一个基于控制台的ftp服务器程序,能够实现大部分的FTP的服务器程序; 2.目录ftp客户端是一个比较简单的ftp程序,但是程序提供了各种接口,能够让读者看法出各种复杂的ftp程序,程序中的各个程序模块均已经实现;
    2023-01-13 22:05:04下载
    积分:1
  • 基于PXA270 嵌入式系统的Windows CE 引导程序设计.pdf
    基于PXA270 嵌入式系统的Windows CE 引导程序设计.pdf-PXA270-based Windows CE embedded system to guide program design. Pdf
    2022-03-02 02:22:16下载
    积分:1
  • VB串口编程源码示例-电子秤
    VB串口编程 现有电子秤台使用串口和计算机进行通讯编写VB来访问串口达到读取电子秤上显示数据该电子秤为BE01型仪表输出为RS-232C标准接口波特率为300-9600、偶校验、7个数据位、2个停止位所有均发送11位ASCII码个起始位在VB中和串口通讯需要引入Control控件MSComm串口通讯Control控件(在Microsoft Comm Control 6.0中)具体如下:Control控件简称:MSC  
    2023-03-20 20:10:04下载
    积分:1
  • 桌面通知源码
    桌面通知管理,制度管理,大事件管理,天气查询,桌面壁纸自定义更换。是企业内部管理,信息通知,宣传的利器。     经过多人团队研发,并投入使用。
    2022-08-26 13:51:33下载
    积分:1
  • VB版的图书馆信息管理系统
    vb版图书馆管理信息系统-vb version of Library Information Management System
    2022-11-01 00:20:03下载
    积分:1
  • Procedure Description: This example shows how to use the 8051 Port 1 connected t...
    程序描述:这个范例说明如何使用8051 的Port 1连接到四颗七段显示器,PORT 0的低4位分别控制这四颗共阳七段显示器,让四颗共阳七段显示器使用扫描的方式轮流显示数字。这四颗七段显示器将显示出自数字时钟PORT 2的P2.0和P2.1分别连接到2个弹跳按钮。*/-Procedure Description: This example shows how to use the 8051 Port 1 connected to four seven-segment display, PORT 0, low 4, respectively to control the total of four seven-segment display yang, so that a total of four seven-segment display yang way of using the scan rotation display the number. This four seven-segment display will show a digital clock from PORT 2 of the P2.0 and P2.1 are connected to the two bounce button.* /
    2022-05-05 04:16:30下载
    积分:1
  • 对采集图像的处理有很好的帮助,能在一定程度上加深地VC++的学习....
    对采集图像的处理有很好的帮助,能在一定程度上加深地VC++的学习.-Collected images have a good deal of help to a certain extent, to deepen VC++ Learning.
    2022-04-18 00:13:18下载
    积分:1
  • turn off the computer by the script .vbs
    turn off the computer by the script .vbs
    2022-12-27 07:45:03下载
    积分:1
  • 696518资源总数
  • 105540会员总数
  • 37今日下载