
The second part: The address 0x2010-0x2106 has a total of 247 words, which is the "slave
station status indication" area. Reading this area can get the current working status of the
slave station. The data encoding format is shown in "Table 3.3".
Table 3.3 Coding format of slave status indication area
Each Word is divided into high and low bytes. Byte1 is the high byte, indicating the
function code currently executed and mapped to the slave. Byte0 is the low byte, indicating
the error code of the current slave communication. The specific meaning of the slave error
codes is shown in "Table 3.4".
.
.
.
Address
0x200F
BIT
Bit15 Bit14
Bit13
Bit12
Bit11
Bit10
Bit9
Bit8
Bit
number
x
x
x
x
x
x
x
x
BIT
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
Bit
number
x
247
246
245
244
243
242
241
Address
0x2010
Slave
station 1
Byte1
Byte0
Function code
Error code
Address
0x2011
Slave
station 2
Byte1
Byte0
Function code
Error code
.
.
.
Address
0x2106
Slave
station
247
Byte1
Byte0
Function code
Error code