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
01
Function code
02
Sub function code 1 Byte
Response
00
Address
01
Function code
02
Sub function code 1 Byte
03
Enabled/disabled
status
Error Response
00
Address
01
Function code
02
Exception code
124
tM-TH8 User Manual, Rev: A1.1 7MH-018-A11
1 Byte
1 to 247
1 Byte
0x46
0x25
1 Byte
1 to 247
1 Byte
0x46
0x25
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.
1 Byte
1 to 247
1 Byte
0xC6
1 Byte
03: incorrect number of bytes
received