28
6.2.9. 16 (0x10) Read/Write Multiple Registers
This function code is used to write a block of contiguous registers (1 to approx. 120 registers) in a remote
device. The requested written values are specified in the request data field. Data is packed as two bytes per
register. The normal response returns the function code, starting address, and quantity of registers written.
-In case of address 0x0800, 0x0801 output register value: 0x0000, 0x0000 changes to 0x1122, 0x3344.
• Request
Field name
Function Code
Starting Address Hi
Starting Address Lo
Quantity of Registers Hi
Quantity of Registers Lo
Byte Count
Register Value#0 Hi
Register Value#0 Lo
Register Value#1 Hi
Register Value#1 Lo
• Response
Field name
Function Code
Starting Address Hi
Starting Address Lo
Quantity of Registers Hi
Quantity of Registers Lo
Example
0x0F
0x10
0x08
0x00
0x02
0x04
0x11
0x22
0x33
0x44
Example
0x0F
0x10
0x08
0x00
0x02
HX-RIO3 Series