page 9/15 KKEW9LC05-A/0-20160901
Data 2
low bit
Host request
Slave normal answers (high bit is in front)
0x01
9
8
7
6
5
4
3
2
1
0x59
0xFC
0x98
0x08
0x00
0x00
0x04
0x03
Slave
address
Read function
code
CRC check code
Byte number (2 times of
register quantity)
Register data
Register data
0x01
9
8
7
6
5
4
3
2
1
0xBC
0x79
0x00
0x00
0x98
0x08
0x04
0x03
Slave normal answers (low bit is in front)
1
2
3
4
5
6
7
8
0x01
Meter address
Start address
high bit
Start address
low bit
Low bit
High bit
CRC code
low bit
CRC code
high bit
Function code
0xCB
0xD1
0x02
0x00
0x00
0x40
0x03
Slave address Read function code Register address (variable) Register quantity CRC check code
CRC code
high bit
CRC code
low bit
Data 2
high bit
Data 1
high bit
Data 1
low bit
Data byte length
Function
code
Meter
address
CRC check code
Register data
Register data
Byte number (2 times of
register number)
Read function
code
Slave
address
Data 1
low bit
CRC code
high bit
CRC code
low bit
Data 1
high bit
Data 2
high bit
Data 2
low bit
Data byte length
Function
code
Meter
address
Function code abnormal answer: (For example, host request function code is 0x04).
1
0xC0
0x84
0x01
0x01
0x82
9
8
3
2
01
03
40
0C
00
06
10
0B
Meter address
CRC check code
Host send
Meter return
CRC check code
01
03
0C
00
00
03
0D 40
00
04
93
E0
8F
1D
01
86
A0
For example: When present measured current value is: Ia=100 A, Ib=200 A, Ic=300 A, separately read three current value at a time. Host send
read 01 address meter, read the current value data started from 400C (A phase current) register. Hexadecimal code of 100.000 is 000186A0;
hexadecimal code of 200.000 is 00030D40; hexadecimal code of 300.000 is 000493E0; data adopts the 32-bit unsigned data representation,
with three decimal point. For example, if data value is 12345, the actual value is 12.345.
CRC code high bit
CRC code low bit
Error code
Function code
Meter address
Slave abnormal answers (Read multi-register)
Function code
Address
Register quantity
Function
code
Meter
address
Read byte
number
Data 1 Data 2 Data 3
2. Write single-register
Host request (Write single-register)
For example: Host writes fixed data, 1st alarm mode is AD1.
Suppose the address code of AD1 is 0x4900, because AD1 is fixed data, seizes 1 data register, decimalist code of 11 is 0X000B.
Register Data
Slave normal answer (Write single-register)
1
2
3
4
5
6
7
8
0x01
CRC code
low bit
0x56
0x5E
0x01
0x00
0x00
0x49
0x06
0x01
7
8
6
5
4
3
2
1
0x51
0XDE
0X0B
0x00
0x00
0x49
0x06
Register address (variable)
Slave
station
address
CRC check code
Write
function
code
Meter
address
Function
code
Start address
high 8 bit
Start address
low 8 bit
High bit
Low bit
Slave address Write function code
Register address (variable)
Register number
CRC check code
Meter
address
Function
code
Start address
high 8 bit
Start address
low 8 bit
High bit
Low bit
CRC code
high bit
CRC code
low bit
CRC code
high bit
3. Write multi-register
For example: Host writes fixed data, 1st alarm mode is AD1.
Suppose the address code of AD1 is 0x4900, because AD1 is fixed data, seizes 1 data register, decimalist code of 11 is 0X000B.