Modbus TCP Online Tool
Modbus TCP message parsing, command generation, and response generation tool, supporting MBAP header processing, multiple data types, and byte order conversion
Browser execution mode: Your data is processed in your browser and is not uploaded to the server.
Speed and Stability: Processing speed depends on your device and browser. For large batch work, the desktop version may be more stable.
Loading tool, please wait...
If the online tool fails to load or run, try the desktop tool.https://tools.yikeaigc.com/
Tool Usage
Return to old versionBasic Communication Parameters
These settings are used as defaults for generation and parsing. After saving, they will be restored next time.
Modbus TCP uses the MBAP header and does not need CRC check. The protocol identifier is fixed at 0000, and the length field is calculated automatically.
Generate request, response, and exception frames
After switching the generation type, enter the matching parameters. The result will automatically split MBAP and PDU fields.
Parse Modbus TCP Message
Supports space-separated, continuous HEX, commas, and 0x prefixes. Add multiple rules to parse registers or float data.
| Field | HEX | Decimal/Value | Description |
|---|---|---|---|
| Enter a message and click Parse. | |||
| # | Raw Bytes | Type | Byte order | Parsed value |
|---|---|---|---|---|
| Rule parsing results will appear here. | ||||
Batch Generate & Parse
Batch generate read commands, or paste multi-line messages or select multiple text files to parse. Results support CSV and ZIP downloads.
| # | Source | Transaction ID | Unit ID | Function Code | Parse data | Status |
|---|---|---|---|---|---|---|
| The first 20 batch parsing results will be shown. | ||||||
Instructions
Software Usage Instructions
- Set basic parameters: First set the transaction identifier, unit identifier, default data type, byte order, and data start byte. The transaction identifier is used to match requests and responses, while the unit identifier is commonly used by gateways to map slave addresses.
- Generate Modbus TCP messages: Go to the “Generate Message” step, select request command, normal response, or exception response, then select the function code and enter the start address, quantity, write value, or response data. Click “Generate Message” to get the HEX result.
- Parse a single message: Go to the “Parse Message” step and paste the hexadecimal message. The tool will break down the MBAP header, function code, data area, and exception code, and convert register values according to the parsing rules.
- Configure data parsing rules: You can add multiple rules and set the start byte, data type, byte order, and quantity for each, used to parse registers, integers, or floating-point numbers at different positions.
- Batch generate commands: Go to the “Batch Export” step, set the read function code, address range, and read quantity per command, generate multiple read commands with one click, and copy or download a TXT file.
- Batch parse messages: Supports pasting multiple lines of messages, as well as selecting txt, csv, or log text files. Parsing results can be downloaded as CSV; when processing multiple files, a ZIP result package can be downloaded.
- Save settings: Click “Save Settings” to save commonly used transaction ID, unit ID, data type, byte order, and output format for convenient future use.
FAQ
Related Tools
Cascaded Noise Figure Calculator
A Friis formula-based tool for calculating the noise figu...