浏览代码

2020-12-10 / Alston Lin
Actions
1. Add a error code 012306 checked the DIP switch of psu

Files
1. As follow commit history

Alston 4 年之前
父节点
当前提交
20fbdf795e
共有 1 个文件被更改,包括 12 次插入11 次删除
  1. 12 11
      EVSE/Projects/define.h

+ 12 - 11
EVSE/Projects/define.h

@@ -1052,10 +1052,10 @@ char AlarmStatusCode[128][6]=
 	"012300",	// System AC output OCP L3
 	"012301",	// Circuit Short L2
 	"012302",	// Circuit Short L3
-	"012303",   // CCS liquid chiller water level warning
-	"012304",   // connection disconnected from power cabinet
-	"012305",   // Meter communication timeout
-
+	"012303",	// CCS liquid chiller water level warning
+	"012304",	// connection disconnected from power cabinet
+	"012305",	// Meter communication timeout
+	"012306",	// The dip switch of the PSU may be incorrect
 };
 struct AlarmCodeData
 {
@@ -1170,9 +1170,9 @@ struct AlarmCodeData
 			unsigned char GbtOutputUVPFail :1;					//bit 2
 			unsigned char GbtboardStestFail :1;					//bit 3
 			unsigned char AcConnectorStestFail:1;				//bit 4
-			unsigned char LedboardStestFail:1;									//bit 5
-			unsigned char AcSystemInputOVP:1;									//bit 6
-			unsigned char AcSystemInputUVP:1;									//bit 7
+			unsigned char LedboardStestFail:1;					//bit 5
+			unsigned char AcSystemInputOVP:1;					//bit 6
+			unsigned char AcSystemInputUVP:1;					//bit 7
 			//AlarmVal[12]
 			unsigned char ChademoGroundWarning :1;					//bit 0
 			unsigned char CcsGroundfaultWarning :1;					//bit 1
@@ -1181,11 +1181,12 @@ struct AlarmCodeData
 			unsigned char SystemAcOutputOCPL3:1;					//bit 4
 			unsigned char CircuitShortL2:1;							//bit 5
 			unsigned char CircuitShortL3:1;							//bit 6
-			unsigned char CcsLiquidChillerWaterLevelWarning:1;      //bit 7
+			unsigned char CcsLiquidChillerWaterLevelWarning:1;		//bit 7
 			//AlarmVal[13]
-            unsigned char DisconnectedFromDo:1;                     //bit 0
-            unsigned char MeterCommTimeout:1;                       //bit 1
-            unsigned char Reserved :6;                              //bit 2~bit7
+			unsigned char DisconnectedFromDo :1;					//bit 0
+			unsigned char MeterCommTimeout:1;						//bit 1
+			unsigned char PsuDipSwitchStestFail; 					//bit 1
+			unsigned char Reserved :5;								//bit 3~bit7
 		}bits;
 	}AlarmEvents;
 };