mirror of https://github.com/rusefi/wideband.git
dual.ini: add AFR fault gauge and indicator (#158)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
This commit is contained in:
parent
a5fed4d23a
commit
cf717982ab
|
@ -130,6 +130,7 @@ AFR0_Nernst = scalar, F32, 40, "V", 1, 0, 0.0, 1.0, 2
|
|||
AFR0_PumpITarget = scalar, F32, 44, "mA", 1, 0, -5.0, 5.0, 2
|
||||
AFR0_PumpIMeasure = scalar, F32, 48, "mA", 1, 0, -5.0, 5.0, 2
|
||||
AFR0_HeaterDuty = scalar, F32, 52, "%", 100, 0, 0.0, 100.0, 0
|
||||
AFR0_fault = scalar, U08, 56, "", 1, 0, 0, 6, 0
|
||||
|
||||
; AFR1
|
||||
AFR1_in = scalar, F32, 64, "", 14.7, 0, 0.0, 20.0, 2
|
||||
|
@ -138,6 +139,7 @@ AFR1_Nernst = scalar, F32, 72, "V", 1, 0, 0.0, 1.0, 2
|
|||
AFR1_PumpITarget = scalar, F32, 76, "mA", 1, 0, -5.0, 5.0, 2
|
||||
AFR1_PumpIMeasure = scalar, F32, 80, "mA", 1, 0, -5.0, 5.0, 2
|
||||
AFR1_HeaterDuty = scalar, F32, 84, "%", 100, 0, 0.0, 100.0, 0
|
||||
AFR1_fault = scalar, U08, 88, "", 1, 0, 0, 6, 0
|
||||
|
||||
; EGT0
|
||||
EGT0_temp = scalar, F32, 96, "C", 1, 0, -250.0, 1600.0, 0
|
||||
|
@ -154,6 +156,8 @@ seconds = scalar, U32, 124, "sec", 1, 0
|
|||
[PcVariables]
|
||||
; Keep in sync with Max31855State enum from max31855.h
|
||||
EgtStatesList = bits, U08, [0:7], "Ok", "Open Circuit", "Short to GND", "Short to VCC", "No reply"
|
||||
; Keep in sync with WBO::Fault from ../for_rusefi/wideband_can.h
|
||||
AfrFaultList = bits, U08, [0:7], "Ok", "Unk", "Unk", "Failed to heat", "Overheat", "Underheat", "No supply"
|
||||
|
||||
[TableEditor]
|
||||
|
||||
|
@ -174,6 +178,7 @@ AFR0_NernstGauge = AFR0_Nernst, "0: nernst", "V",
|
|||
AFR0_HeaterDutyGauge = AFR0_HeaterDuty, "0: Heater", "%", 0.0, 100.0, 1.0, 3.0, 90, 95, 2, 2
|
||||
AFR0_PumpITargetGauge = AFR0_PumpITarget, "0: Ipump Target", "mA", -5.0, 5.0, -4.0, -3.0, 3.0, 4.0, 2, 2
|
||||
AFR0_PumpIMeasureGauge = AFR0_PumpIMeasure, "0: Ipump Actual", "mA", -5.0, 5.0, -4.0, -3.0, 3.0, 4.0, 2, 2
|
||||
AFR0_FaultGauge = AFR0_fault, "0: AFR fault", "", 0.0, 6.0, 0.0, 0.0, 0.5, 0.5, 2, 2
|
||||
|
||||
; AFR1
|
||||
gaugeCategory = AFR channel 1
|
||||
|
@ -184,6 +189,7 @@ AFR1_NernstGauge = AFR1_Nernst, "1: nernst", "V",
|
|||
AFR1_HeaterDutyGauge = AFR1_HeaterDuty, "1: Heater", "%", 0.0, 100.0, 1.0, 3.0, 90, 95, 2, 2
|
||||
AFR1_PumpITargetGauge = AFR1_PumpITarget, "1: Ipump Target", "mA", -5.0, 5.0, -4.0, -3.0, 3.0, 4.0, 2, 2
|
||||
AFR1_PumpIMeasureGauge = AFR1_PumpIMeasure, "1: Ipump Actual", "mA", -5.0, 5.0, -4.0, -3.0, 3.0, 4.0, 2, 2
|
||||
AFR1_FaultGauge = AFR1_fault, "1: AFR fault", "", 0.0, 6.0, 0.0, 0.0, 0.5, 0.5, 2, 2
|
||||
|
||||
; EGT0
|
||||
gaugeCategory = EGT channel 0
|
||||
|
@ -215,6 +221,9 @@ EGT1_StateGauge = EGT1_state, "1: EGT state", "",
|
|||
gauge8 = TestGauge
|
||||
|
||||
indicator = { EGT0_state }, "EGT0 ok", { EGT0: bitStringValue(EgtStatesList, EGT0_state)}, green, black, red, black
|
||||
indicator = { AFR0_fault }, "AFR0 ok", { AFR0: bitStringValue(AfrFaultList, AFR0_fault)}, green, black, red, black
|
||||
|
||||
indicator = { AFR1_fault }, "AFR1 ok", { AFR1: bitStringValue(AfrFaultList, AFR1_fault)}, green, black, red, black
|
||||
indicator = { EGT1_state }, "EGT1 ok", { EGT1: bitStringValue(EgtStatesList, EGT1_state)}, green, black, red, black
|
||||
|
||||
[KeyActions]
|
||||
|
|
Loading…
Reference in New Issue