Tiny Modbus/TCP to RTU/ASCII Gateway
Copyright © 2020 ICP DAS CO., Ltd. All Rights Reserved. - 99 -
16(0x10) Preset Multiple Registers (Write AOs)
This function code is used to set multiple holding registers that are used to store the configuration
values.
[Request]
Refer to the Modbus address depends on your slave
device for more details.
Byte 02 = high byte
Byte 03 = low byte
Number of 16-bit Registers
(Channels)
Word Count.
Byte 04 = high byte
Byte 05 = low byte
Register Values.
n= 2; Byte 03 = high byte
Byte 04 = low byte
.......
n= m; Byte 03 = high byte
Byte 04 = low byte
.......
Byte m+1 = high byte
Byte m+2 = low byte
[Response]
The value is the same as Bytes 02-03 of the
Request
Number of 16-bit Registers
(Channels)
The value is the same as Bytes 04-05 of the
Request
[Error Response]
Refer to the Modbus Standard Specifications for
more details.