Modbus function reference
Modbus Function Code 06 — Write Single Register
Write one 16-bit register
06
Write one 16-bit register
Data model
Holding registers (4xxxx reference family)
Access
Write one 16-bit register
Protocol quantity
Exactly 1 register
Worked example
Write value 1 to protocol address 10. A normal response echoes the address and value.
Typical use: Sending a setpoint, mode or command value to one documented holding register.
Request PDU
06 00 0A 00 01Normal response PDU
06 00 0A 00 01PDU 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.