background image

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

Содержание AI808P Series

Страница 1: ...e or modify the product If you have to do so please contact with us first Otherwise it may cause electric shock and fire 5 Please check the connection number while you connect the power supply wire or...

Страница 2: ...ly to relay output power supply to signal input relay output to signal input 2000VDC Between the low voltage signal isolated with each other 600VDC 3 Main Technical Parameters Dielectric strength AI80...

Страница 3: ...ight AL2 AL2 Indicating Light SET Function Key OUT1 OUT1 Indicating Light Shift Function Key No 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Increase Key Decrease Key AL3 AL3 Indicating Light AT Auto turn...

Страница 4: ...rol setting method 1 There are total 50 programmable segments For each segment there are 2 settable parameters SV ST 2 SV value is the object control value of a segment for example if SV 01 is 200 the...

Страница 5: ...LD three status in this segment Example Here is a control process with below requirement the relevant setting is on the right side 1 Temperature raise to 300 SV01 300 ST01 0 2 Temperature raise from 3...

Страница 6: ...m PV AL Cancel PV AL HY Alarm PV AL Cancel PV AL HY Alarm PV AL SV Cancel PV SV AL HY Alarm PV SV AL Cancel PV SV AL HY Absolute upper limit alarm Absolute Lower limit alarm Upper Limit deviation alar...

Страница 7: ...e host computer read the float number AL1 The value of Alarm 1 is 15 4 The address code of AL1 is 0x0000 for AL1 is float number 4bits it will occupy 2 data register Reference IEEE 574 standard the he...

Страница 8: ...ss 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...

Страница 9: ...ection setting value SV3 The 3 section status setting value ST3 The 4 section setting value SV4 The 4 section status setting value ST4 The 5 section setting value SV5 The 5 section status setting valu...

Страница 10: ...section setting value SV21 The 22 section setting value SV22 The 23 section setting value SV23 The 24 section setting value SV24 The 25 section setting value SV25 The 26 section setting value SV26 The...

Страница 11: ...tting value SV45 The 46 section status setting value ST46 The 46 section setting value SV46 The 47 section status setting value ST47 The 47section setting value SV47 The 48 section status setting valu...

Страница 12: ...20130904 unsigned int Get_CRC uchar pBuf uchar num unsigned i j unsigned int wCrc 0xFFFF for i 0 i num i wCrc unsigned int pBuf i for j 0 j 8 j if wCrc 1 wCrc 1 wCrc 0xA001 else wCrc 1 return wCrc 16...

Отзывы: