iNS-316 User Manual
Copyright
©
2022 ICP DAS CO., Ltd. All Rights Reserved.
- 51 -
7.2.6 06(0x06) Set a Single Register (Write AO value)
This function code is used to set a specific holding register 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
0x06
02-03
AO Address
2 Byte
Byte 02 = high byte
Byte 03 = Low byte
04-05
Output Value
2 Byte
Byte 04 = high byte
Byte 05 = Low byte
[Response]
Byte
Description
Size
Value
00
Net ID (Station Number)
1 Byte
1 to 247
01
Function Code
1 Byte
0x06
02-03
DO Address
2 Byte
The value is the same as Bytes 02-03 of the
Request
04-05
Output Value
2 Byte
The value is the same as Bytes 04-05 of the
Request
[Error Response]
Byte
Description
Size
Value
00
Net ID (Station Number)
1 Byte
1 to 247
01
Function Code
1 Byte
0x86
02
Exception Code
1 Byte
Refer to the Modbus Standard
Specifications for more details