Instruction manual
6. MODBUS COMMUNICATION PROTOCOL
IMR01H02-E3
49
6.6 Message Format
6.6.1 Read holding registers [03H]
The query message specifies the starting register address and quantity of registers to be read. The
contents of the holding registers are entered in the response message as data, divided into two parts:
the high-order 8 bits and the low-order 8 bits, arranged in the order of the register numbers.
Example: The contents of the three holding registers from 0000H to 0002H are the read out from
slave address 2.
Query message
Slave address 02H
Function code 03H
Starting number High 00H
Low 00H
Quantity High 00H
Low 03H
CRC-16 High 05H
Low F8H
Normal response message
Slave address 02H
Function code 03H
Number of data 06H
First holding High 00H
register contents Low 00H
Next holding High 00H
register contents Low 01H
Next holding High 00H
register contents Low 02H
CRC-16 High E5H
Low 84H
Error response message
Slave address 02H
80H + Function code 83H
Error code 03H
CRC-16 High F1H
Low 31H
First holding register address
Number of holding registers × 2
The setting must be between 1 (0001H) and
125 (007DH).