D2 Drive User Guide v1.8 D. Modbus Communication
HIWIN Mikrosystem Corp. 282
Table D-5
(2) Read input registers (04h)
This function is used to read the contents of the consecutive blocks of input registers in
the drive. The related data format is given in the following table. The content of each
register is divided into the 8-bits higher data (“Hi”) and the 8-bits lower data (“Lo”). The
maximum of consecutive blocks read at the same time is 125.
Table D-6
Note. N is the quantity of registers.
Table D-7
The function code is not supported.
Try to read an illegal register.
The quantity of registers is too large (>125).
The accessed data includes the incomplete data.
For example, the host controller only requests 16
bits of 32-bits parameter.
The following table is an example of requesting to read the register 0x0008. For the case of
normal response, the content of register 0x0008 is shown as the 2-bytes value of “00 0Ah”.