MODBUS CHINA TECHNICAL NETWORK

Modbus.cn

Protocol documentation, online debugging tools, product selection, and solutions — for automation engineers, equipment manufacturers, and IoT developers.

RTU / TCP / ASCII Register Mapping CRC & Message Parsing
Frame Structure
Address
Function Code
Data
CRC Check
← PDU →
01 1 byte
03 1 byte
00 01 00 02 4 bytes
95 CRC Low
CB CRC High
2 bytes
Full frame: 01 03 00 01 00 02 95 CB 8 bytes
Transaction ID
Protocol ID
Length
Unit ID
Function Code
Data
← MBAP Header →
← PDU →
00 01 2 bytes
00 00 2 bytes
00 06 2 bytes
01 1 byte
03 1 byte
00 01 00 02 4 bytes
Full frame: 00 01 00 00 00 06 01 03 00 01 00 02 12 bytes
Start
Address
Function Code
Data
LRC
End
← PDU →
: 1 char
01 2 chars
03 2 chars
00 01 00 02 8 chars
B8 2 chars
CR LF 2 chars
Full frame: :010300010002B8C4\r\n 17 chars
Learn by Example Deconstruct the address, function code, data, and checksum from 01 03 00 01 00 02 95 CB Start Learning
872+ Articles & Documentation
25 Protocols & Industries
100+ Devices & Vendors
24h Tools & Resources Online
Services & Support

One-stop industrial services — from technical consulting to product delivery

Full-process technical support from protocol consulting and equipment selection through solution deployment — covering smart agriculture, industrial automation, environmental monitoring, and energy sectors.

TECHNICAL RESOURCE

Latest Resources

All Resources
MODBUS
Modbus Technical Documentation

The Ultimate Guide to Modbus Multi-Register Data Parsing: Endianness Explained

This problem is more common than you think. Using Modbus Poll to read...

MODBUS
Modbus Technical Documentation

Open-Source Modbus Stack Selection Guide: In-Depth Comparison of 7 Protocol Stacks

Why read this article? This problem on Stack Overflow...

MODBUS
Modbus Technical Documentation

Modbus Security Whitepaper: 9 Real-World Plaintext Risk Scenarios & Layered Defense Strategies

Preface: Modbus is not secure. This is nothing new...

MODBUS
Modbus Technical Documentation

Industrial Protocol Selection Guide: Modbus vs MQTT vs OPC UA

Don't start by picking a protocol. Every forum asks the same question: "Which protocol for my project..."

FOR ENGINEERS AND VENDORS

Need help with Modbus selection, integration, debugging, or project planning?

Selection consulting, equipment debugging, or project planning — our technical team provides professional support.