代码搜索结果

找到约 1,320 项符合 Modbus 的代码

dlggroupaddr.cpp

// DlgGroupAddr.cpp : implementation file // #include "stdafx.h" #include "maintain.h" #include "DlgGroupAddr.h" #include "mainfrm.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE

public.h

#ifndef _MAINTAIN_STRUCT #define _MAINTAIN_STRUCT #define GY_FDK 1 //规约类型 fdk #define GY_CDT 2 //规约类型 cdt #define GY_DF0420 3 //规约类型 df0420和df0241 #define GY_MODBUS 4 //规约类型 modbus #defi

modbus.c

#include "main.h" //字地址 0 - 255 (只取低8位) //位地址 0 - 255 (只取低8位) /* CRC 高位字节值表 */ const uint8 code auchCRCHi[] = { 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 0x0

main.c

#include "main.h" /****************************** 微控电子 www.mcuc.cn modbus RTU 的C51程序 单片机89S52 通信波特率 9600 8位数据 1位停止位 偶校验 485通位接口 单片机控制板地址 localAddr(变量) 通信可设置数据的地址: 字地址 0 - 255 (只取16位的低8位) 位

main.opt

### uVision2 Project, (C) Keil Software ### Do not modify ! cExt (*.c) aExt (*.s*; *.src; *.a*) oExt (*.obj) lExt (*.lib) tExt (*.txt; *.h; *.inc) pExt (*.plm) CppX (*.cpp) DaveTm {

modbus.c

#include "main.h" //字地址 0 - 255 (只取低8位) //位地址 0 - 255 (只取低8位) /* CRC 高位字节值表 */ const uint8 code auchCRCHi[] = { 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 0x0

main.uv2

### uVision2 Project, (C) Keil Software ### Do not modify ! Target (Target 1), 0x0000 // Tools: 'MCS-51' Group (Source Group 1) File 1,2, 0x0 File 1,1,