ICP DAS, ZT-2017 and ZT-2017C AI Series User Manual, Version 1.0.1
Page 122
Copyright © 2012 by ICP DAS Co., Ltd. All Rights Reserved.
A.4
08 (0x08) Setting the Type Code
Description
This sub-function code is used to set the type code for a module.
Request
Byte Description
Length Value
00
Address
1
1 to 247
01
Function Code
1
0x46
02
Sub-function
Code
1
0x08
03
Reserved
1
0x00
04
Channel Number
1
0x00
~
0x07
05
Type Code
1
The Type Code. See Section 4 for details.
Response
Byte Description
Length Value
00
Address
1
1 to 247
01
Function Code
1
0x46
02
Sub-function
Code
1
0x08
03
Type Code
1
0: OK
Others: Error
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
Example