![ICP DAS USA tM-TH8 User Manual Download Page 124](http://html1.mh-extra.com/html/icp-das-usa/tm-th8/tm-th8_user-manual_3864813124.webp)
tM-TH8 User Manual, Rev: A1.1 7MH-018-A11
124
tM-TH8
3.6.8 Sub-function 37 (0x25) Read channel
enabled/disabled status
This sub-function code is used to read the enabled/disabled status
of each channel in a module.
Request
00
Address
1 Byte
1 to 247
01
Function code
1 Byte
0x46
02
Sub function code 1 Byte
0x25
Response
00
Address
1 Byte
1 to 247
01
Function code
1 Byte
0x46
02
Sub function code 1 Byte
0x25
03
Enabled/disabled
status
1 Byte
0x00 ~ 0xFF, enabled/disabled
status of each channel, where bit 0
corresponds to channel 0, bit 1
corresponds to channel 1, etc.
When the bit is 1 it denotes that
the channel is enabled and 0
denotes that the channel is
disabled.
Error Response
00
Address
1 Byte
1 to 247
01
Function code
1 Byte
0xC6
02
Exception code
1 Byte
03: incorrect number of bytes
received