Modbus function reference
Modbus Function Code 16 — Write Multiple Registers
Write a contiguous block of 16-bit registers
16
Write a contiguous block of 16-bit registers
Data model
Holding registers (4xxxx reference family)
Access
Write a contiguous block of 16-bit registers
Protocol quantity
1–123 registers
Worked example
Write two registers beginning at protocol address 1 with values 10 and 258.
Typical use: Writing multi-register parameters or blocks when atomic grouping is supported and documented.
Request PDU
10 00 01 00 02 04 00 0A 01 02Normal response PDU
10 00 01 00 02PDU examples omit the Modbus TCP MBAP header and the Modbus RTU unit-address/CRC envelope. Multi-byte values are shown in network byte order.
Run the reference
Compose the request publicly, then use Pro for advanced graded exceptions, saved fixtures, complete history and project sharing.