Modbus RTU CRC16 Calculator

← All Tools

Frame Input

Enter the Modbus frame bytes (without CRC) as hex pairs. The CRC will be appended.
Spaces or no spaces both accepted e.g. 01 03 00 00 00 0A or 010300000A 0 bytes

Quick Examples

Modbus RTU Function Code Reference

FC (hex)FunctionRequest structure (after device addr)
01Read CoilsStart addr (2B) + Quantity (2B)
02Read Discrete InputsStart addr (2B) + Quantity (2B)
03Read Holding RegistersStart addr (2B) + Quantity (2B)
04Read Input RegistersStart addr (2B) + Quantity (2B)
05Write Single CoilCoil addr (2B) + Value (FF00=ON, 0000=OFF)
06Write Single RegisterRegister addr (2B) + Value (2B)
0FWrite Multiple CoilsStart addr + Qty + Byte count + Data
10Write Multiple RegistersStart addr + Qty + Byte count + Data
2B / 0ERead Device IdentificationMEI type (0E) + Read code + Object id

CRC is always appended as 2 bytes: CRC_LOW then CRC_HIGH (little-endian).