代码搜索结果
找到约 1,320 项符合
Modbus 的代码
modbusm.pas
unit ModbusM;
interface
uses
Windows, Messages, SysUtils, Classes, ExtCtrls, Forms;
type
// arreglo de bytes que conforman el mensaje modbus y un puntero al mismo
TDataByte = array o
set.ini
[FENGJI]
daqimidu=1.15
daqiyali=101001
feijijiemian=3.94
[DIANJI]
CT =150
PT =1
VMax =10000
AMax =300
PMax =1250
[MODBUS]
SADDR =11
COMNUM=2
BORDRATE =19200
PURITY =2
DATABITS =8
S
main.c
/*
+---------------------------------------------------------------------------+
| Project: Modbus conventor with ATmega64 |
|
main.c
/*
+---------------------------------------------------------------------------+
| Project: Modbus conventor with ATmega64 |
|
main.c
/*
+---------------------------------------------------------------------------+
| Project: Modbus conventor with ATmega64 |
|
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
mbs.c
#include
unsigned char Mbs_slave; /* slave number */
pthread_t Mbs_thread; /* slave thread */
int Mbs_device; /* slave device */
/********************************************
commun.c
#include
#include
/************************************************************************************
Mb_test_crc : check the crc of a packet
********************************
modbus.h
/*
#ifndef __modbus__
#define __modbus__ 1
*/
#include
#include
#include
#include
#include
#include
#include
#include
mbm.c
#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 wait the end of the t