文件名称:MODBUS
介绍说明--下载内容均来自于网络,请自行研究使用
C#写了一款上位机监控软件,基于MODBUS RTU协议。 软件的基本结构:
采用定时器(Timer控件)为时间片。
串口采用serialPort1_DataReceived中断接收,并进行MODBUS格式判断。
把正确接收的数据取出,转换为有特定的结构体中。
数据通过时间片实时刷新。
MODBUS协议-C# write a PC monitoring software, based MODBUS RTU protocol. The basic structure of the software: using the timer (Timer Control) as a time slice. Serial port using serialPort1_DataReceived interrupt reception, and make judgments MODBUS format. Removing the correctly received data is converted to a specific structural body. Real-time data through the time slice refresh. MODBUS protocol
采用定时器(Timer控件)为时间片。
串口采用serialPort1_DataReceived中断接收,并进行MODBUS格式判断。
把正确接收的数据取出,转换为有特定的结构体中。
数据通过时间片实时刷新。
MODBUS协议-C# write a PC monitoring software, based MODBUS RTU protocol. The basic structure of the software: using the timer (Timer Control) as a time slice. Serial port using serialPort1_DataReceived interrupt reception, and make judgments MODBUS format. Removing the correctly received data is converted to a specific structural body. Real-time data through the time slice refresh. MODBUS protocol
(系统自动生成,下载前可以参看下载内容)
下载文件列表
MODBUS.htm