Page 08 KKAI808PE01-A/0-20130904
Correct answer from slave unit (Read Multiple Registers)
2
3
4
5
6
7
8
9
code
Function
Data byte No.
Data1
Hi byte
Data1
Lo byte
Data2
Hi byte
Data2
Lo byte
CRC
Code Lo
CRC
Code Hi
0x03
0x04
0x41
0x76
0x66
0x66
0xE2
0xF4
1
Address
0x01
2. Write Multiple Registers
For example: The host computer write the float number (setting value 600) ,
The address code for SV is 0x0000, for SV is float number (4bits), it will occupy 2 data register. Reference IEEE-574
standard the hexadecimal 16 result of the
decimal float number is
0x41766666
.
Request from the host computer (Write Multiple Registers)
1
2
3
4
5
6
7
8
9
Unit
address
Unit
address
Function
Code
Function
Code
0x01
10
11
12
13
Data
Length Hi
Data
Length Hi
Data
Length Lo
Data
Length Lo
Data
Length
CRC
Lo
CRC
Lo
Start
address Hi
Start address
8 Hi
Start address
8 Lo
Start
address Lo
0x10
6
1
x
0
2
0
x
0
0
0
x
0
0x04
0xFD
Data 1
Hi
Data 1
Lo
Data 2
Hi
Data 2
Lo
CRC
Hi
CRC
Hi
0x00
0x00
0x44
0x00
0x00
0xFC
Correct answer from slave unit (Read Multiple Registers)
1
2
3
4
5
6
7
8
0x01
0x10
0x00
0x00
0x00
0x02
0x41
0xC8
AI808P Series table reference address
Code
Number of Variable
Data
Length
Read & Write
allow
Remark
0
2
4
6
8
10
12
14
16
18
0x0000
0x0002
0x0004
0x0006
0x0008
0x000A
0x000C
0x000E
0x0010
0x0012
0x0014
0x0016
0x0018
0x001A
0x001C
0x001E
0x0020
0x0022
0x0024
0x0026
Setting Value SV
Alarm value AL1
Alarm value AL2
Alarm value AL3
Correct value PS
Proportion rate P
Integral time I
Differentia lD
ON/OFF Control Hysteresis HY
Heating & cooling dead district DB
Alarm 1 Hysteresis HY1
Alarm 2 Hysteresis HY2
Alarm 2 Hysteresis HY3
Control output Lo OLL
Control output Hi OLH
Display Lo FL
Display Hi FH
Analog Lo Value
Analog Hi Value
Measuring Value
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R
Reference
address
20
22
24
26
28
30
32
34
36
38