Эх сурвалжийг харах

2022-02-10/Alston Lin
Actions
1. Modify the error code and description of the PSU
Files
1. As follow commit history

root 3 жил өмнө
parent
commit
ed572b81ab
1 өөрчлөгдсөн 9 нэмэгдсэн , 15 устгасан
  1. 9 15
      EVSE/Projects/define.h

+ 9 - 15
EVSE/Projects/define.h

@@ -1304,9 +1304,9 @@ char AlarmStatusCode[160][6]=
     "012326",   // System task is lost
     "012327",   // DC input ovp
     "012328",   // DC input uvp
-    "012329",   // reserved
-    "012330",   // reserved
-    "012331",   // reserved
+    "012329",   // Psu Can Communication Fault
+    "012330",   // Psu Dc to Dc OTP
+    "012331",   // Psu Dc to Dc OVP
     "012332",   // reserved
     "012333",   // reserved
     "012334",   // reserved
@@ -1321,7 +1321,7 @@ char AlarmStatusCode[160][6]=
     "012343",   // reserved
     "012344",   // AC: Meter IC communication timeout
     "012345",   // AC: Pilot negative error
-    "012346",   // reserved
+    "012346",   // Psu Communication error with CSU
     "012347",   // reserved
     "012348",   // reserved
     "012349",   // reserved
@@ -1490,18 +1490,12 @@ struct AlarmCodeData
             unsigned char DcInputOVP:1;                             //bit 7
             //AlarmVal[16]
             unsigned char DcInputUVP:1;                             //bit 0
-            unsigned char PsuCircuitShort:1;                    	//bit 1
-            unsigned char PsuFanFault:1;                     		//bit 2
-            unsigned char PsuIdRepetition:1;                    	//bit 3
-            unsigned char PsuDcDcUnevenCurShare:1;                  //bit 4
-            unsigned char PsuPfcPowOff:1;                     		//bit 5
-            unsigned char PsuDcDcPowOff:1;                     		//bit 6
-            unsigned char PsuModuleUnderPowLimit:1;                 //bit 7
+            unsigned char PsuCanCommFault:1;                        //bit 1 ~ bit 7
+            unsigned char PsuDcDcOtp:1;                        //bit 2 ~ bit 7
+            unsigned char PsuDcDcOvp:1;                        //bit 3 ~ bit 7
+            unsigned char :4;                        //reserved bit 4 ~ bit 7
             //AlarmVal[17]
-            unsigned char PsuDcDcOtp:1;                             //bit 0
-            unsigned char PsuDcDcOvp:1;                             //bit 1
-            unsigned char PsuCanCommFault:1;                        //bit 2
-            unsigned char :5;                        				//reserved bit 3 ~ bit 7
+            unsigned char :8;                                       //reserved bit 0 ~ bit 7
             //AlarmVal[18]
             unsigned char MeterIcCommTimeout:1;                     //bit 0
             unsigned char PilotNegativeError:1;                     //bit 1