Sub-Function 06 (0X06) Set Communication Settings - ICP DAS USA tM-TH8 User Manual

Table of Contents

Advertisement

tM-TH8
3.6.4 Sub-function 06 (0x06) Set communication
settings
This sub-function code is used to set the communication protocol
of a module.
Request
00
Address
01
Function code
02
Sub function code 1 Byte
03
Reserved
04
Baud Rate
05
Reserved
06
Data format
07
Reserved
08
Mode
09 ~ 10 Reserved
Response
00
Address
01
Function code
02
Sub function code 1 Byte
03
Reserved
04
Baud Rate
05
Reserved
06
Data format
07
Reserved
08
Mode
09 ~ 10 Reserved
tM-TH8 User Manual, Rev: A1.1 7MH-018-A11
1 Byte
1 to 247
1 Byte
0x46
0x06
1 Byte
0x00
1 Byte
Baud rate code, see Section 1.10
for details.
1 Byte
0x00
1 Byte
0x00: no parity, 1 stop bit
0x01: no parity, 2 stop bits
0x02: even parity, 1 stop bit
0x03: odd parity, 1 stop bit
1 Byte
0x00
1 Byte
0x00: DCON protocol
0x01: Modbus RTU protocol
0x03: Modbus ASCII protocol
2 Bytes 0x00 0x00
1 Byte
1 to 247
1 Byte
0x46
0x06
1 Byte
0x00
1 Byte
0x00: OK,
others: error
1 Byte
0x00 0x00 0x00
1 Byte
0x00: OK,
others: error
1 Byte
0x00
1 Byte
0x00: OK,
others: error
2 Bytes 0x00 0x00
119

Advertisement

Table of Contents
loading

Table of Contents