代码搜索结果
找到约 1,320 项符合
Modbus 的代码
modbus.c
//****************************************************************************
// 文件名: MODBUS.C
// 功 能: 实现从机MODBUS功能,负责接收主机命令,校验,应答
// 规 范: 使用RTU 模式CRC校验
// 串 口: 1位起始位,8位数据位,无校验位,1位
scanguide.txt
1. ModScan Overview
1.1 Document/View Architecture
1.2 Modbus Data Definition
1.3 Display Formats
1.4 Connecting to a Modbus Network
1.4.1 Direct Serial Connections
1.4.2 Modem Connect
modbus.h
/*********************************************************************
* FileName : modbus.h
* Author : Jack Zhang
* Date : 06/6/2008
*************************************************
8052.asm
Modbus code. (c)2005 Russell Bull.
;
; this module implements the Modbus rx/tx code and the register
; structure.
; In order to save ram, certain modbus registers are only imp
makefile
#
# FILE:
# Makefile
#
# FUNCTION:
# Makefile for modbus
CC=gcc
NAME=libmodbus
VERSION=0.0.4
CFLAGS = -Wall -O3
all: libmodbus
libmodbus: commun.o mbs.o mbm.o mbdialer.o
$(CC) $(CFLAGS) -o lib
slave-example.c
#include
/* compiling : gcc slave-example.c -o slave-example -lmodbus */
void answer_sended(int function, int address, int length)
{
printf("packet sended : function 0x%x \t address 0x
makefile
#
# FILE:
# Makefile
#
# FUNCTION:
# Makefile for modbus
CC=gcc
NAME=libmodbus
VERSION=0.0.4
CFLAGS = -Wall -O3
all: libmodbus
libmodbus: commun.o mbs.o mbm.o mbdialer.o
$(CC) $(CFLAGS) -o lib
slave-example.c
#include
/* compiling : gcc slave-example.c -o slave-example -lmodbus */
void answer_sended(int function, int address, int length)
{
printf("packet sended : function 0x%x \t address 0x
modbus.txt
#include "config.h"
#include "Modbus.H"
#include "Initializes.H"
#include "Founction.H"
#include "Interrupt_service.H"
#include "RS485.H"
//====================================================
modbus.lst
C51 COMPILER V7.06 MODBUS 03/16/2005 16:48:06 PAGE 1
C51 COMPILER V7.06, COMPILATION OF MODULE MODBUS
OBJECT MODULE PLACED IN