Modbus frame builder and decoderModbus 报文构建与解析

Build a request for any common function code, then decode whatever comes back.

按功能码生成请求报文,再解析设备返回的任何应答。

Request请求

Addresses are protocol addresses (0-based). If your manual says 40001, enter 0; if it says 40011, enter 10. 地址填协议地址(0 基址)。手册写 40001 就填 0,写 40011 就填 10。

Bytes to send待发送字节

—
—

Decode a frame解析报文

auto-detects RTU / TCP / ASCII自动识别 RTU / TCP / ASCII

Talk to a device (Web Serial)连接真实设备(Web Serial)

not connected未连接

How the builder decides what to emit构建规则说明