代码搜索结果
找到约 1,839 项符合
Modbus 的代码
main.c
//ICC-AVR application builder : 2004-10-27 10:06:29
// Target : M16
// Crystal: 8.0000Mhz
/*****************************************************
微控电子 www.mcuc.cn
modbus RTU 的mega16程序,使用ICCAVR编译
mbdialer.c
#include
#include
#include
int Mb_device; /* device tu use */
int Mbm_Pid_Child; /* PID child used to read the slave answer */
int Mbm_Pid_Sleep; /* PID use to wa
mbdialer.c
#include
#include
#include
int Mb_device; /* device tu use */
int Mbm_Pid_Child; /* PID child used to read the slave answer */
int Mbm_Pid_Sleep; /* PID use to wa
frmmain.frm
VERSION 5.00
Object = "{43715ED3-EE9F-4827-A03F-1C1C99883974}#1.0#0"; "Moubus.ocx"
Begin VB.Form frmMain
BorderStyle = 3 'Fixed Dialog
Caption = "Modbus Client demo"
Cl
frmmain.frm
VERSION 5.00
Object = "{43715ED3-EE9F-4827-A03F-1C1C99883974}#1.0#0"; "Moubus.ocx"
Begin VB.Form frmMain
BorderStyle = 3 'Fixed Dialog
Caption = "Modbus Client demo"
Cl
message_storage.h
#ifndef _MES_STOR
#define _MES_STOR
#include "modbus_client.h"
#define ERROR 0
#define OK 1
//----循环队列------
#define MAXQSIZE0 3
#define MAXDATASIZE0 30
#define MAXQSIZE1 3
#define MA
main.c
#include"485.h"
#include"modbus_client.h"
extern UINT16 Get_CRC ( BYTE *, BYTE);
extern void message_storage(BYTE *,BYTE,BYTE);
extern EQUIPMENT_PARAMETER EQUIPMENT_PARAMETER_TABLE[MAX_EQU_NUM
发送文件txd.txt
发送文件txd.c
#include "ModBus.h"
//--------公有函数和变量-------
StrTxd xdata sys_txd;
/****************************************/
uint8 lchksum(uint8 data_len); //求LENTH_SUM函数
void txd_sta(void)
mbserver.cpp
// mbserver.c V2.1 1/18/01
// example multi-session Modbus/TCP server supporting class 0 commands
// This program should work under UNIX (as C or C++) or Win32 (as C or C++)
// the symbol WIN32
txd.c
发送文件txd.c
#include "ModBus.h"
//--------公有函数和变量-------
StrTxd xdata sys_txd;
/****************************************/
uint8 lchksum(uint8 data_len); //求LENTH_SUM函数
void txd_sta(void)