TS: CAN UEGO diagnostic

This commit is contained in:
Andrey Gusakov 2024-09-24 00:05:22 +03:00 committed by rusefillc
parent 596b5504f3
commit 70f04f032b
1 changed files with 35 additions and 1 deletions

View File

@ -3600,15 +3600,49 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@@@ts_command_e_TS_
dialog = egoSettings_IO2, "O2 Sensor 2 I/O"
field = "Input channel", afr_hwChannel2
indicatorPanel = uegoCan0Indicators, 1, { enableAemXSeries == 1 }
indicator = { faultCode0 == 7 }, "RusEFI WBO", "AEM Gauge", green, black, yellow, black
indicatorPanel = uegoCan1Indicators, 1, { enableAemXSeries == 1 }
indicator = { faultCode1 == 7 }, "RusEFI WBO", "AEM Gauge", green, black, yellow, black
indicatorPanel = uegoCan0IndicatorsExt, 1, { enableAemXSeries == 1 && faultCode0 != 7 }
indicator = { faultCode0 == 0 || faultCode0 == 7 }, "Failed", "Ready/Ok", red, black, green, black
indicator = { faultCode0 == 2 }, "Heating allowed", "Heating prohibited", green, black, yellow, black
indicator = { faultCode0 == 1 }, "Communication ok", "Timeout reading", green, black, red, black
indicator = { faultCode0 == 3 }, "No heating failure", "Heating failed", green, black, red, black
indicator = { faultCode0 == 4 }, "No overheat", "Overheat", green, black, red, black
indicator = { faultCode0 == 5 }, "No underheat", "Underheat", green, black, red, black
indicator = { faultCode0 == 6 }, "Heater supply ok", "No heater supply", green, black, yellow, black
indicatorPanel = uegoCan1IndicatorsExt, 1, { enableAemXSeries == 1 && faultCode1 != 7 }
indicator = { faultCode1 == 0 || faultCode1 == 7 }, "Failed", "Ready/Ok", red, black, green, black
indicator = { faultCode1 == 2 }, "Heating allowed", "Heating prohibited", green, black, yellow, black
indicator = { faultCode1 == 1 }, "Communication ok", "Timeout reading", green, black, red, black
indicator = { faultCode1 == 3 }, "No heating failure", "Heating failed", green, black, red, black
indicator = { faultCode1 == 4 }, "No overheat", "Overheat", green, black, red, black
indicator = { faultCode1 == 5 }, "No underheat", "Underheat", green, black, red, black
indicator = { faultCode1 == 6 }, "Heater supply ok", "No heater supply", green, black, yellow, black
dialog = uegoCanStatus, "CAN UEGO 1, 2 Status", border
panel = uegoCan0Indicators, West
panel = uegoCan1Indicators, East
dialog = uegoCanStatusExt, "CAN UEGO 1, 2 Extended Status", border
panel = uegoCan0IndicatorsExt, West
panel = uegoCan1IndicatorsExt, East
dialog = uegoCan, "CAN UEGO/wideband O2"
field = "Support for AEM or RusEFI CAN UEGO"
field = "Enable CAN Wideband", enableAemXSeries, { canReadEnabled }
field = "Wideband CAN bus", widebandOnSecondBus@@if_ts_show_wbo_canbus_index
field = flipWboChannels, flipWboChannels
field = "Swap channels 1 and 2", flipWboChannels, flipWboChannels
field = "Force O2 sensor heating", forceO2Heating
dialog = egoSettings, "", yAxis
panel = uegoCan
panel = uegoCanStatus
panel = uegoCanStatusExt
panel = egoSettings_IO1
panel = egoSettings_IO2, {afr_hwChannel != @@ADC_CHANNEL_NONE@@ && enableAemXSeries == 0}@@if_ts_show_ego2
panel = egoSettings_sensor, {afr_hwChannel != @@ADC_CHANNEL_NONE@@ && enableAemXSeries == 0}