-
三个串行通信方式的6个在窗口中被引入…
用VC 6.0实现串行通信的三种方法
本文介绍了在Windows平台下串行通信的实现机制,讨论了根据不同的条件用
Visual C++ 设计串行通信程序的三种方法,并结合实际,实现对温度数据的接收监控。
-VC 6.0 of the three serial communication method is introduced in the Windows platform to achieve the serial communication mechanism discussed under different conditions using Visual C serial communication program design of the three methods, and the light of reality, the temperature monitoring data reception.
- 2022-07-06 22:11:05下载
- 积分:1
-
this document is in the development process of serial experiences
本文档是我在开发串口程序的心得-this document is in the development process of serial experiences
- 2022-11-13 18:00:03下载
- 积分:1
-
网吧计费管理系统,非常好用的客户端程序。大家下看看,提供数据库...
网吧计费管理系统,非常好用的客户端程序。大家下看看,提供数据库-Internet cafe billing management system, a very useful client program. We next look at the provision of a database
- 2022-04-06 19:42:10下载
- 积分:1
-
x86 protected mode on the dissertation, in a very detailed, there are many plans...
关于x86保护模式的毕业论文,讲的非常详细,有很多图,对学习x86保护模式编程是非常好的文档-x86 protected mode on the dissertation, in a very detailed, there are many plans for the study and protection of the x86 mode programming is a very good document
- 2022-02-05 01:12:59下载
- 积分:1
-
该tcl文件详细介绍了如何在ns2下使用xgrapg工具来分析trace文件
该tcl文件详细介绍了如何在ns2下使用xgrapg工具来分析trace文件-this tcl file
- 2023-07-18 14:30:02下载
- 积分:1
-
一个基于TCP/IP的客户端与服务端的简单模拟程序
一个基于TCP/IP的客户端与服务端的简单模拟程序-a TCP/IP client and the server"s simple simulation program
- 2023-04-24 02:30:03下载
- 积分:1
-
Complete website design and code of the thesis can be used as a thesis and clear...
完整的网站设计的毕业论文及代码,可以作为毕业论文使用,很清晰的设计-人才信息管理-Complete website design and code of the thesis can be used as a thesis and clear design- human resources information management
- 2022-01-22 15:49:07下载
- 积分:1
-
贝叶斯滤波的C++类库
贝叶斯滤波如卡尔曼滤波,粒子滤波等,给定一线性或非线性动态系统,用已知的观测数据和动态向量求后验概率。该资源是贝叶斯滤波器的C++类库,里面包括卡尔曼滤波(kalman filter)、粒子滤波(particlefilter)等。希望对想用C++实现滤波算法的同学有所帮助!
- 2023-03-05 01:00:04下载
- 积分:1
-
socket通讯类封装,适合C++编程引用,简单明了,可以喝ftp.tar结合使用。...
socket通讯类封装,适合C++编程引用,简单明了,可以喝ftp.tar结合使用。-socket Communication package for C++ programming reference, simple and clear, you can drink ftp.tar used in combination.
- 2023-04-11 12:10:03下载
- 积分:1
-
移植国外STM32F103 MODBUS RTU代码
应用背景
STM32和维纶触摸屏通信,编译可以直接下载通信。波特率9600.测试是可以直接使用的了。需要增加什么功能就自己添加了。
功能码
定 义
操 作(二进制)
0x01
读开关量输出
读取一路或多路开关量输出状态数据
0x02
读开关量输入
读取一路或多路开关量状态输入数据
0x03
读取保存寄存器
读取一个或多个保存寄存器的数据
0x04
读取输入寄存器数据
读取输入一个或多个寄存器的数据
0x05
强置单线圈
强置一个逻辑线圈的通断状态
0x06
写单路寄存器
把一组二进制数据写入单个寄存器
0x10
写多路寄存器
把多组二进制数据写入多个寄存器
0X0F
写开关量输出
写多个开关量
控制一路继电器“合/分”输出
关键技术
这个代码要在keil4.7的编译环境下才能编译通过。直接可以下载使用,移植于国外的MODBUS的开源通信协议。和硬件的485配套使用。
ModBus协议定义了一个控制器能认识使用的消息结构,而不管它们是通过何种网络进行通信的,它制定了消息域的格局和内容的公共格式,
描述了一个控制器请求访问其它设备的过程,回应来自其它设备的请求,以及如何侦测并记录错误信息。
通过此协议,控制器相互之间、控制器经由网络(例如以太网)和其它设备之间可以完成信息和数据的交换与传送,
使各种不同的公司和厂家的可编程顺序控制器(PLC)、RTU、SCADA系统、DCS或与兼容ModBus协议的第三方设备之间可以连成工业网络,
构建各
- 2022-12-08 01:10:04下载
- 积分:1