代码搜索结果
找到约 1,839 项符合
Modbus 的代码
modbus.h
/*
#ifndef __modbus__
#define __modbus__ 1
*/
#include
#include
#include
#include
#include
#include
#include
#include
modbus.lst
C51 COMPILER V7.09 MODBUS 03/27/2007 15:48:08 PAGE 1
C51 COMPILER V7.09, COMPILATION OF MODULE MODBUS
OBJECT MODULE PLACED IN
modbus.c
#include
#define uint unsigned int
//字地址 0 - 255 (只取低8位)
//位地址 0 - 255 (只取低8位)
/* CRC 高位字节值表 */
const uint8 code auchCRCHi[]={
0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0x
modbus.pas
unit Modbus;
{
通讯协议 : Modbus;
}
interface
uses SysUtils;
type
TDevModbus=class
private
//********************************
Addr:integer;
Port:integer;
Baud:integer;
modbus.o
XL
H 3 areas 20 global symbols
M modbus.c
S push_gset1 Ref0000
S push_gset3 Ref0000
S push_gset4 Ref0000
S push_gset5 Ref0000
S pop_gset1 Ref0000
S pop_gset3 Ref0000
S empy16s Ref0000
S pop_
modbus._c
//modbus.c
#include
#include
#include "main.h"
#include "modbus.h"
#include "timer2.h"
#include "led.h"
#define Local
modbus.h
//modbus.h
typedef int MyWord;
typedef char MyByte;
//var
extern volatile unsigned char sendPosi,sendCount;
extern unsigned char receCount;
extern volatile unsigned char GetCntTemp;
ex
modbus._h
//modbus.h
typedef int MyWord;
typedef char MyByte;
//var
extern volatile unsigned char sendPosi,sendCount;
extern volatile unsigned char receCount;
extern volatile unsigned char GetCntTe