![background image](http://html1.mh-extra.com/html/icp-das-usa/ins-316/ins-316_user-manual_3554946053.webp)
iNS-316 User Manual
Copyright
©
2022 ICP DAS CO., Ltd. All Rights Reserved.
- 53 -
7.2.8 16(0x10) Set Multiple Registers (Write AO values)
This function code is used to set multiple holding registers that are used to store the configuration
valuesfor the iNS-316.
[Request]
Byte
Description
Size
Value
00
Net ID (Station Number)
1 Byte
1 to 247
01
Function Code
1 Byte
0x10
02-03
Starting
AO Address
2 Byte
Byte 02 = high byte
Byte 03 = Low byte
04-05
Number of Registers
(Channels)
2 Byte
Byte 04 = high byte
Byte 05 = Low byte
06
Byte count
1 Byte
n = (7)/8
07
Register Values
n Byte
n= 1; Byte 03 = high byte
n= 2; Byte 04 = Low byte
.......
n= m; Byte m+1 = high byte
Byte m+2 = Low byte
[Response]
Byte
Description
Size
Value
00
Net ID (Station Number)
1 Byte
1 to 247
01
Function Code
1 Byte
0x10
02-03
Starting
DO Address
2 Byte
The value is the same as Bytes 02-05 of the
Request
04-05
Number of Registers
(Channels)
2 Byte
[Error Response]
Byte
Description
Size
Value
00
Net ID (Station Number)
1 Byte
1 to 247
01
Function Code
1 Byte
0x90
02
Exception Code
1 Byte
Refer to the Modbus Standard
Specifications for more details