代码搜索结果

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

modbus.txt

01 03 00 01 00 04 15 C9

modbus.h

/********************************************************************* * FileName : modbus.h * Author : Jack Zhang * Date : 06/6/2008 *************************************************

modbus.h

/* #ifndef __modbus__ #define __modbus__ 1 */ #include #include #include #include #include #include #include #include

modbus.h

/* #ifndef __modbus__ #define __modbus__ 1 */ #include #include #include #include #include #include #include #include

modbus.txt

#include "config.h" #include "Modbus.H" #include "Initializes.H" #include "Founction.H" #include "Interrupt_service.H" #include "RS485.H" //====================================================

modbus.c

#include"pic18.h" #define crl RB1 unsigned char checkerror,recetimeout,localaddr=0x01; unsigned char rececount=0,rececount_temp=0, flag_time0=0; unsigned char send_buf[64]; unsigned char rec

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