100% found this document useful (1 vote)
2K views17 pages

English-Communication Protocol MODBUS RTU For KWS-301L

Uploaded by

bmw316
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODS, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
2K views17 pages

English-Communication Protocol MODBUS RTU For KWS-301L

Uploaded by

bmw316
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODS, PDF, TXT or read online on Scribd
You are on page 1/ 17

LCD display voltmeter communication protocol

Address type Address meaning Decimal address

Write parameter password 0

Rated voltage 1
Data address
(1-99)
Rated current 2

Active power under 0.5L 3

Reactive power under 0.5L 4

Hardware version low 5

High hardware version 6

Software version low 7

Version
Software version high 8

Protocol version number low 9

Protocol version number high 10

Module type 11

Communication address & baud rate status word 12

Pulse constant 13

Channel voltage 14

Channel current low L 15

Channel current high H 16

Channel active power low 1_3_4 17

Channel active power high 1_3_4 18

Channel reactive power low 1_3_4 19


Channel reactive power high 1_3_4 20

Channel apparent power low 1_3_4 21

Channel apparent power high 1_3_4 22

Channel 1 energy low 1_3_3 23


Electrical
parameters
Channel 1 energy high 1_3_3 24

operating hours 25

The current external temperature of the module


26
Operating time in minutes

Current internal temperature 27

RTC battery voltage 28

Power factor 29

Voltage frequency 30

Alarm status word 31

year 40

month 41
RTC clock day 42
Hour 43
Minute 44
Second 45

temperature 50

Voltage threshold 51

Current threshold L 52

Current threshold H 53

Power threshold L 54

Alarm parameter
Power threshold H 55

Time threshold L 56

Time threshold H 57

Power threshold L 58
Power threshold H 59

Channel opening time 1 60


Channel closing time 1 61
Channel opening time 2 62
Channel closing time 2 63
Channel opening time 3 64
Channel closing time 3 65
Channel opening time 4 66
Channel closing time 4 67
Time switch configuration 68
Instruction Channel 1 control instruction 2_13 69
address
(150~200) Channel 2 control instruction 2_14 70

Channel 1 energy low 1_3_3 340

Channel 1 energy high 1_3_3 341

Channel 1 energy mantissa low 1_3_3 342

Channel 1 energy mantissa high 1_3_3 343

working time 344

Note:
Slave address: 2
Baud rate:9600 TX 02 03 00 00 00 0E C5 EC

6. Get the
software date and
version number

JUNK! 06 03 00 FE 71 2C
TX: 06 03 00 FE 71 2C

RX: 06 03 09 0D 32 30 32 30 5F 30 38 32 31 5F 56 31 30 7D 2C
Hexadecimal address gain

0 R

1 R 100

2 R 1000

3 R 1

4 R 1

5 R

6 R

7 R

8 R

9 R

A R

B R

C R

D R

E R 10

F R 1000

10 R

11 R 10

12 R

13 R 10
14 R

15 R 10

16 R

17 R
1
18 R

19 R 1

1A R 100

1B R 1

1C R 10

1D R 100

1E R 100

1F R 1

28 R/W 1

29 R/W 1
2A R/W 1
2B R/W 1
2C R/W 1
2D R/W 1

32 R/W

33 R/W 10

34 R/W 1000

35 R/W 1000

36 R/W 9

37 R/W 10

38 R/W

39 R/W

3A R/W 999
3B R/W 1000

3C
3D
3E
3F
40
41
42
43
44
45

46

154 W

1
155 W

156 W

157 W

158 W 1
Remark

0XAABB 0XAABB

220.00 V 220.00V

5000A 5.000A

5500 550.0W

9526 952.6VAR

00-00 D17B

00-00 01BA

00-01 1D06

01-00 '0203

00-02 6400

00-00 0203

0X1011 6400

0X0203(Address is0X03) 0203

0X3200 6400

Channel 2 voltage value, unit V 0.1V 220.0V

Channel 2 current value, unit A 0.001A 4.999A

Channel active power value, unit: w 0.1W 562.3W

Channel active power value, unit: w

Channel reactive power value, unit: var 0.1VAR 170.5VAR


Channel reactive power value, unit: var

Channel apparent power value, unit: ah 0.1AH 587.6AH

Channel apparent power value, unit: ah


0.1AH, This should be units of VA

Channel active energy value, unit: wh 1WH 519WH

Active energy value of the channel, unit: wh

Channel working time, unit: M minutes 94 M

External temperature of the channel, unit: degree 25℃

Channel internal temperature, unit: degree 没有意义->Pointless not supported


RTC battery voltage unit:V 没有意义->Pointless not supported

0.01 1.00- 0.50 F

HZ 50.00HZ 50.00HZ

bit0:Channel 1 overvoltage;
bit1:Channel 1 overcurrent;
bit2:Channel 1 overpower;
bit3:Channel 1 overpower;
bit4:Passage through external temperature;
bit5:Work outdated;
Bit6:over the internal temperature.

Set the channel temperature alarm threshold 170

Set the channel overvoltage alarm threshold 0.1V 277.0V

Set the channel overcurrent alarm threshold 0.001A 0A

Set the channel overcurrent alarm threshold 0.001A

Set the channel power alarm threshold to 0.1W 200000.0W

Set the channel power alarm threshold to 0.1W

Set the channel time alarm threshold 1 minute 120:13 小时:分钟 hours: Minutes

Set the channel time alarm threshold 1 minute

Set the channel energy alarm threshold 0.001KWH 1000.000KWH


Set the channel energy alarm threshold 0.001KWH

Turn on channel 2 power supply at the set time point 1


Turn off channel 2 power supply at the set time point 1
Turn on channel 2 power supply at the set time point 2
Turn off channel 2 power supply at the set time point 2
Turn on channel 2 power supply at the set time point 3
Turn off channel 2 power supply at the set time point 3
Turn on channel 2 power supply at the set time point 4
Turn off channel 2 power supply at the set time point 4
0: off, 1: on
0: off, 1: on

0: off, 1: on

Channel active energy value, unit: wh 1WH 519WH

Active energy value of the channel, unit: wh

Channel working time, unit: M minutes 94 M


Command 6 bytes plus CRC16/MODBUS

Read register1 Read multiple registers

TX: 02 03 00 00 00 01 84 39
RX: 02 03 02 AA BB C2 97

TX: 02 03 00 01 00 01 D5 F9
RX: 02 03 02 55 F0 C3 50

TX: 02 03 00 02 00 01 25 F9
RX: 02 03 02 13 88 F1 12

TX: 02 03 00 03 00 01 74 39
RX: 02 03 02 15 7C F3 35

TX: 02 03 00 04 00 01 C5 F8
RX: 02 03 02 25 36 66 C2
TX: 02 03 00 05 00 01 94 38 TX: 02 03 00 05 00 02 D4 39
RX: 02 03 02 D1 7B E0 37 RX: 02 03 04 D1 7B 01 BA 00 35

TX: 02 03 00 06 00 01 64 38
RX: 02 03 02 01 BA 7C 67
TX: 02 03 00 07 00 01 35 F8
RX: 02 03 02 1D 06 75 16

TX: 02 03 00 08 00 01 05 FB
RX: 02 03 02 02 03 BD 25

TX: 02 03 00 09 00 01 54 3B
RX: 02 03 02 64 00 D6 84

TX: 02 03 00 0A 00 01 A4 3B
RX: 02 03 02 02 03 BD 25

TX: 02 03 00 0B 00 01 F5 FB
RX: 02 03 02 64 00 D6 84

TX: 02 03 00 0C 00 01 44 3A
RX: 02 03 02 02 03 BD 25

TX: 02 03 00 0D 00 01 15 FA
RX: 02 03 02 64 00 D6 84

TX: 02 03 00 0E 00 01 E5 FA
RX: 02 03 02 08 98 FA 2E
TX: 02 03 00 0F 00 01 B4 3A
RX: 02 03 02 13 87 B1 16
TX: 02 03 00 0F 00 02 F4 3B
RX: 02 03 04 13 88 00 00 4D 9D
TX: 02 03 00 10 00 01 85 FC
RX: 02 03 02 00 00 FC 44
TX: 02 03 00 11 00 01 D4 3C
RX: 02 03 02 15 F7 B3 52
TX: 02 03 00 11 00 02 94 3D
TX: 02 03 00 12 00 01 24 3C RX: 02 03 04 15 F5 00 00 DD 0D
RX: 02 03 02 00 00 FC 44

TX: 02 03 00 13 00 01 75 FC
RX: 02 03 02 06 A9 3F 9A
TX: 02 03 00 13 00 02 35 FD
RX: 02 03 04 06 A9 00 00 19 9B
TX: 02 03 00 13 00 02 35 FD
RX: 02 03 04 06 A9 00 00 19 9B
TX: 02 03 00 14 00 01 C4 3D
RX: 02 03 02 00 00 FC 44
TX: 02 03 00 15 00 01 95 FD
RX: 02 03 02 16 F4 F3 A3 TX: 02 03 00 15 00 02 D5 FC
TX: 02 03 00 16 00 01 65 FD RX: 02 03 04 16 F4 00 00 8C 89
RX: 02 03 02 00 00 FC 44

TX: 02 03 00 17 00 01 34 3D
RX: 02 03 02 02 07 BC E6 TX: 02 03 00 17 00 02 74 3C
TX: 02 03 00 18 00 01 04 3E RX: 02 03 04 02 0A 00 00 E8 89
RX: 02 03 02 00 00 FC 44
TX: 02 03 00 19 00 01 55 FE
RX: 02 03 02 00 5E 7D BC

TX: 02 03 00 1A 00 01 A5 FE
RX: 02 03 02 00 19 3D 8E

TX: 02 03 00 1B 00 01 F4 3E
RX: 02 03 02 B7 0D 4A 71
TX: 02 03 00 1C 00 01 45 FF
RX: 02 03 02 00 00 FC 44
TX: 02 03 00 1D 00 01 14 3F
RX: 02 03 02 00 5F BC 7C

TX: 02 03 00 1E 00 01 E4 3F
RX: 02 03 02 01 F4 FC 53

TX: 02 03 00 1F 00 01 B5 FF
RX: 02 03 02 63 80 D5 14

TX: 02 03 00 28 00 06 45 F3
RX: 02 03 0C 00 00 00 01 00 01 00 00 00 23 00 0D FD 2E

TX: 02 03 00 32 00 01 25 F6
RX: 02 03 02 00 AA 7C 3B
TX: 02 03 00 33 00 01 74 36
RX: 02 03 02 0A D2 7A B9
TX: 02 03 00 34 00 01 C5 F7
RX: 02 03 02 00 00 FC 44 TX: 02 03 00 34 00 02 85 F6
TX: 02 03 00 35 00 01 94 37 RX: 02 03 04 00 00 00 00 C9 33
RX: 02 03 02 00 00 FC 44
TX: 02 03 00 36 00 01 64 37
RX: 02 03 02 84 80 9E E4
TX: 02 03 00 36 00 02 24 36
RX: 02 03 04 84 80 00 1E 60 23
TX: 02 03 00 37 00 01 35 F7
RX: 02 03 02 00 1E 7C 4C
TX: 02 03 00 38 00 01 05 F4
RX: 02 03 02 27 10 E6 78
TX: 02 03 00 38 00 02 45 F5
TX: 02 03 00 39 00 01 54 34 RX: 02 03 04 2E ED 00 00 50 2E
RX: 02 03 02 00 00 FC 44

TX: 02 03 00 3A 00 01 A4 34
RX: 02 03 02 42 40 CD 14
TX: 02 03 00 3A 00 02 E4 35
RX: 02 03 04 42 40 00 0F 9C 9B
TX: 02 03 00 3A 00 02 E4 35
TX: 02 03 00 3B 00 01 F5 F4 RX: 02 03 04 42 40 00 0F 9C 9B
RX: 02 03 02 00 0F BC 40
Write registers and data

55F0->(DEC)22000

1388→(DEC)5000

157C→(DEC)5500

2536→(DEC)598---???not
1726(HEC)=9526(DEC)

0898→(DEC)2200

15F7→5623

06A9→1705
0207→(DEC)=519

005E→(DEC)=94

0019→(DEC)=25

005F→(DEC)=95

01F4→(DEC) 500

TX: 02 10 00 28 00 01 00 01 02 07 E6 ?? ?? my
guess 07 E6 2022 year. 0028 command w
TX: 02 10 00 28 00 03 06 07 E6 00 01 00 16 07E6→2022, 0001, Jan, 0016, 22 d

TX: 02 10 00 33 00 01 02 0B 86 31 F1
0AD2_>2770
RX: 02 10 00 33 00 4D F0
295.0v
0B86→2950dec
5640.756A
TX: 02 10 00 34 00 02 04 12 34 00 56 3A 84
RX: 02 10 00 34 00 4F C0
0X00561234

7437.6W
TX: 02 10 00 36 00 02 04 22 88 00 01 34 47 84 80 00 1E-→ 001E8480 → 2000.000
RX: 02 10 00 36 00 4E A0
0X00012288

22554 =225hours 54 minutes


TX: 02 10 00 38 00 02 04 58 1A 00 00 CC FE
0x581A 写数据时分钟不能大于60 RX: 02 10 00 38 00 4A C0
the minutes cannot be greater than
when writing data
3346.722KWH
00 0F 42 40-→ hex to 1000.000 dec
TX: 02 10 00 3A 00 02 04 11 22 00 33 9A A3
RX: 02 10 00 3A 00 4B A0
TX: 02 10 00 3A 00 02 04 11 22 00 33 9A A3
RX: 02 10 00 3A 00 4B A0
0x331122
00 33 11 22 -→hex to 3346.722 W

0x0154 clear energy command wor


TX: 02 10 01 54 00 02 04 00 00 00 00 F5 B4
Write data00 RX: 02 10 01 54 00 36 00

TX: 02 10 01 56 00 02 04 00 00 00 00 74 6D
Write data00
RX: 02 10 01 56 00 37 60

TX: 02 10 01 58 00 01 02 00 00 AF 78
Write data00
RX: 02 10 01 58 00 33 00 0x0158 4 clear time command wor
07 E6 2022 year. 0028 command word, 0001 write addr register, 02 bytes to write, 07E6 year data for 2022.
07E6→2022, 0001, Jan, 0016, 22 day

0B86→2950dec

84 80 00 1E-→ 001E8480 → 2000.000 W

00 0F 42 40-→ hex to 1000.000 dec


00 33 11 22 -→hex to 3346.722 WH dec

0x0154 clear energy command word

0x0158 4 clear time command word

You might also like