0X10) Set Multiple Registers (Write Ao Values) - ICP DAS USA iNS-308 User Manual

8-port 10/100base-tx iot switch
Table of Contents

Advertisement

iNS-308 User Manual

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-308.
[Request]
Byte
Description
00
Net ID (Station Number)
01
Function Code
Starting
02-03
AO Address
Number of Registers
04-05
(Channels)
Byte count
06
Register Values
07
[Response]
Byte
Description
00
Net ID (Station Number)
01
Function Code
Starting
02-03
DO Address
Number of Registers
04-05
(Channels)
[Error Response]
Byte
Description
00
Net ID (Station Number)
01
Function Code
02
Exception Code
Copyright © 2022 ICP DAS CO., Ltd. All Rights Reserved.
Size
1 Byte
1 to 247
1 Byte
0x10
Byte 02 = high byte
2 Byte
Byte 03 = Low byte
Byte 04 = high byte
2 Byte
Byte 05 = Low byte
1 Byte n = (Points +7)/8
n= 1; Byte 03 = high byte
n= 2; Byte 04 = Low byte
n Byte
.......
n= m; Byte m+1 = high byte
Byte m+2 = Low byte
Size
1 Byte
1 to 247
1 Byte
0x10
2 Byte
The value is the same as Bytes 02-05 of the
Request
2 Byte
Size
1 Byte
1 to 247
1 Byte
0x90
Refer to the Modbus Standard
1 Byte
Specifications for more details
Value
Value
Value
- 43 -

Advertisement

Table of Contents
loading

Table of Contents