Skip to content

Commit 6764ccd

Browse files
OPEN / CLOSE instead of LOW HIGH at switches
Changed order removed IMD
1 parent e378337 commit 6764ccd

2 files changed

Lines changed: 20 additions & 41 deletions

File tree

docs/source/safety_protocol.rst

Lines changed: 13 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -161,24 +161,24 @@ ChargeState1
161161
- 0
162162
-
163163
- State of the proximity pin. For fixed cables at CCS2, this value is 0x0: No Cable detected
164-
* - CS_Contactor1Error
165-
- 32
166-
- 1
164+
* - CS_Contactor1State
165+
- 33
166+
- 2
167167
-
168168
- No
169169
- 1
170170
- 0
171171
-
172-
- Is set when an error in the contactor is detected
173-
* - CS_Contactor1State
172+
- Is set when the contactor is closed
173+
* - CS_Contactor1Error
174174
- 34
175-
- 2
175+
- 1
176176
-
177177
- No
178178
- 1
179179
- 0
180180
-
181-
- Is set when the contactor is closed
181+
- Is set when an error in the contactor is detected
182182
* - CS_Contactor2State
183183
- 36
184184
- 2
@@ -233,24 +233,6 @@ ChargeState1
233233
- 0
234234
-
235235
- *No description available*
236-
* - CS_ImdRcmChargingAbort
237-
- 46
238-
- 1
239-
-
240-
- No
241-
- 1
242-
- 0
243-
-
244-
- *No description available*
245-
* - CS_ImdRcmTestFailure
246-
- 47
247-
- 1
248-
-
249-
- No
250-
- 1
251-
- 0
252-
-
253-
- *No description available*
254236

255237
**Value Descriptions**
256238

@@ -278,14 +260,14 @@ ChargeState1
278260

279261
- **CS_Contactor1State**
280262

281-
- 0x0 = LOW
282-
- 0x1 = HIGH
263+
- 0x0 = OPEN
264+
- 0x1 = CLOSE
283265
- 0x3 = NotConfigured
284266

285267
- **CS_Contactor2State**
286268

287-
- 0x0 = LOW
288-
- 0x1 = HIGH
269+
- 0x0 = OPEN
270+
- 0x1 = CLOSE
289271
- 0x3 = NotConfigured
290272

291273
- **CS_Estop1ChargingAbort**
@@ -321,9 +303,9 @@ ChargeState1
321303
+--------------------+--------------------+--------------------+--------------------+--------------------+--------------------+--------------------+--------------------+
322304
3| | | | | | CS_CurrentPpState | | |
323305
+--------------------+--------------------+--------------------+--------------------+--------------------+--------------------+--------------------+--------------------+
324-
4| | CS_HV_Ready | CS_Contactor2Error | CS_Contactor2State | | CS_Contactor1State | | CS_Contactor1Error |
306+
4| | CS_HV_Ready | CS_Contactor2Error | CS_Contactor2State | | CS_Contactor1Error | CS_Contactor1State | |
325307
+--------------------+--------------------+--------------------+--------------------+--------------------+--------------------+--------------------+--------------------+
326-
5|CS_ImdRcmTestFailure|CS_ImdRcmChargingAbo|CS_Estop3ChargingAbo| |CS_Estop2ChargingAbo| |CS_Estop1ChargingAbo| |
308+
5| | |CS_Estop3ChargingAbo| |CS_Estop2ChargingAbo| |CS_Estop1ChargingAbo| |
327309
+--------------------+--------------------+--------------------+--------------------+--------------------+--------------------+--------------------+--------------------+
328310
6| | | | | | | | |
329311
+--------------------+--------------------+--------------------+--------------------+--------------------+--------------------+--------------------+--------------------+

docs/source/utils/uart_com.dbc

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,9 @@ BO_ 7 ChargeState1: 8 Default_SafetyController
9696
SG_ CS_Estop1ChargingAbort : 41|2@0+ (1,0) [0|0] "" Default_HostController
9797
SG_ CS_Estop2ChargingAbort : 43|2@0+ (1,0) [0|0] "" Default_HostController
9898
SG_ CS_Estop3ChargingAbort : 45|2@0+ (1,0) [0|0] "" Default_HostController
99-
SG_ CS_ImdRcmChargingAbort : 46|1@0+ (1,0) [0|0] "" Default_HostController
100-
SG_ CS_ImdRcmTestFailure : 47|1@0+ (1,0) [0|0] "" Default_HostController
101-
SG_ CS_Contactor1State : 34|2@0+ (1,0) [0|0] "" Default_HostController
99+
SG_ CS_Contactor1State : 33|2@0+ (1,0) [0|0] "" Default_HostController
102100
SG_ CS_Contactor2State : 36|2@0+ (1,0) [0|0] "" Default_HostController
103-
SG_ CS_Contactor1Error : 32|1@0+ (1,0) [0|0] "" Default_HostController
101+
SG_ CS_Contactor1Error : 34|1@0+ (1,0) [0|0] "" Default_HostController
104102
SG_ CS_Contactor2Error : 37|1@0+ (1,0) [0|0] "" Default_HostController
105103
SG_ CS_HV_Ready : 38|1@0+ (1,0) [0|0] "" Default_HostController
106104
SG_ CS_CurrentPpState : 26|3@0+ (1,0) [0|0] "" Default_HostController
@@ -237,6 +235,11 @@ VAL_ 17 CC_CCSReady 2 "CCS_EmergencyStop" 1 "CCS_Ready" 0 "CCS_NotReady" ;
237235
VAL_ 16 CS_EStop_Reason 13 "HVReady_Malfunction" 12 "CE_Malfunction" 11 "ID_Malfunction" 10 "Temp4_Overtemp" 9 "Temp3_Overtemp" 8 "Temp2_Overtemp" 7 "Temp1_Overtemp" 6 "Temp4_Malfunction" 5 "Temp3_Malfunction" 4 "Temp2_Malfunction" 3 "Temp1_Malfunction" 2 "ComTimeout" 1 "EmergencyInput" 0 "NoStop" ;
238236
VAL_ 16 CS_ID_State 15 "SNA" 14 "Invalid" 1 "Connected" 0 "Not_Connected" ;
239237
VAL_ 16 CS_CE_State 15 "SNA" 7 "Invalid" 6 "B0" 5 "EC" 4 "E" 3 "D" 2 "C" 1 "B" 0 "A" ;
238+
VAL_ 7 CS_Estop1ChargingAbort 0 "FALSE" 1 "TRUE" 3 "NotConfigured" ;
239+
VAL_ 7 CS_Estop2ChargingAbort 0 "FALSE" 1 "TRUE" 3 "NotConfigured" ;
240+
VAL_ 7 CS_Estop3ChargingAbort 0 "FALSE" 1 "TRUE" 3 "NotConfigured" ;
241+
VAL_ 7 CS_Contactor1State 0 "OPEN" 1 "CLOSE" 3 "NotConfigured" ;
242+
VAL_ 7 CS_Contactor2State 0 "OPEN" 1 "CLOSE" 3 "NotConfigured" ;
240243
VAL_ 7 CS_CurrentPpState 7 "Error" 6 "Type1_ConnectedButtonPressed" 5 "Type1_Connected" 4 "63/70A" 3 "32A" 2 "20A" 1 "13A" 0 "NoCableDetected" ;
241244
VAL_ 7 CS_CurrentCpState 0 "Unknown" 7 "Invalid" 6 "F" 5 "E" 4 "D" 3 "C" 2 "B" 1 "A" ;
242245
VAL_ 10 PlatformType 129 "chargeSOM" 130 "CCY" ;
@@ -245,10 +248,4 @@ VAL_ 8 PT4_Temperature 8191 "TempSensorNotUsed" ;
245248
VAL_ 8 PT3_Temperature 8191 "TempSensorNotUsed" ;
246249
VAL_ 8 PT2_Temperature 8191 "TempSensorNotUsed" ;
247250
VAL_ 8 PT1_Temperature 8191 "TempSensorNotUsed" ;
248-
VAL_ 7 CS_Contactor1State 0 "LOW" 1 "HIGH" 3 "NotConfigured" ;
249-
VAL_ 7 CS_Contactor2State 0 "LOW" 1 "HIGH" 3 "NotConfigured" ;
250-
VAL_ 7 CS_Estop1ChargingAbort 0 "FALSE" 1 "TRUE" 3 "NotConfigured" ;
251-
VAL_ 7 CS_Estop2ChargingAbort 0 "FALSE" 1 "TRUE" 3 "NotConfigured" ;
252-
VAL_ 7 CS_Estop3ChargingAbort 0 "FALSE" 1 "TRUE" 3 "NotConfigured" ;
253-
254251

0 commit comments

Comments
 (0)