GN-9289 User Manual
Page 38 of (70)
G-series GN-9289 Modbus TCP_UDP Rev. 1.01.docx
8.2.6.
6 (0x06) Write Single Register
This function code is used to write a single holding register in a remote device. Therefore register numbered
1 is addressed as 0. The normal response is an echo of the request, returned after the register contents
have been written.
Request
Field name
Example
Function Code
0x06
Register Address Hi
0x08
Register Address Lo
0x00
Register Value Hi
0x11
Register Value Lo
0x22
Response
- In case of address 0x0800 output register value: 0x0000 changes to 0x1122.
Field name
Example
Function Code
0x06
Register Address Hi
0x08
Register Address Lo
0x00
Register Value Hi
0x11
Register Value Lo
0x22