代码搜索:modbus rtu 通信
找到约 10,000 项符合「modbus rtu 通信」的源代码
代码结果 10,000
www.eeworm.com/read/358709/10181238
vbp modbus.vbp
Type=Exe
Form=modbus.frm
Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#C:\WINDOWS\system32\stdole2.tlb#OLE Automation
Module=Module1; ModBus.bas
Object={648A5603-2C6E-101B-82B6-0000000
www.eeworm.com/read/358709/10181239
frm modbus.frm
VERSION 5.00
Object = "{648A5603-2C6E-101B-82B6-000000000014}#1.1#0"; "MSComm32.ocx"
Begin VB.Form Form1
Caption = "MODBUSTEST"
ClientHeight = 7650
ClientLeft = 60
www.eeworm.com/read/358709/10181240
frx modbus.frx
www.eeworm.com/read/358709/10181241
bas modbus.bas
Attribute VB_Name = "Module1"
Function CRC16(Data() As Byte, no As Integer, CRC16Lo As Byte, CRC16Hi As Byte) As String
Dim CL As Byte, CH As Byte '多项式码&HA001
Dim
www.eeworm.com/read/355917/10241507
dsn modbus.dsn
www.eeworm.com/read/354869/10318973
h modbus.h
#define READ_COIL 01 //读取线圈状态
#define SET_COIL 05 //对单个线圈进行强制
#define SET_COILs 15 //对多个线圈进行强制
#define READ_DI 02 //读取输入状态
#define READ_AI 04 //读取输入寄存器
www.eeworm.com/read/354869/10318979
c modbus.c
#include "main.h"
//unsigned int GwRxCount; // GwSciRxBuffer[]数组的下标
//unsigned int GwTxCount; // GwSciTxBuffer[]数组的下标
//unsigned char GwRxFlag; // 接收标志 1: 准备接收; 0: 接收结束
//u
www.eeworm.com/read/354614/10342265
modbus51
www.eeworm.com/read/354614/10342279
h modbus.h
www.eeworm.com/read/354614/10342286
c modbus.c
#include "main.h"
//字地址 0 - 255 (只取低8位)
//位地址 0 - 255 (只取低8位)
/* CRC 高位字节值表 */
const uint8 code auchCRCHi[] = {
0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0,
0x80, 0x41, 0x0