add ClearReason fuel cut codes (#233)

This commit is contained in:
Nathan Schulte 2024-02-23 23:22:45 -06:00 committed by GitHub
parent 6a0b74677f
commit 924fddf6a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,22 @@
# FOME Fuel and Ignition Cut Codes ("Clear Reason")
|Code|`enum ClearReason`|TunerStudio Text|Description|
|---|:--|:--|:--|
|0|`None`|None|no fuel/ignition cut|
|1|`Fatal`|Fatal Error|disabled due to fatal error|
|2|`Settings`|Setting Disabled|disabled by setting: `isInjectionEnabled`/`isIgnitionEnabled`|
|3|`HardLimit`|RPM Limit|disabled by hard (normal) RPM limit: `useCltBasedRpmLimit`/`cltRevLimitRpmBins`/`cltRevLimitRpm`/`rpmHardLimit`/`rpmHardLimitHyst`|
|4|`FaultRevLimit`|Fault RPM Limit|disabled by (fault) RPM limit -- ETB Problem: 1500, Fatal Error: 0 |
|5|`BoostCut`|Boost Cut|disabled by boost cut pressure threshold: `boostCutPressure`|
|6|`OilPressure`|Oil Pressure|disabled due to low oil pressure after 5 seconds: `minOilPressureAfterStart`|
|7|`StopRequested`|Stop Requested|disabled due to engine stop|
|8|`EtbProblem`|ETB Problem|disabled due to detected ETB problem ("10 percent-seconds of integral error") -- **currently not implemented**|
|9|`LaunchCut`|Launch Control|disabled by launch control RPM retard condition: `launchRpm`/`launchFuelCutEnable`/`launchSparkCutEnable`/`launchControlEnable`|
|10|`InjectorDutyCycle`|Max Injector Duty|disabled due to injector duty cycle limits: `maxInjectorDutyInstant`/`maxInjectorDutySustained`/`maxInjectorDutySustainedTimeout` -- resets after falling below 20% duty|
|11|`FloodClear`|Flood Clear|disabled to allow flood clear mode: `isCylinderCleanupEnabled` -- TPS > 95% while cranking|
|12|`EnginePhase`|Engine Sync|disabled due to lacking engine-cam sync to avoid non-sync spark: `vvtMode[0]` -- ex: symmetrical crank (NB2, Nissan VQ/MR), uneven firing order (VTwin Harley)|
|13|`KickStart`|Kick Start|**currently not implemented**|
|14|`IgnitionOff`|Ignition Off|disabled because the ignition is off, exception: self-stimulation mode|
|15|`Lua`|Lua|fueling disabled by Lua script ignition cut request|
|16|`ACR`|ACR|disabled due to Harley Automatic Compression Release: `acrPin`/`acrRevolutions`/`acrDisablePhase` -- avoids spraying fuel everywhere|
|17|`LambdaProtection`|Lambda Protection|disabled due to lambda protection: `lambdaProtectionTimeout`|