IAR-YT-HEAT/DOC/简单温度读取协议.md

19 lines
498 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 温度读取协议
> 采样MODBUS协议类似微气象
## 读取帧
|地址码 |功能码 |起始地址(高字节在前) |寄存器数量(高字节在前) |CRC检验位低字节在前 |
|---|---|---|---|---|
|1 Byte |1 Byte |2 Bytes |2 Bytes |2 Bytes |
|30 |03 |0000 |0001 |802B |
## 读取应答帧
|地址码 |功能码 |字节数 |寄存器数据(高位在前) |CRC校验位低字节在前 |
|---|---|---|---|---|
|1 Byte |1 Byte |1 Byte |2 \* N Byte |2 Bytes |