Compare commits
1 Commits
main
...
v2026.05.2
| Author | SHA1 | Date | |
|---|---|---|---|
| 9a4fb66b51 |
@ -66,7 +66,7 @@ extern "C" {
|
|||||||
|
|
||||||
// 举例:2026年3月19日,第10次编译 (b=9)
|
// 举例:2026年3月19日,第10次编译 (b=9)
|
||||||
// 计算过程: (0 << 13) | (3 << 9) | (19 << 4) | 9 = 0x0600 | 0x0130 | 0x0009
|
// 计算过程: (0 << 13) | (3 << 9) | (19 << 4) | 9 = 0x0600 | 0x0130 | 0x0009
|
||||||
#define XTELL_FIRMWARE_CODE MAKE_XTELL_CODE(2026, 5, 10, 1)
|
#define XTELL_FIRMWARE_CODE MAKE_XTELL_CODE(2026, 5, 28, 1)
|
||||||
// ---- - -- -
|
// ---- - -- -
|
||||||
// | | | |
|
// | | | |
|
||||||
// | | | 编译次数
|
// | | | 编译次数
|
||||||
|
|||||||
BIN
docs/ModbusSlaveSetup64Bit.exe
Normal file
BIN
docs/ModbusSlaveSetup64Bit.exe
Normal file
Binary file not shown.
@ -3,6 +3,11 @@
|
|||||||
本文档描述 STM32 通过 RS485 接口轮询 Noris AMS 模块的 Modbus RTU 通信协议,
|
本文档描述 STM32 通过 RS485 接口轮询 Noris AMS 模块的 Modbus RTU 通信协议,
|
||||||
以及报警数据如何通过 RF433 无线上报。
|
以及报警数据如何通过 RF433 无线上报。
|
||||||
|
|
||||||
|
|
||||||
|
# 测试方法
|
||||||
|
|
||||||
|
下载docs/ModbusSlaveSetup64Bit.exe,配置从站地址为 1,波特率为 19200,通过连接 RS485 串口连接可查看 Modbus RTU 报文。
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## 1. Modbus RTU 请求帧 (MCU → Noris AMS)
|
## 1. Modbus RTU 请求帧 (MCU → Noris AMS)
|
||||||
|
|||||||
Reference in New Issue
Block a user