image frame

X. Blog

流动的水没有形状 漂流的风找不到踪迹

Modbus RTU (Example of load cell module)

1) Frame structure (RTU)

Field Size Notes
Address 1 byte Slave ID: 1…247 (0 = broadcast; 248–255 reserved).
Function code 1 byte e.g., 0x03 Read Holding Regs; 0x06 Write Single Reg.
Data 0…252 B Depends on function: start address, quantity, payload, byte count…
CRC-16 2 bytes Little-endian on the wire: CRC low byte first, then high byte. Polynomial 0xA001, init 0xFFFF.

Framing by silence:3.5 character times between frames; ≤ 1.5 character times between bytes within a frame.


read more...
  • © 2020-2026 Yu Xia
  • Powered by Hexo Theme Ayer
    • PV:
    • UV:

Buy me a cup of coffee~

支付宝
微信