登录
首页 » 嵌入式系统 » Modbus C#

Modbus C#

于 2022-09-28 发布 文件大小:46.37 kB
0 211
下载积分: 2 下载次数: 1

代码说明:

对于 C#,Modbus 协议用于 RFID 项目,通过网络处理数据。示例:公共静态字符串 ParseModbusResponsePacket (字节 [] 数据包){试着{int dataLength = 包 [2]-6 ;字节 [] 然后 = 新字节 [dataLength] ;Array.Copy (数据包,9,然后为 0,dataLength) ;字符串数据 = BinaryToString(dataByte) ;返回的数据 ;}捕捉 (ex 的异常){投掷 (ex) ;}}从服务器获取数据并进行分析。

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

发表评论

0 个回复

  • 一个可以在三星S3C44B0上运行的uc/os‖代码。
    一个可以在三星S3C44B0上运行的uc/os‖代码。-a ucosii source code, can run on s3c44b0
    2022-02-12 23:01:10下载
    积分:1
  • PIC18F45K22的几个小程序
    基于PIC18F45K22的几个小程序,主要程序有1,闪烁的LED(16MHz) 02  从左到右的流水灯 03  8只LED左右来回点亮 06  单只数码管循环显示0~9  07  8只数码管滚动显示单个数字 08  8只数码管动态显示多个不同字符
    2022-03-19 02:39:52下载
    积分:1
  • 嵌入式系统MP3解码的c语言算法,非常棒的哦!
    嵌入式系统MP3解码的c语言算法,非常棒的哦!-Embedded System MP3 decoding algorithm c language, terrific!
    2022-06-21 12:37:52下载
    积分:1
  • 在嵌入式系统DeltaSYSTEM中实现PING主机,TCP服务器,TCP客户端,UDP服务器,UDP客户端的程序
    在嵌入式系统DeltaSYSTEM中实现PING主机,TCP服务器,TCP客户端,UDP服务器,UDP客户端的程序-in Embedded System DeltaSYSTEM achieve PING mainframe, TCP server, TCP Client, UDP server, the client UDP procedures
    2022-01-25 17:43:00下载
    积分:1
  • 这是支持MF RC500 MIFARE 读写集成电路IC的有关射频设计的应用笔记。意在提供对MIFARE 射频接口(ISO 14443A)所需的理解来设计具体天...
    这是支持MF RC500 MIFARE 读写集成电路IC的有关射频设计的应用笔记。意在提供对MIFARE 射频接口(ISO 14443A)所需的理解来设计具体天线应用和匹配电路,为了使无接触MIFARE卡通信有最优表现。本文给出了系统的RF部分背景,以及如何为标准应用设计和调试天线的过程概述。详细说明了两种不同的天线和匹配概念以及它们的设计实例。还描述了完整的调试天线的步骤。作为附件的一部分,有兴趣的读者会发现RF接口的详细理论描述-This is to support reading and writing IC MF RC500 MIFARE RF IC design of the Application Notes. Intended to provide MIFARE RF Interface (ISO 14443A) designed to understand the requirements of specific applications and antenna matching circuits, in order to make contactless MIFARE cards have the best communication performance. In this paper, the RF part of the background of the system, as well as standard application for the design and debugging process of an overview of the antenna. Detailed description of the two different concepts of antennas and matching, as well as their design. Also a complete description of the steps to debug the antenna. As part of the annex, interested readers will find the detailed theory of RF Interface Description
    2022-01-22 03:20:32下载
    积分:1
  • Taiwan s Advantech PCM
    台湾研华 PCM-3718HO 手册 可用于嵌入式开发-Taiwan s Advantech PCM-3718HO manual can be used for embedded development
    2022-06-02 19:06:25下载
    积分:1
  • 嵌入式linux下关于mtd层源代码分析
    嵌入式linux下关于mtd层源代码分析-Embedded linux on the MTD layer under the source code analysis
    2022-02-01 11:23:29下载
    积分:1
  • NEC实现电机控制的芯片资料,包括步进电机和直流电机都可以控制,资料是中文的。...
    NEC实现电机控制的芯片资料,包括步进电机和直流电机都可以控制,资料是中文的。-NEC to achieve motor control chip, including stepper motors and DC machines can be controlled, the information is in Chinese.
    2022-10-20 03:25:03下载
    积分:1
  • STM32F107 1串口转3串口 中断透传
    STM32F107的代码,使用串口1主串口  拖着234三个串口 实现透传功能 串口1 接收到FB开头的指令会做自动分拣,自动转发给指定串口,其余串口收到相应指令后会转发给串口1
    2022-01-25 14:58:25下载
    积分:1
  • 1instrument_OBD
    在AVR,STM,PIC单片机下开发OBDII源代码,支持CAN总线。 In the AVR, STM, PIC microcontroller development under the OBDII source code, support CAN bus. 
    2022-02-04 07:52:25下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载