You are on page 1of 8

International-Intelligent-Circuit-Breaker Tuya MODBUS Communication Protocol V3.

Version History Author Notes


V1.0 Tan Bingrong
V3.3 Tan Bingrong

Intelligent-Circuit-Breaker MODBUS Communication Protocol

The protocol specifies the communication mode and data format between
intelligent circuit breaker and terminal (TTU) or other main controller.This
protocol is half duplex communication.This protocol is in the mode of master-
slave ,intelligent circuit breaker (address and other settings can be
changed)as the slave nodes can build/delete communication-link by frame-
information which come from the master nodes.The frame-information protocol’s
format is MODBUS protocol.
Additional Function Data Area Error Check (CRC16)
Address Code
1 Byte 1 Byte 1-252 Bytes 2 Bytes
The protocol’s format
Modbus Register description
A)Read Holding-Register(modbus function code=03)
,can’t support broadcast.
I.Basic Information
Register Register content notes
Address
0000 DeviceState(HEX
0x0000=OFF,0x0001=ON)
0001 AddressCode(HighByte=00,
LowByte
(01~247,00=Broadcast)。
0002 Baud-Rate
&TimeDelayParameters
0003 Version(2bytes,HEX)
0004 Type(HighByte=0x00,LowByte detail in
is useful) TABLE1 Below
0005 Voltage(A-Phase) HEX,unit 0.1V
0006 Voltage(B-Phase) HEX,unit 0.1V
0007 Voltage(C-Phase) HEX,unit 0.1V
0008 Current(A-Phase) HEX,unit 0.01A
0009 Current(B-Phase) HEX,unit 0.01A
0010 Current(C-Phase) HEX,unit 0.01A
0011 Total-Active-Power HEX,unit0.01KW
0012 Active-Power(A-Phase) HEX,unit0.01KW
0013 Active-Power(B-Phase) HEX,unit0.01KW

1
International-Intelligent-Circuit-Breaker Tuya MODBUS Communication Protocol V3.3

0014 Active-Power(C-Phase) HEX,unit0.01KW


0015 Total-Reactive-Power HEX,unit0.01Kvar
0016 Reactive-Power(A-Phase) HEX,unit0.01Kvar
0017 Reactive-Power(B-Phase) HEX,unit0.01Kvar
0018 Reactive-Power(C-Phase) HEX,unit0.01Kvar
0019 Temperature Unit ℃,1Byte,signed,HEX,
-127~127
0020 Direction(Electronic) LowByte is useful,detail in
TABLE2 Below
0021 Positive-Active- 2Register,4Byte,HEX,unit0.0
PowerConsumption1/2 1KWh
0022 Positive-Active-
PowerConsumption2/2
0023 Negative-Active- 2Register,4Byte,HEX,unit0.0
PowerConsumption 1/2 1KWh
0024 Negative-Active-
PowerConsumption 2/2
0025 Total-Reactive- 2Register,4Byte,HEX,
PowerConsumption1/2 unit0.01Kvarh
0026 Total-Reactive-
PowerConsumption2/2
0027 Reactive- 2Register,4Byte,HEX,
PowerConsumption(1st- unit0.01Kvarh
Quadrant) 1/2
0028 Reactive-
PowerConsumption(1st-
Quadrant) 2/2
0029 Reactive- 2Register,4Byte,HEX,
PowerConsumption(2nd- unit0.01Kvarh
Quadrant) 1/2
0030 Reactive-
PowerConsumption(2nd-
Quadrant) 2/2
0031 Reactive- 2Register,4Byte,HEX,
PowerConsumption(3rd- unit0.01Kvarh
Quadrant) 1/2
0032 Reactive-
PowerConsumption(3rd-
Quadrant) 2/2
0033 Reactive- 2Register,4Byte,HEX,
PowerConsumption(4th- unit0.01Kvarh
Quadrant) 1/2
0034 Reactive-

2
International-Intelligent-Circuit-Breaker Tuya MODBUS Communication Protocol V3.3

PowerConsumption(4th-
Quadrant) 2/2
0035 Leakage-Current HEX,unit0.001A
0036 Left-PowerConsumption 1/2 2Register,4Byte,HEX,
0037 Left-PowerConsumption 2/2 unit0.01KWh
0038 Owed-Action Value=0x0001 is active
II.Running State
0047 Running State 1/4 Detail in
0048 Running State 2/4 TABLE3 Below
0049 Running State 3/4
0050 Running State 4/4
III.Current ,Voltage And Temperature Threshold
0067 Current Threshold’s Value HEX,unit0.01A
0068 Current Threshold’s Duration Hex unit S,LowByte is useful
0069 Current Threshold’s LowByte is useful,
Power OFF If LowByte=0x01,
Circuit-Breaker will be OFF,else
not.
0070 Current Threshold’s LowByte is useful,
Alert If LowByte=0x01,
Circuit-Breaker will submit
alert message,else not.
0075 Leakage-Current Threshold’s HEX,unit0.001A
Value
0076 Leakage-Current Threshold’s Hex unit S,LowByte is useful
Duration
0077 Leakage-Current Threshold’s LowByte is useful,
Power OFF If LowByte=0x01,
Circuit-Breaker will be OFF,else
not.
0078 Leakage-Current Threshold’s LowByte is useful,
Alert If LowByte=0x01,
Circuit-Breaker will submit
alert message,else not.
0083 Over-Voltage Threshold’s HEX,unit 0.1V
Value
0084 Over-Voltage Threshold’s Hex unit S,LowByte is useful
Duration
0085 Over-Voltage Threshold’s LowByte is useful,
Power OFF If LowByte=0x01,
Circuit-Breaker will be OFF,else
not.
0086 Over-Voltage Threshold’s LowByte is useful,

3
International-Intelligent-Circuit-Breaker Tuya MODBUS Communication Protocol V3.3

Alert If LowByte=0x01,
Circuit-Breaker will submit
alert message,else not.
0091 Under-Voltage Threshold’s HEX,unit 0.1V
Value
0092 Under-Voltage Threshold’s Hex unit S,LowByte is useful
Duration
0093 Under-Voltage Threshold’s LowByte is useful,
Power OFF If LowByte=0x01,
Circuit-Breaker will be OFF,else
not.
0094 Under-Voltage Threshold’s LowByte is useful,
Alert If LowByte=0x01,
Circuit-Breaker will submit
alert message,else not.
0095 Temperature Threshold’s HEX,unit:℃,range from -40 to
Value 120
0096 Temperature Threshold’s Hex unit S,LowByte is useful
Duration
0097 Temperature Threshold’s LowByte is useful,
Power OFF If LowByte=0x01,
Circuit-Breaker will be OFF,else
not.
0098 Temperature Threshold’s LowByte is useful,
Alert If LowByte=0x01,
Circuit-Breaker will submit
alert message,else not.
IV.Alert Message
*if you read Alert Message ,it will clear zero .
*When Intelligent-Circuit-Breaker is restarted,Alert Message will be zero
at first.
0500 Alert Message(Clear Zero After Detail In TABLE4
Reading ) Below

TABLE1 Type
BIT7 BIT6 BIT5 BIT4 BIT3 BIT2 BIT1 BIT0
Without 0 0 Trunk- 0 0 0 Single-
Leakage- Circuit=0 Phase=0
Current=
0 Branch- Three-
Circuit=1 Phase=1
With
Leakage-

4
International-Intelligent-Circuit-Breaker Tuya MODBUS Communication Protocol V3.3

Current=
1

TABLE2 Direction(Electronic)
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
Total- Reactive Reactive Reactive Total- Active- Active- Active-
Reactive - - - Active- Directio Directio Directio
- Directio Directio Directio Directio n(C- n(B- n(A-
Directio n(C- n(B- n(A- n Phase) Phase) Phase)
n Phase) Phase) Phase)
Direction=0 Positive(+),=1 Negative(-)
TABLE3 Running State(BIT=1 Has Alert,BIT=0 None)
Running State 1/4
BIT15 BIT14 BIT13 BIT12 BIT11 BIT10 BIT9 BIT8
Setting Leakage- 0 0 Over- Current 0 Under-
State=1 Current Voltage Threshol Voltage
Running Threshol Threshol d Alert Threshold
State=0 d Alert d Alert Alert
BIT7 BIT6 BIT5 BIT4 BIT3 BIT2 BIT1 BIT0
0 0 0 0 0 0 0 Temperat
ure
Threshold
Alert
Running State 2/4
BIT15 BIT14 BIT13 BIT12 BIT11 BIT10 BIT9 BIT8
0 0 0 0 A- A- 0 A-
PhaseO PhaseCu PhaseUnd
ver- rrent er-
Voltage Thresho Voltage
Thresho ld Alert Threshold
ld Alert Alert
BIT7 BIT6 BIT5 BIT4 BIT3 BIT2 BIT1 BIT0
0 0 0 0 0 0 0 0
Running State 3/4
BIT15 BIT14 BIT13 BIT12 BIT11 BIT10 BIT9 BIT8
0 0 0 0 B- B-Phase 0 B-
PhaseO Current PhaseUnd
ver- Threshol er-
Voltage d Alert Voltage
Thresho Threshold
ld Alert Alert
BIT7 BIT6 BIT5 BIT4 BIT3 BIT2 BIT1 BIT0
0 0 0 0 0 0 0 0

5
International-Intelligent-Circuit-Breaker Tuya MODBUS Communication Protocol V3.3

Running State 4/4


BIT15 BIT14 BIT13 BIT12 BIT11 BIT10 BIT9 BIT8
0 0 0 0 C- C-Phase 0 C-
PhaseO Current PhaseUnd
ver- Threshol er-
Voltage d Alert Voltage
Thresho Threshold
ld Alert Alert
BIT7 BIT6 BIT5 BIT4 BIT3 BIT2 BIT1 BIT0
0 0 0 0 0 0 0 0

TABLE4 Alert Message


BIT15 BIT14 BIT13 BIT12 BIT11 BIT10 BIT9 BIT8
0 Leakage- 0 0 Over- Current 0 Under-
Current Voltage Threshol Voltage
Threshol Threshol d Alert Threshold
d Alert d Alert Alert
BIT7 BIT6 BIT5 BIT4 BIT3 BIT2 BIT1 BIT0
0 0 0 0 0 0 0 Temperat
ure
Threshold
Alert

B) Write Single Register(modbus function code=06)


Register Register content notes
Address
0000 DeviceState(HEX 0000:OFF
0000=OFF,0001=ON) 0001:ON
0001 AddressCode(HighByte=00 HEX(0X0001~0X00F7)
,LowByte
(01~247,00=Broadcast)。
0002 Baud-Rate
&TimeDelayParameters
1000 Clear The Data Of Power Value=0000
Consumption(Hex=0X3E8)

0038 Owed-Action Value=0x0001 is active


0039 Recharging- HEX,unit 0.01KWh
PowerConsumption(Only
Write)
0067 Current Threshold’s Value HEX,unit0.01A
0068 Current Threshold’s Hex unit S,LowByte is useful
Duration

6
International-Intelligent-Circuit-Breaker Tuya MODBUS Communication Protocol V3.3

0069 Current Threshold’s LowByte is useful,


Power OFF If LowByte=0x01,
Circuit-Breaker will be OFF,else
not.
0070 Current Threshold’s LowByte is useful,
Alert If LowByte=0x01,
Circuit-Breaker will submit alert
message,else not.
0075 Leakage-Current HEX,unit0.001A
Threshold’s Value
0076 Leakage-Current Hex unit S,LowByte is useful
Threshold’s Duration
0077 Leakage-Current LowByte is useful,
Threshold’s If LowByte=0x01,
Power OFF Circuit-Breaker will be OFF,else
not.
0078 Leakage-Current LowByte is useful,
Threshold’s If LowByte=0x01,
Alert Circuit-Breaker will submit alert
message,else not.
0083 Over-Voltage Threshold’s HEX,unit 0.1V
Value
0084 Over-Voltage Threshold’s Hex unit S,LowByte is useful
Duration
0085 Over-Voltage Threshold’s LowByte is useful,
Power OFF If LowByte=0x01,
Circuit-Breaker will be OFF,else
not.
0086 Over-Voltage Threshold’s LowByte is useful,
Alert If LowByte=0x01,
Circuit-Breaker will submit alert
message,else not.
0091 Under-Voltage Threshold’s HEX,unit 0.1V
Value
0092 Under-Voltage Threshold’s Hex unit S,LowByte is useful
Duration
0093 Under-Voltage Threshold’s LowByte is useful,
Power OFF If LowByte=0x01,
Circuit-Breaker will be OFF,else
not.
0094 Under-Voltage Threshold’s LowByte is useful,
Alert If LowByte=0x01,
Circuit-Breaker will submit alert

7
International-Intelligent-Circuit-Breaker Tuya MODBUS Communication Protocol V3.3

message,else not.
0095 Temperature Threshold’s HEX,unit:℃,range from -40 to
Value 120
0096 Temperature Threshold’s Hex unit S,LowByte is useful
Duration
0097 Temperature Threshold’s LowByte is useful,
Power OFF If LowByte=0x01,
Circuit-Breaker will be OFF,else
not.
0098 Temperature Threshold’s LowByte is useful,
Alert If LowByte=0x01,
Circuit-Breaker will submit alert
message,else not.

Notice : 1 ) Set{Address ( Register0001 ) ,Baud-Rate


&TimeDelayParameters(Register0002)},Red HardWare-Switch must be in SET
state.
2 ) Write single Register(modbus Function Code=06) support
Broadcast,Broadcast-Address=00.
3)Baud-Rate &TimeDelayParameters
BIT BIT BIT BIT BIT BIT BIT BIT BIT BIT BIT BIT BIT BIT BIT BIT
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BIT12~BIT15[15:12] 0 0 0 0 0 0 0 0 BIT2~BIT3 BIT0!BIT1

SerialPort-Baud-Rate [2:3] [0:1]

(setted 9600) Interframe Intraframe

6 : 9600 delaytime delaytime

00:50ms 00:5ms

01: 01:50ms

100ms 02 :

02: 500ms 100ms

03: 03:250ms

1000ms

You might also like