ICP DAS, ZT-2017 and ZT-2017C AI Series User Manual, Version 1.0.1
Page 120
Copyright © 2012 by ICP DAS Co., Ltd. All Rights Reserved.
A.2
04(0x04) Setting the Address of the Module
Description
This sub-function code is used to set the address fo the module.
Request
Byte Description
Length Value
00
Address
1
1 to 247
01
Function Code
1
0x46
02
Sub-function
Code
1
0x04
03
New Address
1
1 to 247
04
~
06 Reserved
3
0x00 0x00 0x00
Response
Byte Description
Length Value
00
Address
1
1 to 247
01
Function Code
1
0x46
02
Sub-function
Code
1
0x04
03
New Address
1
1 to 247
04
~
06 Reserved
3
0x00 0x00 0x00
Error Response
Byte Description
Length Value
00
Address
1
1 to 247
01
Function Code
1
0xC6
02
Exception Code
1
Refer to the Modbus standard for more
details