Sub-Function 38 (0X26) Set Channel Enable/Disable - ICP DAS USA tM-TH8 User Manual

Table of Contents

Advertisement

tM-TH8
3.6.9 Sub-function 38 (0x26) Set channel
enable/disable
This sub-function code is used to specify the channels to be
enabled in a module.
Request
00
Address
01
Function code
02
Sub function code 1 Byte
03
Enable/disable
setting
Response
00
Address
01
Function code
02
Sub function code 1 Byte
03
Enable/disable
setting
Error Response
00
Address
01
Function code
02
Exception code
tM-TH8 User Manual, Rev: A1.1 7MH-018-A11
1 Byte
1 to 247
1 Byte
0x46
0x26
1 Byte
0x00 ~ 0xFF, enable/disable
setting 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.
1 Byte
1 to 247
1 Byte
0x46
0x26
1 Byte
0: OK
others: error.
1 Byte
1 to 247
1 Byte
0xC6
1 Byte
03: enable/disable setting out of
range, incorrect number of
bytes received
125

Advertisement

Table of Contents
loading

Table of Contents