文件名称:CSharpModBus
- 所属分类:
- 串口编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2015-04-02
- 文件大小:
- 54kb
- 下载次数:
- 0次
- 提 供 者:
- 大*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
C#写了一款上位机监控软件,基于MODBUS_RTU协议。 软件的基本结构:
采用定时器(Timer控件)为时间片。
串口采用serialPort1_DataReceived中断接收,并进行MODBUS格式判断。
把正确接收的数据取出,转换为有特定的结构体中。
数据通过时间片实时刷新。-C# write a PC monitoring software, based on MODBUS_RTU agreement. The basic structure of the software:
Using the Timer (Timer control) for the time slice.
A serial port using serialPort1_DataReceived interrupt receiving, judgment and MODBUS format.
Take out the correct the received data, converted to have a specific structure in the body.
Through the time slice data real-time refresh.
采用定时器(Timer控件)为时间片。
串口采用serialPort1_DataReceived中断接收,并进行MODBUS格式判断。
把正确接收的数据取出,转换为有特定的结构体中。
数据通过时间片实时刷新。-C# write a PC monitoring software, based on MODBUS_RTU agreement. The basic structure of the software:
Using the Timer (Timer control) for the time slice.
A serial port using serialPort1_DataReceived interrupt receiving, judgment and MODBUS format.
Take out the correct the received data, converted to have a specific structure in the body.
Through the time slice data real-time refresh.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
CSharpModBusExample\App.config
...................\bin\Debug\CSharpModBusExample.exe
...................\...\.....\CSharpModBusExample.exe.config
...................\...\.....\CSharpModBusExample.pdb
...................\...\.....\CSharpModBusExample.vshost.exe
...................\...\.....\CSharpModBusExample.vshost.exe.config
...................\...\.....\CSharpModBusExample.vshost.exe.manifest
...................\ClassDiagram1.cd
...................\CSharpModBusExample.csproj
...................\ILog.cs
...................\ModBusSerialPortWrapper.cs
...................\ModBusTCPIPWrapper.cs
...................\ModBusWrapper.cs
...................\obj\x86\Debug\CSharpModBusExample.csproj.FileListAbsolute.txt
...................\...\...\.....\CSharpModBusExample.exe
...................\...\...\.....\CSharpModBusExample.pdb
...................\...\...\.....\CSharpModBusExample.Properties.Resources.resources
...................\...\...\.....\CSharpModBusExample.TestModBus.resources
...................\...\...\.....\DesignTimeResolveAssemblyReferences.cache
...................\...\...\.....\DesignTimeResolveAssemblyReferencesInput.cache
...................\...\...\.....\GenerateResource.read.1.tlog
...................\...\...\.....\GenerateResource.write.1.tlog
...................\Program.cs
...................\...perties\AssemblyInfo.cs
...................\..........\Resources.Designer.cs
...................\..........\Resources.resx
...................\..........\Settings.Designer.cs
...................\..........\Settings.settings
...................\SocketWrapper.cs
...................\TestModBus.cs
...................\TestModBus.designer.cs
...................\TestModBus.resx
...................\ValueHelper.cs
CSharpModBusExample.sln
...................\obj\x86\Debug\TempPE
...................\...\...\Debug
...................\bin\Debug
...................\...\Release
...................\obj\x86
...................\bin
...................\obj
...................\Properties
CSharpModBusExample
CSharpModBus.sln