Auto-generated configs and docs

This commit is contained in:
GitHub gen-configs Action 2023-11-09 02:08:25 +00:00
parent 0d43df3aec
commit f5c1501b04
120 changed files with 7065 additions and 6910 deletions

View File

@ -812,7 +812,7 @@
#define SentEtbType_NONE 0 #define SentEtbType_NONE 0
#define show_Frankenso_presets true #define show_Frankenso_presets true
#define show_test_presets true #define show_test_presets true
#define SIGNATURE_HASH 914902541 #define SIGNATURE_HASH 634710875
#define SIMULATOR_TUNE_BIN_FILE_NAME "generated/simulator_tune_image.bin" #define SIMULATOR_TUNE_BIN_FILE_NAME "generated/simulator_tune_image.bin"
#define spi_device_e_auto_enum 0="SPI_NONE",1="SPI_DEVICE_1",2="SPI_DEVICE_2",3="SPI_DEVICE_3",4="SPI_DEVICE_4" #define spi_device_e_auto_enum 0="SPI_NONE",1="SPI_DEVICE_1",2="SPI_DEVICE_2",3="SPI_DEVICE_3",4="SPI_DEVICE_4"
#define spi_device_e_SPI_DEVICE_1 1 #define spi_device_e_SPI_DEVICE_1 1
@ -871,7 +871,7 @@
#define TransmissionControllerMode_SimpleTransmissionController 1 #define TransmissionControllerMode_SimpleTransmissionController 1
#define TRIGGER_COMMENT "#" #define TRIGGER_COMMENT "#"
#define trigger_config_s_size 12 #define trigger_config_s_size 12
#define TRIGGER_CRANK_BASED trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79 #define TRIGGER_CRANK_BASED trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77
#define TRIGGER_CYCLE_DURATION "cycleDuration" #define TRIGGER_CYCLE_DURATION "cycleDuration"
#define TRIGGER_GAP_FROM "gapFrom" #define TRIGGER_GAP_FROM "gapFrom"
#define TRIGGER_GAP_TO "gapTo" #define TRIGGER_GAP_TO "gapTo"
@ -1108,14 +1108,14 @@
#define ts_show_vr_threshold_2 true #define ts_show_vr_threshold_2 true
#define ts_show_vr_threshold_all true #define ts_show_vr_threshold_all true
#define ts_show_vr_threshold_pins true #define ts_show_vr_threshold_pins true
#define TS_SIGNATURE "rusEFI master.2023.11.08.cypress.914902541" #define TS_SIGNATURE "rusEFI master.2023.11.09.cypress.634710875"
#define TS_SIMULATE_CAN '>' #define TS_SIMULATE_CAN '>'
#define TS_SIMULATE_CAN_char > #define TS_SIMULATE_CAN_char >
#define TS_SINGLE_WRITE_COMMAND 'W' #define TS_SINGLE_WRITE_COMMAND 'W'
#define TS_SINGLE_WRITE_COMMAND_char W #define TS_SINGLE_WRITE_COMMAND_char W
#define TS_TEST_COMMAND 't' #define TS_TEST_COMMAND 't'
#define TS_TEST_COMMAND_char t #define TS_TEST_COMMAND_char t
#define TS_TOTAL_OUTPUT_SIZE 1440 #define TS_TOTAL_OUTPUT_SIZE 1444
#define TS_TRIGGER_SCOPE_CHANNEL_1_NAME "Channel 1" #define TS_TRIGGER_SCOPE_CHANNEL_1_NAME "Channel 1"
#define TS_TRIGGER_SCOPE_CHANNEL_2_NAME "Channel 2" #define TS_TRIGGER_SCOPE_CHANNEL_2_NAME "Channel 2"
#define TS_TRIGGER_SCOPE_DISABLE 5 #define TS_TRIGGER_SCOPE_DISABLE 5

View File

@ -812,7 +812,7 @@
#define SentEtbType_NONE 0 #define SentEtbType_NONE 0
#define show_Frankenso_presets true #define show_Frankenso_presets true
#define show_test_presets true #define show_test_presets true
#define SIGNATURE_HASH 1952024995 #define SIGNATURE_HASH 1728392437
#define SIMULATOR_TUNE_BIN_FILE_NAME "generated/simulator_tune_image.bin" #define SIMULATOR_TUNE_BIN_FILE_NAME "generated/simulator_tune_image.bin"
#define spi_device_e_auto_enum 0="SPI_NONE",1="SPI_DEVICE_1",2="SPI_DEVICE_2",3="SPI_DEVICE_3",4="SPI_DEVICE_4" #define spi_device_e_auto_enum 0="SPI_NONE",1="SPI_DEVICE_1",2="SPI_DEVICE_2",3="SPI_DEVICE_3",4="SPI_DEVICE_4"
#define spi_device_e_SPI_DEVICE_1 1 #define spi_device_e_SPI_DEVICE_1 1
@ -871,7 +871,7 @@
#define TransmissionControllerMode_SimpleTransmissionController 1 #define TransmissionControllerMode_SimpleTransmissionController 1
#define TRIGGER_COMMENT "#" #define TRIGGER_COMMENT "#"
#define trigger_config_s_size 12 #define trigger_config_s_size 12
#define TRIGGER_CRANK_BASED trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79 #define TRIGGER_CRANK_BASED trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77
#define TRIGGER_CYCLE_DURATION "cycleDuration" #define TRIGGER_CYCLE_DURATION "cycleDuration"
#define TRIGGER_GAP_FROM "gapFrom" #define TRIGGER_GAP_FROM "gapFrom"
#define TRIGGER_GAP_TO "gapTo" #define TRIGGER_GAP_TO "gapTo"
@ -1108,14 +1108,14 @@
#define ts_show_vr_threshold_2 true #define ts_show_vr_threshold_2 true
#define ts_show_vr_threshold_all true #define ts_show_vr_threshold_all true
#define ts_show_vr_threshold_pins true #define ts_show_vr_threshold_pins true
#define TS_SIGNATURE "rusEFI master.2023.11.08.kin.1952024995" #define TS_SIGNATURE "rusEFI master.2023.11.09.kin.1728392437"
#define TS_SIMULATE_CAN '>' #define TS_SIMULATE_CAN '>'
#define TS_SIMULATE_CAN_char > #define TS_SIMULATE_CAN_char >
#define TS_SINGLE_WRITE_COMMAND 'W' #define TS_SINGLE_WRITE_COMMAND 'W'
#define TS_SINGLE_WRITE_COMMAND_char W #define TS_SINGLE_WRITE_COMMAND_char W
#define TS_TEST_COMMAND 't' #define TS_TEST_COMMAND 't'
#define TS_TEST_COMMAND_char t #define TS_TEST_COMMAND_char t
#define TS_TOTAL_OUTPUT_SIZE 1440 #define TS_TOTAL_OUTPUT_SIZE 1444
#define TS_TRIGGER_SCOPE_CHANNEL_1_NAME "Channel 1" #define TS_TRIGGER_SCOPE_CHANNEL_1_NAME "Channel 1"
#define TS_TRIGGER_SCOPE_CHANNEL_2_NAME "Channel 2" #define TS_TRIGGER_SCOPE_CHANNEL_2_NAME "Channel 2"
#define TS_TRIGGER_SCOPE_DISABLE 5 #define TS_TRIGGER_SCOPE_DISABLE 5

View File

@ -1050,7 +1050,7 @@
#define show_Frankenso_presets false #define show_Frankenso_presets false
#define show_Proteus_presets false #define show_Proteus_presets false
#define show_test_presets false #define show_test_presets false
#define SIGNATURE_HASH 822446362 #define SIGNATURE_HASH 576269388
#define SIMULATOR_TUNE_BIN_FILE_NAME "generated/simulator_tune_image.bin" #define SIMULATOR_TUNE_BIN_FILE_NAME "generated/simulator_tune_image.bin"
#define spi_device_e_auto_enum 0="SPI_NONE",1="SPI_DEVICE_1",2="SPI_DEVICE_2",3="SPI_DEVICE_3",4="SPI_DEVICE_4" #define spi_device_e_auto_enum 0="SPI_NONE",1="SPI_DEVICE_1",2="SPI_DEVICE_2",3="SPI_DEVICE_3",4="SPI_DEVICE_4"
#define spi_device_e_SPI_DEVICE_1 1 #define spi_device_e_SPI_DEVICE_1 1
@ -1109,7 +1109,7 @@
#define TransmissionControllerMode_SimpleTransmissionController 1 #define TransmissionControllerMode_SimpleTransmissionController 1
#define TRIGGER_COMMENT "#" #define TRIGGER_COMMENT "#"
#define trigger_config_s_size 12 #define trigger_config_s_size 12
#define TRIGGER_CRANK_BASED trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79 #define TRIGGER_CRANK_BASED trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77
#define TRIGGER_CYCLE_DURATION "cycleDuration" #define TRIGGER_CYCLE_DURATION "cycleDuration"
#define TRIGGER_GAP_FROM "gapFrom" #define TRIGGER_GAP_FROM "gapFrom"
#define TRIGGER_GAP_TO "gapTo" #define TRIGGER_GAP_TO "gapTo"
@ -1346,14 +1346,14 @@
#define ts_show_vr_threshold_2 true #define ts_show_vr_threshold_2 true
#define ts_show_vr_threshold_all true #define ts_show_vr_threshold_all true
#define ts_show_vr_threshold_pins true #define ts_show_vr_threshold_pins true
#define TS_SIGNATURE "rusEFI master.2023.11.08.subaru_eg33_f7.822446362" #define TS_SIGNATURE "rusEFI master.2023.11.09.subaru_eg33_f7.576269388"
#define TS_SIMULATE_CAN '>' #define TS_SIMULATE_CAN '>'
#define TS_SIMULATE_CAN_char > #define TS_SIMULATE_CAN_char >
#define TS_SINGLE_WRITE_COMMAND 'W' #define TS_SINGLE_WRITE_COMMAND 'W'
#define TS_SINGLE_WRITE_COMMAND_char W #define TS_SINGLE_WRITE_COMMAND_char W
#define TS_TEST_COMMAND 't' #define TS_TEST_COMMAND 't'
#define TS_TEST_COMMAND_char t #define TS_TEST_COMMAND_char t
#define TS_TOTAL_OUTPUT_SIZE 1440 #define TS_TOTAL_OUTPUT_SIZE 1444
#define TS_TRIGGER_SCOPE_CHANNEL_1_NAME "Channel 1" #define TS_TRIGGER_SCOPE_CHANNEL_1_NAME "Channel 1"
#define TS_TRIGGER_SCOPE_CHANNEL_2_NAME "Channel 2" #define TS_TRIGGER_SCOPE_CHANNEL_2_NAME "Channel 2"
#define TS_TRIGGER_SCOPE_DISABLE 5 #define TS_TRIGGER_SCOPE_DISABLE 5

View File

@ -506,6 +506,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"

View File

@ -235,13 +235,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis

View File

@ -45,15 +45,15 @@ LDS_lambda_monitor,
#define FUEL_PUMP_CONTROL_BASE_ADDRESS 1040 #define FUEL_PUMP_CONTROL_BASE_ADDRESS 1040
#define MAIN_RELAY_BASE_ADDRESS 1044 #define MAIN_RELAY_BASE_ADDRESS 1044
#define ENGINE_STATE_BASE_ADDRESS 1048 #define ENGINE_STATE_BASE_ADDRESS 1048
#define TPS_ACCEL_STATE_BASE_ADDRESS 1136 #define TPS_ACCEL_STATE_BASE_ADDRESS 1140
#define TRIGGER_CENTRAL_BASE_ADDRESS 1184 #define TRIGGER_CENTRAL_BASE_ADDRESS 1188
#define TRIGGER_STATE_BASE_ADDRESS 1244 #define TRIGGER_STATE_BASE_ADDRESS 1248
#define TRIGGER_STATE_PRIMARY_BASE_ADDRESS 1284 #define TRIGGER_STATE_PRIMARY_BASE_ADDRESS 1288
#define WALL_FUEL_STATE_BASE_ADDRESS 1288 #define WALL_FUEL_STATE_BASE_ADDRESS 1292
#define IDLE_STATE_BASE_ADDRESS 1296 #define IDLE_STATE_BASE_ADDRESS 1300
#define ELECTRONIC_THROTTLE_BASE_ADDRESS 1344 #define ELECTRONIC_THROTTLE_BASE_ADDRESS 1348
#define WIDEBAND_STATE_BASE_ADDRESS 1396 #define WIDEBAND_STATE_BASE_ADDRESS 1400
#define DC_MOTORS_BASE_ADDRESS 1408 #define DC_MOTORS_BASE_ADDRESS 1412
#define SENT_STATE_BASE_ADDRESS 1420 #define SENT_STATE_BASE_ADDRESS 1424
#define VVT_BASE_ADDRESS 1428 #define VVT_BASE_ADDRESS 1432
#define LAMBDA_MONITOR_BASE_ADDRESS 1432 #define LAMBDA_MONITOR_BASE_ADDRESS 1436

View File

@ -641,133 +641,134 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444

View File

@ -461,101 +461,102 @@ brakePedalState("Brake switch", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 10
startStopState("startStopState", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1093, 1.0, -1.0, -1.0, ""), startStopState("startStopState", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1093, 1.0, -1.0, -1.0, ""),
alignmentFill_at_46("need 4 byte alignment", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1094, 1.0, -20.0, 100.0, "units"), alignmentFill_at_46("need 4 byte alignment", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1094, 1.0, -20.0, 100.0, "units"),
startStopStateToggleCounter("startStopStateToggleCounter", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1100, 1.0, -1.0, -1.0, ""), startStopStateToggleCounter("startStopStateToggleCounter", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1100, 1.0, -1.0, -1.0, ""),
egtValue1("egtValue1", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1104, 1.0, -1.0, -1.0, ""), startStopStateTempPhysicalCounter("startStopStateTempPhysicalCounter", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1104, 1.0, -1.0, -1.0, ""),
egtValue2("egtValue2", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1108, 1.0, -1.0, -1.0, ""), egtValue1("egtValue1", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1108, 1.0, -1.0, -1.0, ""),
desiredRpmLimit("User-defined RPM hard limit", SensorCategory.SENSOR_INPUTS, FieldType.INT16, 1112, 1.0, 0.0, 30000.0, "rpm"), egtValue2("egtValue2", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1112, 1.0, -1.0, -1.0, ""),
alignmentFill_at_66("need 4 byte alignment", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1114, 1.0, -20.0, 100.0, "units"), desiredRpmLimit("User-defined RPM hard limit", SensorCategory.SENSOR_INPUTS, FieldType.INT16, 1116, 1.0, 0.0, 30000.0, "rpm"),
fuelInjectionCounter("Fuel: Injection counter", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1116, 1.0, -1.0, -1.0, ""), alignmentFill_at_70("need 4 byte alignment", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1118, 1.0, -20.0, 100.0, "units"),
sparkCounter("Ign: Spark counter", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1120, 1.0, -1.0, -1.0, ""), fuelInjectionCounter("Fuel: Injection counter", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1120, 1.0, -1.0, -1.0, ""),
fuelingLoad("Fuel: Load", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1124, 1.0, -1.0, -1.0, ""), sparkCounter("Ign: Spark counter", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1124, 1.0, -1.0, -1.0, ""),
ignitionLoad("Ignition: load", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1128, 1.0, -1.0, -1.0, ""), fuelingLoad("Fuel: Load", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1128, 1.0, -1.0, -1.0, ""),
veTableYAxis("veTableYAxis", SensorCategory.SENSOR_INPUTS, FieldType.INT16, 1132, 0.01, 0.0, 0.0, "%"), ignitionLoad("Ignition: load", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1132, 1.0, -1.0, -1.0, ""),
alignmentFill_at_86("need 4 byte alignment", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1134, 1.0, -20.0, 100.0, "units"), veTableYAxis("veTableYAxis", SensorCategory.SENSOR_INPUTS, FieldType.INT16, 1136, 0.01, 0.0, 0.0, "%"),
tpsFrom("Fuel: TPS AE from", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1136, 1.0, -1.0, -1.0, ""), alignmentFill_at_90("need 4 byte alignment", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1138, 1.0, -20.0, 100.0, "units"),
tpsTo("Fuel: TPS AE to", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1140, 1.0, -1.0, -1.0, ""), tpsFrom("Fuel: TPS AE from", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1140, 1.0, -1.0, -1.0, ""),
deltaTps("Fuel: TPS AE change", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1144, 1.0, -1.0, -1.0, ""), tpsTo("Fuel: TPS AE to", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1144, 1.0, -1.0, -1.0, ""),
extraFuel("extraFuel", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1148, 1.0, -1.0, -1.0, ""), deltaTps("Fuel: TPS AE change", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1148, 1.0, -1.0, -1.0, ""),
valueFromTable("valueFromTable", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1152, 1.0, -1.0, -1.0, ""), extraFuel("extraFuel", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1152, 1.0, -1.0, -1.0, ""),
fractionalInjFuel("fractionalInjFuel", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1160, 1.0, -1.0, -1.0, ""), valueFromTable("valueFromTable", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1156, 1.0, -1.0, -1.0, ""),
accumulatedValue("accumulatedValue", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1164, 1.0, -1.0, -1.0, ""), fractionalInjFuel("fractionalInjFuel", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1164, 1.0, -1.0, -1.0, ""),
maxExtraPerCycle("maxExtraPerCycle", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1168, 1.0, -1.0, -1.0, ""), accumulatedValue("accumulatedValue", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1168, 1.0, -1.0, -1.0, ""),
maxExtraPerPeriod("maxExtraPerPeriod", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1172, 1.0, -1.0, -1.0, ""), maxExtraPerCycle("maxExtraPerCycle", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1172, 1.0, -1.0, -1.0, ""),
maxInjectedPerPeriod("maxInjectedPerPeriod", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1176, 1.0, -1.0, -1.0, ""), maxExtraPerPeriod("maxExtraPerPeriod", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1176, 1.0, -1.0, -1.0, ""),
cycleCnt("cycleCnt", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1180, 1.0, -1.0, -1.0, ""), maxInjectedPerPeriod("maxInjectedPerPeriod", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1180, 1.0, -1.0, -1.0, ""),
hwEventCounters1("Hardware events since boot 1", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1184, 1.0, -1.0, -1.0, ""), cycleCnt("cycleCnt", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1184, 1.0, -1.0, -1.0, ""),
hwEventCounters2("Hardware events since boot 2", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1188, 1.0, -1.0, -1.0, ""), hwEventCounters1("Hardware events since boot 1", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1188, 1.0, -1.0, -1.0, ""),
hwEventCounters3("Hardware events since boot 3", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1192, 1.0, -1.0, -1.0, ""), hwEventCounters2("Hardware events since boot 2", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1192, 1.0, -1.0, -1.0, ""),
hwEventCounters4("Hardware events since boot 4", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1196, 1.0, -1.0, -1.0, ""), hwEventCounters3("Hardware events since boot 3", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1196, 1.0, -1.0, -1.0, ""),
hwEventCounters5("Hardware events since boot 5", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1200, 1.0, -1.0, -1.0, ""), hwEventCounters4("Hardware events since boot 4", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1200, 1.0, -1.0, -1.0, ""),
hwEventCounters6("Hardware events since boot 6", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1204, 1.0, -1.0, -1.0, ""), hwEventCounters5("Hardware events since boot 5", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1204, 1.0, -1.0, -1.0, ""),
vvtCamCounter("Sync: total cams front counter", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1208, 1.0, -1.0, -1.0, ""), hwEventCounters6("Hardware events since boot 6", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1208, 1.0, -1.0, -1.0, ""),
mapVvt_MAP_AT_SPECIAL_POINT("mapVvt_MAP_AT_SPECIAL_POINT", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1212, 1.0, -10000.0, 10000.0, ""), vvtCamCounter("Sync: total cams front counter", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1212, 1.0, -1.0, -1.0, ""),
mapVvt_MAP_AT_DIFF("mapVvt_MAP_AT_DIFF", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1216, 1.0, -10000.0, 10000.0, ""), mapVvt_MAP_AT_SPECIAL_POINT("mapVvt_MAP_AT_SPECIAL_POINT", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1216, 1.0, -10000.0, 10000.0, ""),
mapVvt_MAP_AT_CYCLE_COUNT("mapVvt_MAP_AT_CYCLE_COUNT", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1220, 1.0, -10000.0, 10000.0, ""), mapVvt_MAP_AT_DIFF("mapVvt_MAP_AT_DIFF", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1220, 1.0, -10000.0, 10000.0, ""),
mapVvt_map_peak("mapVvt_map_peak", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1221, 1.0, -10000.0, 10000.0, ""), mapVvt_MAP_AT_CYCLE_COUNT("mapVvt_MAP_AT_CYCLE_COUNT", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1224, 1.0, -10000.0, 10000.0, ""),
alignmentFill_at_38("need 4 byte alignment", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1222, 1.0, -20.0, 100.0, "units"), mapVvt_map_peak("mapVvt_map_peak", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1225, 1.0, -10000.0, 10000.0, ""),
currentEngineDecodedPhase("Sync: Engine Phase", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1224, 1.0, 0.0, 0.0, "deg"), alignmentFill_at_38("need 4 byte alignment", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1226, 1.0, -20.0, 100.0, "units"),
triggerToothAngleError("Sync: trigger angle error", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1228, 1.0, -30.0, 30.0, "deg"), currentEngineDecodedPhase("Sync: Engine Phase", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1228, 1.0, 0.0, 0.0, "deg"),
triggerIgnoredToothCount("triggerIgnoredToothCount", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1232, 1.0, -1.0, -1.0, ""), triggerToothAngleError("Sync: trigger angle error", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1232, 1.0, -30.0, 30.0, "deg"),
alignmentFill_at_49("need 4 byte alignment", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1233, 1.0, -20.0, 100.0, "units"), triggerIgnoredToothCount("triggerIgnoredToothCount", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1236, 1.0, -1.0, -1.0, ""),
mapCamPrevToothAngle("Sync: MAP: prev angle", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1236, 1.0, -3000.0, 3000.0, "deg"), alignmentFill_at_49("need 4 byte alignment", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1237, 1.0, -20.0, 100.0, "units"),
crankSynchronizationCounter("sync: Crank sync counter\nUsually matches crank revolutions", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1244, 1.0, -1.0, -1.0, ""), mapCamPrevToothAngle("Sync: MAP: prev angle", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1240, 1.0, -3000.0, 3000.0, "deg"),
vvtSyncGapRatio("vvtSyncGapRatio", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1248, 1.0, -10000.0, 10000.0, ""), crankSynchronizationCounter("sync: Crank sync counter\nUsually matches crank revolutions", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1248, 1.0, -1.0, -1.0, ""),
vvtToothDurations0("vvtToothDurations0", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1252, 1.0, 0.0, 100000.0, "us"), vvtSyncGapRatio("vvtSyncGapRatio", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1252, 1.0, -10000.0, 10000.0, ""),
vvtCurrentPosition("vvtCurrentPosition", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1256, 1.0, -10000.0, 10000.0, "sync: Primary Cam Position"), vvtToothDurations0("vvtToothDurations0", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1256, 1.0, 0.0, 100000.0, "us"),
vvtToothPosition1("vvtToothPosition 1", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1260, 1.0, -10000.0, 10000.0, "sync: Cam Tooth Position"), vvtCurrentPosition("vvtCurrentPosition", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1260, 1.0, -10000.0, 10000.0, "sync: Primary Cam Position"),
vvtToothPosition2("vvtToothPosition 2", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1264, 1.0, -10000.0, 10000.0, "sync: Cam Tooth Position"), vvtToothPosition1("vvtToothPosition 1", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1264, 1.0, -10000.0, 10000.0, "sync: Cam Tooth Position"),
vvtToothPosition3("vvtToothPosition 3", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1268, 1.0, -10000.0, 10000.0, "sync: Cam Tooth Position"), vvtToothPosition2("vvtToothPosition 2", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1268, 1.0, -10000.0, 10000.0, "sync: Cam Tooth Position"),
vvtToothPosition4("vvtToothPosition 4", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1272, 1.0, -10000.0, 10000.0, "sync: Cam Tooth Position"), vvtToothPosition3("vvtToothPosition 3", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1272, 1.0, -10000.0, 10000.0, "sync: Cam Tooth Position"),
triggerSyncGapRatio("Trigger Sync Latest Ratio", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1276, 1.0, -10000.0, 10000.0, ""), vvtToothPosition4("vvtToothPosition 4", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1276, 1.0, -10000.0, 10000.0, "sync: Cam Tooth Position"),
triggerStateIndex("triggerStateIndex", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1280, 1.0, -1.0, -1.0, ""), triggerSyncGapRatio("Trigger Sync Latest Ratio", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1280, 1.0, -10000.0, 10000.0, ""),
camResyncCounter("sync: Phase Re-Sync Counter", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1281, 1.0, -1.0, -1.0, ""), triggerStateIndex("triggerStateIndex", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1284, 1.0, -1.0, -1.0, ""),
vvtStateIndex("vvtStateIndex", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1282, 1.0, -1.0, -1.0, ""), camResyncCounter("sync: Phase Re-Sync Counter", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1285, 1.0, -1.0, -1.0, ""),
alignmentFill_at_39("need 4 byte alignment", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1283, 1.0, -20.0, 100.0, "units"), vvtStateIndex("vvtStateIndex", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1286, 1.0, -1.0, -1.0, ""),
wallFuelCorrection("fuel wallwetting injection time\n correction to account for wall wetting effect for current cycle", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1288, 1.0, -1.0, -1.0, ""), alignmentFill_at_39("need 4 byte alignment", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1287, 1.0, -20.0, 100.0, "units"),
wallFuel("Fuel on the wall\nin ms of injector open time for each injector.", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1292, 1.0, -1.0, -1.0, ""), wallFuelCorrection("fuel wallwetting injection time\n correction to account for wall wetting effect for current cycle", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1292, 1.0, -1.0, -1.0, ""),
idleState("idleState", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1296, 1.0, -1.0, -1.0, ""), wallFuel("Fuel on the wall\nin ms of injector open time for each injector.", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1296, 1.0, -1.0, -1.0, ""),
currentIdlePosition("Idle: Position", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1300, 1.0, 0.0, 0.0, "%"), idleState("idleState", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1300, 1.0, -1.0, -1.0, ""),
baseIdlePosition("idle: base value\ncurrent position without adjustments (iacByTpsTaper, afterCrankingIACtaperDuration)", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1304, 1.0, -1.0, -1.0, ""), currentIdlePosition("Idle: Position", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1304, 1.0, 0.0, 0.0, "%"),
idleClosedLoop("Idle: Closed loop", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1308, 1.0, -1.0, -1.0, ""), baseIdlePosition("idle: base value\ncurrent position without adjustments (iacByTpsTaper, afterCrankingIACtaperDuration)", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1308, 1.0, -1.0, -1.0, ""),
iacByTpsTaper("idle: iacByTpsTaper portion", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1312, 1.0, -1.0, -1.0, ""), idleClosedLoop("Idle: Closed loop", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1312, 1.0, -1.0, -1.0, ""),
throttlePedalUpState("idle: throttlePedalUpState\ntrue in IDLE throttle pedal state, false if driver is touching the pedal\ntodo: better name for this field?", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1316, 1.0, -1.0, -1.0, ""), iacByTpsTaper("idle: iacByTpsTaper portion", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1316, 1.0, -1.0, -1.0, ""),
idleTarget("Idle: Target RPM", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1324, 1.0, -1.0, -1.0, ""), throttlePedalUpState("idle: throttlePedalUpState\ntrue in IDLE throttle pedal state, false if driver is touching the pedal\ntodo: better name for this field?", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1320, 1.0, -1.0, -1.0, ""),
targetRpmByClt("Idle: Target RPM base", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1328, 1.0, -1.0, -1.0, ""), idleTarget("Idle: Target RPM", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1328, 1.0, -1.0, -1.0, ""),
targetRpmAc("Idle: Target A/C RPM", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1332, 1.0, -1.0, -1.0, ""), targetRpmByClt("Idle: Target RPM base", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1332, 1.0, -1.0, -1.0, ""),
iacByRpmTaper("idle: iacByRpmTaper portion", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1336, 1.0, -1.0, -1.0, ""), targetRpmAc("Idle: Target A/C RPM", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1336, 1.0, -1.0, -1.0, ""),
luaAdd("idle: Lua Adder", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1340, 1.0, -1.0, -1.0, ""), iacByRpmTaper("idle: iacByRpmTaper portion", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1340, 1.0, -1.0, -1.0, ""),
idlePosition("ETB: idlePosition", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1344, 1.0, 0.0, 10.0, "per"), luaAdd("idle: Lua Adder", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1344, 1.0, -1.0, -1.0, ""),
trim("ETB: trim", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1348, 1.0, -1.0, -1.0, ""), idlePosition("ETB: idlePosition", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1348, 1.0, 0.0, 10.0, "per"),
luaAdjustment("ETB: luaAdjustment", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1352, 1.0, 0.0, 3.0, "per"), trim("ETB: trim", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1352, 1.0, -1.0, -1.0, ""),
m_wastegatePosition("DC: wastegatePosition", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1356, 1.0, 0.0, 3.0, "per"), luaAdjustment("ETB: luaAdjustment", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1356, 1.0, 0.0, 3.0, "per"),
etbFeedForward("etbFeedForward", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1360, 1.0, -1.0, -1.0, ""), m_wastegatePosition("DC: wastegatePosition", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1360, 1.0, 0.0, 3.0, "per"),
etbIntegralError("etbIntegralError", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1364, 1.0, -10000.0, 10000.0, ""), etbFeedForward("etbFeedForward", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1364, 1.0, -1.0, -1.0, ""),
etbCurrentTarget("etbCurrentTarget", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1368, 1.0, -10000.0, 10000.0, "%"), etbIntegralError("etbIntegralError", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1368, 1.0, -10000.0, 10000.0, ""),
etbCurrentAdjustedTarget("etbCurrentAdjustedTarget", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1372, 1.0, -10000.0, 10000.0, "%"), etbCurrentTarget("etbCurrentTarget", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1372, 1.0, -10000.0, 10000.0, "%"),
etbDutyRateOfChange("ETB duty rate of change", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1380, 1.0, 0.0, 25.0, "per"), etbCurrentAdjustedTarget("etbCurrentAdjustedTarget", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1376, 1.0, -10000.0, 10000.0, "%"),
etbDutyAverage("ETB average duty", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1384, 1.0, -20.0, 50.0, "per"), etbDutyRateOfChange("ETB duty rate of change", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1384, 1.0, 0.0, 25.0, "per"),
etbTpsErrorCounter("ETB TPS error counter", SensorCategory.SENSOR_INPUTS, FieldType.INT16, 1388, 1.0, 0.0, 3.0, "count"), etbDutyAverage("ETB average duty", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1388, 1.0, -20.0, 50.0, "per"),
etbPpsErrorCounter("ETB pedal error counter", SensorCategory.SENSOR_INPUTS, FieldType.INT16, 1390, 1.0, 0.0, 3.0, "count"), etbTpsErrorCounter("ETB TPS error counter", SensorCategory.SENSOR_INPUTS, FieldType.INT16, 1392, 1.0, 0.0, 3.0, "count"),
etbErrorCode("etbErrorCode", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1392, 1.0, -1.0, -1.0, ""), etbPpsErrorCounter("ETB pedal error counter", SensorCategory.SENSOR_INPUTS, FieldType.INT16, 1394, 1.0, 0.0, 3.0, "count"),
alignmentFill_at_49("need 4 byte alignment", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1393, 1.0, -20.0, 100.0, "units"), etbErrorCode("etbErrorCode", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1396, 1.0, -1.0, -1.0, ""),
jamTimer("ETB jam timer", SensorCategory.SENSOR_INPUTS, FieldType.INT16, 1394, 0.01, 0.0, 100.0, "sec"), alignmentFill_at_49("need 4 byte alignment", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1397, 1.0, -20.0, 100.0, "units"),
faultCode("WBO: Fault code", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1396, 1.0, -1.0, -1.0, ""), jamTimer("ETB jam timer", SensorCategory.SENSOR_INPUTS, FieldType.INT16, 1398, 0.01, 0.0, 100.0, "sec"),
heaterDuty("WBO: Heater duty", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1397, 1.0, 0.0, 100.0, "%"), faultCode("WBO: Fault code", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1400, 1.0, -1.0, -1.0, ""),
pumpDuty("WBO: Pump duty", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1398, 1.0, 0.0, 100.0, "%"), heaterDuty("WBO: Heater duty", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1401, 1.0, 0.0, 100.0, "%"),
alignmentFill_at_3("need 4 byte alignment", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1399, 1.0, -20.0, 100.0, "units"), pumpDuty("WBO: Pump duty", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1402, 1.0, 0.0, 100.0, "%"),
tempC("WBO: Temperature", SensorCategory.SENSOR_INPUTS, FieldType.INT16, 1400, 1.0, 500.0, 1000.0, "C"), alignmentFill_at_3("need 4 byte alignment", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1403, 1.0, -20.0, 100.0, "units"),
nernstVoltage("WBO: Nernst Voltage", SensorCategory.SENSOR_INPUTS, FieldType.INT16, 1402, 0.001, 0.0, 1.0, "V"), tempC("WBO: Temperature", SensorCategory.SENSOR_INPUTS, FieldType.INT16, 1404, 1.0, 500.0, 1000.0, "C"),
esr("WBO: ESR", SensorCategory.SENSOR_INPUTS, FieldType.INT16, 1404, 1.0, 0.0, 10000.0, "ohm"), nernstVoltage("WBO: Nernst Voltage", SensorCategory.SENSOR_INPUTS, FieldType.INT16, 1406, 0.001, 0.0, 1.0, "V"),
alignmentFill_at_10("need 4 byte alignment", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1406, 1.0, -20.0, 100.0, "units"), esr("WBO: ESR", SensorCategory.SENSOR_INPUTS, FieldType.INT16, 1408, 1.0, 0.0, 10000.0, "ohm"),
dcOutput0("DC: output0", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1408, 1.0, 0.0, 10.0, "per"), alignmentFill_at_10("need 4 byte alignment", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1410, 1.0, -20.0, 100.0, "units"),
isEnabled0_int("DC: en0", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1412, 1.0, 0.0, 10.0, "per"), dcOutput0("DC: output0", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1412, 1.0, 0.0, 10.0, "per"),
alignmentFill_at_5("need 4 byte alignment", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1413, 1.0, -20.0, 100.0, "units"), isEnabled0_int("DC: en0", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1416, 1.0, 0.0, 10.0, "per"),
value0("ETB: SENT value0", SensorCategory.SENSOR_INPUTS, FieldType.INT16, 1420, 1.0, 0.0, 3.0, "value"), alignmentFill_at_5("need 4 byte alignment", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1417, 1.0, -20.0, 100.0, "units"),
value1("ETB: SENT value1", SensorCategory.SENSOR_INPUTS, FieldType.INT16, 1422, 1.0, 0.0, 3.0, "value"), value0("ETB: SENT value0", SensorCategory.SENSOR_INPUTS, FieldType.INT16, 1424, 1.0, 0.0, 3.0, "value"),
errorRate("ETB: SENT error rate", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1424, 1.0, 0.0, 3.0, "ratio"), value1("ETB: SENT value1", SensorCategory.SENSOR_INPUTS, FieldType.INT16, 1426, 1.0, 0.0, 3.0, "value"),
vvtTarget("vvtTarget", SensorCategory.SENSOR_INPUTS, FieldType.INT16, 1428, 0.1, -90.0, 90.0, "deg"), errorRate("ETB: SENT error rate", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1428, 1.0, 0.0, 3.0, "ratio"),
vvtOutput("vvtOutput", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1430, 0.5, 100.0, 1.0, "%"), vvtTarget("vvtTarget", SensorCategory.SENSOR_INPUTS, FieldType.INT16, 1432, 0.1, -90.0, 90.0, "deg"),
alignmentFill_at_3("need 4 byte alignment", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1431, 1.0, -20.0, 100.0, "units"), vvtOutput("vvtOutput", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1434, 0.5, 100.0, 1.0, "%"),
lambdaTimeSinceGood("lambdaTimeSinceGood", SensorCategory.SENSOR_INPUTS, FieldType.INT16, 1436, 0.01, 0.0, 1.0, "sec"), alignmentFill_at_3("need 4 byte alignment", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1435, 1.0, -20.0, 100.0, "units"),
alignmentFill_at_6("need 4 byte alignment", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1438, 1.0, -20.0, 100.0, "units"), lambdaTimeSinceGood("lambdaTimeSinceGood", SensorCategory.SENSOR_INPUTS, FieldType.INT16, 1440, 0.01, 0.0, 1.0, "sec"),
alignmentFill_at_6("need 4 byte alignment", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1442, 1.0, -20.0, 100.0, "units"),

View File

@ -1,2 +1,2 @@
// generated by gen_live_documentation.sh / LiveDataProcessor.java // generated by gen_live_documentation.sh / LiveDataProcessor.java
#define TS_TOTAL_OUTPUT_SIZE 1440 #define TS_TOTAL_OUTPUT_SIZE 1444

View File

@ -385,6 +385,7 @@ static constexpr LogField fields[] = {
{engine->engineState.brakePedalState, "Brake switch", "", 0}, {engine->engineState.brakePedalState, "Brake switch", "", 0},
{engine->engineState.startStopState, "startStopState", "", 0}, {engine->engineState.startStopState, "startStopState", "", 0},
{engine->engineState.startStopStateToggleCounter, "startStopStateToggleCounter", "", 0}, {engine->engineState.startStopStateToggleCounter, "startStopStateToggleCounter", "", 0},
{engine->engineState.startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", "", 0},
{engine->engineState.egtValue1, "egtValue1", "", 0}, {engine->engineState.egtValue1, "egtValue1", "", 0},
{engine->engineState.egtValue2, "egtValue2", "", 0}, {engine->engineState.egtValue2, "egtValue2", "", 0},
{engine->engineState.desiredRpmLimit, "User-defined RPM hard limit", "rpm", 0}, {engine->engineState.desiredRpmLimit, "User-defined RPM hard limit", "rpm", 0},

View File

@ -1,4 +1,4 @@
// this section was generated automatically by rusEFI tool config_definition_base.jar based on (unknown script) controllers/algo/engine_state.txt Mon Sep 25 18:12:01 UTC 2023 // this section was generated automatically by rusEFI tool config_definition_base.jar based on (unknown script) controllers/algo/engine_state.txt Thu Nov 09 02:06:25 UTC 2023
// by class com.rusefi.output.CHeaderConsumer // by class com.rusefi.output.CHeaderConsumer
// begin // begin
#pragma once #pragma once
@ -322,56 +322,60 @@ struct engine_state_s {
/** /**
* offset 56 * offset 56
*/ */
float egtValue1 = (float)0; uint32_t startStopStateTempPhysicalCounter = (uint32_t)0;
/** /**
* offset 60 * offset 60
*/ */
float egtValue1 = (float)0;
/**
* offset 64
*/
float egtValue2 = (float)0; float egtValue2 = (float)0;
/** /**
* User-defined RPM hard limit * User-defined RPM hard limit
rpm rpm
* offset 64 * offset 68
*/ */
int16_t desiredRpmLimit = (int16_t)0; int16_t desiredRpmLimit = (int16_t)0;
/** /**
* need 4 byte alignment * need 4 byte alignment
units units
* offset 66 * offset 70
*/ */
uint8_t alignmentFill_at_66[2]; uint8_t alignmentFill_at_70[2];
/** /**
* Fuel: Injection counter * Fuel: Injection counter
* offset 68 * offset 72
*/ */
uint32_t fuelInjectionCounter = (uint32_t)0; uint32_t fuelInjectionCounter = (uint32_t)0;
/** /**
* Ign: Spark counter * Ign: Spark counter
* offset 72 * offset 76
*/ */
uint32_t sparkCounter = (uint32_t)0; uint32_t sparkCounter = (uint32_t)0;
/** /**
* @@GAUGE_NAME_FUEL_LOAD@@ * @@GAUGE_NAME_FUEL_LOAD@@
* offset 76 * offset 80
*/ */
float fuelingLoad = (float)0; float fuelingLoad = (float)0;
/** /**
* @@GAUGE_NAME_IGNITION_LOAD@@ * @@GAUGE_NAME_IGNITION_LOAD@@
* offset 80 * offset 84
*/ */
float ignitionLoad = (float)0; float ignitionLoad = (float)0;
/** /**
% %
* offset 84 * offset 88
*/ */
scaled_channel<uint16_t, 100, 1> veTableYAxis = (uint16_t)0; scaled_channel<uint16_t, 100, 1> veTableYAxis = (uint16_t)0;
/** /**
* need 4 byte alignment * need 4 byte alignment
units units
* offset 86 * offset 90
*/ */
uint8_t alignmentFill_at_86[2]; uint8_t alignmentFill_at_90[2];
}; };
static_assert(sizeof(engine_state_s) == 88); static_assert(sizeof(engine_state_s) == 92);
// end // end
// this section was generated automatically by rusEFI tool config_definition_base.jar based on (unknown script) controllers/algo/engine_state.txt Mon Sep 25 18:12:01 UTC 2023 // this section was generated automatically by rusEFI tool config_definition_base.jar based on (unknown script) controllers/algo/engine_state.txt Thu Nov 09 02:06:25 UTC 2023

View File

@ -1103,7 +1103,7 @@
#define SentEtbType_NONE 0 #define SentEtbType_NONE 0
#define show_Frankenso_presets true #define show_Frankenso_presets true
#define show_test_presets true #define show_test_presets true
#define SIGNATURE_HASH 2509298742 #define SIGNATURE_HASH 2261547360
#define SIMULATOR_TUNE_BIN_FILE_NAME "generated/simulator_tune_image.bin" #define SIMULATOR_TUNE_BIN_FILE_NAME "generated/simulator_tune_image.bin"
#define spi_device_e_auto_enum 0="SPI_NONE",1="SPI_DEVICE_1",2="SPI_DEVICE_2",3="SPI_DEVICE_3",4="SPI_DEVICE_4" #define spi_device_e_auto_enum 0="SPI_NONE",1="SPI_DEVICE_1",2="SPI_DEVICE_2",3="SPI_DEVICE_3",4="SPI_DEVICE_4"
#define spi_device_e_SPI_DEVICE_1 1 #define spi_device_e_SPI_DEVICE_1 1
@ -1162,7 +1162,7 @@
#define TransmissionControllerMode_SimpleTransmissionController 1 #define TransmissionControllerMode_SimpleTransmissionController 1
#define TRIGGER_COMMENT "#" #define TRIGGER_COMMENT "#"
#define trigger_config_s_size 12 #define trigger_config_s_size 12
#define TRIGGER_CRANK_BASED trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79 #define TRIGGER_CRANK_BASED trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77
#define TRIGGER_CYCLE_DURATION "cycleDuration" #define TRIGGER_CYCLE_DURATION "cycleDuration"
#define TRIGGER_GAP_FROM "gapFrom" #define TRIGGER_GAP_FROM "gapFrom"
#define TRIGGER_GAP_TO "gapTo" #define TRIGGER_GAP_TO "gapTo"
@ -1399,14 +1399,14 @@
#define ts_show_vr_threshold_2 true #define ts_show_vr_threshold_2 true
#define ts_show_vr_threshold_all true #define ts_show_vr_threshold_all true
#define ts_show_vr_threshold_pins true #define ts_show_vr_threshold_pins true
#define TS_SIGNATURE "rusEFI master.2023.11.08.f407-discovery.2509298742" #define TS_SIGNATURE "rusEFI master.2023.11.09.f407-discovery.2261547360"
#define TS_SIMULATE_CAN '>' #define TS_SIMULATE_CAN '>'
#define TS_SIMULATE_CAN_char > #define TS_SIMULATE_CAN_char >
#define TS_SINGLE_WRITE_COMMAND 'W' #define TS_SINGLE_WRITE_COMMAND 'W'
#define TS_SINGLE_WRITE_COMMAND_char W #define TS_SINGLE_WRITE_COMMAND_char W
#define TS_TEST_COMMAND 't' #define TS_TEST_COMMAND 't'
#define TS_TEST_COMMAND_char t #define TS_TEST_COMMAND_char t
#define TS_TOTAL_OUTPUT_SIZE 1440 #define TS_TOTAL_OUTPUT_SIZE 1444
#define TS_TRIGGER_SCOPE_CHANNEL_1_NAME "Channel 1" #define TS_TRIGGER_SCOPE_CHANNEL_1_NAME "Channel 1"
#define TS_TRIGGER_SCOPE_CHANNEL_2_NAME "Channel 2" #define TS_TRIGGER_SCOPE_CHANNEL_2_NAME "Channel 2"
#define TS_TRIGGER_SCOPE_DISABLE 5 #define TS_TRIGGER_SCOPE_DISABLE 5

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 1191049738 #define SIGNATURE_HASH 1436639068
#define TS_SIGNATURE "rusEFI master.2023.11.08.alphax-2chan.1191049738" #define TS_SIGNATURE "rusEFI master.2023.11.09.alphax-2chan.1436639068"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 4002463964 #define SIGNATURE_HASH 4258030986
#define TS_SIGNATURE "rusEFI master.2023.11.08.alphax-4chan.4002463964" #define TS_SIGNATURE "rusEFI master.2023.11.09.alphax-4chan.4258030986"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 4002463964 #define SIGNATURE_HASH 4258030986
#define TS_SIGNATURE "rusEFI master.2023.11.08.alphax-4chan_f7.4002463964" #define TS_SIGNATURE "rusEFI master.2023.11.09.alphax-4chan_f7.4258030986"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 125538318 #define SIGNATURE_HASH 338113880
#define TS_SIGNATURE "rusEFI master.2023.11.08.alphax-8chan-revA.125538318" #define TS_SIGNATURE "rusEFI master.2023.11.09.alphax-8chan-revA.338113880"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 902388248 #define SIGNATURE_HASH 647364430
#define TS_SIGNATURE "rusEFI master.2023.11.08.alphax-8chan.902388248" #define TS_SIGNATURE "rusEFI master.2023.11.09.alphax-8chan.647364430"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 902388248 #define SIGNATURE_HASH 647364430
#define TS_SIGNATURE "rusEFI master.2023.11.08.alphax-8chan_f7.902388248" #define TS_SIGNATURE "rusEFI master.2023.11.09.alphax-8chan_f7.647364430"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 914902541 #define SIGNATURE_HASH 634710875
#define TS_SIGNATURE "rusEFI master.2023.11.08.at_start_f435.914902541" #define TS_SIGNATURE "rusEFI master.2023.11.09.at_start_f435.634710875"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 1922013763 #define SIGNATURE_HASH 1641234197
#define TS_SIGNATURE "rusEFI master.2023.11.08.atlas.1922013763" #define TS_SIGNATURE "rusEFI master.2023.11.09.atlas.1641234197"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 246367163 #define SIGNATURE_HASH 502523629
#define TS_SIGNATURE "rusEFI master.2023.11.08.core8.246367163" #define TS_SIGNATURE "rusEFI master.2023.11.09.core8.502523629"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on hellen_cypress_gen_config.bat by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on hellen_cypress_gen_config.bat by SignatureConsumer
// //
#define SIGNATURE_HASH 914902541 #define SIGNATURE_HASH 634710875
#define TS_SIGNATURE "rusEFI master.2023.11.08.cypress.914902541" #define TS_SIGNATURE "rusEFI master.2023.11.09.cypress.634710875"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 2509298742 #define SIGNATURE_HASH 2261547360
#define TS_SIGNATURE "rusEFI master.2023.11.08.f407-discovery.2509298742" #define TS_SIGNATURE "rusEFI master.2023.11.09.f407-discovery.2261547360"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 914902541 #define SIGNATURE_HASH 634710875
#define TS_SIGNATURE "rusEFI master.2023.11.08.f429-discovery.914902541" #define TS_SIGNATURE "rusEFI master.2023.11.09.f429-discovery.634710875"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 349875911 #define SIGNATURE_HASH 126225297
#define TS_SIGNATURE "rusEFI master.2023.11.08.frankenso_na6.349875911" #define TS_SIGNATURE "rusEFI master.2023.11.09.frankenso_na6.126225297"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 516185716 #define SIGNATURE_HASH 228129570
#define TS_SIGNATURE "rusEFI master.2023.11.08.harley81.516185716" #define TS_SIGNATURE "rusEFI master.2023.11.09.harley81.228129570"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 1343953697 #define SIGNATURE_HASH 1128775287
#define TS_SIGNATURE "rusEFI master.2023.11.08.hellen-112-17.1343953697" #define TS_SIGNATURE "rusEFI master.2023.11.09.hellen-112-17.1128775287"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 3828826975 #define SIGNATURE_HASH 4151043593
#define TS_SIGNATURE "rusEFI master.2023.11.08.hellen-112-mg1.3828826975" #define TS_SIGNATURE "rusEFI master.2023.11.09.hellen-112-mg1.4151043593"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 2256206077 #define SIGNATURE_HASH 2502319531
#define TS_SIGNATURE "rusEFI master.2023.11.08.hellen-gm-e67.2256206077" #define TS_SIGNATURE "rusEFI master.2023.11.09.hellen-gm-e67.2502319531"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 4016599086 #define SIGNATURE_HASH 4231320952
#define TS_SIGNATURE "rusEFI master.2023.11.08.hellen-honda-k.4016599086" #define TS_SIGNATURE "rusEFI master.2023.11.09.hellen-honda-k.4231320952"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 1498039066 #define SIGNATURE_HASH 1243014732
#define TS_SIGNATURE "rusEFI master.2023.11.08.hellen-nb1.1498039066" #define TS_SIGNATURE "rusEFI master.2023.11.09.hellen-nb1.1243014732"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 2948507705 #define SIGNATURE_HASH 3168931183
#define TS_SIGNATURE "rusEFI master.2023.11.08.hellen121nissan.2948507705" #define TS_SIGNATURE "rusEFI master.2023.11.09.hellen121nissan.3168931183"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 2734051790 #define SIGNATURE_HASH 2980770968
#define TS_SIGNATURE "rusEFI master.2023.11.08.hellen121vag.2734051790" #define TS_SIGNATURE "rusEFI master.2023.11.09.hellen121vag.2980770968"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 4183476583 #define SIGNATURE_HASH 3926289457
#define TS_SIGNATURE "rusEFI master.2023.11.08.hellen128.4183476583" #define TS_SIGNATURE "rusEFI master.2023.11.09.hellen128.3926289457"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 3888858295 #define SIGNATURE_HASH 4103594465
#define TS_SIGNATURE "rusEFI master.2023.11.08.hellen154hyundai.3888858295" #define TS_SIGNATURE "rusEFI master.2023.11.09.hellen154hyundai.4103594465"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 1523337248 #define SIGNATURE_HASH 1234234742
#define TS_SIGNATURE "rusEFI master.2023.11.08.hellen72.1523337248" #define TS_SIGNATURE "rusEFI master.2023.11.09.hellen72.1234234742"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 3957046370 #define SIGNATURE_HASH 4169603380
#define TS_SIGNATURE "rusEFI master.2023.11.08.hellen81.3957046370" #define TS_SIGNATURE "rusEFI master.2023.11.09.hellen81.4169603380"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 3635266505 #define SIGNATURE_HASH 3421595295
#define TS_SIGNATURE "rusEFI master.2023.11.08.hellen88bmw.3635266505" #define TS_SIGNATURE "rusEFI master.2023.11.09.hellen88bmw.3421595295"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 3716534825 #define SIGNATURE_HASH 3470358399
#define TS_SIGNATURE "rusEFI master.2023.11.08.hellenNA6.3716534825" #define TS_SIGNATURE "rusEFI master.2023.11.09.hellenNA6.3470358399"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 3139748582 #define SIGNATURE_HASH 2826463152
#define TS_SIGNATURE "rusEFI master.2023.11.08.hellenNA8_96.3139748582" #define TS_SIGNATURE "rusEFI master.2023.11.09.hellenNA8_96.2826463152"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on kinetis_gen_config.bat by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on kinetis_gen_config.bat by SignatureConsumer
// //
#define SIGNATURE_HASH 1952024995 #define SIGNATURE_HASH 1728392437
#define TS_SIGNATURE "rusEFI master.2023.11.08.kin.1952024995" #define TS_SIGNATURE "rusEFI master.2023.11.09.kin.1728392437"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 1722355185 #define SIGNATURE_HASH 1979033767
#define TS_SIGNATURE "rusEFI master.2023.11.08.m74_9.1722355185" #define TS_SIGNATURE "rusEFI master.2023.11.09.m74_9.1979033767"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 367372173 #define SIGNATURE_HASH 112788187
#define TS_SIGNATURE "rusEFI master.2023.11.08.mre_f4.367372173" #define TS_SIGNATURE "rusEFI master.2023.11.09.mre_f4.112788187"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 367372173 #define SIGNATURE_HASH 112788187
#define TS_SIGNATURE "rusEFI master.2023.11.08.mre_f7.367372173" #define TS_SIGNATURE "rusEFI master.2023.11.09.mre_f7.112788187"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 914902541 #define SIGNATURE_HASH 634710875
#define TS_SIGNATURE "rusEFI master.2023.11.08.nucleo_f429.914902541" #define TS_SIGNATURE "rusEFI master.2023.11.09.nucleo_f429.634710875"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 914902541 #define SIGNATURE_HASH 634710875
#define TS_SIGNATURE "rusEFI master.2023.11.08.nucleo_f767.914902541" #define TS_SIGNATURE "rusEFI master.2023.11.09.nucleo_f767.634710875"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 914902541 #define SIGNATURE_HASH 634710875
#define TS_SIGNATURE "rusEFI master.2023.11.08.nucleo_h743.914902541" #define TS_SIGNATURE "rusEFI master.2023.11.09.nucleo_h743.634710875"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 102531997 #define SIGNATURE_HASH 356525771
#define TS_SIGNATURE "rusEFI master.2023.11.08.prometheus_405.102531997" #define TS_SIGNATURE "rusEFI master.2023.11.09.prometheus_405.356525771"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 102531997 #define SIGNATURE_HASH 356525771
#define TS_SIGNATURE "rusEFI master.2023.11.08.prometheus_469.102531997" #define TS_SIGNATURE "rusEFI master.2023.11.09.prometheus_469.356525771"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 916172919 #define SIGNATURE_HASH 633804065
#define TS_SIGNATURE "rusEFI master.2023.11.08.proteus_f4.916172919" #define TS_SIGNATURE "rusEFI master.2023.11.09.proteus_f4.633804065"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 916172919 #define SIGNATURE_HASH 633804065
#define TS_SIGNATURE "rusEFI master.2023.11.08.proteus_f7.916172919" #define TS_SIGNATURE "rusEFI master.2023.11.09.proteus_f7.633804065"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 916172919 #define SIGNATURE_HASH 633804065
#define TS_SIGNATURE "rusEFI master.2023.11.08.proteus_h7.916172919" #define TS_SIGNATURE "rusEFI master.2023.11.09.proteus_h7.633804065"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 1503899243 #define SIGNATURE_HASH 1258228541
#define TS_SIGNATURE "rusEFI master.2023.11.08.s105.1503899243" #define TS_SIGNATURE "rusEFI master.2023.11.09.s105.1258228541"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 991457793 #define SIGNATURE_HASH 675600215
#define TS_SIGNATURE "rusEFI master.2023.11.08.small-can-board.991457793" #define TS_SIGNATURE "rusEFI master.2023.11.09.small-can-board.675600215"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on config/boards/subaru_eg33/config/gen_subaru_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on config/boards/subaru_eg33/config/gen_subaru_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 822446362 #define SIGNATURE_HASH 576269388
#define TS_SIGNATURE "rusEFI master.2023.11.08.subaru_eg33_f7.822446362" #define TS_SIGNATURE "rusEFI master.2023.11.09.subaru_eg33_f7.576269388"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 914902541 #define SIGNATURE_HASH 634710875
#define TS_SIGNATURE "rusEFI master.2023.11.08.t-b-g.914902541" #define TS_SIGNATURE "rusEFI master.2023.11.09.t-b-g.634710875"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 3156632111 #define SIGNATURE_HASH 2944059257
#define TS_SIGNATURE "rusEFI master.2023.11.08.tdg-pdm8.3156632111" #define TS_SIGNATURE "rusEFI master.2023.11.09.tdg-pdm8.2944059257"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 2564102526 #define SIGNATURE_HASH 2341059624
#define TS_SIGNATURE "rusEFI master.2023.11.08.uaefi.2564102526" #define TS_SIGNATURE "rusEFI master.2023.11.09.uaefi.2341059624"

View File

@ -1080,6 +1080,9 @@ float getOutputValueByName(const char *name) {
// startStopStateToggleCounter // startStopStateToggleCounter
case -960645892: case -960645892:
return engine->engineState.startStopStateToggleCounter; return engine->engineState.startStopStateToggleCounter;
// startStopStateTempPhysicalCounter
case 755349965:
return engine->engineState.startStopStateTempPhysicalCounter;
// egtValue1 // egtValue1
case -244414221: case -244414221:
return engine->engineState.egtValue1; return engine->engineState.egtValue1;

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.f407-discovery.2509298742" signature = "rusEFI master.2023.11.09.f407-discovery.2261547360"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.f407-discovery.2509298742" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.f407-discovery.2261547360" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="Disabled", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PB0", "PB1", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5" #define adc_channel_e_list="Disabled", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PB0", "PB1", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:04:03 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:08:24 UTC 2023
pageSize = 23880 pageSize = 23880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6079,13 +6081,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6421,8 +6424,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.alphax-2chan.1191049738" signature = "rusEFI master.2023.11.09.alphax-2chan.1436639068"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.alphax-2chan.1191049738" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.alphax-2chan.1436639068" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="NONE","INVALID","B4 - O2","On-board MAP","INVALID","B5 - TPS","A2 Battery Sense","C7 - CAM Hall/Digital","X7 - AIN4","X1 - AIN1","INVALID","INVALID","B2 - MAP","B7 - CLT","B3 - IAT","X3 - AIN2" #define adc_channel_e_list="NONE","INVALID","B4 - O2","On-board MAP","INVALID","B5 - TPS","A2 Battery Sense","C7 - CAM Hall/Digital","X7 - AIN4","X1 - AIN1","INVALID","INVALID","B2 - MAP","B7 - CLT","B3 - IAT","X3 - AIN2"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:01:31 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:06:38 UTC 2023
pageSize = 23880 pageSize = 23880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6075,13 +6077,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6417,8 +6420,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }
@ -8531,8 +8534,8 @@ dialog = tcuControls, "Transmission Settings"
dialog = fancyHardwareDialog, "Fancy Boards" dialog = fancyHardwareDialog, "Fancy Boards"
field = "A4 Tachometer Output 5V/12V Pull-Up", boardUseTachPullUp field = "A4 Tachometer Output 5V/12V Pull-Up", boardUseTachPullUp
field = "B3/B7 Temperature Inputs Pull-Up", boardUseTempPullUp field = "B3/B7 Temperature Inputs Pull-Up", boardUseTempPullUp
field = "С3 Crank+ Input Pull-Up", boardUseCrankPullUp field = "C3 Crank+ Input Pull-Up", boardUseCrankPullUp
field = "С4 2-step input Pull-Down", boardUse2stepPullDown field = "C4 2-step input Pull-Down", boardUse2stepPullDown
field = "C7 CAM Input Pull-Down", boardUseCamPullDown field = "C7 CAM Input Pull-Down", boardUseCamPullDown
field = "etbDutyThreshold", etbDutyThreshold field = "etbDutyThreshold", etbDutyThreshold
field = "etbDutyShutdownThreshold", etbDutyShutdownThreshold field = "etbDutyShutdownThreshold", etbDutyShutdownThreshold

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.alphax-4chan.4002463964" signature = "rusEFI master.2023.11.09.alphax-4chan.4258030986"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.alphax-4chan.4002463964" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.alphax-4chan.4258030986" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="NONE","INVALID","B4 - O2","On-board MAP","D5 - PPS","B5 - TPS","F7 - Ignition Key Voltage","C7 - CAM Hall/Digital","INVALID","D4 - TPS2","INVALID","X5 - AIN3","B2 - MAP","B7 - CLT","B3 - IAT","F6 - PPS2","X7 - AIN4","INVALID","INVALID","INVALID","X3 - AIN2","X1 - AIN1 and D5 on older boards" #define adc_channel_e_list="NONE","INVALID","B4 - O2","On-board MAP","D5 - PPS","B5 - TPS","F7 - Ignition Key Voltage","C7 - CAM Hall/Digital","INVALID","D4 - TPS2","INVALID","X5 - AIN3","B2 - MAP","B7 - CLT","B3 - IAT","F6 - PPS2","X7 - AIN4","INVALID","INVALID","INVALID","X3 - AIN2","X1 - AIN1 and D5 on older boards"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:01:34 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:06:40 UTC 2023
pageSize = 23880 pageSize = 23880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6078,13 +6080,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6420,8 +6423,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }
@ -8536,8 +8539,8 @@ dialog = tcuControls, "Transmission Settings"
dialog = fancyHardwareDialog, "Fancy Boards" dialog = fancyHardwareDialog, "Fancy Boards"
field = "A4 Tachometer Output 5V/12V Pull-Up", boardUseTachPullUp field = "A4 Tachometer Output 5V/12V Pull-Up", boardUseTachPullUp
field = "B3/B7 Temperature Inputs Pull-Up", boardUseTempPullUp field = "B3/B7 Temperature Inputs Pull-Up", boardUseTempPullUp
field = "С3 Crank+ Input Pull-Up", boardUseCrankPullUp field = "C3 Crank+ Input Pull-Up", boardUseCrankPullUp
field = "С4 2-step input Pull-Down", boardUse2stepPullDown field = "C4 2-step input Pull-Down", boardUse2stepPullDown
field = "C7 CAM Hall Input Pull-Down", boardUseCamPullDown field = "C7 CAM Hall Input Pull-Down", boardUseCamPullDown
field = "E6 CAM VR+ Input Pull-Up", boardUseCamVrPullUp field = "E6 CAM VR+ Input Pull-Up", boardUseCamVrPullUp
field = "D3 Digital Input 2 Pull-Down", boardUseD2PullDown field = "D3 Digital Input 2 Pull-Down", boardUseD2PullDown

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.alphax-4chan_f7.4002463964" signature = "rusEFI master.2023.11.09.alphax-4chan_f7.4258030986"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.alphax-4chan_f7.4002463964" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.alphax-4chan_f7.4258030986" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="NONE","INVALID","B4 - O2","On-board MAP","D5 - PPS","B5 - TPS","F7 - Ignition Key Voltage","C7 - CAM Hall/Digital","INVALID","D4 - TPS2","INVALID","X5 - AIN3","B2 - MAP","B7 - CLT","B3 - IAT","F6 - PPS2","X7 - AIN4","INVALID","INVALID","INVALID","X3 - AIN2","X1 - AIN1 and D5 on older boards" #define adc_channel_e_list="NONE","INVALID","B4 - O2","On-board MAP","D5 - PPS","B5 - TPS","F7 - Ignition Key Voltage","C7 - CAM Hall/Digital","INVALID","D4 - TPS2","INVALID","X5 - AIN3","B2 - MAP","B7 - CLT","B3 - IAT","F6 - PPS2","X7 - AIN4","INVALID","INVALID","INVALID","X3 - AIN2","X1 - AIN1 and D5 on older boards"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:01:38 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:06:43 UTC 2023
pageSize = 23880 pageSize = 23880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6078,13 +6080,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6420,8 +6423,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }
@ -8536,8 +8539,8 @@ dialog = tcuControls, "Transmission Settings"
dialog = fancyHardwareDialog, "Fancy Boards" dialog = fancyHardwareDialog, "Fancy Boards"
field = "A4 Tachometer Output 5V/12V Pull-Up", boardUseTachPullUp field = "A4 Tachometer Output 5V/12V Pull-Up", boardUseTachPullUp
field = "B3/B7 Temperature Inputs Pull-Up", boardUseTempPullUp field = "B3/B7 Temperature Inputs Pull-Up", boardUseTempPullUp
field = "С3 Crank+ Input Pull-Up", boardUseCrankPullUp field = "C3 Crank+ Input Pull-Up", boardUseCrankPullUp
field = "С4 2-step input Pull-Down", boardUse2stepPullDown field = "C4 2-step input Pull-Down", boardUse2stepPullDown
field = "C7 CAM Hall Input Pull-Down", boardUseCamPullDown field = "C7 CAM Hall Input Pull-Down", boardUseCamPullDown
field = "E6 CAM VR+ Input Pull-Up", boardUseCamVrPullUp field = "E6 CAM VR+ Input Pull-Up", boardUseCamVrPullUp
field = "D3 Digital Input 2 Pull-Down", boardUseD2PullDown field = "D3 Digital Input 2 Pull-Down", boardUseD2PullDown

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.alphax-8chan-revA.125538318" signature = "rusEFI master.2023.11.09.alphax-8chan-revA.338113880"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.alphax-8chan-revA.125538318" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.alphax-8chan-revA.338113880" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="NONE","INVALID","INVALID","INVALID","17A - PPS","23C - TPS","Battery Sense","INVALID","15D - AN5","24C - TPS2","14A - Analog 1","22A - Analog 22","On-board MAP","16A - CLT","15A - IAT","31C - PPS2","33A - AN3","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","16D - AN6","INVALID","INVALID","INVALID","INVALID","7C - AT4","INVALID","6C - AT3","14D - AN4" #define adc_channel_e_list="NONE","INVALID","INVALID","INVALID","17A - PPS","23C - TPS","Battery Sense","INVALID","15D - AN5","24C - TPS2","14A - Analog 1","22A - Analog 22","On-board MAP","16A - CLT","15A - IAT","31C - PPS2","33A - AN3","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","16D - AN6","INVALID","INVALID","INVALID","INVALID","7C - AT4","INVALID","6C - AT3","14D - AN4"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:01:49 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:06:50 UTC 2023
pageSize = 23880 pageSize = 23880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6079,13 +6081,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6421,8 +6424,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }
@ -8534,7 +8537,7 @@ dialog = tcuControls, "Transmission Settings"
field = "D2 Tachometer Output 5V/12V Pull-Up", boardUseTachPullUp field = "D2 Tachometer Output 5V/12V Pull-Up", boardUseTachPullUp
field = "A15/A16 Temperature Inputs Pull-Up", boardUseTempPullUp field = "A15/A16 Temperature Inputs Pull-Up", boardUseTempPullUp
field = "A8 Crank+ Input Pull-Up", boardUseCrankPullUp field = "A8 Crank+ Input Pull-Up", boardUseCrankPullUp
field = "С21 2-step input Pull-Down", boardUse2stepPullDown field = "C21 2-step input Pull-Down", boardUse2stepPullDown
field = "A23 CAM Hall Input Pull-Down", boardUseCamPullDown field = "A23 CAM Hall Input Pull-Down", boardUseCamPullDown
field = "B14 Digital Input 2 Pull-Down", boardUseD2PullDown field = "B14 Digital Input 2 Pull-Down", boardUseD2PullDown
field = "B15 Digital Input 3 Pull-Down", boardUseD3PullDown field = "B15 Digital Input 3 Pull-Down", boardUseD3PullDown

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.alphax-8chan.902388248" signature = "rusEFI master.2023.11.09.alphax-8chan.647364430"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.alphax-8chan.902388248" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.alphax-8chan.647364430" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="NONE","INVALID","3A - Aux Analog 2","On-board MAP","32A - PPS Sensor Input","31A - TPS Sensor Input","24 - Ignition Key Voltage","INVALID","INVALID","19A - Aux Analog 6","1A - Aux Analog 1","2A - Aux Analog 4","INVALID","29A - CLT Sensor Input","27A - IAT Sensor Input","INVALID","12A - Aux Analog 8","INVALID","11A - Aux Analog 3","INVALID","34A - PPS2 Sensor Input","33A - TPS2 Sensor Input","INVALID","INVALID","INVALID","4A - Aux Analog 7","INVALID","10A - Aux Analog 5","INVALID","28A - Aux Temp 2","28A - Aux Temp 1","INVALID","20A - Aux Analog 9" #define adc_channel_e_list="NONE","INVALID","3A - Aux Analog 2","On-board MAP","32A - PPS Sensor Input","31A - TPS Sensor Input","24 - Ignition Key Voltage","INVALID","INVALID","19A - Aux Analog 6","1A - Aux Analog 1","2A - Aux Analog 4","INVALID","29A - CLT Sensor Input","27A - IAT Sensor Input","INVALID","12A - Aux Analog 8","INVALID","11A - Aux Analog 3","INVALID","34A - PPS2 Sensor Input","33A - TPS2 Sensor Input","INVALID","INVALID","INVALID","4A - Aux Analog 7","INVALID","10A - Aux Analog 5","INVALID","28A - Aux Temp 2","28A - Aux Temp 1","INVALID","20A - Aux Analog 9"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:01:42 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:06:45 UTC 2023
pageSize = 23880 pageSize = 23880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6079,13 +6081,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6421,8 +6424,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }
@ -8534,7 +8537,7 @@ dialog = tcuControls, "Transmission Settings"
field = "D2 Tachometer Output 5V/12V Pull-Up", boardUseTachPullUp field = "D2 Tachometer Output 5V/12V Pull-Up", boardUseTachPullUp
field = "A15/A16 Temperature Inputs Pull-Up", boardUseTempPullUp field = "A15/A16 Temperature Inputs Pull-Up", boardUseTempPullUp
field = "A8 Crank+ Input Pull-Up", boardUseCrankPullUp field = "A8 Crank+ Input Pull-Up", boardUseCrankPullUp
field = "С21 2-step input Pull-Down", boardUse2stepPullDown field = "C21 2-step input Pull-Down", boardUse2stepPullDown
field = "A23 CAM Hall Input Pull-Down", boardUseCamPullDown field = "A23 CAM Hall Input Pull-Down", boardUseCamPullDown
field = "B14 Digital Input 2 Pull-Down", boardUseD2PullDown field = "B14 Digital Input 2 Pull-Down", boardUseD2PullDown
field = "B15 Digital Input 3 Pull-Down", boardUseD3PullDown field = "B15 Digital Input 3 Pull-Down", boardUseD3PullDown

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.alphax-8chan_f7.902388248" signature = "rusEFI master.2023.11.09.alphax-8chan_f7.647364430"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.alphax-8chan_f7.902388248" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.alphax-8chan_f7.647364430" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="NONE","INVALID","3A - Aux Analog 2","On-board MAP","32A - PPS Sensor Input","31A - TPS Sensor Input","24 - Ignition Key Voltage","INVALID","INVALID","19A - Aux Analog 6","1A - Aux Analog 1","2A - Aux Analog 4","INVALID","29A - CLT Sensor Input","27A - IAT Sensor Input","INVALID","12A - Aux Analog 8","INVALID","11A - Aux Analog 3","INVALID","34A - PPS2 Sensor Input","33A - TPS2 Sensor Input","INVALID","INVALID","INVALID","4A - Aux Analog 7","INVALID","10A - Aux Analog 5","INVALID","28A - Aux Temp 2","28A - Aux Temp 1","INVALID","20A - Aux Analog 9" #define adc_channel_e_list="NONE","INVALID","3A - Aux Analog 2","On-board MAP","32A - PPS Sensor Input","31A - TPS Sensor Input","24 - Ignition Key Voltage","INVALID","INVALID","19A - Aux Analog 6","1A - Aux Analog 1","2A - Aux Analog 4","INVALID","29A - CLT Sensor Input","27A - IAT Sensor Input","INVALID","12A - Aux Analog 8","INVALID","11A - Aux Analog 3","INVALID","34A - PPS2 Sensor Input","33A - TPS2 Sensor Input","INVALID","INVALID","INVALID","4A - Aux Analog 7","INVALID","10A - Aux Analog 5","INVALID","28A - Aux Temp 2","28A - Aux Temp 1","INVALID","20A - Aux Analog 9"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:01:45 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:06:48 UTC 2023
pageSize = 23880 pageSize = 23880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6079,13 +6081,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6421,8 +6424,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }
@ -8534,7 +8537,7 @@ dialog = tcuControls, "Transmission Settings"
field = "D2 Tachometer Output 5V/12V Pull-Up", boardUseTachPullUp field = "D2 Tachometer Output 5V/12V Pull-Up", boardUseTachPullUp
field = "A15/A16 Temperature Inputs Pull-Up", boardUseTempPullUp field = "A15/A16 Temperature Inputs Pull-Up", boardUseTempPullUp
field = "A8 Crank+ Input Pull-Up", boardUseCrankPullUp field = "A8 Crank+ Input Pull-Up", boardUseCrankPullUp
field = "С21 2-step input Pull-Down", boardUse2stepPullDown field = "C21 2-step input Pull-Down", boardUse2stepPullDown
field = "A23 CAM Hall Input Pull-Down", boardUseCamPullDown field = "A23 CAM Hall Input Pull-Down", boardUseCamPullDown
field = "B14 Digital Input 2 Pull-Down", boardUseD2PullDown field = "B14 Digital Input 2 Pull-Down", boardUseD2PullDown
field = "B15 Digital Input 3 Pull-Down", boardUseD3PullDown field = "B15 Digital Input 3 Pull-Down", boardUseD3PullDown

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.at_start_f435.914902541" signature = "rusEFI master.2023.11.09.at_start_f435.634710875"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.at_start_f435.914902541" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.at_start_f435.634710875" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="Disabled", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PB0", "PB1", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5" #define adc_channel_e_list="Disabled", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PB0", "PB1", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:03:58 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:08:20 UTC 2023
pageSize = 23880 pageSize = 23880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6077,13 +6079,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6419,8 +6422,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.atlas.1922013763" signature = "rusEFI master.2023.11.09.atlas.1641234197"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.atlas.1922013763" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.atlas.1641234197" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="Disabled", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PB0", "PB1", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5" #define adc_channel_e_list="Disabled", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PB0", "PB1", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:03:48 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:08:13 UTC 2023
pageSize = 23380 pageSize = 23380
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23370, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6077,13 +6079,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6419,8 +6422,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.core8.246367163" signature = "rusEFI master.2023.11.09.core8.502523629"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.core8.246367163" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.core8.502523629" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="NONE","On-board Battery Sense (A0)","Analog Inputs 1 (A1)","Analog Inputs 2 (A2)","Analog Inputs 3 (A3)","Analog Inputs 4 (A4)","On-board MAP (A5)","Analog Inputs 6 (A6)","Analog Inputs 7 (A7)","On-board BARO (B0)","Analog Inputs 9 (B1)","Analog Inputs 10 (C0)","Primary On-board O2 (C1)","Secondary On-board O2 (C2)","Analog Inputs 13 (C3)","Analog Inputs 14 (C4)","Analog Inputs 15 (C5)" #define adc_channel_e_list="NONE","On-board Battery Sense (A0)","Analog Inputs 1 (A1)","Analog Inputs 2 (A2)","Analog Inputs 3 (A3)","Analog Inputs 4 (A4)","On-board MAP (A5)","Analog Inputs 6 (A6)","Analog Inputs 7 (A7)","On-board BARO (B0)","Analog Inputs 9 (B1)","Analog Inputs 10 (C0)","Primary On-board O2 (C1)","Secondary On-board O2 (C2)","Analog Inputs 13 (C3)","Analog Inputs 14 (C4)","Analog Inputs 15 (C5)"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:03:00 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:07:39 UTC 2023
pageSize = 23880 pageSize = 23880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6079,13 +6081,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6421,8 +6424,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.cypress.914902541" signature = "rusEFI master.2023.11.09.cypress.634710875"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.cypress.914902541" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.cypress.634710875" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="Disabled", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PB0", "PB1", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5" #define adc_channel_e_list="Disabled", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PB0", "PB1", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:01:26 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:06:34 UTC 2023
pageSize = 23880 pageSize = 23880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6077,13 +6079,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6419,8 +6422,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.f407-discovery.2509298742" signature = "rusEFI master.2023.11.09.f407-discovery.2261547360"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.f407-discovery.2509298742" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.f407-discovery.2261547360" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="Disabled", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PB0", "PB1", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5" #define adc_channel_e_list="Disabled", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PB0", "PB1", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:03:55 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:08:17 UTC 2023
pageSize = 23880 pageSize = 23880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6079,13 +6081,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6421,8 +6424,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.f429-discovery.914902541" signature = "rusEFI master.2023.11.09.f429-discovery.634710875"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.f429-discovery.914902541" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.f429-discovery.634710875" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="Disabled", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PB0", "PB1", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5" #define adc_channel_e_list="Disabled", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PB0", "PB1", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:03:34 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:08:03 UTC 2023
pageSize = 23880 pageSize = 23880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6077,13 +6079,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6419,8 +6422,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.frankenso_na6.349875911" signature = "rusEFI master.2023.11.09.frankenso_na6.126225297"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.frankenso_na6.349875911" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.frankenso_na6.126225297" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="NONE","Analog 3O","Analog 3L","Analog 3M","Analog 3J","Analog 3I","INVALID","Analog 3H","Analog 3G","INVALID","INVALID","INVALID","Analog 3P","Analog 3Q","Analog 3N","Analog VBatt","Analog 3E" #define adc_channel_e_list="NONE","Analog 3O","Analog 3L","Analog 3M","Analog 3J","Analog 3I","INVALID","Analog 3H","Analog 3G","INVALID","INVALID","INVALID","Analog 3P","Analog 3Q","Analog 3N","Analog VBatt","Analog 3E"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:03:14 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:07:48 UTC 2023
pageSize = 23880 pageSize = 23880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6077,13 +6079,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6419,8 +6422,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.harley81.516185716" signature = "rusEFI master.2023.11.09.harley81.228129570"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.harley81.516185716" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.harley81.228129570" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="NONE","INVALID","27 - TPS 2","INVALID","41 - PPS 1","52 - TPS 1","5 Battery Sense","INVALID","INVALID","42 - PPS 2","INVALID","53 - MAP","55 Engine Temperature","49 CLT","72 IAT","32 Oil Pressure","34 Kickstand Position Sensor" #define adc_channel_e_list="NONE","INVALID","27 - TPS 2","INVALID","41 - PPS 1","52 - TPS 1","5 Battery Sense","INVALID","INVALID","42 - PPS 2","INVALID","53 - MAP","55 Engine Temperature","49 CLT","72 IAT","32 Oil Pressure","34 Kickstand Position Sensor"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:01:52 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:06:53 UTC 2023
pageSize = 23880 pageSize = 23880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6078,13 +6080,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6419,8 +6422,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.hellen-112-17.1343953697" signature = "rusEFI master.2023.11.09.hellen-112-17.1128775287"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.hellen-112-17.1343953697" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.hellen-112-17.1128775287" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="NONE","220 TPS Throttle Position 2","114 Analog Input","INVALID","121 PPS1","203 TPS Throttle Position 1","INVALID","107 TODO","119 Analog Input","110 Analog Input","INVALID","219 MAP","109 Analog Input","215 CLT","227 IAT","111 Analog Input","112 Analog Input" #define adc_channel_e_list="NONE","220 TPS Throttle Position 2","114 Analog Input","INVALID","121 PPS1","203 TPS Throttle Position 1","INVALID","107 TODO","119 Analog Input","110 Analog Input","INVALID","219 MAP","109 Analog Input","215 CLT","227 IAT","111 Analog Input","112 Analog Input"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:02:21 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:07:12 UTC 2023
pageSize = 23880 pageSize = 23880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6076,13 +6078,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6418,8 +6421,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.hellen-112-mg1.3828826975" signature = "rusEFI master.2023.11.09.hellen-112-mg1.4151043593"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.hellen-112-mg1.3828826975" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.hellen-112-mg1.4151043593" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="Disabled", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PB0", "PB1", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5" #define adc_channel_e_list="Disabled", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PB0", "PB1", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:02:24 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:07:15 UTC 2023
pageSize = 23880 pageSize = 23880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6076,13 +6078,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6418,8 +6421,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.hellen-gm-e67.2256206077" signature = "rusEFI master.2023.11.09.hellen-gm-e67.2502319531"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.hellen-gm-e67.2256206077" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.hellen-gm-e67.2502319531" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="NONE","INVALID","C2-60 - Oil Pressure","C3-58 - Baro","C1-47 - PPS1","C2-64 - TPS1","C1-19 Battery Sense","C1-45 Secondary Fuel Level","C3-57 - A/C Pressure","C2-66 - TPS2","C1-44 Primary Fuel Level","C2-65 - Trans Fluids","C3-59 - MAP","C3-55 - CLT","C3-56 - IAT","C1-49 - PPS2","C1-46 Vac Sense" #define adc_channel_e_list="NONE","INVALID","C2-60 - Oil Pressure","C3-58 - Baro","C1-47 - PPS1","C2-64 - TPS1","C1-19 Battery Sense","C1-45 Secondary Fuel Level","C3-57 - A/C Pressure","C2-66 - TPS2","C1-44 Primary Fuel Level","C2-65 - Trans Fluids","C3-59 - MAP","C3-55 - CLT","C3-56 - IAT","C1-49 - PPS2","C1-46 Vac Sense"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:02:38 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:07:24 UTC 2023
pageSize = 23880 pageSize = 23880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6078,13 +6080,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6420,8 +6423,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.hellen-honda-k.4016599086" signature = "rusEFI master.2023.11.09.hellen-honda-k.4231320952"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.hellen-honda-k.4016599086" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.hellen-honda-k.4231320952" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="NONE","INVALID","INVALID","INVALID","INVALID","A15 TPS","E9 Ignition Key Voltage","INVALID","INVALID","INVALID","INVALID","A19 - MAP","INVALID","B8 - CLT","B17 IAT" #define adc_channel_e_list="NONE","INVALID","INVALID","INVALID","INVALID","A15 TPS","E9 Ignition Key Voltage","INVALID","INVALID","INVALID","INVALID","A19 - MAP","INVALID","B8 - CLT","B17 IAT"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:02:07 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:07:03 UTC 2023
pageSize = 24552 pageSize = 24552
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 24542, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6076,13 +6078,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6417,8 +6420,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.hellen-nb1.1498039066" signature = "rusEFI master.2023.11.09.hellen-nb1.1243014732"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.hellen-nb1.1498039066" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.hellen-nb1.1243014732" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="NONE","2C - O2S","TPS1","intMAP","1G - Steering/RES2","3E - TPS","1B - Battery Sense","2H - CAM","3S - EGR BOOST IN","2A - Pressure Input","2J - CRANK","2L - MAF","3D - MAP","2E - Coolant","2B - IAT","4C - IN TEMP/PPS2","1P - AC Switch" #define adc_channel_e_list="NONE","2C - O2S","TPS1","intMAP","1G - Steering/RES2","3E - TPS","1B - Battery Sense","2H - CAM","3S - EGR BOOST IN","2A - Pressure Input","2J - CRANK","2L - MAF","3D - MAP","2E - Coolant","2B - IAT","4C - IN TEMP/PPS2","1P - AC Switch"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:02:35 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:07:22 UTC 2023
pageSize = 23880 pageSize = 23880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6078,13 +6080,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6420,8 +6423,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.hellen121nissan.2948507705" signature = "rusEFI master.2023.11.09.hellen121nissan.3168931183"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.hellen121nissan.2948507705" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.hellen121nissan.3168931183" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="NONE","51 - MAF","INVALID","Aux P68","106 - PPS 1","50 - TPS 1","109 Ignition Key Voltage","INVALID","INVALID","69 - TPS 2","INVALID","Aux P66","Aux P67","73 - CLT","34 - IAT","98 - PPS 2" #define adc_channel_e_list="NONE","51 - MAF","INVALID","Aux P68","106 - PPS 1","50 - TPS 1","109 Ignition Key Voltage","INVALID","INVALID","69 - TPS 2","INVALID","Aux P66","Aux P67","73 - CLT","34 - IAT","98 - PPS 2"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:02:03 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:07:00 UTC 2023
pageSize = 23880 pageSize = 23880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6076,13 +6078,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6417,8 +6420,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.hellen121vag.2734051790" signature = "rusEFI master.2023.11.09.hellen121vag.2980770968"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.hellen121vag.2734051790" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.hellen121vag.2980770968" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="NONE","14 - O2","INVALID","INVALID","34 In PPS1","92 - TPS 1","106 - KNOCK","86 - CAM1","87 - CAM2","84 - TPS2","INVALID","29 In Maf","101 - MAP2","93 - CLT","85 - IAT","35 In PPS2" #define adc_channel_e_list="NONE","14 - O2","INVALID","INVALID","34 In PPS1","92 - TPS 1","106 - KNOCK","86 - CAM1","87 - CAM2","84 - TPS2","INVALID","29 In Maf","101 - MAP2","93 - CLT","85 - IAT","35 In PPS2"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:02:00 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:06:58 UTC 2023
pageSize = 23880 pageSize = 23880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6078,13 +6080,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6420,8 +6423,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.hellen128.4183476583" signature = "rusEFI master.2023.11.09.hellen128.3926289457"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.hellen128.4183476583" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.hellen128.3926289457" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="NONE","P36_IN_O2S","P32_IN_O2S2","P40_IN_MAP3","C24 - PPS1","E31 - TPS1","Battery Sense","E40 - IN_CAM","P30_IN_AUX4","E34 - TPS2","E37 - Crank Input","E47 - MAF","E23 - MAP","E29 - Coolant Temp","E45 - IAT","C25 - PPS2","P41_IN_AUX3" #define adc_channel_e_list="NONE","P36_IN_O2S","P32_IN_O2S2","P40_IN_MAP3","C24 - PPS1","E31 - TPS1","Battery Sense","E40 - IN_CAM","P30_IN_AUX4","E34 - TPS2","E37 - Crank Input","E47 - MAF","E23 - MAP","E29 - Coolant Temp","E45 - IAT","C25 - PPS2","P41_IN_AUX3"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:01:56 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:06:55 UTC 2023
pageSize = 23880 pageSize = 23880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6078,13 +6080,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6419,8 +6422,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.hellen154hyundai.3888858295" signature = "rusEFI master.2023.11.09.hellen154hyundai.4103594465"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.hellen154hyundai.3888858295" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.hellen154hyundai.4103594465" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="NONE","K21 Ambient Temperature","K58 Oil Temp","K54 A/C pressure","PPS 1","TPS 1","K2 Ignition Key Voltage","X10 AIN2","INVALID","TPS 2","X11 AIN1","Map Sensor K31","K10 Sensor","CLT","IAT","PPS 2" #define adc_channel_e_list="NONE","K21 Ambient Temperature","K58 Oil Temp","K54 A/C pressure","PPS 1","TPS 1","K2 Ignition Key Voltage","X10 AIN2","INVALID","TPS 2","X11 AIN1","Map Sensor K31","K10 Sensor","CLT","IAT","PPS 2"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:02:10 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:07:05 UTC 2023
pageSize = 23880 pageSize = 23880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6076,13 +6078,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6417,8 +6420,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.hellen72.1523337248" signature = "rusEFI master.2023.11.09.hellen72.1234234742"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.hellen72.1523337248" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.hellen72.1234234742" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="NONE","5N - TPS2","3L - IGN_7 / AFR","intMAP (A15)","5P - PPS1","4V - TPS (A17)","4S/4T - Alternator voltage","3V - CAM (A19)","4J - VTCS/AUX4 (A20)","4F - AC_PRES/AUX1 (A23)","3Y - CRANK (A24)","4X - MAF (A9)","4U - MAP2/Ign8 (A10)","4P - CLT (A11)","4N - IAT (A14)","5M - PPS2 OR TEMPERATURE SENSOR","4AE - EGR/MAP4 (A22)" #define adc_channel_e_list="NONE","5N - TPS2","3L - IGN_7 / AFR","intMAP (A15)","5P - PPS1","4V - TPS (A17)","4S/4T - Alternator voltage","3V - CAM (A19)","4J - VTCS/AUX4 (A20)","4F - AC_PRES/AUX1 (A23)","3Y - CRANK (A24)","4X - MAF (A9)","4U - MAP2/Ign8 (A10)","4P - CLT (A11)","4N - IAT (A14)","5M - PPS2 OR TEMPERATURE SENSOR","4AE - EGR/MAP4 (A22)"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:02:28 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:07:17 UTC 2023
pageSize = 23880 pageSize = 23880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6078,13 +6080,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6420,8 +6423,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.hellen81.3957046370" signature = "rusEFI master.2023.11.09.hellen81.4169603380"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.hellen81.3957046370" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.hellen81.4169603380" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="NONE","18 - IN_O2S","55 - IN_O2S2","41 - IN_MAP3","78 - IN_PPS","16 - IN_TPS","13 - IN_VIGN","79 - IN_CAM","77 - IN_AUX4","74 - IN_AUX1","15 - IN_CRANK (A24)","37 - IN_MAP1","38 - IN_MAP2","39 - IN_CLT","40 - IN_IAT","75 - IN_AUX2","76 - IN_AUX3" #define adc_channel_e_list="NONE","18 - IN_O2S","55 - IN_O2S2","41 - IN_MAP3","78 - IN_PPS","16 - IN_TPS","13 - IN_VIGN","79 - IN_CAM","77 - IN_AUX4","74 - IN_AUX1","15 - IN_CRANK (A24)","37 - IN_MAP1","38 - IN_MAP2","39 - IN_CLT","40 - IN_IAT","75 - IN_AUX2","76 - IN_AUX3"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:02:31 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:07:19 UTC 2023
pageSize = 23880 pageSize = 23880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6076,13 +6078,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6418,8 +6421,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.hellen88bmw.3635266505" signature = "rusEFI master.2023.11.09.hellen88bmw.3421595295"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.hellen88bmw.3635266505" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.hellen88bmw.3421595295" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="NONE","VIN5","VIN6","INVALID","PPS1","73 - TPS","56 - Battery Sense","17 - CAM","Aux BARO","Aux TPS2","16 - CRANK","41 - MAF","Aux MAP","78 - CLT","77 - IAT","Aux PPS2","Aux TPS3" #define adc_channel_e_list="NONE","VIN5","VIN6","INVALID","PPS1","73 - TPS","56 - Battery Sense","17 - CAM","Aux BARO","Aux TPS2","16 - CRANK","41 - MAF","Aux MAP","78 - CLT","77 - IAT","Aux PPS2","Aux TPS3"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:02:14 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:07:08 UTC 2023
pageSize = 23880 pageSize = 23880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6078,13 +6080,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6419,8 +6422,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.hellenNA6.3716534825" signature = "rusEFI master.2023.11.09.hellenNA6.3470358399"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.hellenNA6.3716534825" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.hellenNA6.3470358399" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="NONE","3N - O2S","2N - Temperature Sensor","intMAP (A15)","4I - PPS1","TPS Input","1B - Battery Sense","INVALID","4G - PPS2 OR TEMPERATURE SENSOR","4H - TPS2","INVALID","3O - MAF","2M - Pressure Sensor","3Q - CLT","3P - IAT","1V - Clutch Switch","1Q AC Switch" #define adc_channel_e_list="NONE","3N - O2S","2N - Temperature Sensor","intMAP (A15)","4I - PPS1","TPS Input","1B - Battery Sense","INVALID","4G - PPS2 OR TEMPERATURE SENSOR","4H - TPS2","INVALID","3O - MAF","2M - Pressure Sensor","3Q - CLT","3P - IAT","1V - Clutch Switch","1Q AC Switch"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:02:42 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:07:27 UTC 2023
pageSize = 23880 pageSize = 23880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6078,13 +6080,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6420,8 +6423,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.hellenNA8_96.3139748582" signature = "rusEFI master.2023.11.09.hellenNA8_96.2826463152"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.hellenNA8_96.3139748582" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.hellenNA8_96.2826463152" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="NONE","2C - O2S","TPS1","intMAP","PPS1","2F - TPS","3B - Battery Sense","3G - CAM","3S - EGR BOOST IN","2A - Pressure Input","3F - CRANK","2B - MAF","INVALID","2G - Coolant","2B - IAT","4C - IN TEMP/PPS2","1K - AC Switch" #define adc_channel_e_list="NONE","2C - O2S","TPS1","intMAP","PPS1","2F - TPS","3B - Battery Sense","3G - CAM","3S - EGR BOOST IN","2A - Pressure Input","3F - CRANK","2B - MAF","INVALID","2G - Coolant","2B - IAT","4C - IN TEMP/PPS2","1K - AC Switch"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:02:46 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:07:29 UTC 2023
pageSize = 23880 pageSize = 23880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6078,13 +6080,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6420,8 +6423,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.kin.1952024995" signature = "rusEFI master.2023.11.09.kin.1728392437"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.kin.1952024995" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.kin.1728392437" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="Disabled", "PA2", "PA3", "INVALID", "PD3", "INVALID", "INVALID", "INVALID", "PB12", "PB13", "INVALID", "PE2", "INVALID", "PC14", "PC15", "PC16", "PC17" #define adc_channel_e_list="Disabled", "PA2", "PA3", "INVALID", "PD3", "INVALID", "INVALID", "INVALID", "PB12", "PB13", "INVALID", "PE2", "INVALID", "PC14", "PC15", "PC16", "PC17"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:01:24 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:06:33 UTC 2023
pageSize = 22504 pageSize = 22504
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 22494, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6077,13 +6079,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6419,8 +6422,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.m74_9.1722355185" signature = "rusEFI master.2023.11.09.m74_9.1979033767"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.m74_9.1722355185" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.m74_9.1979033767" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="Disabled", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PB0", "PB1", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5" #define adc_channel_e_list="Disabled", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PB0", "PB1", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:03:03 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:07:41 UTC 2023
pageSize = 23880 pageSize = 23880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6078,13 +6080,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6420,8 +6423,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.mre_f4.367372173" signature = "rusEFI master.2023.11.09.mre_f4.112788187"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.mre_f4.367372173" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.mre_f4.112788187" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="NONE","18 - AN temp 1","23 - AN temp 2","24 - AN temp 3 or Hall Input","22 - AN temp 4 or Hall Input","28 - AN volt 10, Aux Reuse","INVALID","26 - AN volt 2","31 - AN volt 3","36 - AN volt 8, Aux Reuse","40 - AN volt 9, Aux Reuse","27 - AN volt 1","Battery Sense","19 - AN volt 4","20 - AN volt 5","32 - AN volt 6, Aux Reuse","30 - AN volt 7" #define adc_channel_e_list="NONE","18 - AN temp 1","23 - AN temp 2","24 - AN temp 3 or Hall Input","22 - AN temp 4 or Hall Input","28 - AN volt 10, Aux Reuse","INVALID","26 - AN volt 2","31 - AN volt 3","36 - AN volt 8, Aux Reuse","40 - AN volt 9, Aux Reuse","27 - AN volt 1","Battery Sense","19 - AN volt 4","20 - AN volt 5","32 - AN volt 6, Aux Reuse","30 - AN volt 7"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:02:56 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:07:36 UTC 2023
pageSize = 23880 pageSize = 23880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5197,6 +5198,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6080,13 +6082,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6422,8 +6425,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.mre_f7.367372173" signature = "rusEFI master.2023.11.09.mre_f7.112788187"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.mre_f7.367372173" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.mre_f7.112788187" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="NONE","18 - AN temp 1","23 - AN temp 2","24 - AN temp 3 or Hall Input","22 - AN temp 4 or Hall Input","28 - AN volt 10, Aux Reuse","INVALID","26 - AN volt 2","31 - AN volt 3","36 - AN volt 8, Aux Reuse","40 - AN volt 9, Aux Reuse","27 - AN volt 1","Battery Sense","19 - AN volt 4","20 - AN volt 5","32 - AN volt 6, Aux Reuse","30 - AN volt 7" #define adc_channel_e_list="NONE","18 - AN temp 1","23 - AN temp 2","24 - AN temp 3 or Hall Input","22 - AN temp 4 or Hall Input","28 - AN volt 10, Aux Reuse","INVALID","26 - AN volt 2","31 - AN volt 3","36 - AN volt 8, Aux Reuse","40 - AN volt 9, Aux Reuse","27 - AN volt 1","Battery Sense","19 - AN volt 4","20 - AN volt 5","32 - AN volt 6, Aux Reuse","30 - AN volt 7"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:02:53 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:07:34 UTC 2023
pageSize = 23880 pageSize = 23880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5197,6 +5198,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6080,13 +6082,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6422,8 +6425,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.nucleo_f429.914902541" signature = "rusEFI master.2023.11.09.nucleo_f429.634710875"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.nucleo_f429.914902541" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.nucleo_f429.634710875" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="Disabled", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PB0", "PB1", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5" #define adc_channel_e_list="Disabled", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PB0", "PB1", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:03:38 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:08:06 UTC 2023
pageSize = 23880 pageSize = 23880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6077,13 +6079,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6419,8 +6422,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.nucleo_f767.914902541" signature = "rusEFI master.2023.11.09.nucleo_f767.634710875"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.nucleo_f767.914902541" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.nucleo_f767.634710875" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="Disabled", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PB0", "PB1", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5" #define adc_channel_e_list="Disabled", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PB0", "PB1", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:03:41 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:08:08 UTC 2023
pageSize = 23880 pageSize = 23880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6077,13 +6079,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6419,8 +6422,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.nucleo_h743.914902541" signature = "rusEFI master.2023.11.09.nucleo_h743.634710875"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.nucleo_h743.914902541" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.nucleo_h743.634710875" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="Disabled", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PB0", "PB1", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5" #define adc_channel_e_list="Disabled", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PB0", "PB1", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:03:45 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:08:10 UTC 2023
pageSize = 23880 pageSize = 23880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6077,13 +6079,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6419,8 +6422,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.prometheus_405.102531997" signature = "rusEFI master.2023.11.09.prometheus_405.356525771"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.prometheus_405.102531997" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.prometheus_405.356525771" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="Disabled", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PB0", "PB1", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5" #define adc_channel_e_list="Disabled", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PB0", "PB1", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:03:20 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:07:53 UTC 2023
pageSize = 23880 pageSize = 23880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6072,13 +6074,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6414,8 +6417,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.prometheus_469.102531997" signature = "rusEFI master.2023.11.09.prometheus_469.356525771"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.prometheus_469.102531997" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.prometheus_469.356525771" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="Disabled", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PB0", "PB1", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5" #define adc_channel_e_list="Disabled", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PB0", "PB1", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:03:17 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:07:51 UTC 2023
pageSize = 23880 pageSize = 23880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 23870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6072,13 +6074,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6414,8 +6417,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.proteus_f4.916172919" signature = "rusEFI master.2023.11.09.proteus_f4.633804065"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.proteus_f4.916172919" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.proteus_f4.633804065" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="NONE","Analog Volt 5","Analog Volt 6","Analog Volt 7","Analog Volt 8","Analog Volt 9","Analog Volt 10","Analog Volt 11","Battery Sense","Analog Temp 3","Analog Temp 4","Analog Volt 1","Analog Volt 2","Analog Volt 3","Analog Volt 4","Analog Temp 1","Analog Temp 2" #define adc_channel_e_list="NONE","Analog Volt 5","Analog Volt 6","Analog Volt 7","Analog Volt 8","Analog Volt 9","Analog Volt 10","Analog Volt 11","Battery Sense","Analog Temp 3","Analog Temp 4","Analog Volt 1","Analog Volt 2","Analog Volt 3","Analog Volt 4","Analog Temp 1","Analog Temp 2"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:03:27 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:07:58 UTC 2023
pageSize = 27880 pageSize = 27880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 27870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6087,13 +6089,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6429,8 +6432,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.proteus_f7.916172919" signature = "rusEFI master.2023.11.09.proteus_f7.633804065"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.proteus_f7.916172919" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.proteus_f7.633804065" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="NONE","Analog Volt 5","Analog Volt 6","Analog Volt 7","Analog Volt 8","Analog Volt 9","Analog Volt 10","Analog Volt 11","Battery Sense","Analog Temp 3","Analog Temp 4","Analog Volt 1","Analog Volt 2","Analog Volt 3","Analog Volt 4","Analog Temp 1","Analog Temp 2" #define adc_channel_e_list="NONE","Analog Volt 5","Analog Volt 6","Analog Volt 7","Analog Volt 8","Analog Volt 9","Analog Volt 10","Analog Volt 11","Battery Sense","Analog Temp 3","Analog Temp 4","Analog Volt 1","Analog Volt 2","Analog Volt 3","Analog Volt 4","Analog Temp 1","Analog Temp 2"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:03:24 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:07:55 UTC 2023
pageSize = 27880 pageSize = 27880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 27870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6087,13 +6089,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6429,8 +6432,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }

View File

@ -34,12 +34,12 @@ enable2ndByteCanID = false
[MegaTune] [MegaTune]
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201 ; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
signature = "rusEFI master.2023.11.08.proteus_h7.916172919" signature = "rusEFI master.2023.11.09.proteus_h7.633804065"
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmware version for title bar. versionInfo = "V" ; firmware version for title bar.
signature= "rusEFI master.2023.11.08.proteus_h7.916172919" ; signature is expected to be 7 or more characters. signature= "rusEFI master.2023.11.09.proteus_h7.633804065" ; signature is expected to be 7 or more characters.
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C ; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
useLegacyFTempUnits = false useLegacyFTempUnits = false
@ -92,7 +92,7 @@ enable2ndByteCanID = false
#define adc_channel_e_list="NONE","Analog Volt 5","Analog Volt 6","Analog Volt 7","Analog Volt 8","Analog Volt 9","Analog Volt 10","Analog Volt 11","Battery Sense","Analog Temp 3","Analog Temp 4","Analog Volt 1","Analog Volt 2","Analog Volt 3","Analog Volt 4","Analog Temp 1","Analog Temp 2" #define adc_channel_e_list="NONE","Analog Volt 5","Analog Volt 6","Analog Volt 7","Analog Volt 8","Analog Volt 9","Analog Volt 10","Analog Volt 11","Battery Sense","Analog Temp 3","Analog Temp 4","Analog Volt 1","Analog Volt 2","Analog Volt 3","Analog Volt 4","Analog Temp 1","Analog Temp 2"
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Wed Nov 08 20:03:31 UTC 2023 ; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Thu Nov 09 02:08:01 UTC 2023
pageSize = 27880 pageSize = 27880
page = 1 page = 1
@ -2347,7 +2347,7 @@ lambdaMaxDeviationRpmBins = array, U16, 27870, [4], "RPM", 1, 0, 0, 18000, 0
ochGetCommand = "O%2o%2c" ochGetCommand = "O%2o%2c"
; see TS_OUTPUT_SIZE in console source code ; see TS_OUTPUT_SIZE in console source code
ochBlockSize = 1440 ochBlockSize = 1444
; 11.2.3 Full Optimized High Speed ; 11.2.3 Full Optimized High Speed
scatteredOchGetCommand = 9 scatteredOchGetCommand = 9
@ -3001,136 +3001,137 @@ brakePedalState = scalar, S08, 1092, "", 1, 0
startStopState = scalar, S08, 1093, "", 1, 0 startStopState = scalar, S08, 1093, "", 1, 0
startStopPhysicalState = bits, U32, 1096, [0:0] startStopPhysicalState = bits, U32, 1096, [0:0]
startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0 startStopStateToggleCounter = scalar, U32, 1100, "", 1, 0
egtValue1 = scalar, F32, 1104, "", 1, 0 startStopStateTempPhysicalCounter = scalar, U32, 1104, "", 1, 0
egtValue2 = scalar, F32, 1108, "", 1, 0 egtValue1 = scalar, F32, 1108, "", 1, 0
desiredRpmLimit = scalar, S16, 1112, "rpm", 1, 0 egtValue2 = scalar, F32, 1112, "", 1, 0
fuelInjectionCounter = scalar, U32, 1116, "", 1, 0 desiredRpmLimit = scalar, S16, 1116, "rpm", 1, 0
sparkCounter = scalar, U32, 1120, "", 1, 0 fuelInjectionCounter = scalar, U32, 1120, "", 1, 0
fuelingLoad = scalar, F32, 1124, "", 1, 0 sparkCounter = scalar, U32, 1124, "", 1, 0
ignitionLoad = scalar, F32, 1128, "", 1, 0 fuelingLoad = scalar, F32, 1128, "", 1, 0
veTableYAxis = scalar, U16, 1132, "%", 0.01, 0 ignitionLoad = scalar, F32, 1132, "", 1, 0
; total TS size = 1136 veTableYAxis = scalar, U16, 1136, "%", 0.01, 0
tpsFrom = scalar, F32, 1136 ; total TS size = 1140
tpsTo = scalar, F32, 1140 tpsFrom = scalar, F32, 1140
deltaTps = scalar, F32, 1144 tpsTo = scalar, F32, 1144
extraFuel = scalar, F32, 1148, "", 1, 0 deltaTps = scalar, F32, 1148
valueFromTable = scalar, F32, 1152, "", 1, 0 extraFuel = scalar, F32, 1152, "", 1, 0
isAboveAccelThreshold = bits, U32, 1156, [0:0] valueFromTable = scalar, F32, 1156, "", 1, 0
isBelowDecelThreshold = bits, U32, 1156, [1:1] isAboveAccelThreshold = bits, U32, 1160, [0:0]
isTimeToResetAccumulator = bits, U32, 1156, [2:2] isBelowDecelThreshold = bits, U32, 1160, [1:1]
isFractionalEnrichment = bits, U32, 1156, [3:3] isTimeToResetAccumulator = bits, U32, 1160, [2:2]
belowEpsilon = bits, U32, 1156, [4:4] isFractionalEnrichment = bits, U32, 1160, [3:3]
tooShort = bits, U32, 1156, [5:5] belowEpsilon = bits, U32, 1160, [4:4]
fractionalInjFuel = scalar, F32, 1160, "", 1, 0 tooShort = bits, U32, 1160, [5:5]
accumulatedValue = scalar, F32, 1164, "", 1, 0 fractionalInjFuel = scalar, F32, 1164, "", 1, 0
maxExtraPerCycle = scalar, F32, 1168, "", 1, 0 accumulatedValue = scalar, F32, 1168, "", 1, 0
maxExtraPerPeriod = scalar, F32, 1172, "", 1, 0 maxExtraPerCycle = scalar, F32, 1172, "", 1, 0
maxInjectedPerPeriod = scalar, F32, 1176, "", 1, 0 maxExtraPerPeriod = scalar, F32, 1176, "", 1, 0
cycleCnt = scalar, S32, 1180, "", 1, 0 maxInjectedPerPeriod = scalar, F32, 1180, "", 1, 0
; total TS size = 1184 cycleCnt = scalar, S32, 1184, "", 1, 0
hwEventCounters1 = scalar, U32, 1184, "", 1, 0 ; total TS size = 1188
hwEventCounters2 = scalar, U32, 1188, "", 1, 0 hwEventCounters1 = scalar, U32, 1188, "", 1, 0
hwEventCounters3 = scalar, U32, 1192, "", 1, 0 hwEventCounters2 = scalar, U32, 1192, "", 1, 0
hwEventCounters4 = scalar, U32, 1196, "", 1, 0 hwEventCounters3 = scalar, U32, 1196, "", 1, 0
hwEventCounters5 = scalar, U32, 1200, "", 1, 0 hwEventCounters4 = scalar, U32, 1200, "", 1, 0
hwEventCounters6 = scalar, U32, 1204, "", 1, 0 hwEventCounters5 = scalar, U32, 1204, "", 1, 0
vvtCamCounter = scalar, U32, 1208, "", 1, 0 hwEventCounters6 = scalar, U32, 1208, "", 1, 0
mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1212, "", 1, 0 vvtCamCounter = scalar, U32, 1212, "", 1, 0
mapVvt_MAP_AT_DIFF = scalar, F32, 1216, "", 1, 0 mapVvt_MAP_AT_SPECIAL_POINT = scalar, F32, 1216, "", 1, 0
mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1220, "", 1, 0 mapVvt_MAP_AT_DIFF = scalar, F32, 1220, "", 1, 0
mapVvt_map_peak = scalar, U08, 1221, "", 1, 0 mapVvt_MAP_AT_CYCLE_COUNT = scalar, U08, 1224, "", 1, 0
currentEngineDecodedPhase = scalar, F32, 1224, "deg", 1, 0 mapVvt_map_peak = scalar, U08, 1225, "", 1, 0
triggerToothAngleError = scalar, F32, 1228, "deg", 1, 0 currentEngineDecodedPhase = scalar, F32, 1228, "deg", 1, 0
triggerIgnoredToothCount = scalar, U08, 1232, "", 1, 0 triggerToothAngleError = scalar, F32, 1232, "deg", 1, 0
mapCamPrevToothAngle = scalar, F32, 1236, "deg", 1, 0 triggerIgnoredToothCount = scalar, U08, 1236, "", 1, 0
isDecodingMapCam = bits, U32, 1240, [0:0] mapCamPrevToothAngle = scalar, F32, 1240, "deg", 1, 0
; total TS size = 1244 isDecodingMapCam = bits, U32, 1244, [0:0]
crankSynchronizationCounter = scalar, U32, 1244, "", 1, 0 ; total TS size = 1248
vvtSyncGapRatio = scalar, F32, 1248, "", 1, 0 crankSynchronizationCounter = scalar, U32, 1248, "", 1, 0
vvtToothDurations0 = scalar, U32, 1252, "us", 1, 0 vvtSyncGapRatio = scalar, F32, 1252, "", 1, 0
vvtCurrentPosition = scalar, F32, 1256, "sync: Primary Cam Position", 1, 0 vvtToothDurations0 = scalar, U32, 1256, "us", 1, 0
vvtToothPosition1 = scalar, F32, 1260, "sync: Cam Tooth Position", 1, 0 vvtCurrentPosition = scalar, F32, 1260, "sync: Primary Cam Position", 1, 0
vvtToothPosition2 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0 vvtToothPosition1 = scalar, F32, 1264, "sync: Cam Tooth Position", 1, 0
vvtToothPosition3 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0 vvtToothPosition2 = scalar, F32, 1268, "sync: Cam Tooth Position", 1, 0
vvtToothPosition4 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0 vvtToothPosition3 = scalar, F32, 1272, "sync: Cam Tooth Position", 1, 0
triggerSyncGapRatio = scalar, F32, 1276, "", 1, 0 vvtToothPosition4 = scalar, F32, 1276, "sync: Cam Tooth Position", 1, 0
triggerStateIndex = scalar, U08, 1280, "", 1, 0 triggerSyncGapRatio = scalar, F32, 1280, "", 1, 0
camResyncCounter = scalar, U08, 1281, "", 1, 0 triggerStateIndex = scalar, U08, 1284, "", 1, 0
vvtStateIndex = scalar, U08, 1282, "", 1, 0 camResyncCounter = scalar, U08, 1285, "", 1, 0
; total TS size = 1284 vvtStateIndex = scalar, U08, 1286, "", 1, 0
m_hasSynchronizedPhase = bits, U32, 1284, [0:0]
; total TS size = 1288 ; total TS size = 1288
wallFuelCorrection = scalar, F32, 1288, "", 1, 0 m_hasSynchronizedPhase = bits, U32, 1288, [0:0]
wallFuel = scalar, F32, 1292, "", 1, 0 ; total TS size = 1292
; total TS size = 1296 wallFuelCorrection = scalar, F32, 1292, "", 1, 0
idleState = bits, S32, 1296, [0:2], "not important" wallFuel = scalar, F32, 1296, "", 1, 0
currentIdlePosition = scalar, F32, 1300 ; total TS size = 1300
baseIdlePosition = scalar, F32, 1304 idleState = bits, S32, 1300, [0:2], "not important"
idleClosedLoop = scalar, F32, 1308 currentIdlePosition = scalar, F32, 1304
iacByTpsTaper = scalar, F32, 1312 baseIdlePosition = scalar, F32, 1308
throttlePedalUpState = scalar, S32, 1316, "", 1, 0 idleClosedLoop = scalar, F32, 1312
mightResetPid = bits, U32, 1320, [0:0] iacByTpsTaper = scalar, F32, 1316
shouldResetPid = bits, U32, 1320, [1:1] throttlePedalUpState = scalar, S32, 1320, "", 1, 0
wasResetPid = bits, U32, 1320, [2:2] mightResetPid = bits, U32, 1324, [0:0]
mustResetPid = bits, U32, 1320, [3:3] shouldResetPid = bits, U32, 1324, [1:1]
isCranking = bits, U32, 1320, [4:4] wasResetPid = bits, U32, 1324, [2:2]
isIacTableForCoasting = bits, U32, 1320, [5:5] mustResetPid = bits, U32, 1324, [3:3]
notIdling = bits, U32, 1320, [6:6] isCranking = bits, U32, 1324, [4:4]
needReset = bits, U32, 1320, [7:7] isIacTableForCoasting = bits, U32, 1324, [5:5]
isInDeadZone = bits, U32, 1320, [8:8] notIdling = bits, U32, 1324, [6:6]
isBlipping = bits, U32, 1320, [9:9] needReset = bits, U32, 1324, [7:7]
useClosedLoop = bits, U32, 1320, [10:10] isInDeadZone = bits, U32, 1324, [8:8]
badTps = bits, U32, 1320, [11:11] isBlipping = bits, U32, 1324, [9:9]
looksLikeRunning = bits, U32, 1320, [12:12] useClosedLoop = bits, U32, 1324, [10:10]
looksLikeCoasting = bits, U32, 1320, [13:13] badTps = bits, U32, 1324, [11:11]
looksLikeCrankToIdle = bits, U32, 1320, [14:14] looksLikeRunning = bits, U32, 1324, [12:12]
isIdleCoasting = bits, U32, 1320, [15:15] looksLikeCoasting = bits, U32, 1324, [13:13]
isIdleClosedLoop = bits, U32, 1320, [16:16] looksLikeCrankToIdle = bits, U32, 1324, [14:14]
idleTarget = scalar, S32, 1324, "", 1, 0 isIdleCoasting = bits, U32, 1324, [15:15]
targetRpmByClt = scalar, S32, 1328, "", 1, 0 isIdleClosedLoop = bits, U32, 1324, [16:16]
targetRpmAc = scalar, S32, 1332, "", 1, 0 idleTarget = scalar, S32, 1328, "", 1, 0
iacByRpmTaper = scalar, F32, 1336 targetRpmByClt = scalar, S32, 1332, "", 1, 0
luaAdd = scalar, F32, 1340 targetRpmAc = scalar, S32, 1336, "", 1, 0
; total TS size = 1344 iacByRpmTaper = scalar, F32, 1340
idlePosition = scalar, F32, 1344, "per", 1,0 luaAdd = scalar, F32, 1344
trim = scalar, F32, 1348, "", 1, 0 ; total TS size = 1348
luaAdjustment = scalar, F32, 1352, "per", 1,0 idlePosition = scalar, F32, 1348, "per", 1,0
m_wastegatePosition = scalar, F32, 1356, "per", 1,0 trim = scalar, F32, 1352, "", 1, 0
etbFeedForward = scalar, F32, 1360 luaAdjustment = scalar, F32, 1356, "per", 1,0
etbIntegralError = scalar, F32, 1364, "", 1, 0 m_wastegatePosition = scalar, F32, 1360, "per", 1,0
etbCurrentTarget = scalar, F32, 1368, "%", 1, 0 etbFeedForward = scalar, F32, 1364
etbCurrentAdjustedTarget = scalar, F32, 1372, "%", 1, 0 etbIntegralError = scalar, F32, 1368, "", 1, 0
etbRevLimitActive = bits, U32, 1376, [0:0] etbCurrentTarget = scalar, F32, 1372, "%", 1, 0
jamDetected = bits, U32, 1376, [1:1] etbCurrentAdjustedTarget = scalar, F32, 1376, "%", 1, 0
etbDutyRateOfChange = scalar, F32, 1380, "per", 1,0 etbRevLimitActive = bits, U32, 1380, [0:0]
etbDutyAverage = scalar, F32, 1384, "per", 1,0 jamDetected = bits, U32, 1380, [1:1]
etbTpsErrorCounter = scalar, U16, 1388, "count", 1,0 etbDutyRateOfChange = scalar, F32, 1384, "per", 1,0
etbPpsErrorCounter = scalar, U16, 1390, "count", 1,0 etbDutyAverage = scalar, F32, 1388, "per", 1,0
etbErrorCode = scalar, S08, 1392, "", 1, 0 etbTpsErrorCounter = scalar, U16, 1392, "count", 1,0
jamTimer = scalar, U16, 1394, "sec", 0.01, 0 etbPpsErrorCounter = scalar, U16, 1394, "count", 1,0
; total TS size = 1396 etbErrorCode = scalar, S08, 1396, "", 1, 0
faultCode = scalar, U08, 1396, "", 1, 0 jamTimer = scalar, U16, 1398, "sec", 0.01, 0
heaterDuty = scalar, U08, 1397, "%", 1, 0 ; total TS size = 1400
pumpDuty = scalar, U08, 1398, "%", 1, 0 faultCode = scalar, U08, 1400, "", 1, 0
tempC = scalar, U16, 1400, "C", 1, 0 heaterDuty = scalar, U08, 1401, "%", 1, 0
nernstVoltage = scalar, U16, 1402, "V", 0.001, 0 pumpDuty = scalar, U08, 1402, "%", 1, 0
esr = scalar, U16, 1404, "ohm", 1, 0 tempC = scalar, U16, 1404, "C", 1, 0
; total TS size = 1408 nernstVoltage = scalar, U16, 1406, "V", 0.001, 0
dcOutput0 = scalar, F32, 1408, "per", 1,0 esr = scalar, U16, 1408, "ohm", 1, 0
isEnabled0_int = scalar, U08, 1412, "per", 1,0 ; total TS size = 1412
isEnabled0 = bits, U32, 1416, [0:0] dcOutput0 = scalar, F32, 1412, "per", 1,0
; total TS size = 1420 isEnabled0_int = scalar, U08, 1416, "per", 1,0
value0 = scalar, U16, 1420, "value", 1,0 isEnabled0 = bits, U32, 1420, [0:0]
value1 = scalar, U16, 1422, "value", 1,0 ; total TS size = 1424
errorRate = scalar, F32, 1424, "ratio", 1,0 value0 = scalar, U16, 1424, "value", 1,0
; total TS size = 1428 value1 = scalar, U16, 1426, "value", 1,0
vvtTarget = scalar, U16, 1428, "deg", 0.1, 0 errorRate = scalar, F32, 1428, "ratio", 1,0
vvtOutput = scalar, U08, 1430, "%", 0.5, 0
; total TS size = 1432 ; total TS size = 1432
lambdaCurrentlyGood = bits, U32, 1432, [0:0] vvtTarget = scalar, U16, 1432, "deg", 0.1, 0
lambdaMonitorCut = bits, U32, 1432, [1:1] vvtOutput = scalar, U08, 1434, "%", 0.5, 0
lambdaTimeSinceGood = scalar, U16, 1436, "sec", 0.01, 0 ; total TS size = 1436
; total TS size = 1440 lambdaCurrentlyGood = bits, U32, 1436, [0:0]
lambdaMonitorCut = bits, U32, 1436, [1:1]
lambdaTimeSinceGood = scalar, U16, 1440, "sec", 0.01, 0
; total TS size = 1444
time = { timeNow } time = { timeNow }
@ -5196,6 +5197,7 @@ entry = brakePedalState, "Brake switch", int, "%d"
entry = startStopState, "startStopState", int, "%d" entry = startStopState, "startStopState", int, "%d"
entry = startStopPhysicalState, "startStopPhysicalState", int, "%d" entry = startStopPhysicalState, "startStopPhysicalState", int, "%d"
entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d" entry = startStopStateToggleCounter, "startStopStateToggleCounter", int, "%d"
entry = startStopStateTempPhysicalCounter, "startStopStateTempPhysicalCounter", int, "%d"
entry = egtValue1, "egtValue1", float, "%.3f" entry = egtValue1, "egtValue1", float, "%.3f"
entry = egtValue2, "egtValue2", float, "%.3f" entry = egtValue2, "egtValue2", float, "%.3f"
entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d" entry = desiredRpmLimit, "User-defined RPM hard limit", int, "%d"
@ -6087,13 +6089,14 @@ dialog = engine_stateDialog, "engine_state"
graphLine = brakePedalState graphLine = brakePedalState
graphLine = startStopState graphLine = startStopState
graphLine = startStopStateToggleCounter graphLine = startStopStateToggleCounter
graphLine = egtValue1 graphLine = startStopStateTempPhysicalCounter
liveGraph = engine_state_5_Graph, "Graph", South liveGraph = engine_state_5_Graph, "Graph", South
graphLine = egtValue1
graphLine = egtValue2 graphLine = egtValue2
graphLine = desiredRpmLimit graphLine = desiredRpmLimit
graphLine = fuelInjectionCounter graphLine = fuelInjectionCounter
graphLine = sparkCounter
liveGraph = engine_state_6_Graph, "Graph", South liveGraph = engine_state_6_Graph, "Graph", South
graphLine = sparkCounter
graphLine = fuelingLoad graphLine = fuelingLoad
graphLine = ignitionLoad graphLine = ignitionLoad
graphLine = veTableYAxis graphLine = veTableYAxis
@ -6429,8 +6432,8 @@ dialog = lambda_monitorDialog, "lambda_monitor"
; cam if ; cam if
; two-stroke, or ; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger) ; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) } field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77 || trigger_type == 79) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) } field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 || trigger_type == 75 || trigger_type == 76 || trigger_type == 77) && ( ( (trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) && skippedWheelOnCam) || !(trigger_type == 8 || trigger_type == 9 || trigger_type == 11 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73) ) )) }
field = "Invert Primary", invertPrimaryTriggerSignal field = "Invert Primary", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) } field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) ) }
field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) } field = "Invert Secondary", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (trigger_type == 1 || trigger_type == 3 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64) }

Some files were not shown because too many files have changed in this diff Show More