代码搜索结果
找到约 1,839 项符合
Modbus 的代码
modbus51.hex
:100256000000C0C1C1810140C30103C00280C24188
:10026600C60106C00780C7410500C5C1C481044058
:10027600CC010CC00D80CD410F00CFC1CE810E4008
:100286000A00CAC1CB810B40C90109C00880C84118
:10029600D80118C0198
modbus_51.c
//modbus部分协议的简单实现(51,C)2006年10月27日 星期五 下午 10:27
//modnus RTU 帧
// 起始 设备地址 功能代码 数据 CRC校验 结束
// 至少3.5T 8BIT 8BIT N个8BIT 16BIT 至少3.5T
//从设备
#include
#inc
modbus.m51
BL51 BANKED LINKER/LOCATER V5.12 02/26/2006 22:47:28 PAGE 1
BL51 BANKED LINKER/LOCATER V5.12, INVOKED BY:
C:\KEIL\C51\BIN\BL51.EXE D:\MODBUS样品\MODBUS.OBJ TO D:\MODBUS样品\MODBUS RS
modbus16.c
#include "main.h"
//字地址 0 - 255
//位地址 0 - 255
/* CRC 高位字节值表 */
const uint8 auchCRCHi[] = {
0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0,
0x80, 0x41, 0x00, 0xC1, 0x81, 0x40,
modbus_client.lst
1 .file "modbus_client.c"
2 .arch atmega8
3 __SREG__ = 0x3f
4 __SP_H__ = 0x3e
5 __SP_L__ = 0x3d
6
modbus_sever.c
/*============================================================================*/
//CRC Tables
unsigned char const auchCRCHi_exp[] PROGMEM = {
0x00, 0xc1, 0x81, 0x40, 0x01, 0xc0, 0x80, 0x41, 0
modbus_client.c
#include "modbus_client.h"
#ifndef _PGM
#define _PGM
#include
#endif
//=========================================
// 返回CRC校验结果
//=======================================
modbus_client.h
#ifndef _MB_CLIENT
#define _MB_CLIENT
#include
#include
#include
#include "485.h"
#define TRUE 1
#define FALSE 0
#define UINT16 unsigned int
#define