You are on page 1of 2

AA 04 17 00 55 EC AA 04 15 01 55 EF

AA 0C 16 00 1C 00 2A 00 07 27 58 4E 45 55
AA 04 01 02 55 F8 AA 04 0F 01 55 F5
AA 04 14 04 55 EB AA 04 0A B5 90 55
AA 04 18 FF 55 1C

Total bytes 56

AA 04 17 00 55 EC -Start Message

AA 04 15 01 55 EF – Version

AA 0C 16 00 1C 00 2A 00 07 27 58 4E 45 55 – Serial Number

AA 04 01 02 55 F8 – Battery Low(Discharge mode)

AA 04 0F 01 55 F5 – Solar input fail

AA 04 14 04 55 EB – Mains input under voltage

AA 04 0A B5 90 55 -Battery current (charging/Discharge based on formula)

for battery current two bytes are used to get the battery current,the formula is
given below

Battery Current Calculation method in Amps

= Received 2 Hex Bytes B5 90

Step 1 APPEND B5 and 90 - result 0xB590


Step 2 Convert ( 0xB590 ) to decimal - Result ( D1 ).
Step 3 decimal ( D1 ) multiply by ( 3.3 / 65536 ) - Result ( D2 ).
Step 4
Case 1:
If D2 is above 2.36 ( It is Battery Charging current )
a. do subtract function as in brackets ( D2 - 2.36 ) - Result ( D3 )
b. Divide D3 by 50 - Result ( D4 )
c. Divide D4 by 0.005 - Result ( D5 )
D5 is the Battery charging current in Amps.

Case 2:
If D2 is below 2.36 ( It is Battery Dis -Charge current )
a. do subtract function as in brackets ( 2.36 - D2 ) - Result ( D3 )
b. Divide D3 by 50 - Result ( D4 )
c. Divide D4 by 0.005 - Result ( D5 )
D5 is the Battery Discharge current in Amps.

AA 04 18 FF 55 1C – Stop message
START TOTAL PROTOCOL DATA STOP
CATEGORIES MESSAGE BYTE BYTE NO BYTES BYTE CRC
START 0xAA 0x04 0x17 0x00 0x55 0XEC
VERSION 0xAA 0x04 0x15 0x01 0x55 0xEF
SERIAL NO 0xAA 0x0C 0x16 10 Bytes 0x55
BATTERY LOW - DISCHARGE MODE 0xAA 0x04 0x01 0x02 0x55 0xF8
DOD 80% 0xAA 0x04 0x02 0x04 0x55 0xFD
DOD 75-50% 0xAA 0x04 0x03 0x08 0x55 0xF0
DOD 50-25% 0xAA 0x04 0x04 0x10 0x55 0xEF
DOD LESS THAN 20% 0xAA 0x04 0x05 0x20 0x55 0xDE
BATTERY LOW - CHARGE MODE 0xAA 0x04 0x06 0x03 0x55 0xFE
CAPACITY 25-50% 0xAA 0x04 0x07 0x05 0x55 0xF9
CAPACITY 50-75% 0xAA 0x04 0x08 0x09 0x55 0xFA
BATTERY PARAMETERS CAPACITY 75-100% 0xAA 0x04 0x09 0x11 0x55 0xE3
AMPLITUDE BATTERY – charge/discharge current 0xAA 0x04 0x0A 2 Bytes 0x55
SOLAR OUTPUT OVER VOLTAGE 0xAA 0x04 0x0C 0x08 0x55 0xFF
SOLAR OUTPUT OK 0xAA 0x04 0x0D 0x02 0x55 0xF4
SOLAR OUTPUT FAULT 0xAA 0x04 0x0E 0x04 0x55 0xF1
SOLAR PARAMETERS SOLAR INPUT FAIL 0xAA 0x04 0x0F 0x01 0x55 0xF5
MAINS INPUT NORMAL,MAINS OUTPUT
OVER LOAD 0xAA 0x04 0x10 0x11 0x55 0xFA
MAINS INPUT NORMAL,MAINS OUTPUT
NORMAL 0xAA 0x04 0x11 0x21 0x55 0xCB
MAINS INPUT NORMAL ,MAINS OUT
PUT OVER VOLTAGE 0xAA 0x04 0x12 0x09 0x55 0xE0
MAINS INPUT OVERVOLTAGE 0xAA 0x04 0x13 0x02 0x55 0xEA
MAINS PARAMETERS MAINS INPUT UNDER VOLTAGE 0xAA 0x04 0x14 0x04 0x55 0xEB
STOP 0xAA 0x04 0x18 0xFF 0x55 0x1C

You might also like