登录
首页 » SCM » 实现MODBUS RTU的完整代码,做MODBUS RTU网关的很实用。

实现MODBUS RTU的完整代码,做MODBUS RTU网关的很实用。

于 2023-03-22 发布 文件大小:3.57 MB
0 142
下载积分: 2 下载次数: 1

代码说明:

实现MODBUS RTU的完整代码,做MODBUS RTU网关的很实用。-MODBUS RTU SOUCE CODE

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

发表评论

0 个回复

  • C8051F020串口程序,波特率96
    C8051F020串口程序,波特率96-C8051F020 serial procedures, baud rate 9600
    2022-08-24 13:57:27下载
    积分:1
  • OPENGMAX,大家可能都用到过,这里可以和大家分享一些优化的代码,可以共同提高,ARMcode 优化...
    OPENGMAX,大家可能都用到过,这里可以和大家分享一些优化的代码,可以共同提高,ARMcode 优化-OPENGMAX, you may have used before, here we can share some optimized code, can work together to improve, ARMcode optimization
    2023-06-12 13:05:04下载
    积分:1
  • MAX7219 LED驱动程序包括定义和测试程序显示功能
    max7219 led drive program 包括/功能函数定义和测试程序显示-max7219 led drive program includes/function definitions and test procedures show
    2022-08-03 02:06:44下载
    积分:1
  • 一个有关电子时钟的单片机程序,可显示年月日,以及小时,分秒,可以手动修改时间....
    一个有关电子时钟的单片机程序,可显示年月日,以及小时,分秒,可以手动修改时间.-An E clock of the single-chip process, can display date and hour, every minute, can be manually modified.
    2023-06-19 00:35:03下载
    积分:1
  • void InitGoertzel(void) 作用:初始化算法参数 用法:采用算法进行检测前执行一次,如果需要改变参数,调用SetParameter(...
    void InitGoertzel(void) 作用:初始化算法参数 用法:采用算法进行检测前执行一次,如果需要改变参数,调用SetParameter() float CGoertzel::GetMagnitude(unsigned char * sampleData, int length) //算法主接口 作用:对采集下来的音频数据用算法处理,返回一个结果 参数:sampleData-音频数据缓冲地址指针; length-缓冲区尺寸(音频数据数量),字节数; 返回值:返回算法结果。 void SetParameter(DWORD set_SampleRate, DWORD set_TargetFreq, DWORD set_BlockSize) 作用:设置算法参数; 参数:set_SampleRate-音频数据抽样速率; set_TargetFreq-目标信号频率; set_BlockSize-算法数据块尺寸(采样点); 用法:调用本函数后,需要调用一次InitGoertzel(void)才会生效-void InitGoertzel (void) function: initialization algorithm parameters Usage: The algorithm performs a pre-test, if the need to change the parameters, calling SetParameter () float CGoertzel:: GetMagnitude (unsigned char* sampleData, int length)// Algorithm for the main interface role: to collect audio data from the treatment algorithm to return a result parameter: sampleData-audio data buffer address pointer length-buffer size (the number of audio data), number of bytes return value: the return of
    2023-03-11 13:30:04下载
    积分:1
  • 条码读入CPU 1. 与条码读入器的通讯 1.1 采用标准的UART通讯协议,波特率为9600,没有校验位,一个停止位。 1.2 通讯的过程是单工的...
    条码读入CPU 1. 与条码读入器的通讯 1.1 采用标准的UART通讯协议,波特率为9600,没有校验位,一个停止位。 1.2 通讯的过程是单工的,数据流总是从条码读入器到CPU。 1.3 正常的数据传送总是以一个换行符开始,六个数字,以一个回车符结束。 -51
    2023-01-23 17:15:03下载
    积分:1
  • c语言ade7758spi读写寄存器方式
    c语言ade7758spi读写寄存器方式-c language ade7758spi read and write mode register
    2022-02-15 00:07:28下载
    积分:1
  • D/A单片机程序,供单片机爱好者参考
    D/A单片机程序,供单片机爱好者参考-D/A microcontroller procedures for SCM reference lovers
    2022-02-15 13:07:47下载
    积分:1
  • 拷拷贝到你的Keil安装目录下的c51in文件夹中。 工程文件中需设置一下: project...
    拷拷贝到你的Keil安装目录下的c51in文件夹中。 工程文件中需设置一下: project->Option for Target Target1 选Debug页 左侧最下面 Dialog Dll 一般是DP51.DLL,不用修改 Parameter 中是 -P51 在其后加入 -dledkey 即该行看起来应该是这样的: -p51 -dledkey 保存即可 进入调试后,点击:Peripherals,其中多出一个“键盘LED实验仿真板”选择该项即可。-emboss your copy of the Keil installation directory under the decoder bin folder. The project document to be provided as follows : project-gt; Option for Target Target1 election Debug bottom of the left page is generally Dialog Dll DP51.DLL, need not be amended Parameter is- P51 add after-dledkey that the bank should look like this :-p51-can be preserved into dledkey to debug and click : Peripherals, in which more than a "keyboard LED simulation board," which can be chosen.
    2022-01-25 15:16:05下载
    积分:1
  • The use of MCU timer timing, so that the crossroads at the traffic lights turn o...
    利用单片机的定时器定时,令十字路口的红绿灯交替点亮和熄灭,实现主支路路口的交通信号灯控制(尽可能保持主线的畅通,即在通常情况下,保持主线的放行,只有在支线到达时,才放行支线),同时采用LCD显示倒计时时间及当前灯的状态-The use of MCU timer timing, so that the crossroads at the traffic lights turn out light and to achieve the main slip road junction traffic lights control (as far as possible the smooth flow of the main line, that is, under normal circumstances, to maintain the release of the main line, and only arrived at the branch only when the release branch), while using LCD display countdown time and the current state of light
    2022-04-21 01:59:35下载
    积分:1
  • 696516资源总数
  • 106562会员总数
  • 4今日下载