English (GB)
15
8. Modbus function code overview
The supported function codes are shown in the table below:
The same data are available in both holding registers and input
registers, meaning that either function (0x03 or 0x04) can be
used for reading data.
Type Code Hex Name
16-bit data (registers)
03 0x03 Read holding registers
04 0x04 Read input registers
06 0x06 Write single register
16 0x10 Write multiple registers
Diagnostics 08 08
Diagnostics
See section 13.6 Diagnostics, 0x08 for subcodes.
Reading or writing coils is not supported.
Unless otherwise stated, the data type used for
counters and scaled values is always an unsigned
integer.