代码搜索:modbus rtu 通信
找到约 10,000 项符合「modbus rtu 通信」的源代码
代码结果 10,000
www.eeworm.com/read/222988/14666122
pdf modbus.pdf
www.eeworm.com/read/220978/14781072
pdf modbus协议.pdf
www.eeworm.com/read/115366/15016164
c modbus.c
//第一步成功,可以通讯,记住:P1.3 为0输出485,为1输入485
//拨特率正确,中断正确
//串口1为仪表串口,串口2为实际MODBUS串口
//模拟量地址范围0000----0008 共8个数据,长度按前后减
#include
#define modbus_delay 10000 //读继电器
#def
www.eeworm.com/read/216058/15027981
doc modbus.doc
www.eeworm.com/read/215102/15075154
h modbus.h
#include "class.h"
#include "extern.h"
static INT8U auchhi[] = {
0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81,
0x40, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC
www.eeworm.com/read/215102/15075167
cpp modbus.cpp
#include "modbus.h"
//#include "extern.h"
#define READ_DI 0x02
#define READWORD 0x03
#define READ_AI 0x04
#define SET_COIL 0x05
void CModbus::send_yxyc()
{
INT16U temp;
askb
www.eeworm.com/read/215102/15075171
obj modbus.obj
www.eeworm.com/read/213470/15134215
dcu modbus.dcu
www.eeworm.com/read/211777/15173927
class modbus.class
www.eeworm.com/read/7666/127107
c modbus.c
#include
#include
#include
#define uchar unsigned char
#define uint unsigned int
#define ulong unsigned long
/* CRC 高位字节值表 */
static uchar code