• R/O
  • SSH
  • HTTPS

提交

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

PJSC(Pump Jet Solenoid Controller)はArduinoを使用したバイク用燃料噴射コントローラです。このプロジェクトは、オープンソースECUプロジェクト『Speeduino』をベースにしています。


Commit MetaInfo

修訂82 (tree)
時間2019-09-02 16:51:50
作者maharu

Log Message

Changed comment for PJSC v1.01 from "PJSC v1.10" to "PJSC v1.01".

Change Summary

差異

--- branches/Ver1.01/reference/PJSC.ini (revision 81)
+++ branches/Ver1.01/reference/PJSC.ini (revision 82)
@@ -6,8 +6,8 @@
66 MTversion = 2.25
77
88 queryCommand = "Q"
9-;[PJSC v1.10] signature = "speeduino 201902"
10- signature = "speeduino - PJSC v1.10" ;[PJSC v1.10]
9+;[PJSC v1.01] signature = "speeduino 201902"
10+ signature = "speeduino - PJSC v1.01" ;[PJSC v1.01]
1111 versionInfo = "S" ;This info is what is displayed to user
1212
1313 [TunerStudio]
@@ -31,9 +31,9 @@
3131 settingOption = resetcontrol_standard, "Basic Options Only"
3232 settingOption = resetcontrol_adv, "Advanced Features (16u2 Firmware Update Required)"
3333
34- settingGroup = table4_usage_group, "Selection of table4 usage" ;[PJSC v1.10] For switching 4th table
35-;[PJSC v1.01]For debug settingOption = table4_spark, "Spark advance table" ;[PJSC v1.10] For switching 4th table
36- settingOption = table4_fuel, "VE table4" ;[PJSC v1.10] For switching 4th table
34+ settingGroup = table4_usage_group, "Selection of table4 usage" ;[PJSC v1.01] For switching 4th table
35+;[PJSC v1.01]For debug settingOption = table4_spark, "Spark advance table" ;[PJSC v1.01] For switching 4th table
36+ settingOption = table4_fuel, "VE table4" ;[PJSC v1.01] For switching 4th table
3737
3838 [PcVariables]
3939 ; valid types: boolean, double, int, list
@@ -58,8 +58,8 @@
5858 algorithmNames = bits, U08, [0:2], $loadSourceNames
5959 ;algorithmUnits = bits, U08, [0:2], $loadSourceUnits
6060 algorithmUnits = bits, U08, [0:2], "kPa", "% TPS", "%", "% TPS", "INVALID", "INVALID", "INVALID", "INVALID"
61- algorithmUnits2 = bits, U08, [3:5], "kPa", "% TPS", "%", "% TPS", "INVALID", "INVALID", "INVALID", "INVALID" ;[PJSC v1.10] For Secondary Fuel
62-;[PJSC v1.10] algorithmUnits3 = bits, U08, [0:2], "kPa", "% TPS", "%", "% TPS", "INVALID", "INVALID", "INVALID", "INVALID" ;[PJSC v1.10] For switching table3
61+ algorithmUnits2 = bits, U08, [3:5], "kPa", "% TPS", "%", "% TPS", "INVALID", "INVALID", "INVALID", "INVALID" ;[PJSC v1.01] For Secondary Fuel
62+;[PJSC v1.01] algorithmUnits3 = bits, U08, [0:2], "kPa", "% TPS", "%", "% TPS", "INVALID", "INVALID", "INVALID", "INVALID" ;[PJSC v1.01] For switching table3
6363 algorithmLimits= array, U16, [8], "", 1.0, 0, 0, 511, 0, noMsqSave
6464 #define all_IO_Pins = "Board Default", "INVALID", "INVALID", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "A8", "A9", "A10", "A11", "A12", "A13", "A14", "A15", "INVALID"
6565 #define IO_Pins_no_def = "INVALID", "INVALID", "INVALID", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "A8", "A9", "A10", "A11", "A12", "A13", "A14", "A15", "INVALID"
@@ -67,9 +67,9 @@
6767 boostTableLabels = bits, U08, [0:1], "Duty Cycle %", "kPa"
6868
6969 fuelLoadMax = scalar, U08, "", 1, 0, 0, 511, 0
70-;[PJSC v1.10] ignLoadMax = scalar, U08, "", 1, 0, 0, 511, 0
71-;[PJSC v1.10] fuelLoadMax = scalar, U08, "", 1, 0, 0, 255, 0 ;[PJSC v1.10]
72- ignLoadMax = scalar, U08, "", 1, 0, 0, 255, 0 ;[PJSC v1.10]
70+;[PJSC v1.01] ignLoadMax = scalar, U08, "", 1, 0, 0, 511, 0
71+;[PJSC v1.01] fuelLoadMax = scalar, U08, "", 1, 0, 0, 255, 0 ;[PJSC v1.01]
72+ ignLoadMax = scalar, U08, "", 1, 0, 0, 255, 0 ;[PJSC v1.01]
7373 AUXin00Alias = string, ASCII, 20
7474 AUXin01Alias = string, ASCII, 20
7575 AUXin02Alias = string, ASCII, 20
@@ -163,7 +163,7 @@
163163 ;pageSize = 288, 128, 288, 128, 288, 128, 240, 192, 192, 192
164164 ;[PJSC] pageSize = 128, 288, 288, 128, 288, 128, 240, 192, 192, 192
165165 nPages = 11 ;[PJSC]
166- pageSize = 128, 288, 288, 128, 288, 128, 240, 192, 192, 288, 288 ;[PJSC v1.10]
166+ pageSize = 128, 288, 288, 128, 288, 128, 240, 192, 192, 288, 288 ;[PJSC v1.01]
167167
168168 ;burnCommand = "B"
169169 ;pageActivate = "P\001", "P\002", "P\003", "P\004", "P\005", "P\006", "P\007", "P\010", "P\011", "P\012", "P\013"
@@ -179,9 +179,9 @@
179179 ;[PJSC] pageChunkWrite = "w%2i%2o%2c%v", "w%2i%2o%2c%v", "w%2i%2o%2c%v", "w%2i%2o%2c%v", "w%2i%2o%2c%v", "w%2i%2o%2c%v", "w%2i%2o%2c%v", "w%2i%2o%2c%v", "w%2i%2o%2c%v", "w%2i%2o%2c%v"
180180
181181 ;[PJSC] New commands for PJSC
182- pageIdentifier = "\$tsCanId\x01", "\$tsCanId\x02", "\$tsCanId\x03", "\$tsCanId\x04", "\$tsCanId\x05", "\$tsCanId\x06", "\$tsCanId\x07", "\$tsCanId\x08", "\$tsCanId\x09", "\$tsCanId\x0A", "\$tsCanId\x0B" ;[PJSC v1.10]
183- burnCommand = "b%2i", "b%2i", "b%2i", "b%2i", "b%2i", "b%2i", "b%2i", "b%2i", "b%2i", "b%2i", "b%2i" ;[PJSC v1.10]
184- pageReadCommand = "p%2i%2o%2c", "p%2i%2o%2c", "p%2i%2o%2c", "p%2i%2o%2c", "p%2i%2o%2c", "p%2i%2o%2c", "p%2i%2o%2c", "p%2i%2o%2c", "p%2i%2o%2c", "p%2i%2o%2c", "p%2i%2o%2c" ;[PJSC v1.10]
182+ pageIdentifier = "\$tsCanId\x01", "\$tsCanId\x02", "\$tsCanId\x03", "\$tsCanId\x04", "\$tsCanId\x05", "\$tsCanId\x06", "\$tsCanId\x07", "\$tsCanId\x08", "\$tsCanId\x09", "\$tsCanId\x0A", "\$tsCanId\x0B" ;[PJSC v1.01]
183+ burnCommand = "b%2i", "b%2i", "b%2i", "b%2i", "b%2i", "b%2i", "b%2i", "b%2i", "b%2i", "b%2i", "b%2i" ;[PJSC v1.01]
184+ pageReadCommand = "p%2i%2o%2c", "p%2i%2o%2c", "p%2i%2o%2c", "p%2i%2o%2c", "p%2i%2o%2c", "p%2i%2o%2c", "p%2i%2o%2c", "p%2i%2o%2c", "p%2i%2o%2c", "p%2i%2o%2c", "p%2i%2o%2c" ;[PJSC v1.01]
185185 pageValueWrite = "w%2i%2o%2c%v", "w%2i%2o%2c%v", "w%2i%2o%2c%v", "w%2i%2o%2c%v", "w%2i%2o%2c%v", "w%2i%2o%2c%v", "w%2i%2o%2c%v", "w%2i%2o%2c%v", "w%2i%2o%2c%v", "w%2i%2o%2c%v", "w%2i%2o%2c%v" ;[PJSC]
186186 pageChunkWrite = "w%2i%2o%2c%v", "w%2i%2o%2c%v", "w%2i%2o%2c%v", "w%2i%2o%2c%v", "w%2i%2o%2c%v", "w%2i%2o%2c%v", "w%2i%2o%2c%v", "w%2i%2o%2c%v", "w%2i%2o%2c%v", "w%2i%2o%2c%v", "w%2i%2o%2c%v" ;[PJSC]
187187
@@ -256,7 +256,7 @@
256256 hardCutType = bits, U08, 26, [3:3], "Full", "Rolling"
257257 ignAlgorithm = bits, U08, 26, [4:6], $loadSourceNames
258258 indInjAng = bits, U08, 26, [7:7], "Disabled", "Enabled"
259-;[PJSC v1.10] injOpen = scalar, U08, 27, "ms", 0.1, 0.0, 0.1, 25.5, 1
259+;[PJSC v1.01] injOpen = scalar, U08, 27, "ms", 0.1, 0.0, 0.1, 25.5, 1
260260 injOpen = scalar, U08, 27, "ms", 0.01, 0.00, 0.01, 2.55, 2
261261 inj1Ang = scalar, U16, 28, "deg", 1.0, 0.0, 0.0, 360, 0
262262 inj2Ang = scalar, U16, 30, "deg", 1.0, 0.0, 0.0, 360, 0
@@ -324,25 +324,25 @@
324324 exValvePosMax = scalar, U08, 73, "ADC", 1.0, 0.0, 0.0, 255.0, 0 ; |
325325 exTrigHysteresis = scalar, U08, 74, "deg", 1.0, 0.0, 0.0, 255.0, 0 ; V
326326 squirtDeviceType = bits, U08, 75, [0:0], "Injector", "Pump Jet" ;[PJSC]
327- multiVEmapEnabled = bits, U08, 75, [1:1], "Disable", "Enable" ;[PJSC v1.10] For Dual Fuel Load
328- mapSeparationEnabled = bits, U08, 75, [2:2], "Disable", "Enable" ;[PJSC v1.10] For Dual Fuel Load
329- mapSwitchingEnabled = bits, U08, 75, [3:3], "Disable", "Enable" ;[PJSC v1.10] For Dual Fuel Load
330- dualFuelEnabled = bits, U08, 75, [4:4], "Disable", "Enable" ;[PJSC v1.10] For Dual Fuel Load
331- secondaryFuelUsage = bits, U08, 75, [5:5], "additive", "multiplicitive" ;[PJSC v1.10] For Dual Fuel Load
332-;[PJSC v1.01c] unused2_75 = bits, U08, 75, [6:7] ;[PJSC v1.10]
333- fuelCorrectionEnabled = bits, U08, 75, [6:6], "Disable", "Enable" ;[PJSC v1.01c]
334- unused2_75 = bits, U08, 75, [7:7] ;[PJSC v1.01c]
327+ multiVEmapEnabled = bits, U08, 75, [1:1], "Disable", "Enable" ;[PJSC v1.01] For Dual Fuel Load
328+ mapSeparationEnabled = bits, U08, 75, [2:2], "Disable", "Enable" ;[PJSC v1.01] For Dual Fuel Load
329+ mapSwitchingEnabled = bits, U08, 75, [3:3], "Disable", "Enable" ;[PJSC v1.01] For Dual Fuel Load
330+ dualFuelEnabled = bits, U08, 75, [4:4], "Disable", "Enable" ;[PJSC v1.01] For Dual Fuel Load
331+ secondaryFuelUsage = bits, U08, 75, [5:5], "additive", "multiply" ;[PJSC v1.01] For Dual Fuel Load
332+;[PJSC v1.01] unused2_75 = bits, U08, 75, [6:7] ;[PJSC v1.01]
333+ fuelCorrectionEnabled = bits, U08, 75, [6:6], "Disable", "Enable" ;[PJSC v1.01]
334+ unused2_75 = bits, U08, 75, [7:7] ;[PJSC v1.01]
335335 exTrigModeSelect = bits, U08, 76, [0:1], "Disable", "Spark timing capture", "MAP select switch", "INVALID" ;[PJSC]
336336 externalTrigEdge = bits, U08, 76, [2:2], "Rising", "Falling" ; |
337337 exValveCaptureEnabled = bits, U08, 76, [3:3], "Disable", "Exhaust Valve Position capture" ; |
338338 exValveCalibrationMode = bits, U08, 76, [4:4], "Off", "On" ;[PJSC]
339- unused2_76 = bits, U08, 76, [5:7] ;[PJSC v1.10]
339+ unused2_76 = bits, U08, 76, [5:7] ;[PJSC v1.01]
340340 dutyPulseCaptureEnabled = bits, U08, 77, [0:0], "Disable", "PWM input" ; |
341341 dutyPulseCaptureEnabled2 = bits, U08, 77, [1:1], "Disable", "PWM input" ; |
342342 dutyPulseOnLevel = bits, U08, 77, [2:2], "High", "Low" ; |
343343 dutyPulseOnLevel2 = bits, U08, 77, [3:3], "High", "Low" ; V
344- unused2_77 = bits, U08, 77, [4:7] ;[PJSC v1.10]
345-#if table4_spark ;[PJSC v1.10] For switching table4
344+ unused2_77 = bits, U08, 77, [4:7] ;[PJSC v1.01]
345+#if table4_spark ;[PJSC v1.01] For switching table4
346346 veMapSelection1Pri = bits, U08, 78, [0:3], "VE Table 1","VE Table 2","VE Table 3","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID"
347347 veMapSelection1Sec = bits, U08, 78, [4:7], "VE Table 1","VE Table 2","VE Table 3","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID"
348348 veMapSelection2Pri = bits, U08, 79, [0:3], "VE Table 1","VE Table 2","VE Table 3","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID"
@@ -359,8 +359,8 @@
359359 veMapSelection3_2Sec = bits, U08, 84, [4:7], "VE Table 1","VE Table 2","VE Table 3","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID"
360360 veMapSelection4_2Pri = bits, U08, 85, [0:3], "VE Table 1","VE Table 2","VE Table 3","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID"
361361 veMapSelection4_2Sec = bits, U08, 85, [4:7], "VE Table 1","VE Table 2","VE Table 3","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID"
362-#endif ;[PJSC v1.10] For switching table4
363-#if table4_fuel ;[PJSC v1.10]
362+#endif ;[PJSC v1.01] For switching table4
363+#if table4_fuel ;[PJSC v1.01]
364364 veMapSelection1Pri = bits, U08, 78, [0:3], "VE Table 1","VE Table 2","VE Table 3","VE Table 4","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID"
365365 veMapSelection1Sec = bits, U08, 78, [4:7], "VE Table 1","VE Table 2","VE Table 3","VE Table 4","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID"
366366 veMapSelection2Pri = bits, U08, 79, [0:3], "VE Table 1","VE Table 2","VE Table 3","VE Table 4","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID"
@@ -377,19 +377,19 @@
377377 veMapSelection3_2Sec = bits, U08, 84, [4:7], "VE Table 1","VE Table 2","VE Table 3","VE Table 4","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID"
378378 veMapSelection4_2Pri = bits, U08, 85, [0:3], "VE Table 1","VE Table 2","VE Table 3","VE Table 4","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID"
379379 veMapSelection4_2Sec = bits, U08, 85, [4:7], "VE Table 1","VE Table 2","VE Table 3","VE Table 4","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID"
380-#endif ;[PJSC v1.10] For switching table4
381- dutyFreqTst1 = scalar, U08, 86, "Hz", 2.0, 0.0, 10, 511, 0 ;[PJSC v1.10]
380+#endif ;[PJSC v1.01] For switching table4
381+ dutyFreqTst1 = scalar, U08, 86, "Hz", 2.0, 0.0, 10, 511, 0 ;[PJSC v1.01]
382382 dutyFreqTst2 = scalar, U08, 87, "Hz", 2.0, 0.0, 10, 511, 0 ; |
383383 dutyFreqTst3 = scalar, U08, 88, "Hz", 2.0, 0.0, 10, 511, 0 ; |
384384 dutyFreqTst4 = scalar, U08, 89, "Hz", 2.0, 0.0, 10, 511, 0 ; |
385- dutyFreqTst5 = scalar, U08, 90, "Hz", 2.0, 0.0, 10, 511, 0 ; |[PJSC v1.01c]
386- dutyFreqTst6 = scalar, U08, 91, "Hz", 2.0, 0.0, 10, 511, 0 ; | |
387- dutyFreqTst7 = scalar, U08, 92, "Hz", 2.0, 0.0, 10, 511, 0 ; | |
388- dutyFreqTst8 = scalar, U08, 93, "Hz", 2.0, 0.0, 10, 511, 0 ; | |
389- dutyFreqTst9 = scalar, U08, 94, "Hz", 2.0, 0.0, 10, 511, 0 ; | |
390- dutyFreqTst10 = scalar, U08, 95, "Hz", 2.0, 0.0, 10, 511, 0 ; | |
391- dutyFreqTst11 = scalar, U08, 96, "Hz", 2.0, 0.0, 10, 511, 0 ; | V
392- dutyFreqTst12 = scalar, U08, 97, "Hz", 2.0, 0.0, 10, 511, 0 ; |[PJSC v1.01c]
385+ dutyFreqTst5 = scalar, U08, 90, "Hz", 2.0, 0.0, 10, 511, 0 ; |
386+ dutyFreqTst6 = scalar, U08, 91, "Hz", 2.0, 0.0, 10, 511, 0 ; |
387+ dutyFreqTst7 = scalar, U08, 92, "Hz", 2.0, 0.0, 10, 511, 0 ; |
388+ dutyFreqTst8 = scalar, U08, 93, "Hz", 2.0, 0.0, 10, 511, 0 ; |
389+ dutyFreqTst9 = scalar, U08, 94, "Hz", 2.0, 0.0, 10, 511, 0 ; |
390+ dutyFreqTst10 = scalar, U08, 95, "Hz", 2.0, 0.0, 10, 511, 0 ; |
391+ dutyFreqTst11 = scalar, U08, 96, "Hz", 2.0, 0.0, 10, 511, 0 ; |
392+ dutyFreqTst12 = scalar, U08, 97, "Hz", 2.0, 0.0, 10, 511, 0 ; |
393393 dutyRatioTst1 = scalar, U08, 98, "%", 1.0, 0.0, 0.0, 100.0, 0 ; |
394394 dutyRatioTst2 = scalar, U08, 99, "%", 1.0, 0.0, 0.0, 100.0, 0 ; |
395395 dutyRatioTst3 = scalar, U08, 100, "%", 1.0, 0.0, 0.0, 100.0, 0 ; |
@@ -408,34 +408,34 @@
408408 testsel_inj = bits, U08, 110, [5:6], "Inj1", "Inj2", "Inj3", "Inj4" ; |
409409 testsel_coil = bits, U08, 110, [7:7], "CoilA", "CoilB" ; |
410410 testint = scalar, U16, 111, "ms", 0.01, 0.00, 0, 655.35, 1 ; V
411- testrpm = scalar, U16, 111, "RPM", 1.0, { 60000/testint }, 0, 60000, 0 ;[PJSC v1.10]
411+ testrpm = scalar, U16, 111, "RPM", 1.0, { 60000/testint }, 0, 60000, 0 ;[PJSC v1.01]
412412 testpw = scalar, U16, 113, "ms", 0.01, 0.00, 0, 655.35, 1 ; * ( 1 byte)
413413 testinjcnt = scalar, U16, 115, "", 1, 0, 0, 65535, 0, noLocalUpdate ;
414-#if table4_spark ;[PJSC v1.01c]
414+#if table4_spark ;[PJSC v1.01]
415415 muxout1selection = bits, U08, 117, [0:3], "Disable/Test Mode", "IDLE control", "Thermo Fan control", "Launch control", "Fuel pump control", "Boost control", "VVT control", "Tach output", "INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID"
416416 muxout2selection = bits, U08, 117, [4:7], "Disable/Test Mode", "IDLE control", "Thermo Fan control", "Launch control", "Fuel pump control", "Boost control", "VVT control", "Tach output", "INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID"
417417 muxout3selection = bits, U08, 118, [0:3], "Disable/Test Mode", "IDLE control", "Thermo Fan control", "Launch control", "Fuel pump control", "Boost control", "VVT control", "Tach output", "INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID"
418418 muxout4selection = bits, U08, 118, [4:7], "Disable/Test Mode", "IDLE control", "Thermo Fan control", "Launch control", "Fuel pump control", "Boost control", "VVT control", "Tach output", "INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID"
419-#endif ;[PJSC v1.01c]
420-#if table4_fuel ;[PJSC v1.01c]
421- muxout1selection = bits, U08, 117, [0:3], "Disable/Test Mode", "IDLE control", "Thermo Fan control", "INVALID", "Fuel pump control", "Boost control", "VVT control", "Tach output", "INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID" ;[PJSC v1.01c]
422- muxout2selection = bits, U08, 117, [4:7], "Disable/Test Mode", "IDLE control", "Thermo Fan control", "INVALID", "Fuel pump control", "Boost control", "VVT control", "Tach output", "INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID" ;[PJSC v1.01c]
423- muxout3selection = bits, U08, 118, [0:3], "Disable/Test Mode", "IDLE control", "Thermo Fan control", "INVALID", "Fuel pump control", "Boost control", "VVT control", "Tach output", "INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID" ;[PJSC v1.01c]
424- muxout4selection = bits, U08, 118, [4:7], "Disable/Test Mode", "IDLE control", "Thermo Fan control", "INVALID", "Fuel pump control", "Boost control", "VVT control", "Tach output", "INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID" ;[PJSC v1.01c]
425-#endif ;[PJSC v1.01c]
426-//[PJSC v1.01c] baroDenBins = array, U08, 102, [9], "kPa", 1.0, 0.0, 0.0, 255.0, 0 ;[PJSC v1.10] Bins for the Barometric density correction curve
427-//[PJSC v1.01c] baroDenRates = array, U08, 111, [9], "%", 1.0, 0.0, 0.0, 255.0, 0 ;[PJSC v1.10] Values for the \Barometric density correction curve
428- algorithm2 = bits, U08, 119, [0:2], $loadSourceNames ;[PJSC v1.10] For Dual Fuel Load
429- algorithm3 = bits, U08, 119, [3:5], $loadSourceNames ;[PJSC v1.10]
430- unused2_119 = bits, U08, 119, [6:7] ;[PJSC v1.10]
431- table4Usage = bits, U08, 120, [0:0], "Fuel", "Spark" ;[PJSC v1.10]
432- unused2_120 = bits, U08, 120, [1:7] ;[PJSC v1.10]
433- inj1SquirtStartEnd = bits, U08, 121, [0:0], "End angle", "Start angle" ;[PJSC v1.01c]
434- inj2SquirtStartEnd = bits, U08, 121, [1:1], "End angle", "Start angle" ;[PJSC v1.01c]
435- inj3SquirtStartEnd = bits, U08, 121, [2:2], "End angle", "Start angle" ;[PJSC v1.01c]
436- inj4SquirtStartEnd = bits, U08, 121, [3:3], "End angle", "Start angle" ;[PJSC v1.01c]
437- unused2_121 = bits, U08, 121, [4:7] ;[PJSC v1.01c]
438- unused2_122 = array, U08, 122, [6], "%", 1.0, 0.0, 0.0, 255, 0 ;[PJSC v1.10]
419+#endif ;[PJSC v1.01]
420+#if table4_fuel ;[PJSC v1.01]
421+ muxout1selection = bits, U08, 117, [0:3], "Disable/Test Mode", "IDLE control", "Thermo Fan control", "INVALID", "Fuel pump control", "Boost control", "VVT control", "Tach output", "INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID" ;[PJSC v1.01]
422+ muxout2selection = bits, U08, 117, [4:7], "Disable/Test Mode", "IDLE control", "Thermo Fan control", "INVALID", "Fuel pump control", "Boost control", "VVT control", "Tach output", "INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID" ;[PJSC v1.01]
423+ muxout3selection = bits, U08, 118, [0:3], "Disable/Test Mode", "IDLE control", "Thermo Fan control", "INVALID", "Fuel pump control", "Boost control", "VVT control", "Tach output", "INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID" ;[PJSC v1.01]
424+ muxout4selection = bits, U08, 118, [4:7], "Disable/Test Mode", "IDLE control", "Thermo Fan control", "INVALID", "Fuel pump control", "Boost control", "VVT control", "Tach output", "INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID" ;[PJSC v1.01]
425+#endif ;[PJSC v1.01]
426+//[PJSC v1.01] baroDenBins = array, U08, 102, [9], "kPa", 1.0, 0.0, 0.0, 255.0, 0 ;[PJSC v1.01] Bins for the Barometric density correction curve
427+//[PJSC v1.01] baroDenRates = array, U08, 111, [9], "%", 1.0, 0.0, 0.0, 255.0, 0 ;[PJSC v1.01] Values for the \Barometric density correction curve
428+ algorithm2 = bits, U08, 119, [0:2], $loadSourceNames ;[PJSC v1.01] For Dual Fuel Load
429+ algorithm3 = bits, U08, 119, [3:5], $loadSourceNames ;[PJSC v1.01]
430+ unused2_119 = bits, U08, 119, [6:7] ;[PJSC v1.01]
431+ table4Usage = bits, U08, 120, [0:0], "Fuel", "Spark" ;[PJSC v1.01]
432+ unused2_120 = bits, U08, 120, [1:7] ;[PJSC v1.01]
433+ inj1SquirtStartEnd = bits, U08, 121, [0:0], "End angle", "Start angle" ;[PJSC v1.01]
434+ inj2SquirtStartEnd = bits, U08, 121, [1:1], "End angle", "Start angle" ;[PJSC v1.01]
435+ inj3SquirtStartEnd = bits, U08, 121, [2:2], "End angle", "Start angle" ;[PJSC v1.01]
436+ inj4SquirtStartEnd = bits, U08, 121, [3:3], "End angle", "Start angle" ;[PJSC v1.01]
437+ unused2_121 = bits, U08, 121, [4:7] ;[PJSC v1.01]
438+ unused2_122 = array, U08, 122, [6], "%", 1.0, 0.0, 0.0, 255, 0 ;[PJSC v1.01]
439439
440440
441441 ;Page 2 is the fuel map and axis bins only
@@ -445,8 +445,8 @@
445445 ; name = scalar, type, offset, units, scale, translate, lo, hi, digits
446446 veTable = array, U08, 0, [16x16],"%", 1.0, 0.0, 0.0, 255.0, 0
447447 rpmBins = array, U08, 256, [ 16], "RPM", 100.0, 0.0, 100.0, 25500.0, 0
448-;[PJSC v1.10] fuelLoadBins = array, U08, 272, [ 16], { bitStringValue(algorithmUnits , algorithm) }, 2.0, 0.0, 0.0, {fuelLoadMax}, 0
449- fuelLoadBins = array, U08, 272, [ 16], { bitStringValue(algorithmUnits , algorithm) }, 1.0, 0.0, 0.0, {fuelLoadMax}, 0 ;[PJSC v1.10]
448+;[PJSC v1.01] fuelLoadBins = array, U08, 272, [ 16], { bitStringValue(algorithmUnits , algorithm) }, 2.0, 0.0, 0.0, {fuelLoadMax}, 0
449+ fuelLoadBins = array, U08, 272, [ 16], { bitStringValue(algorithmUnits , algorithm) }, 1.0, 0.0, 0.0, {fuelLoadMax}, 0 ;[PJSC v1.01]
450450 ;fuelLoadBins = array, U08, 272, [ 16], { bitStringValue(algorithmUnits , algorithm) }, 2.0, 0.0, 0.0, { arrayValue(rpmBins , algorithm) }, 0
451451
452452 ;--------------------------------------------------
@@ -455,8 +455,8 @@
455455 page = 3
456456 advTable1 = array, U08, 0,[16x16], "deg", 1.0, -40, -40, 215.0, 0
457457 rpmBins2 = array, U08, 256,[ 16], "RPM", 100.0, 0.0, 100, 25500, 0
458-;[PJSC v1.10] mapBins1= array, U08, 272, [ 16], { bitStringValue(algorithmUnits , ignAlgorithm) }, 2.0, 0.0, 0.0, {ignLoadMax}, 0 ; This name has to be used in order for the table to show up in MLVs table. I can't find the regexs that make this work :(
459- mapBins1= array, U08, 272, [ 16], { bitStringValue(algorithmUnits , ignAlgorithm) }, 1.0, 0.0, 0.0, {ignLoadMax}, 0 ;[PJSC v1.10]
458+;[PJSC v1.01] mapBins1= array, U08, 272, [ 16], { bitStringValue(algorithmUnits , ignAlgorithm) }, 2.0, 0.0, 0.0, {ignLoadMax}, 0 ; This name has to be used in order for the table to show up in MLVs table. I can't find the regexs that make this work :(
459+ mapBins1= array, U08, 272, [ 16], { bitStringValue(algorithmUnits , ignAlgorithm) }, 1.0, 0.0, 0.0, {ignLoadMax}, 0 ;[PJSC v1.01]
460460
461461 ;--------------------------------------------------
462462 ;Start Page 4
@@ -547,11 +547,11 @@
547547 ADCFILTER_MAP = scalar, U08, 69, "%", 1.0, 0.0, 0, 240, 0
548548 ADCFILTER_BARO = scalar, U08, 70, "%", 1.0, 0.0, 0, 240, 0
549549
550-;[PJSC v1.01c] unused4-64 = array, U08, 71, [56], "%", 1.0, 0.0, 0.0, 255, 0
550+;[PJSC v1.01] unused4-64 = array, U08, 71, [56], "%", 1.0, 0.0, 0.0, 255, 0
551551
552- baroDenBins = array, U08, 71, [9], "kPa", 1.0, 0.0, 0.0, 255.0, 0 ;[PJSC v1.01c] Bins for the Barometric density correction curve
553- baroDenRates = array, U08, 80, [9], "%", 1.0, 0.0, 0.0, 255.0, 0 ;[PJSC v1.01c] Values for the \Barometric density correction curve
554- unused4-89 = array, U08, 89, [38], "%", 1.0, 0.0, 0.0, 255, 0 ;[PJSC v1.01c]
552+ baroDenBins = array, U08, 71, [9], "kPa", 1.0, 0.0, 0.0, 255.0, 0 ;[PJSC v1.01] Bins for the Barometric density correction curve
553+ baroDenRates = array, U08, 80, [9], "%", 1.0, 0.0, 0.0, 255.0, 0 ;[PJSC v1.01] Values for the \Barometric density correction curve
554+ unused4-89 = array, U08, 89, [38], "%", 1.0, 0.0, 0.0, 255, 0 ;[PJSC v1.01]
555555
556556 ;--------------------------------------------------
557557 ;Start AFR page
@@ -579,12 +579,12 @@
579579 egoType = bits , U08, 0, [2:3], "Disabled", "Narrow Band", "Wide Band", "INVALID" ; egoOption
580580 boostEnabled= bits, U08, 0, [4:4], "Off", "On"
581581 vvtEnabled = bits, U08, 0, [5:5], "Off", "On"
582-#if table4_spark ;[PJSC v1.01c]
582+#if table4_spark ;[PJSC v1.01]
583583 boostCutType= bits, U08, 0, [6:7], "Off", "Spark Only", "Fuel Only","Both"
584-#endif ;[PJSC v1.01c]
584+#endif ;[PJSC v1.01]
585585 #if table4_fuel ; |
586586 boostCutType= bits, U08, 0, [6:7], "Off", "INVALID", "Fuel Only","INVALID" ; V
587-#endif ;[PJSC v1.01c]
587+#endif ;[PJSC v1.01]
588588
589589 egoKP = scalar, U08, 1, "%", 1.0, 0.0, 0.0, 200.0, 0 ; * ( 1 byte)
590590 egoKI = scalar, U08, 2, "%", 1.0, 0.0, 0.0, 200.0, 0 ; * ( 1 byte)
@@ -727,44 +727,44 @@
727727 ;--------------------------------------------------
728728 ;Sequential fuel trim tables (Page 8)
729729 ;--------------------------------------------------
730-;[PJSC v1.10]page = 8
731-;[PJSC v1.10] fuelTrim1Table = array, U08, 0,[6x6], "%", 1.0, -128, -50, 50, 0
732-;[PJSC v1.10] fuelTrim1rpmBins = array, U08, 36,[ 6], "RPM", 100.0, 0.0, 0, 25500, 0
733-;[PJSC v1.10]#if SPEED_DENSITY
734-;[PJSC v1.10] fuelTrim1loadBins = array, U08, 42,[ 6], "kPa", 2.0, 0.0, 0.0, 511.0, 0
735-;[PJSC v1.10]#elif ALPHA_N
736-;[PJSC v1.10] fuelTrim1loadBins = array, U08, 42,[ 6], "TPS", 2.0, 0.0, 0.0, 100.0, 0
737-;[PJSC v1.10]#endif
738-;[PJSC v1.10]
739-;[PJSC v1.10] fuelTrim2Table = array, U08, 48,[6x6], "%", 1.0, -128, -50, 50, 0
740-;[PJSC v1.10] fuelTrim2rpmBins = array, U08, 84,[ 6], "RPM", 100.0, 0.0, 0, 25500, 0
741-;[PJSC v1.10]#if SPEED_DENSITY
742-;[PJSC v1.10] fuelTrim2loadBins = array, U08, 90,[ 6], "kPa", 2.0, 0.0, 0.0, 511.0, 0
743-;[PJSC v1.10]#elif ALPHA_N
744-;[PJSC v1.10] fuelTrim2loadBins = array, U08, 90,[ 6], "TPS", 2.0, 0.0, 0.0, 100.0, 0
745-;[PJSC v1.10]#endif
746-;[PJSC v1.10]
747-;[PJSC v1.10] fuelTrim3Table = array, U08, 96,[6x6], "%", 1.0, -128, -50, 50, 0
748-;[PJSC v1.10] fuelTrim3rpmBins = array, U08, 132,[ 6], "RPM", 100.0, 0.0, 0, 25500, 0
749-;[PJSC v1.10]#if SPEED_DENSITY
750-;[PJSC v1.10] fuelTrim3loadBins = array, U08, 138,[ 6], "kPa", 2.0, 0.0, 0.0, 511.0, 0
751-;[PJSC v1.10]#elif ALPHA_N
752-;[PJSC v1.10] fuelTrim3loadBins = array, U08, 138,[ 6], "TPS", 2.0, 0.0, 0.0, 100.0, 0
753-;[PJSC v1.10]#endif
754-;[PJSC v1.10]
755-;[PJSC v1.10] fuelTrim4Table = array, U08, 144,[6x6], "%", 1.0, -128, -50, 50, 0
756-;[PJSC v1.10] fuelTrim4rpmBins = array, U08, 180,[ 6], "RPM", 100.0, 0.0, 0, 25500, 0
757-;[PJSC v1.10]#if SPEED_DENSITY
758-;[PJSC v1.10] fuelTrim4loadBins = array, U08, 186,[ 6], "kPa", 2.0, 0.0, 0.0, 511.0, 0
759-;[PJSC v1.10]#elif ALPHA_N
760-;[PJSC v1.10] fuelTrim4loadBins = array, U08, 186,[ 6], "TPS", 2.0, 0.0, 0.0, 100.0, 0
761-;[PJSC v1.10]#endif
730+;[PJSC v1.01]page = 8
731+;[PJSC v1.01] fuelTrim1Table = array, U08, 0,[6x6], "%", 1.0, -128, -50, 50, 0
732+;[PJSC v1.01] fuelTrim1rpmBins = array, U08, 36,[ 6], "RPM", 100.0, 0.0, 0, 25500, 0
733+;[PJSC v1.01]#if SPEED_DENSITY
734+;[PJSC v1.01] fuelTrim1loadBins = array, U08, 42,[ 6], "kPa", 2.0, 0.0, 0.0, 511.0, 0
735+;[PJSC v1.01]#elif ALPHA_N
736+;[PJSC v1.01] fuelTrim1loadBins = array, U08, 42,[ 6], "TPS", 2.0, 0.0, 0.0, 100.0, 0
737+;[PJSC v1.01]#endif
738+;[PJSC v1.01]
739+;[PJSC v1.01] fuelTrim2Table = array, U08, 48,[6x6], "%", 1.0, -128, -50, 50, 0
740+;[PJSC v1.01] fuelTrim2rpmBins = array, U08, 84,[ 6], "RPM", 100.0, 0.0, 0, 25500, 0
741+;[PJSC v1.01]#if SPEED_DENSITY
742+;[PJSC v1.01] fuelTrim2loadBins = array, U08, 90,[ 6], "kPa", 2.0, 0.0, 0.0, 511.0, 0
743+;[PJSC v1.01]#elif ALPHA_N
744+;[PJSC v1.01] fuelTrim2loadBins = array, U08, 90,[ 6], "TPS", 2.0, 0.0, 0.0, 100.0, 0
745+;[PJSC v1.01]#endif
746+;[PJSC v1.01]
747+;[PJSC v1.01] fuelTrim3Table = array, U08, 96,[6x6], "%", 1.0, -128, -50, 50, 0
748+;[PJSC v1.01] fuelTrim3rpmBins = array, U08, 132,[ 6], "RPM", 100.0, 0.0, 0, 25500, 0
749+;[PJSC v1.01]#if SPEED_DENSITY
750+;[PJSC v1.01] fuelTrim3loadBins = array, U08, 138,[ 6], "kPa", 2.0, 0.0, 0.0, 511.0, 0
751+;[PJSC v1.01]#elif ALPHA_N
752+;[PJSC v1.01] fuelTrim3loadBins = array, U08, 138,[ 6], "TPS", 2.0, 0.0, 0.0, 100.0, 0
753+;[PJSC v1.01]#endif
754+;[PJSC v1.01]
755+;[PJSC v1.01] fuelTrim4Table = array, U08, 144,[6x6], "%", 1.0, -128, -50, 50, 0
756+;[PJSC v1.01] fuelTrim4rpmBins = array, U08, 180,[ 6], "RPM", 100.0, 0.0, 0, 25500, 0
757+;[PJSC v1.01]#if SPEED_DENSITY
758+;[PJSC v1.01] fuelTrim4loadBins = array, U08, 186,[ 6], "kPa", 2.0, 0.0, 0.0, 511.0, 0
759+;[PJSC v1.01]#elif ALPHA_N
760+;[PJSC v1.01] fuelTrim4loadBins = array, U08, 186,[ 6], "TPS", 2.0, 0.0, 0.0, 100.0, 0
761+;[PJSC v1.01]#endif
762762
763763 ;--------------------------------------------------
764764 ;CANBUS control and Auxillary io(Page 9)
765765 ;--------------------------------------------------
766-;[PJSC v1.10]page = 9
767-page = 8 ;[PJSC v1.10]
766+;[PJSC v1.01]page = 9
767+page = 8 ;[PJSC v1.01]
768768 enable_secondarySerial = bits, U08, 0, [0:0], "Disable", "Enable"
769769 intcan_available = bits, U08, 0, [1:1], "Disable", "Enable"
770770 enable_intcan = bits, U08, 0, [2:2], "Disable", "Enable"
@@ -1048,8 +1048,8 @@
10481048 unused10_190 = scalar, U08, 190, "", 1, 0, 0, 255, 0
10491049 blankfield = bits, U08, 191, [0:0], "",""
10501050
1051-;[PJSC v1.10]page = 10
1052-page = 9 ;[PJSC v1.10]
1051+;[PJSC v1.01]page = 10
1052+page = 9 ;[PJSC v1.01]
10531053 #if CELSIUS
10541054 crankingEnrichBins = array, U08, 0, [4], "C", 1.0, -40, -40, 215, 0
10551055 #else
@@ -1141,10 +1141,10 @@
11411141 unused11_122_191 = array, U08, 122,[69],"RPM", 100.0, 0.0, 100, 25500, 0
11421142
11431143 ;-------------------------------------------------------
1144-;Page 11 is the fuel map and axis bins only [PJSC v1.10]
1144+;Page 11 is the fuel map and axis bins only [PJSC v1.01]
11451145 ;-------------------------------------------------------
1146-;[PJSC v1.10]page = 11
1147-page = 10 ;[PJSC v1.10]
1146+;[PJSC v1.01]page = 11
1147+page = 10 ;[PJSC v1.01]
11481148 ; name = bits, type, offset, bits
11491149 ; name = array, type, offset, shape, units, scale, translate, lo, hi, digits
11501150 ; name = scalar, type, offset, units, scale, translate, lo, hi, digits
@@ -1153,10 +1153,10 @@
11531153 fuelLoadBins2 = array, U08, 272, [ 16], { bitStringValue(algorithmUnits2 , algorithm2) }, 1.0, 0.0, 0.0, {fuelLoadMax}, 0
11541154
11551155 ;-------------------------------------------------------
1156-;Page 12 is the fuel map and axis bins only [PJSC v1.10]
1156+;Page 12 is the fuel map and axis bins only [PJSC v1.01]
11571157 ;-------------------------------------------------------
1158-;[PJSC v1.10]page = 12
1159-page = 11 ;[PJSC v1.10]
1158+;[PJSC v1.01]page = 12
1159+page = 11 ;[PJSC v1.01]
11601160 ; name = bits, type, offset, bits
11611161 ; name = array, type, offset, shape, units, scale, translate, lo, hi, digits
11621162 ; name = scalar, type, offset, units, scale, translate, lo, hi, digits
@@ -1217,14 +1217,14 @@
12171217 requiresPowerCycle = exValveCaptureEnabled ; |
12181218 requiresPowerCycle = dutyPulseCaptureEnabled ; V
12191219 requiresPowerCycle = dutyPulseCaptureEnabled2 ;[PJSC]
1220- requiresPowerCycle = muxout1selection ;[PJSC v1.10]
1221- requiresPowerCycle = muxout2selection ;[PJSC v1.10]
1222- requiresPowerCycle = muxout3selection ;[PJSC v1.01c]
1223- requiresPowerCycle = muxout4selection ;[PJSC v1.01c]
1224- requiresPowerCycle = algorithm2 ;[PJSC v1.10]
1225- requiresPowerCycle = algorithm3 ;[PJSC v1.10]
1226- requiresPowerCycle = secondaryFuelUsage ;[PJSC v1.10]
1227- requiresPowerCycle = table4Usage ;[PJSC v1.10]
1220+ requiresPowerCycle = muxout1selection ;[PJSC v1.01]
1221+ requiresPowerCycle = muxout2selection ;[PJSC v1.01]
1222+ requiresPowerCycle = muxout3selection ;[PJSC v1.01]
1223+ requiresPowerCycle = muxout4selection ;[PJSC v1.01]
1224+ requiresPowerCycle = algorithm2 ;[PJSC v1.01]
1225+ requiresPowerCycle = algorithm3 ;[PJSC v1.01]
1226+ requiresPowerCycle = secondaryFuelUsage ;[PJSC v1.01]
1227+ requiresPowerCycle = table4Usage ;[PJSC v1.01]
12281228
12291229 requiresPowerCycle = caninput_sel0a
12301230 requiresPowerCycle = caninput_sel0b
@@ -1333,10 +1333,9 @@
13331333 defaultValue = veMapSelection4_2Sec, 0 ; |
13341334 defaultValue = exTrigModeSelect, 0 ; |
13351335 defaultValue = exValveCaptureEnabled, 1 ; |
1336- defaultValue = dutyPulseCaptureEnabled, 0 ; |
1337- defaultValue = dutyPulseCaptureEnabled2, 0 ; V
1338- defaultValue = exValveCalibrationMode, 0 ;[PJSC]
1339- defaultValue = exValveCalibrationMode, 0 ;[PJSC v1.10]
1336+ defaultValue = dutyPulseCaptureEnabled, 0 ; V
1337+ defaultValue = dutyPulseCaptureEnabled2, 0 ;[PJSC]
1338+ defaultValue = exValveCalibrationMode, 0 ;[PJSC v1.01]
13401339 defaultValue = exValvePosMin, 0 ; |
13411340 defaultValue = exValvePosMax, 100 ; |
13421341 defaultValue = exTrigHysteresis, 10 ; |
@@ -1361,19 +1360,19 @@
13611360 defaultValue = testpw, 0 ; |
13621361 defaultValue = testinjcnt, 0 ; |
13631362 defaultValue = muxout1selection, 0 ; V
1364- defaultValue = muxout2selection, 0 ;[PJSC v1.10]
1365- defaultValue = muxout3selection, 0 ;[PJSC v1.01c]
1366- defaultValue = muxout4selection, 0 ;[PJSC v1.01c]
1367-#if table4_fuel ;[PJSC v1.10] For switching table4
1368- defaultValue = table4Usage, 0 ;[PJSC v1.10]
1369-#endif ;[PJSC v1.10] For switching table4
1370-#if table4_spark ;[PJSC v1.10] For switching table4
1371- defaultValue = table4Usage, 1 ;[PJSC v1.10]
1372-#endif ;[PJSC v1.10] For switching table4
1373- defaultValue = inj1SquirtStartEnd, 0 ;[PJSC v1.01c]
1374- defaultValue = inj2SquirtStartEnd, 0 ;[PJSC v1.01c]
1375- defaultValue = inj3SquirtStartEnd, 0 ;[PJSC v1.01c]
1376- defaultValue = inj4SquirtStartEnd, 0 ;[PJSC v1.01c]
1363+ defaultValue = muxout2selection, 0 ;[PJSC v1.01]
1364+ defaultValue = muxout3selection, 0 ;[PJSC v1.01]
1365+ defaultValue = muxout4selection, 0 ;[PJSC v1.01]
1366+#if table4_fuel ;[PJSC v1.01] For switching table4
1367+ defaultValue = table4Usage, 0 ;[PJSC v1.01]
1368+#endif ;[PJSC v1.01] For switching table4
1369+#if table4_spark ;[PJSC v1.01] For switching table4
1370+ defaultValue = table4Usage, 1 ;[PJSC v1.01]
1371+#endif ;[PJSC v1.01] For switching table4
1372+ defaultValue = inj1SquirtStartEnd, 0 ;[PJSC v1.01]
1373+ defaultValue = inj2SquirtStartEnd, 0 ;[PJSC v1.01]
1374+ defaultValue = inj3SquirtStartEnd, 0 ;[PJSC v1.01]
1375+ defaultValue = inj4SquirtStartEnd, 0 ;[PJSC v1.01]
13771376
13781377 ;Default pins
13791378 defaultValue = fanPin, 0
@@ -1407,16 +1406,16 @@
14071406
14081407 ;These are the limits for each of the load algorithms (Refer to the PC Variables section)
14091408 ;Order is: MAP TPS IMAP/EMAP ITB UNUSED UNUSED UNUSED UNUSED
1410-;[PJSC v1.10] defaultValue = algorithmLimits, 511 100 511 511 100 100 100 100
1409+;[PJSC v1.01] defaultValue = algorithmLimits, 511 100 511 511 100 100 100 100
14111410 defaultValue = algorithmLimits, 255 100 255 255 100 100 100 100
14121411 #if SPEED_DENSITY
1413-;[PJSC v1.10] defaultValue = fuelLoadMax, 511
1414-;[PJSC v1.10] defaultValue = ignLoadMax, 511
1412+;[PJSC v1.01] defaultValue = fuelLoadMax, 511
1413+;[PJSC v1.01] defaultValue = ignLoadMax, 511
14151414 defaultValue = fuelLoadMax, 255
14161415 defaultValue = ignLoadMax, 255
14171416 #else
1418-;[PJSC v1.10] defaultValue = fuelLoadMax, 511
1419-;[PJSC v1.10] defaultValue = ignLoadMax, 511
1417+;[PJSC v1.01] defaultValue = fuelLoadMax, 511
1418+;[PJSC v1.01] defaultValue = ignLoadMax, 511
14201419 defaultValue = fuelLoadMax, 255
14211420 defaultValue = ignLoadMax, 255
14221421 #endif
@@ -1470,40 +1469,40 @@
14701469
14711470 menu = "Settings"
14721471 subMenu = engine_constants, "Engine Constants"
1473-;[PJSC v1.01c] subMenu = injChars, "Injector Characteristics"
1472+;[PJSC v1.01] subMenu = injChars, "Injector Characteristics"
14741473 subMenu = triggerSettings, "Trigger Setup"
14751474 ;subMenu = OLED, "OLED Setup"
14761475 subMenu = airdensity_curve, "IAT Density"
1477- subMenu = barodensity_curve, "Baro Density", { baroCorr } ;[PJSC v1.10]
1476+ subMenu = barodensity_curve, "Baro Density", { baroCorr } ;[PJSC v1.01]
14781477 subMenu = reset_control, "Reset Control"
14791478
14801479
14811480 menu = "&Tuning"
14821481 subMenu = std_realtime, "Realtime Display"
1483- subMenu = std_separator ;[PJSC v1.01c]
1484- subMenu = injChars, "Injector Characteristics" ;[PJSC v1.01c]
1482+ subMenu = std_separator ;[PJSC v1.01]
1483+ subMenu = injChars, "Injector Characteristics" ;[PJSC v1.01]
14851484 subMenu = accelEnrichments, "Acceleration Enrichment"
14861485 subMenu = egoControl, "AFR/O2", 3
1487-#if table4_spark ;[PJSC v1.10] For switching table4
1486+#if table4_spark ;[PJSC v1.01] For switching table4
14881487 subMenu = RevLimiterS, "Limiters", 2
1489-#endif ;[PJSC v1.10] For switching table4
1488+#endif ;[PJSC v1.01] For switching table4
14901489 ;[PJSC] subMenu = flexFueling, "Flex Fuel", 2
14911490 ;[PJSC] subMenu = veTableDialog, "VE Table", 0
14921491 ;[PJSC] subMenu = sparkTbl, "Spark Table", 2
1493- subMenu = std_separator ;[PJSC v1.01c]
1492+ subMenu = std_separator ;[PJSC v1.01]
14941493 subMenu = veMapSelectDialog, "VE Table configuration" ;[PJSC]
14951494 subMenu = veTable1Dialog, "&VE Table 1", 0 ; V
14961495 subMenu = veTable2Dialog, "&VE Table 2", 0, { multiVEmapEnabled } ;[PJSC]
1497- subMenu = veTable3Dialog, "&VE Table 3", 0, { multiVEmapEnabled } ;[PJSC v1.10]
1498-#if table4_fuel ;[PJSC v1.10] For switching table4
1499- subMenu = veTable4Dialog, "&VE Table 4", 0, { multiVEmapEnabled } ;[PJSC v1.10]
1500-#endif ;[PJSC v1.10] For switching table4
1496+ subMenu = veTable3Dialog, "&VE Table 3", 0, { multiVEmapEnabled } ;[PJSC v1.01]
1497+#if table4_fuel ;[PJSC v1.01] For switching table4
1498+ subMenu = veTable4Dialog, "&VE Table 4", 0, { multiVEmapEnabled } ;[PJSC v1.01]
1499+#endif ;[PJSC v1.01] For switching table4
15011500 subMenu = afrTable1Tbl, "AFR Table", 5
15021501 subMenu = std_separator
1503-;[PJSC v1.10] subMenu = inj_trimad, "Sequential fuel trim", 9
1502+;[PJSC v1.01] subMenu = inj_trimad, "Sequential fuel trim", 9
15041503 subMenu = stagingTableDialog, "Staged Injection", 10, { nCylinders <= 4 } ; Can't do staging on more than 4 cylinder engines
15051504
1506-#if table4_spark ;[PJSC v1.10] For switching table4
1505+#if table4_spark ;[PJSC v1.01] For switching table4
15071506 menu = "&Spark"
15081507 subMenu = sparkSettings, "Spark Settings"
15091508 subMenu = sparkTbl, "Spark Table", 2
@@ -1512,43 +1511,43 @@
15121511 subMenu = iat_retard_curve, "IAT Retard"
15131512 ;subMenu = knockSettings, "Knock Settings"
15141513 subMenu = rotary_ignition, "Rotary Ignition", { sparkMode == 4 }
1515-#endif ;[PJSC v1.10] For switching table4
1514+#endif ;[PJSC v1.01] For switching table4
15161515
15171516 menu = "&Starting/Idle"
15181517 subMenu = crankPW, "Cranking Settings"
15191518 subMenu = warmup, "Warmup Enrichment"
15201519 subMenu = std_separator
1521-;[PJSC v1.10] subMenu = idleSettings, "Idle Control"
1522-;[PJSC v1.10] subMenu = iacClosedLoop_curve, "Idle - Closed loop targets", 7, { iacAlgorithm == 3 || iacAlgorithm == 5 }
1523-;[PJSC v1.10] subMenu = iacPwm_curve, "Idle - PWM Duty Cycle", 7, { iacAlgorithm == 2 }
1524-;[PJSC v1.10] subMenu = iacPwmCrank_curve, "Idle - PWM Cranking Duty Cycle", 7, { iacAlgorithm == 2 }
1525-;[PJSC v1.10] subMenu = iacStep_curve, "Idle - Stepper Motor", 7, { iacAlgorithm == 4 }
1526-;[PJSC v1.10] subMenu = iacStepCrank_curve, "Idle - Stepper Motor Cranking", 7, { iacAlgorithm == 4 }
1527-;[PJSC v1.10] subMenu = std_separator
1528-;[PJSC v1.10] subMenu = idleUpSettings, "Idle Up Settings", { iacAlgorithm == 2 || iacAlgorithm == 3 || iacAlgorithm == 4 || iacAlgorithm == 5 }
1529- subMenu = idleSettings, "Idle Control", { muxout1selection == 1 || muxout2selection == 1 } ;[PJSC v1.10] For MUX selection
1520+;[PJSC v1.01] subMenu = idleSettings, "Idle Control"
1521+;[PJSC v1.01] subMenu = iacClosedLoop_curve, "Idle - Closed loop targets", 7, { iacAlgorithm == 3 || iacAlgorithm == 5 }
1522+;[PJSC v1.01] subMenu = iacPwm_curve, "Idle - PWM Duty Cycle", 7, { iacAlgorithm == 2 }
1523+;[PJSC v1.01] subMenu = iacPwmCrank_curve, "Idle - PWM Cranking Duty Cycle", 7, { iacAlgorithm == 2 }
1524+;[PJSC v1.01] subMenu = iacStep_curve, "Idle - Stepper Motor", 7, { iacAlgorithm == 4 }
1525+;[PJSC v1.01] subMenu = iacStepCrank_curve, "Idle - Stepper Motor Cranking", 7, { iacAlgorithm == 4 }
1526+;[PJSC v1.01] subMenu = std_separator
1527+;[PJSC v1.01] subMenu = idleUpSettings, "Idle Up Settings", { iacAlgorithm == 2 || iacAlgorithm == 3 || iacAlgorithm == 4 || iacAlgorithm == 5 }
1528+ subMenu = idleSettings, "Idle Control", { muxout1selection == 1 || muxout2selection == 1 } ;[PJSC v1.01] For MUX selection
15301529 subMenu = iacClosedLoop_curve, "Idle - Closed loop targets", 7, { (iacAlgorithm == 3 || iacAlgorithm == 5) && (muxout1selection == 1 || muxout2selection == 1) } ; |
15311530 subMenu = iacPwm_curve, "Idle - PWM Duty Cycle", 7, { iacAlgorithm == 2 && (muxout1selection == 1 || muxout2selection == 1) } ; V
1532- subMenu = iacPwmCrank_curve, "Idle - PWM Cranking Duty Cycle", 7, { iacAlgorithm == 2 && (muxout1selection == 1 || muxout2selection == 1) } ;[PJSC v1.10] For MUX selection
1531+ subMenu = iacPwmCrank_curve, "Idle - PWM Cranking Duty Cycle", 7, { iacAlgorithm == 2 && (muxout1selection == 1 || muxout2selection == 1) } ;[PJSC v1.01] For MUX selection
15331532
15341533 menu = "&Accessories"
1535- subMenu = muxoutSetting, "MUX Output Port Setting" ;[PJSC v1.10]
1536- subMenu = std_separator ;[PJSC v1.10]
1537-;[PJSC v1.10] subMenu = fanSettings, "Thermo Fan"
1538-#if table4_spark ;[PJSC v1.10] For switching table4
1534+ subMenu = muxoutSetting, "MUX Output Port Setting" ;[PJSC v1.01]
1535+ subMenu = std_separator ;[PJSC v1.01]
1536+;[PJSC v1.01] subMenu = fanSettings, "Thermo Fan"
1537+#if table4_spark ;[PJSC v1.01] For switching table4
15391538 subMenu = LaunchControl, "Launch Control / Flat Shift"
1540-;[PJSC v1.10] subMenu = fuelpump, "Fuel Pump"
1539+;[PJSC v1.01] subMenu = fuelpump, "Fuel Pump"
15411540 subMenu = NitrousControl, "Nitrous"
1542-#endif ;[PJSC v1.10] For switching table4
1543-;[PJSC v1.10] subMenu = std_separator
1544-;[PJSC v1.10] subMenu = boostSettings, "Boost Control"
1545-;[PJSC v1.10] subMenu = boostLoad, "Boost Targets/Load", 8, { boostEnabled }
1546-;[PJSC v1.10] subMenu = std_separator
1547-;[PJSC v1.10] subMenu = vvtSettings, "VVT Control"
1548-;[PJSC v1.10] subMenu = vvtTbl, "VVT duty cycle", 8, { vvtEnabled }
1549-;[PJSC v1.10] subMenu = std_separator
1550-;[PJSC v1.10] subMenu = tacho, "Tacho Output"
1551- subMenu = fanSettings, "Thermo Fan", { muxout1selection == 2 || muxout2selection == 2 } ;[PJSC v1.10] For MUX selection
1541+#endif ;[PJSC v1.01] For switching table4
1542+;[PJSC v1.01] subMenu = std_separator
1543+;[PJSC v1.01] subMenu = boostSettings, "Boost Control"
1544+;[PJSC v1.01] subMenu = boostLoad, "Boost Targets/Load", 8, { boostEnabled }
1545+;[PJSC v1.01] subMenu = std_separator
1546+;[PJSC v1.01] subMenu = vvtSettings, "VVT Control"
1547+;[PJSC v1.01] subMenu = vvtTbl, "VVT duty cycle", 8, { vvtEnabled }
1548+;[PJSC v1.01] subMenu = std_separator
1549+;[PJSC v1.01] subMenu = tacho, "Tacho Output"
1550+ subMenu = fanSettings, "Thermo Fan", { muxout1selection == 2 || muxout2selection == 2 } ;[PJSC v1.01] For MUX selection
15521551 subMenu = fuelpump, "Fuel Pump", { muxout1selection == 4 || muxout2selection == 4 } ; |
15531552 subMenu = std_separator ; |
15541553 subMenu = boostSettings, "Boost Control", { muxout1selection == 5 || muxout2selection == 5 } ; |
@@ -1557,7 +1556,7 @@
15571556 subMenu = vvtSettings, "VVT Control", { muxout1selection == 6 || muxout2selection == 6 } ; |
15581557 subMenu = vvtTbl, "VVT duty cycle", 8, { vvtEnabled && (muxout1selection == 6 || muxout2selection == 6) } ; |
15591558 subMenu = std_separator ; V
1560- subMenu = tacho, "Tacho Output", { muxout1selection == 7 || muxout2selection == 7 } ;[PJSC v1.10] For MUX selection
1559+ subMenu = tacho, "Tacho Output", { muxout1selection == 7 || muxout2selection == 7 } ;[PJSC v1.01] For MUX selection
15611560
15621561 subMenu = std_separator ;[PJSC]
15631562 subMenu = inputPortSetting, "Input Port Setting" ;[PJSC]
@@ -1591,22 +1590,22 @@
15911590 ;[PJSC] subMenu = sparkMap, "Spark Table", 3
15921591 subMenu = veTable1Map, "Fuel Table 1" ;[PJSC]
15931592 subMenu = veTable2Map, "Fuel Table 2" ;[PJSC]
1594- subMenu = veTable3Map, "Fuel Table 3" ;[PJSC v1.10] For switching table4
1595-#if table4_fuel ;[PJSC v1.10] For switching table4
1596- subMenu = sparkMap, "Fuel Table 4" ;[PJSC v1.10] For switching table4
1597-#endif ;[PJSC v1.10] For switching table4
1593+ subMenu = veTable3Map, "Fuel Table 3" ;[PJSC v1.01] For switching table4
1594+#if table4_fuel ;[PJSC v1.01] For switching table4
1595+ subMenu = sparkMap, "Fuel Table 4" ;[PJSC v1.01] For switching table4
1596+#endif ;[PJSC v1.01] For switching table4
15981597 subMenu = afrTable1Map, "AFR Target Table"
1599-#if table4_spark ;[PJSC v1.10] For switching table4
1600- subMenu = sparkMap, "Spark Table", 3 ;[PJSC v1.10] For switching table4
1601-#endif ;[PJSC v1.10] For switching table4
1598+#if table4_spark ;[PJSC v1.01] For switching table4
1599+ subMenu = sparkMap, "Spark Table", 3 ;[PJSC v1.01] For switching table4
1600+#endif ;[PJSC v1.01] For switching table4
16021601
16031602
16041603 #if enablehardware_test
16051604 menuDialog = main
16061605 menu = "Hardware Testing"
1607-;[PJSC v1.10] subMenu = outputtest1, "Test Output Hardware"
1608- subMenu = outputtest1, "Output Test Mode - PWM" ;[PJSC v1.10]
1609- subMenu = outputtest2, "Output Test Mode - Pulse" ;[PJSC v1.10]
1606+;[PJSC v1.01] subMenu = outputtest1, "Test Output Hardware"
1607+ subMenu = outputtest1, "Output Test Mode - PWM" ;[PJSC v1.01]
1608+ subMenu = outputtest2, "Output Test Mode - Pulse" ;[PJSC v1.01]
16101609 #endif
16111610
16121611 menu = "Help"
@@ -1885,15 +1884,15 @@
18851884 panel = engine_constants_west, West
18861885 panel = engine_constants_east, East
18871886
1888- dialog = muxWarningMessage, "" ;[PJSC v1.10]
1887+ dialog = muxWarningMessage, "" ;[PJSC v1.01]
18891888 field = "Don't select the same function for MUX out1 and MUX out2!" ; |
18901889 ; |
18911890 dialog = muxoutSetting, "MUX Output Port Setting" ; |
1892- field = "MUX out1", muxout1selection ; V
1893- field = "MUX out2", muxout2selection ;[PJSC v1.10]
1894- field = "MUX out3", muxout3selection, { pinLayout == 64 } ;[PJSC v1.01c]
1895- field = "MUX out4", muxout4selection, { pinLayout == 64 } ;[PJSC v1.01c]
1896- panel = muxWarningMessage, ;[PJSC v1.10]
1891+ field = "MUX out1", muxout1selection ; |
1892+ field = "MUX out2", muxout2selection ; |
1893+ field = "MUX out3", muxout3selection, { pinLayout == 64 } ; |
1894+ field = "MUX out4", muxout4selection, { pinLayout == 64 } ; V
1895+ panel = muxWarningMessage, ;[PJSC v1.01]
18971896
18981897 dialog = captExValveSetting, "Capture Exhaust Valve Position Control" ;[PJSC]
18991898 field = "Exhaust valve calibration mode", exValveCalibrationMode ; |
@@ -1908,7 +1907,7 @@
19081907 field = "Duty pulse ON Level ch1", dutyPulseOnLevel ; V
19091908 field = "Duty pulse ON Level ch2", dutyPulseOnLevel2 ;[PJSC]
19101909
1911- dialog = analogInputPort1select, "" ;[PJSC v1.10]
1910+ dialog = analogInputPort1select, "" ;[PJSC v1.01]
19121911 field = "", exValveCaptureEnabled ; |
19131912 ; |
19141913 dialog = digitalInputPort1select, "" ; |
@@ -1954,10 +1953,10 @@
19541953 panel = captDutyPulseSettingCh2, East, { dutyPulseCaptureEnabled2 == 1 } ; |
19551954 ; |
19561955 dialog = inputPortSetting, "Input Port Setting", yAxis ; |
1957- panel = analogInputPort1 ; |
1958- panel = digitalInputPort1 ; |
1959-;[PJSCv1.01] panel = digitalInputPort2 ; V
1960-;[PJSCv1.01] panel = digitalInputPort3 ;[PJSC v1.10]
1956+ panel = analogInputPort1 ; V
1957+ panel = digitalInputPort1 ;[PJSC v1.01]
1958+;[PJSCv1.01] panel = digitalInputPort2 ;[PJSC v1.01]
1959+;[PJSCv1.01] panel = digitalInputPort3 ;[PJSC v1.01]
19611960
19621961 ; Flex fuel stuff
19631962 dialog = flexFuelSettings, "", yAxis
@@ -2055,12 +2054,12 @@
20552054 panel = accelEnrichments_center, Center
20562055 panel = accelEnrichments_south, South
20572056
2058- dialog = veCorrectionSetting, "VE correction setting" ;[PJSC v1.01c]
2057+ dialog = veCorrectionSetting, "VE correction setting" ;[PJSC v1.01]
20592058 field = "Multiply VE value by MAP:Baro ratio", multiplyMAP ; |
20602059 field = "Multiply by ratio of AFR to Target AFR", includeAFR, { egoType == 2 } ; V
2061- field = "Barometric correction", baroCorr, { useExtBaro } ;[PJSC v1.01c]
2060+ field = "Barometric correction", baroCorr, { useExtBaro } ;[PJSC v1.01]
20622061
2063- dialog = veMapSelectionSet1Pri, "Primary Table" ;[PJSC v1.10]
2062+ dialog = veMapSelectionSet1Pri, "Primary Table" ;[PJSC v1.01]
20642063 field = "Injector 1", veMapSelection1Pri ; |
20652064 field = "Injector 2", veMapSelection2Pri, { multiVEmapEnabled && mapSeparationEnabled } ; |
20662065 field = "Injector 3", veMapSelection3Pri, { multiVEmapEnabled && mapSeparationEnabled } ; |
@@ -2116,9 +2115,9 @@
21162115 panel = veFuelLoadSelection ; |
21172116 ; |
21182117 dialog = veMapSelectDialog, "VE Table configration" ; |
2119- panel = veCorrectionSetting ; |[PJSC v1.01c]
2118+ panel = veCorrectionSetting ; |
21202119 panel = veMapSelectConfig ; V
2121- panel = veMapSelectionDialog ;[PJSC v1.10]
2120+ panel = veMapSelectionDialog ;[PJSC v1.01]
21222121
21232122 ;[PJSC] dialog = veTableDialog_north, ""
21242123 ;[PJSC] panel = veTable1Tbl
@@ -2126,7 +2125,7 @@
21262125 ;[PJSC] dialog = veTableDialog, "VE Table"
21272126 ;[PJSC] panel = veTableDialog_north, North
21282127 ;[PJSC] panel = veTableDialog_south, South
2129- dialog = veTable1Dialog, "VE Table 1" ;[PJSC v1.01c]
2128+ dialog = veTable1Dialog, "VE Table 1" ;[PJSC v1.01]
21302129 panel = veTable1Tbl ; |
21312130 ; |
21322131 dialog = veTable2Dialog, "VE Table 2" ; |
@@ -2136,25 +2135,25 @@
21362135 panel = veTable3Tbl ; |
21372136 ; |
21382137 dialog = veTable4Dialog, "VE Table 4" ; V
2139- panel = sparkTbl ;[PJSC v1.01c]
2138+ panel = sparkTbl ;[PJSC v1.01]
21402139
2141- dialog = injCloseAngles_west, "" ;[PJSC v1.01c]
2140+ dialog = injCloseAngles_west, "" ;[PJSC v1.01]
21422141 field = "Channel 1", inj1SquirtStartEnd, { squirtDeviceType == 0 } ; |
21432142 field = "Channel 2", inj2SquirtStartEnd, { (nCylinders > 1 || nInjectors > 1) && indInjAng && squirtDeviceType == 0 } ; |
21442143 field = "Channel 3", inj3SquirtStartEnd, { indInjAng && (nCylinders > 4 || nCylinders == 3 || nInjectors > 2 || ((nCylinders == 4) && (injLayout == 3))) && squirtDeviceType == 0 } ; V
2145- field = "Channel 4", inj4SquirtStartEnd, { indInjAng && (nCylinders > 4 || ((nCylinders == 4 || nInjectors > 3) && (injLayout > 0))) && squirtDeviceType == 0 } ;[PJSC v1.01c]
2144+ field = "Channel 4", inj4SquirtStartEnd, { indInjAng && (nCylinders > 4 || ((nCylinders == 4 || nInjectors > 3) && (injLayout > 0))) && squirtDeviceType == 0 } ;[PJSC v1.01]
21462145
2147- dialog = injCloseAngles_east, "" ;[PJSC v1.01c]
2146+ dialog = injCloseAngles_east, "" ;[PJSC v1.01]
21482147 field = "", inj1Ang, { squirtDeviceType == 0 } ; |
21492148 field = "", inj2Ang, { (nCylinders > 1 || nInjectors > 1) && indInjAng && squirtDeviceType == 0 } ; |
21502149 field = "", inj3Ang, { indInjAng && (nCylinders > 4 || nCylinders == 3 || nInjectors > 2 || ((nCylinders == 4) && (injLayout == 3))) && squirtDeviceType == 0 } ; V
2151- field = "", inj4Ang, { indInjAng && (nCylinders > 4 || ((nCylinders == 4 || nInjectors > 3) && (injLayout > 0))) && squirtDeviceType == 0 } ;[PJSC v1.01c]
2150+ field = "", inj4Ang, { indInjAng && (nCylinders > 4 || ((nCylinders == 4 || nInjectors > 3) && (injLayout > 0))) && squirtDeviceType == 0 } ;[PJSC v1.01]
21522151
2153- dialog = injCloseAngles, "Injector squirt angle", xAxis ;[PJSC v1.01c]
2152+ dialog = injCloseAngles, "Injector squirt angle", xAxis ;[PJSC v1.01]
21542153 panel = injCloseAngles_west ; V
2155- panel = injCloseAngles_east ;[PJSC v1.01c]
2154+ panel = injCloseAngles_east ;[PJSC v1.01]
21562155
2157- dialog = injChars, "Injector Characteristics" ;[PJSC v1.01c]
2156+ dialog = injChars, "Injector Characteristics" ;[PJSC v1.01]
21582157 field = "Squirt Device", squirtDeviceType ; |
21592158 field = "PJSC solenoid freq.", pjscFreq, { squirtDeviceType == 1 } ; |
21602159 field = "Injector Open Time", injOpen, { squirtDeviceType == 0 } ; |
@@ -2161,21 +2160,21 @@
21612160 field = "Injector Duty Limit", dutyLim, { squirtDeviceType == 0 } ; |
21622161 field = "Individual channel setting", indInjAng, { squirtDeviceType == 0 } ; |
21632162 panel = injCloseAngles ; V
2164- panel = injector_voltage_curve ;[PJSC v1.01c]
2163+ panel = injector_voltage_curve ;[PJSC v1.01]
21652164
2166-;[PJSC v1.01c] dialog = injChars, "Injector Characteristics" ;[PJSC]
2167-;[PJSC v1.01c] field = "Squirt Device", squirtDeviceType ; |
2168-;[PJSC v1.01c] field = "PJSC solenoid freq.", pjscFreq, { squirtDeviceType == 1 } ; |
2169-;[PJSC v1.01c] field = "Injector Open Time", injOpen, { squirtDeviceType == 0 } ; |
2170-;[PJSC v1.01c] field = "Injector close angle", { squirtDeviceType == 0 } ; |
2171-;[PJSC v1.01c] field = "", inj1Ang, { indInjAng == 0 && squirtDeviceType == 0 } ; |
2172-;[PJSC v1.01c] field = "Individual channel setting", indInjAng, { squirtDeviceType == 0 } ; |
2173-;[PJSC v1.01c] field = "Channel 1", inj1Ang, { indInjAng && squirtDeviceType == 0 } ; |
2174-;[PJSC v1.01c] field = "Channel 2", inj2Ang, { (nCylinders > 1 || nInjectors > 1) && indInjAng && squirtDeviceType == 0 } ; |[PJSC v1.01c]
2175-;[PJSC v1.01c] field = "Channel 3", inj3Ang, { indInjAng && (nCylinders > 4 || nCylinders == 3 || nInjectors > 2 || ((nCylinders == 4) && (injLayout == 3))) && squirtDeviceType == 0 } ; |[PJSC v1.01c]
2176-;[PJSC v1.01c] field = "Channel 4", inj4Ang, { indInjAng && (nCylinders > 6 || ((nCylinders == 4 || nInjectors > 3) && (injLayout == 3))) && squirtDeviceType == 0 } ; |[PJSC v1.01c]
2177-;[PJSC v1.01c] field = "Injector Duty Limit", dutyLim, { squirtDeviceType == 0 } ; V
2178-;[PJSC v1.01c] panel = injector_voltage_curve ;[PJSC]
2165+;[PJSC v1.01] dialog = injChars, "Injector Characteristics" ;[PJSC]
2166+;[PJSC v1.01] field = "Squirt Device", squirtDeviceType ; |
2167+;[PJSC v1.01] field = "PJSC solenoid freq.", pjscFreq, { squirtDeviceType == 1 } ; |
2168+;[PJSC v1.01] field = "Injector Open Time", injOpen, { squirtDeviceType == 0 } ; |
2169+;[PJSC v1.01] field = "Injector close angle", { squirtDeviceType == 0 } ; |
2170+;[PJSC v1.01] field = "", inj1Ang, { indInjAng == 0 && squirtDeviceType == 0 } ; |
2171+;[PJSC v1.01] field = "Individual channel setting", indInjAng, { squirtDeviceType == 0 } ; |
2172+;[PJSC v1.01] field = "Channel 1", inj1Ang, { indInjAng && squirtDeviceType == 0 } ; |
2173+;[PJSC v1.01] field = "Channel 2", inj2Ang, { (nCylinders > 1 || nInjectors > 1) && indInjAng && squirtDeviceType == 0 } ; |[PJSC v1.01]
2174+;[PJSC v1.01] field = "Channel 3", inj3Ang, { indInjAng && (nCylinders > 4 || nCylinders == 3 || nInjectors > 2 || ((nCylinders == 4) && (injLayout == 3))) && squirtDeviceType == 0 } ; |[PJSC v1.01]
2175+;[PJSC v1.01] field = "Channel 4", inj4Ang, { indInjAng && (nCylinders > 6 || ((nCylinders == 4 || nInjectors > 3) && (injLayout == 3))) && squirtDeviceType == 0 } ; |[PJSC v1.01]
2176+;[PJSC v1.01] field = "Injector Duty Limit", dutyLim, { squirtDeviceType == 0 } ; V
2177+;[PJSC v1.01] panel = injector_voltage_curve ;[PJSC]
21792178
21802179 ;[PJSC] dialog = injChars, "Injector Characteristics"
21812180 ;[PJSC] field = "Injector Open Time", injOpen
@@ -2221,7 +2220,7 @@
22212220 field = "Stepper Inverted", iacStepperInv, { iacAlgorithm == 4 || iacAlgorithm == 5 }
22222221
22232222 dialog = pwm_idle, "PWM Idle"
2224-;[PJSC v1.10] field = "Number of outputs", iacChannels, { iacAlgorithm == 2 || iacAlgorithm == 3 }
2223+;[PJSC v1.01] field = "Number of outputs", iacChannels, { iacAlgorithm == 2 || iacAlgorithm == 3 }
22252224 field = "Idle valve frequency", idleFreq, { iacAlgorithm == 2 || iacAlgorithm == 3 }
22262225 field = "Idle valve direction", iacPWMdir, { iacAlgorithm == 2 || iacAlgorithm == 3 }
22272226
@@ -2301,7 +2300,7 @@
23012300 field = "Trigger Filter", TrigFilter, { TrigPattern != 13 }
23022301 field = "Re-sync every cycle", useResync, { TrigPattern == 2 || TrigPattern == 4 || TrigPattern == 7 || TrigPattern == 12 || TrigPattern == 9 || TrigPattern == 13 } ;Dual wheel, 4G63, Audi 135, Nissan 360, Miata 99-05
23032302
2304-#if table4_spark ;[PJSC v1.10] For switching table4
2303+#if table4_spark ;[PJSC v1.01] For switching table4
23052304 dialog = sparkSettings,"Spark Settings",4
23062305 field = "Ignition load source", ignAlgorithm
23072306 field = "Spark output mode", sparkMode
@@ -2335,7 +2334,7 @@
23352334 dialog = rotary_ignition, "Rotary Ignition", 4
23362335 field = "Ignition Configuration", rotaryType
23372336 panel = rotaryTrailing_curve
2338-#endif ;[PJSC v1.10] For switching table4
2337+#endif ;[PJSC v1.01] For switching table4
23392338
23402339 dialog = boostCut, "Boost Cut"
23412340 field = "Boost Cut", boostCutType
@@ -2586,38 +2585,38 @@
25862585 ; clickOnClose - the command will be sent on dialog close always
25872586 commandButton = "Stop Test Mode", cmdStopTestMode,{testactive}, clickOnCloseIfEnabled
25882587
2589- dialog = enablefuelpumpbuttons, "Fuel pump", xAxis ;[PJSC v1.10]
2590- commandButton = "Fuel Pump On", cmdfpon, { muxout1selection == 4 || muxout2selection == 4 } ;[PJSC v1.01c]
2591- commandButton = "Fuel Pump Off", cmdfpoff, { muxout1selection == 4 || muxout2selection == 4 } ;[PJSC v1.01c]
2588+ dialog = enablefuelpumpbuttons, "Fuel pump", xAxis ;[PJSC v1.01]
2589+ commandButton = "Fuel Pump On", cmdfpon, { muxout1selection == 4 || muxout2selection == 4 } ;[PJSC v1.01]
2590+ commandButton = "Fuel Pump Off", cmdfpoff, { muxout1selection == 4 || muxout2selection == 4 } ;[PJSC v1.01]
25922591
25932592 dialog = outputtestinj1, "Injector CH1", yAxis
25942593 commandButton = "Off", cmdtestinj1off,{testactive}
2595-;[PJSC v1.10] commandButton = "50% DC", cmdtestinj150dc,{!testenabled & testactive}
2594+;[PJSC v1.01] commandButton = "50% DC", cmdtestinj150dc,{!testenabled & testactive}
25962595 commandButton = "On", cmdtestinj1on,{!testenabled & testactive}
2597- commandButton = "PWM", cmdtestinj150dc, {!testenabled & testactive} ;[PJSC v1.10]
2598- field = "PWM freq.", dutyFreqTst1, {!testenabled & testactive} ;[PJSC v1.10]
2599- field = "Duty ratio", dutyRatioTst1, {!testenabled & testactive} ;[PJSC v1.10]
2596+ commandButton = "PWM", cmdtestinj150dc, {!testenabled & testactive} ;[PJSC v1.01]
2597+ field = "PWM freq.", dutyFreqTst1, {!testenabled & testactive} ;[PJSC v1.01]
2598+ field = "Duty ratio", dutyRatioTst1, {!testenabled & testactive} ;[PJSC v1.01]
26002599 dialog = outputtestinj2, "Injector CH2", yAxis
26012600 commandButton = "Off", cmdtestinj2off,{testactive}
2602-;[PJSC v1.10] commandButton = "50% DC", cmdtestinj250dc,{!testenabled &testactive}
2601+;[PJSC v1.01] commandButton = "50% DC", cmdtestinj250dc,{!testenabled &testactive}
26032602 commandButton = "On", cmdtestinj2on,{!testenabled & testactive}
2604- commandButton = "PWM", cmdtestinj250dc, {!testenabled & testactive} ;[PJSC v1.10]
2605- field = "PWM freq.", dutyFreqTst2, {!testenabled & testactive} ;[PJSC v1.10]
2606- field = "Duty ratio", dutyRatioTst2, {!testenabled & testactive} ;[PJSC v1.10]
2603+ commandButton = "PWM", cmdtestinj250dc, {!testenabled & testactive} ;[PJSC v1.01]
2604+ field = "PWM freq.", dutyFreqTst2, {!testenabled & testactive} ;[PJSC v1.01]
2605+ field = "Duty ratio", dutyRatioTst2, {!testenabled & testactive} ;[PJSC v1.01]
26072606 dialog = outputtestinj3, "Injector CH3", yAxis
26082607 commandButton = "Off", cmdtestinj3off,{testactive}
2609-;[PJSC v1.10] commandButton = "50% DC", cmdtestinj350dc,{!testenabled & testactive}
2608+;[PJSC v1.01] commandButton = "50% DC", cmdtestinj350dc,{!testenabled & testactive}
26102609 commandButton = "On", cmdtestinj3on,{!testenabled & testactive}
2611- commandButton = "PWM", cmdtestinj350dc, {!testenabled & testactive} ;[PJSC v1.10]
2612- field = "PWM freq.", dutyFreqTst3, {!testenabled & testactive} ;[PJSC v1.10]
2613- field = "Duty ratio", dutyRatioTst3, {!testenabled & testactive} ;[PJSC v1.10]
2610+ commandButton = "PWM", cmdtestinj350dc, {!testenabled & testactive} ;[PJSC v1.01]
2611+ field = "PWM freq.", dutyFreqTst3, {!testenabled & testactive} ;[PJSC v1.01]
2612+ field = "Duty ratio", dutyRatioTst3, {!testenabled & testactive} ;[PJSC v1.01]
26142613 dialog = outputtestinj4, "Injector CH4", yAxis
26152614 commandButton = "Off", cmdtestinj4off,{testactive}
2616-;[PJSC v1.10] commandButton = "50% DC", cmdtestinj450dc,{!testenabled & testactive}
2615+;[PJSC v1.01] commandButton = "50% DC", cmdtestinj450dc,{!testenabled & testactive}
26172616 commandButton = "On", cmdtestinj4on ,{!testenabled & testactive}
2618- commandButton = "PWM", cmdtestinj450dc, {!testenabled & testactive} ;[PJSC v1.10]
2619- field = "PWM freq.", dutyFreqTst4, {!testenabled & testactive} ;[PJSC v1.10]
2620- field = "Duty ratio", dutyRatioTst4, {!testenabled & testactive} ;[PJSC v1.10]
2617+ commandButton = "PWM", cmdtestinj450dc, {!testenabled & testactive} ;[PJSC v1.01]
2618+ field = "PWM freq.", dutyFreqTst4, {!testenabled & testactive} ;[PJSC v1.01]
2619+ field = "Duty ratio", dutyRatioTst4, {!testenabled & testactive} ;[PJSC v1.01]
26212620
26222621 dialog = outputtest_injectors, "Injector Driver Output Test", xAxis
26232622 panel = outputtestinj1
@@ -2648,7 +2647,7 @@
26482647 panel = outputtestspk3
26492648 panel = outputtestspk4
26502649
2651- dialog = outputtestmux1, "MUX1", yAxis ;[PJSC v1.01c]
2650+ dialog = outputtestmux1, "MUX1", yAxis ;[PJSC v1.01]
26522651 commandButton = "Off", cmdtestmux1off, {testactive} ; |
26532652 commandButton = "On", cmdtestmux1on, {!testenabled && testactive && muxout1selection == 0 } ; |
26542653 commandButton = "PWM", cmdtestmux150dc, {!testenabled && testactive && muxout1selection == 0 } ; |
@@ -2677,22 +2676,22 @@
26772676 panel = outputtestmux1 ; |
26782677 panel = outputtestmux2 ; |
26792678 panel = outputtestmux3, { pinLayout == 64 } ; V
2680- panel = outputtestmux4, { pinLayout == 64 } ;[PJSC v1.01c]
2679+ panel = outputtestmux4, { pinLayout == 64 } ;[PJSC v1.01]
26812680
2682-;[PJSC v1.10] dialog = outputtest1,"Test Output Hardware"
2683- dialog = outputtest1,"Output Test Mode - PWM" ;[PJSC v1.10]
2681+;[PJSC v1.01] dialog = outputtest1,"Test Output Hardware"
2682+ dialog = outputtest1,"Output Test Mode - PWM" ;[PJSC v1.01]
26842683 topicHelp = "http://speeduino.com/wiki/index.php/Hardware_testing_page"
26852684 panel = enableoutputtestbuttons
2686- panel = enablefuelpumpbuttons ;[PJSC v1.10]
2685+ panel = enablefuelpumpbuttons ;[PJSC v1.01]
26872686 panel = outputtest_injectors
2688-#if table4_spark ;[PJSC v1.10] For switching table4
2687+#if table4_spark ;[PJSC v1.01] For switching table4
26892688 panel = outputtest_spark
2690-#endif ;[PJSC v1.10] For switching table4
2691- panel = outputtest_mux ;[PJSC v1.01c]
2689+#endif ;[PJSC v1.01] For switching table4
2690+ panel = outputtest_mux ;[PJSC v1.01]
26922691 ;panel = outputtest_io2
26932692 panel = outputtest_warningmessage
26942693
2695-;[PJSC v1.10] For test mode - outputs pulse =========================================================================
2694+;[PJSC v1.01] For test mode - outputs pulse =========================================================================
26962695 dialog = outputTestbuttons1a, "", xAxis
26972696 ;commandButton = "Label Text", command, { Enabled Condition }, optionalFlags
26982697 ; The rem > 0 expression is just for testing.. It works when the MS is on the Stim with rpm.
@@ -2750,7 +2749,7 @@
27502749 panel = outputtest_controls
27512750 panel = outputtest_r
27522751
2753-;[PJSC v1.10] For test mode - outputs pulse =========================================================================
2752+;[PJSC v1.01] For test mode - outputs pulse =========================================================================
27542753
27552754 dialog = Auxin_north
27562755 displayOnlyField = #"Secondary Serial ENABLED", blankfield, {enable_secondarySerial},{enable_secondarySerial}
@@ -3287,10 +3286,10 @@
32873286 cmdtestinj4on = "E\x02\x0A"
32883287 cmdtestinj4off = "E\x02\x0B"
32893288 cmdtestinj450dc = "E\x02\x0C"
3290-cmdfpon = "E\x02\x11" ;[PJSC v1.10]
3291-cmdfpoff = "E\x02\x12" ;[PJSC v1.10]
3292-cmdtestinjstart = "E\x02\x13" ;[PJSC v1.10]
3293-cmdtestinjstop = "E\x02\x14" ;[PJSC v1.10]
3289+cmdfpon = "E\x02\x11" ;[PJSC v1.01]
3290+cmdfpoff = "E\x02\x12" ;[PJSC v1.01]
3291+cmdtestinjstart = "E\x02\x13" ;[PJSC v1.01]
3292+cmdtestinjstop = "E\x02\x14" ;[PJSC v1.01]
32943293
32953294 cmdtestspk1on = "E\x03\x01"
32963295 cmdtestspk1off = "E\x03\x02"
@@ -3305,7 +3304,7 @@
33053304 cmdtestspk4off = "E\x03\x0B"
33063305 cmdtestspk450dc = "E\x03\x0C"
33073306
3308-cmdtestmux1on = "E\x04\x01" ;[PJSC v1.01c] Test mode command for MUX output
3307+cmdtestmux1on = "E\x04\x01" ;[PJSC v1.01] Test mode command for MUX output
33093308 cmdtestmux1off = "E\x04\x02" ; |
33103309 cmdtestmux150dc = "E\x04\x03" ; |
33113310 cmdtestmux2on = "E\x04\x04" ; |
@@ -3316,7 +3315,7 @@
33163315 cmdtestmux350dc = "E\x04\x09" ; |
33173316 cmdtestmux4on = "E\x04\x0A" ; |
33183317 cmdtestmux4off = "E\x04\x0B" ; V
3319-cmdtestmux450dc = "E\x04\x0C" ;[PJSC v1.01c]
3318+cmdtestmux450dc = "E\x04\x0C" ;[PJSC v1.01]
33203319
33213320 ; -------------------------------------------------------------
33223321 ; Help down here
@@ -3515,7 +3514,7 @@
35153514 gridOrient = 250, 0, 340
35163515 upDownLabel = "(RICHER)", "(LEANER)"
35173516
3518-#if table4_spark //[PJSC v1.10]
3517+#if table4_spark //[PJSC v1.01]
35193518 table = sparkTbl, sparkMap, "Ignition Advance Table", 3
35203519 xBins = rpmBins2, rpm
35213520 ;yBins = ignLoadBins, ignLoad
@@ -3524,7 +3523,7 @@
35243523 zBins = advTable1
35253524 gridHeight = 3.0
35263525 upDownLabel = "ADVANCING", "RETARDING"
3527-#endif //[PJSC v1.10]
3526+#endif //[PJSC v1.01]
35283527
35293528 ;table = afrTbl, afrTableMap, "AFR Table", 5
35303529 table = afrTable1Tbl, afrTable1Map, "AFR Table", 5
@@ -3570,61 +3569,61 @@
35703569 upDownLabel = "HIGHER", "LOWER"
35713570
35723571 ;--------- Sequential fuel trim maps -----------
3573-;[PJSC v1.10] table = fuelTrimTable1Tbl, fuelTrimTable1Map, "Fuel trim Table 1", 9
3574-;[PJSC v1.10] topicHelp = "http://speeduino.com/wiki/index.php/Tuning"
3575-;[PJSC v1.10] xBins = fuelTrim1rpmBins, rpm
3576-;[PJSC v1.10] #if SPEED_DENSITY
3577-;[PJSC v1.10] yBins = fuelTrim1loadBins, map
3578-;[PJSC v1.10] #else
3579-;[PJSC v1.10] yBins = fuelTrim1loadBins, throttle
3580-;[PJSC v1.10] #endif
3581-;[PJSC v1.10] zBins = fuelTrim1Table
3582-;[PJSC v1.10]
3583-;[PJSC v1.10] gridHeight = 2.0
3584-;[PJSC v1.10] gridOrient = 250, 0, 340
3585-;[PJSC v1.10] upDownLabel = "(RICHER)", "(LEANER)"
3586-;[PJSC v1.10]
3587-;[PJSC v1.10] table = fuelTrimTable2Tbl, fuelTrimTable2Map, "Fuel trim Table 2", 9
3588-;[PJSC v1.10] topicHelp = "http://speeduino.com/wiki/index.php/Tuning"
3589-;[PJSC v1.10] xBins = fuelTrim2rpmBins, rpm
3590-;[PJSC v1.10] #if SPEED_DENSITY
3591-;[PJSC v1.10] yBins = fuelTrim2loadBins, map
3592-;[PJSC v1.10] #else
3593-;[PJSC v1.10] yBins = fuelTrim2loadBins, throttle
3594-;[PJSC v1.10] #endif
3595-;[PJSC v1.10] zBins = fuelTrim2Table
3596-;[PJSC v1.10]
3597-;[PJSC v1.10] gridHeight = 2.0
3598-;[PJSC v1.10] gridOrient = 250, 0, 340
3599-;[PJSC v1.10] upDownLabel = "(RICHER)", "(LEANER)"
3600-;[PJSC v1.10]
3601-;[PJSC v1.10] table = fuelTrimTable3Tbl, fuelTrimTable3Map, "Fuel trim Table 3", 9
3602-;[PJSC v1.10] topicHelp = "http://speeduino.com/wiki/index.php/Tuning"
3603-;[PJSC v1.10] xBins = fuelTrim3rpmBins, rpm
3604-;[PJSC v1.10] #if SPEED_DENSITY
3605-;[PJSC v1.10] yBins = fuelTrim3loadBins, map
3606-;[PJSC v1.10] #else
3607-;[PJSC v1.10] yBins = fuelTrim3loadBins, throttle
3608-;[PJSC v1.10] #endif
3609-;[PJSC v1.10] zBins = fuelTrim3Table
3610-;[PJSC v1.10]
3611-;[PJSC v1.10] gridHeight = 2.0
3612-;[PJSC v1.10] gridOrient = 250, 0, 340
3613-;[PJSC v1.10] upDownLabel = "(RICHER)", "(LEANER)"
3614-;[PJSC v1.10]
3615-;[PJSC v1.10] table = fuelTrimTable4Tbl, fuelTrimTable4Map, "Fuel trim Table 4", 9
3616-;[PJSC v1.10] topicHelp = "http://speeduino.com/wiki/index.php/Tuning"
3617-;[PJSC v1.10] xBins = fuelTrim4rpmBins, rpm
3618-;[PJSC v1.10] #if SPEED_DENSITY
3619-;[PJSC v1.10] yBins = fuelTrim4loadBins, map
3620-;[PJSC v1.10] #else
3621-;[PJSC v1.10] yBins = fuelTrim4loadBins, throttle
3622-;[PJSC v1.10] #endif
3623-;[PJSC v1.10] zBins = fuelTrim4Table
3624-;[PJSC v1.10]
3625-;[PJSC v1.10] gridHeight = 2.0
3626-;[PJSC v1.10] gridOrient = 250, 0, 340
3627-;[PJSC v1.10] upDownLabel = "(RICHER)", "(LEANER)"
3572+;[PJSC v1.01] table = fuelTrimTable1Tbl, fuelTrimTable1Map, "Fuel trim Table 1", 9
3573+;[PJSC v1.01] topicHelp = "http://speeduino.com/wiki/index.php/Tuning"
3574+;[PJSC v1.01] xBins = fuelTrim1rpmBins, rpm
3575+;[PJSC v1.01] #if SPEED_DENSITY
3576+;[PJSC v1.01] yBins = fuelTrim1loadBins, map
3577+;[PJSC v1.01] #else
3578+;[PJSC v1.01] yBins = fuelTrim1loadBins, throttle
3579+;[PJSC v1.01] #endif
3580+;[PJSC v1.01] zBins = fuelTrim1Table
3581+;[PJSC v1.01]
3582+;[PJSC v1.01] gridHeight = 2.0
3583+;[PJSC v1.01] gridOrient = 250, 0, 340
3584+;[PJSC v1.01] upDownLabel = "(RICHER)", "(LEANER)"
3585+;[PJSC v1.01]
3586+;[PJSC v1.01] table = fuelTrimTable2Tbl, fuelTrimTable2Map, "Fuel trim Table 2", 9
3587+;[PJSC v1.01] topicHelp = "http://speeduino.com/wiki/index.php/Tuning"
3588+;[PJSC v1.01] xBins = fuelTrim2rpmBins, rpm
3589+;[PJSC v1.01] #if SPEED_DENSITY
3590+;[PJSC v1.01] yBins = fuelTrim2loadBins, map
3591+;[PJSC v1.01] #else
3592+;[PJSC v1.01] yBins = fuelTrim2loadBins, throttle
3593+;[PJSC v1.01] #endif
3594+;[PJSC v1.01] zBins = fuelTrim2Table
3595+;[PJSC v1.01]
3596+;[PJSC v1.01] gridHeight = 2.0
3597+;[PJSC v1.01] gridOrient = 250, 0, 340
3598+;[PJSC v1.01] upDownLabel = "(RICHER)", "(LEANER)"
3599+;[PJSC v1.01]
3600+;[PJSC v1.01] table = fuelTrimTable3Tbl, fuelTrimTable3Map, "Fuel trim Table 3", 9
3601+;[PJSC v1.01] topicHelp = "http://speeduino.com/wiki/index.php/Tuning"
3602+;[PJSC v1.01] xBins = fuelTrim3rpmBins, rpm
3603+;[PJSC v1.01] #if SPEED_DENSITY
3604+;[PJSC v1.01] yBins = fuelTrim3loadBins, map
3605+;[PJSC v1.01] #else
3606+;[PJSC v1.01] yBins = fuelTrim3loadBins, throttle
3607+;[PJSC v1.01] #endif
3608+;[PJSC v1.01] zBins = fuelTrim3Table
3609+;[PJSC v1.01]
3610+;[PJSC v1.01] gridHeight = 2.0
3611+;[PJSC v1.01] gridOrient = 250, 0, 340
3612+;[PJSC v1.01] upDownLabel = "(RICHER)", "(LEANER)"
3613+;[PJSC v1.01]
3614+;[PJSC v1.01] table = fuelTrimTable4Tbl, fuelTrimTable4Map, "Fuel trim Table 4", 9
3615+;[PJSC v1.01] topicHelp = "http://speeduino.com/wiki/index.php/Tuning"
3616+;[PJSC v1.01] xBins = fuelTrim4rpmBins, rpm
3617+;[PJSC v1.01] #if SPEED_DENSITY
3618+;[PJSC v1.01] yBins = fuelTrim4loadBins, map
3619+;[PJSC v1.01] #else
3620+;[PJSC v1.01] yBins = fuelTrim4loadBins, throttle
3621+;[PJSC v1.01] #endif
3622+;[PJSC v1.01] zBins = fuelTrim4Table
3623+;[PJSC v1.01]
3624+;[PJSC v1.01] gridHeight = 2.0
3625+;[PJSC v1.01] gridOrient = 250, 0, 340
3626+;[PJSC v1.01] upDownLabel = "(RICHER)", "(LEANER)"
36283627
36293628 ;[PJSC]------------------------------------------------------------------------
36303629 table = veTable2Tbl, veTable2Map, "VE Table 2", 10
@@ -3641,7 +3640,7 @@
36413640
36423641 ;[PJSC]-------------------------------------------------------------------------
36433642
3644-;[PJSC v1.10]-------------------------------------------------------------------
3643+;[PJSC v1.01]-------------------------------------------------------------------
36453644 table = veTable3Tbl, veTable3Map, "VE Table 3", 11
36463645 topicHelp = "http://speeduino.com/wiki/index.php/Tuning"
36473646 ; constant, variable
@@ -3668,7 +3667,7 @@
36683667 gridOrient = 250, 0, 340 ; Space 123 rotation of grid in degrees.
36693668 upDownLabel = "(RICHER)", "(LEANER)"
36703669 #endif
3671-;[PJSC v1.10]-------------------------------------------------------------------
3670+;[PJSC v1.01]-------------------------------------------------------------------
36723671
36733672 ;-------------------------------------------------------------------------------
36743673
@@ -3702,12 +3701,12 @@
37023701
37033702 gammaEnrichGauge = gammaEnrich, "Gamma Enrichment", "%", 50, 150, -1, -1, 151, 151, 0, 0
37043703 pulseWidthGauge = pulseWidth, "Pulse Width", "mSec", 0, 35.0, 1.0, 1.2, 20, 25, 3, 3
3705-;[PJSC v1.10] tachometer = rpm, "Engine Speed", "RPM", 0, 8000, 300, 600, 3000, 5000, 0, 0
3706- tachometer = rpm, "Engine Speed", "RPM", 0, 13000, 600, 1000,11000,12000, 0, 0 ;[PJSC v1.10]
3704+;[PJSC v1.01] tachometer = rpm, "Engine Speed", "RPM", 0, 8000, 300, 600, 3000, 5000, 0, 0
3705+ tachometer = rpm, "Engine Speed", "RPM", 0, 13000, 600, 1000,11000,12000, 0, 0 ;[PJSC v1.01]
37073706 veGauge = veCurr, "VE Current", "%", 0, 120, -1, -1, 999, 999, 0, 0
37083707 veGauge2 = veCurr2, "VE2 Current", "%", 0, 120, -1, -1, 999, 999, 0, 0 ;[PJSC]
3709- veGauge3 = veCurr3, "VE3 Current", "%", 0, 120, -1, -1, 999, 999, 0, 0 ;[PJSC v1.10]
3710- veGauge4 = veCurr4, "VE4 Current", "%", 0, 120, -1, -1, 999, 999, 0, 0 ;[PJSC v1.10]
3708+ veGauge3 = veCurr3, "VE3 Current", "%", 0, 120, -1, -1, 999, 999, 0, 0 ;[PJSC v1.01]
3709+ veGauge4 = veCurr4, "VE4 Current", "%", 0, 120, -1, -1, 999, 999, 0, 0 ;[PJSC v1.01]
37113710 warmupEnrichGauge = warmupEnrich, "Warmup Enrichment", "%", 100, 200, 130, 140, 140, 150, 0, 0
37123711 aseEnrichGauge = ase_enrich, "Afterstart Enrichment","%", 0, 200, 130, 140, 140, 150, 0, 0
37133712 batCorrectGauge = batCorrection, "Voltage Correction", "%", 0, 200, 130, 140, 140, 150, 0, 0
@@ -3737,7 +3736,7 @@
37373736 dutyFreqGauge2 = dutyFreq2, "Duty Pulse Frequency 2", "Hz", 0, 100, 5, 10, 90, 95, 0, 0 ;[PJSC]For capturing duty pulse
37383737 dutyRatioGauge2 = dutyRatio2, "Duty Ratio 2", "%", 0, 100, 5, 10, 90, 95, 0, 0 ;[PJSC]For capturing duty pulse
37393738 baroGauge = baro, "Barometric Pressure", "kPa", 0, 200, 20, 60, 140, 180, 1, 0 ;[PJSC]Add the gage for barometric sensor
3740- injcountGauge = testCnt, "Injection Count", "pulses", 0, 1000, 65535, 65535,65535, 65535,0, 0 ;[PJSC v1.10] For test mode
3739+ injcountGauge = testCnt, "Injection Count", "pulses", 0, 1000, 65535, 65535,65535, 65535,0, 0 ;[PJSC v1.01] For test mode
37413740
37423741 #if CELSIUS
37433742 cltGauge = coolant, "Coolant Temp", "TEMP", -40, 215, -15, 0, 95, 105, 0, 0
@@ -3836,7 +3835,7 @@
38363835
38373836 ochGetCommand = "r\$tsCanId\x30%2o%2c"
38383837 ;[PJSC] ochBlockSize = 90
3839- ochBlockSize = 112 ;[PJSC v1.10] Extend block size for Test mode
3838+ ochBlockSize = 112 ;[PJSC v1.01] Extend block size for Test mode
38403839
38413840 secl = scalar, U08, 0, "sec", 1.000, 0.000
38423841 status1 = scalar, U08, 1, "bits", 1.000, 0.000
@@ -3898,9 +3897,9 @@
38983897 testoutputs = scalar, U08, 38, "bits", 1.000, 0.000
38993898 testenabled = bits, U08, 38, [0:0]
39003899 testactive = bits, U08, 38, [1:1]
3901-;[PJSC v1.10] afr2 = scalar, U08, 39, "O2", 0.100, 0.000
3902-;[PJSC v1.10] baro = scalar, U08, 40, "kpa", 1.000, 0.000
3903- baro = scalar, U16, 39, "kpa", 1.000, 0.000 ;[PJSC v1.10]
3900+;[PJSC v1.01] afr2 = scalar, U08, 39, "O2", 0.100, 0.000
3901+;[PJSC v1.01] baro = scalar, U08, 40, "kpa", 1.000, 0.000
3902+ baro = scalar, U16, 39, "kpa", 1.000, 0.000 ;[PJSC v1.01]
39043903 auxin_gauge0 = scalar, U16, 41, "", 1.000, 0.000
39053904 auxin_gauge1 = scalar, U16, 43, "", 1.000, 0.000
39063905 auxin_gauge2 = scalar, U16, 45, "", 1.000, 0.000
@@ -3946,10 +3945,10 @@
39463945 dutyRatio = scalar, U16, 99, "%", 1.000, 0.000 ;[PJSC]For capturing duty pulse
39473946 dutyFreq2 = scalar, U16, 101, "Hz", 1.000, 0.000 ;[PJSC]For capturing duty pulse
39483947 dutyRatio2 = scalar, U16, 103, "%", 1.000, 0.000 ;[PJSC]For capturing duty pulse
3949- testCnt = scalar, U16, 105, "", 1.000, 0.000 ;[PJSC v1.10]For test mode
3950- afr2 = scalar, U08, 107, "O2", 0.100, 0.000 ;[PJSC v1.10]
3951- fuelLoad2 = scalar, S16, 108, { bitStringValue( algorithmUnits2 , algorithm2 ) }, 1.000, 0.000 ;[PJSC v1.10]For dual fuel load
3952- fuelLoad3 = scalar, S16, 110, { bitStringValue( algorithmUnits2 , algorithm3 ) }, 1.000, 0.000 ;[PJSC v1.10]For dual fuel load
3948+ testCnt = scalar, U16, 105, "", 1.000, 0.000 ;[PJSC v1.01]For test mode
3949+ afr2 = scalar, U08, 107, "O2", 0.100, 0.000 ;[PJSC v1.01]
3950+ fuelLoad2 = scalar, S16, 108, { bitStringValue( algorithmUnits2 , algorithm2 ) }, 1.000, 0.000 ;[PJSC v1.01]For dual fuel load
3951+ fuelLoad3 = scalar, S16, 110, { bitStringValue( algorithmUnits2 , algorithm3 ) }, 1.000, 0.000 ;[PJSC v1.01]For dual fuel load
39533952
39543953
39553954 #if CELSIUS
@@ -3987,8 +3986,8 @@
39873986 map_vacboost = { map < baro ? -map_inhg : map_psi }
39883987
39893988 ;fuelLoadMax = { arrayValue(algorithmLimits , algorithm) } ;Doesn't work, no idea why.
3990-;[PJSC vv1.10] fuelLoadMax = { (algorithm == 0 || algorithm == 2) ? 511 : 100 }
3991-;[PJSC vv1.10] ignLoadMax = { (ignAlgorithm == 0 || ignAlgorithm == 2) ? 511 : 100 }
3989+;[PJSC vv1.01] fuelLoadMax = { (algorithm == 0 || algorithm == 2) ? 511 : 100 }
3990+;[PJSC vv1.01] ignLoadMax = { (ignAlgorithm == 0 || ignAlgorithm == 2) ? 511 : 100 }
39923991 fuelLoadMax = { (algorithm == 0 || algorithm == 2) ? 255 : 100 }
39933992 ignLoadMax = { (ignAlgorithm == 0 || ignAlgorithm == 2) ? 255 : 100 }
39943993
@@ -4034,8 +4033,8 @@
40344033 entry = accelEnrich, "Accel Enrich", int, "%d"
40354034 entry = veCurr, "VE", int, "%d"
40364035 entry = veCurr2, "VE2", int, "%d", { multiVEmapEnabled } ;[PJSC]
4037- entry = veCurr3, "VE3", int, "%d", { multiVEmapEnabled } ;[PJSC v1.10]
4038- entry = veCurr4, "VE4", int, "%d", { multiVEmapEnabled } ;[PJSC v1.10]
4036+ entry = veCurr3, "VE3", int, "%d", { multiVEmapEnabled } ;[PJSC v1.01]
4037+ entry = veCurr4, "VE4", int, "%d", { multiVEmapEnabled } ;[PJSC v1.01]
40394038 entry = pulseWidth, "PW", float, "%.1f"
40404039 entry = afrTarget, "AFR Target", float, "%.3f"
40414040 entry = pulseWidth, "PW2", float, "%.1f"
@@ -4126,8 +4125,8 @@
41264125 [Tools]
41274126 ;addTool = toolName, PanelName
41284127 addTool = veTableGenerator, "VE Table Generator", veTable1Tbl
4129- addTool = veTableGenerator, "VE Table Generator", veTable2Tbl ;[PJSC v1.10]
4130- addTool = veTableGenerator, "VE Table Generator", veTable3Tbl ;[PJSC v1.10]
4128+ addTool = veTableGenerator, "VE Table Generator", veTable2Tbl ;[PJSC v1.01]
4129+ addTool = veTableGenerator, "VE Table Generator", veTable3Tbl ;[PJSC v1.01]
41314130 addTool = afrTableGenerator, "AFR Table Generator", afrTable1Tbl
41324131
41334132
@@ -4168,7 +4167,7 @@
41684167 ; filter = maxTPSFilter, "High Throttle", tps, < , 15, , true
41694168 ;------------- WUE VEAL not currently working ----------------
41704169
4171-;[PJSC v1.10]------------------------------------------------------------------------
4170+;[PJSC v1.01]------------------------------------------------------------------------
41724171 ; tableName, lambdaTargetTableName, lambdaChannel, egoCorrectionChannel, activeCondition
41734172 veAnalyzeMap = veTable2Tbl, afrTable1Tbl, afr, egoCorrection
41744173 lambdaTargetTables = afrTable1Tbl, afrTSCustom,
@@ -4230,4 +4229,4 @@
42304229 filter = overrunFilter, "Overrun" , pulseWidth, = , 0, , false
42314230 filter = std_Custom ; Standard Custom Expression Filter.
42324231 #endif
4233-;[PJSC v1.10]-------------------------------------------------------------------------
4232+;[PJSC v1.01]-------------------------------------------------------------------------
--- branches/Ver1.01/speeduino/board_avr2560.h (revision 81)
+++ branches/Ver1.01/speeduino/board_avr2560.h (revision 82)
@@ -123,7 +123,7 @@
123123 #define VVT_TIMER_COMPARE OCR1B
124124 #define VVT_TIMER_COUNTER TCNT1
125125
126- #define MUX1_TIMER_ENABLE() TIMSK1 |= (1 << OCIE1A) //[PJSC v1.01c]
126+ #define MUX1_TIMER_ENABLE() TIMSK1 |= (1 << OCIE1A) //[PJSC v1.01]
127127 #define MUX1_TIMER_DISABLE() TIMSK1 &= ~(1 << OCIE1A) // |
128128 #define MUX2_TIMER_ENABLE() TIMSK1 |= (1 << OCIE1B) // |
129129 #define MUX2_TIMER_DISABLE() TIMSK1 &= ~(1 << OCIE1B) // |
@@ -139,7 +139,7 @@
139139 #define MUX3_COMPARE OCR1A // |
140140 #define MUX3_COUNTER TCNT1 // |
141141 #define MUX4_COMPARE OCR1B // V
142- #define MUX4_COUNTER TCNT1 //[PJSC v1.01c]
142+ #define MUX4_COUNTER TCNT1 //[PJSC v1.01]
143143
144144 /*
145145 ***********************************************************************************************************
--- branches/Ver1.01/speeduino/comms.h (revision 81)
+++ branches/Ver1.01/speeduino/comms.h (revision 82)
@@ -8,18 +8,18 @@
88 #define afrMapPage 5
99 #define afrSetPage 6//Config Page 3
1010 #define boostvvtPage 7
11-//[PJSC v1.10]#define seqFuelPage 8
12-//[PJSC v1.10]#define canbusPage 9//Config Page 9
13-//[PJSC v1.10]#define warmupPage 10 //Config Page 10
14-//[PJSC v1.10]#define ve2MapPage 11 //[PJSC] Config Page 11
15-//[PJSC v1.10]#define ve3MapPage 12 //[PJSC v1.10] Config Page 12
11+//[PJSC v1.01]#define seqFuelPage 8
12+//[PJSC v1.01]#define canbusPage 9//Config Page 9
13+//[PJSC v1.01]#define warmupPage 10 //Config Page 10
14+//[PJSC v1.01]#define ve2MapPage 11 //[PJSC] Config Page 11
15+//[PJSC v1.01]#define ve3MapPage 12 //[PJSC v1.01] Config Page 12
1616 #define canbusPage 8//Config Page 9
1717 #define warmupPage 9 //Config Page 10
1818 #define ve2MapPage 10 //[PJSC] Config Page 11
19-#define ve3MapPage 11 //[PJSC v1.10] Config Page 12
19+#define ve3MapPage 11 //[PJSC v1.01] Config Page 12
2020
2121 //[PJSC]#define SERIAL_PACKET_SIZE 90 //Must match ochBlockSize in ini file
22-#define SERIAL_PACKET_SIZE 112 //[PJSC v1.10] Extend serial packet block size for Test mode
22+#define SERIAL_PACKET_SIZE 112 //[PJSC v1.01] Extend serial packet block size for Test mode
2323
2424 byte currentPage = 1;//Not the same as the speeduino config page numbers
2525 bool isMap = true;
@@ -48,7 +48,7 @@
4848 "\nVVT Map\0"//102-No need to put a trailing null because it's the last string and the compliler does it for you.
4949 "\nPg 10 Config"
5050 "\nVE2 Map\0" //[PJSC]
51- "\nVE3 Map\0" //[PJSC v1.10]
51+ "\nVE3 Map\0" //[PJSC v1.01]
5252 };
5353
5454 void command();//This is the heart of the Command Line Interpeter. All that needed to be done was to make it human readable.
--- branches/Ver1.01/speeduino/globals.h (revision 81)
+++ branches/Ver1.01/speeduino/globals.h (revision 82)
@@ -137,12 +137,12 @@
137137 #define BIT_STATUS3_NSQUIRTS2 6
138138 #define BIT_STATUS3_NSQUIRTS3 7
139139
140-//[PJSC v1.10] Define masks for Test mode
140+//[PJSC v1.01] Define masks for Test mode
141141 #define BIT_TEST_ON 0 //ON/OFF
142142 #define BIT_TEST_PWM 1 //Outputs PWM signal
143143 #define BIT_TEST_PULSE 2 //Outputs Pulse
144144
145-//[PJSC v1.10] Define masks for Test mode active
145+//[PJSC v1.01] Define masks for Test mode active
146146 #define BIT_TEST_INJ1 0 //inj1
147147 #define BIT_TEST_INJ2 1 //inj2
148148 #define BIT_TEST_INJ3 2 //inj3
@@ -152,7 +152,7 @@
152152 #define BIT_TEST_IGN3 6 //coil3
153153 #define BIT_TEST_IGN4 7 //coil4
154154
155-//[PJSC v1.10] Define argument for Injector channel
155+//[PJSC v1.01] Define argument for Injector channel
156156 #define CH_INJ1 0 //inj1
157157 #define CH_INJ2 1 //inj2
158158 #define CH_INJ3 2 //inj3
@@ -251,7 +251,7 @@
251251 const byte data_structure_version = 2; //This identifies the data structure when reading / writing.
252252 //const byte page_size = 64;
253253 //[PJSC]const int16_t npage_size[11] PROGMEM = {0,288,128,288,128,288,128,240,192,192,192};
254-const int16_t npage_size[12] PROGMEM = {0,288,128,288,128,288,128,240,192,192,288,288}; //[PJSC v1.10]
254+const int16_t npage_size[12] PROGMEM = {0,288,128,288,128,288,128,240,192,192,288,288}; //[PJSC v1.01]
255255 //const byte page11_size = 128;
256256 #define MAP_PAGE_SIZE 288
257257
@@ -258,37 +258,37 @@
258258 #define NUM_SQUIRT_DEVICE 4 //[PJSC]
259259 #define SELECT_VE1 0 //[PJSC]
260260 #define SELECT_VE2 1 //[PJSC]
261-#define SELECT_VE3 2 //[PJSC v1.10]
262-#define SELECT_VE4 3 //[PJSC v1.10]
263-#define MULTI_VE_COUNT 4 //[PJSC v1.10]
264-#define SINGLE_VE_COUNT 1 //[PJSC v1.10]
261+#define SELECT_VE3 2 //[PJSC v1.01]
262+#define SELECT_VE4 3 //[PJSC v1.01]
263+#define MULTI_VE_COUNT 4 //[PJSC v1.01]
264+#define SINGLE_VE_COUNT 1 //[PJSC v1.01]
265265
266-#define EXTRIG_SPARK_DISABLE 0 //[PJSC v1.10] For MAP switching
266+#define EXTRIG_SPARK_DISABLE 0 //[PJSC v1.01] For MAP switching
267267 #define EXTRIG_SPARK_CAPTURE 1 // V
268-#define EXTRIG_MAP_SELECT 2 //[PJSC v1.10] For MAP switching
269-#define EXTRIG_SPARK_DISABLE 0 //[PJSC v1.10] For MAP switching
268+#define EXTRIG_MAP_SELECT 2 //[PJSC v1.01] For MAP switching
269+#define EXTRIG_SPARK_DISABLE 0 //[PJSC v1.01] For MAP switching
270270
271-#define MUXOUT_OFF 0 //[PJSC v1.10] MUX output selection
272-#define MUXOUT_IDLE 1 //[PJSC v1.10] MUX output selection
273-#define MUXOUT_FAN 2 //[PJSC v1.10] MUX output selection
274-#define MUXOUT_LAUNCH 3 //[PJSC v1.10] MUX output selection
275-#define MUXOUT_FUELPUMP 4 //[PJSC v1.10] MUX output selection
276-#define MUXOUT_BOOST 5 //[PJSC v1.10] MUX output selection
277-#define MUXOUT_VVT 6 //[PJSC v1.10] MUX output selection
278-#define MUXOUT_TACH 7 //[PJSC v1.10] MUX output selection
271+#define MUXOUT_OFF 0 //[PJSC v1.01] MUX output selection
272+#define MUXOUT_IDLE 1 //[PJSC v1.01] MUX output selection
273+#define MUXOUT_FAN 2 //[PJSC v1.01] MUX output selection
274+#define MUXOUT_LAUNCH 3 //[PJSC v1.01] MUX output selection
275+#define MUXOUT_FUELPUMP 4 //[PJSC v1.01] MUX output selection
276+#define MUXOUT_BOOST 5 //[PJSC v1.01] MUX output selection
277+#define MUXOUT_VVT 6 //[PJSC v1.01] MUX output selection
278+#define MUXOUT_TACH 7 //[PJSC v1.01] MUX output selection
279279
280280 struct table3D fuelTable; //16x16 fuel map
281281 struct table3D fuelTable2; //16x16 fuel map2 [PJSC]
282-struct table3D fuelTable3; //16x16 fuel map3 [PJSC v1.10]
282+struct table3D fuelTable3; //16x16 fuel map3 [PJSC v1.01]
283283 struct table3D ignitionTable; //16x16 ignition map
284284 struct table3D afrTable; //16x16 afr target map
285285 struct table3D stagingTable; //8x8 fuel staging table
286286 struct table3D boostTable; //8x8 boost map
287287 struct table3D vvtTable; //8x8 vvt map
288-//[PJSC v1.10]struct table3D trim1Table; //6x6 Fuel trim 1 map
289-//[PJSC v1.10]struct table3D trim2Table; //6x6 Fuel trim 2 map
290-//[PJSC v1.10]struct table3D trim3Table; //6x6 Fuel trim 3 map
291-//[PJSC v1.10]struct table3D trim4Table; //6x6 Fuel trim 4 map
288+//[PJSC v1.01]struct table3D trim1Table; //6x6 Fuel trim 1 map
289+//[PJSC v1.01]struct table3D trim2Table; //6x6 Fuel trim 2 map
290+//[PJSC v1.01]struct table3D trim3Table; //6x6 Fuel trim 3 map
291+//[PJSC v1.01]struct table3D trim4Table; //6x6 Fuel trim 4 map
292292 struct table2D taeTable; //4 bin TPS Acceleration Enrichment map (2D)
293293 struct table2D WUETable; //10 bin Warm Up Enrichment map (2D)
294294 struct table2D crankingEnrichTable; //4 bin cranking Enrichment map (2D)
@@ -350,8 +350,8 @@
350350
351351 volatile byte captureDutyPulseInterrupt; //[PJSC] For capture duty pulse
352352 volatile byte captureDutyPulseInterrupt2; //[PJSC] For capture duty pulse
353-volatile byte tempVEvalue[4]; //[PJSC v1.10] Multi VE Map support
354-volatile unsigned int dualFuelLoadVE; //[PJSC v1.10] Dual Fuel Load support
353+volatile byte tempVEvalue[4]; //[PJSC v1.01] Multi VE Map support
354+volatile unsigned int dualFuelLoadVE; //[PJSC v1.01] Dual Fuel Load support
355355
356356 //These need to be here as they are used in both speeduino.ino and scheduler.ino
357357 bool channel1InjEnabled = true;
@@ -407,8 +407,8 @@
407407 long MAP; //Has to be a long for PID calcs (Boost control)
408408 int16_t EMAP;
409409 int16_t EMAPADC;
410-//[PJSC v1.10] byte baro; //Barometric pressure is simply the inital MAP reading, taken before the engine is running. Alternatively, can be taken from an external sensor
411- int baro; //[PJSC v1.10] Barometric pressure is simply the inital MAP reading, taken before the engine is running. Alternatively, can be taken from an external sensor
410+//[PJSC v1.01] byte baro; //Barometric pressure is simply the inital MAP reading, taken before the engine is running. Alternatively, can be taken from an external sensor
411+ int baro; //[PJSC v1.01] Barometric pressure is simply the inital MAP reading, taken before the engine is running. Alternatively, can be taken from an external sensor
412412 byte TPS; //The current TPS reading (0% - 100%)
413413 byte TPSlast; //The previous TPS reading
414414 unsigned long TPS_time; //The time the TPS sample was taken
@@ -418,8 +418,8 @@
418418 volatile int rpmDOT;
419419 byte VE;
420420 byte VE2; //[PJSC]
421- byte VE3; //[PJSC v1.10]
422- byte VE4; //[PJSC v1.10]
421+ byte VE3; //[PJSC v1.01]
422+ byte VE4; //[PJSC v1.01]
423423 byte O2;
424424 byte O2_2;
425425 int coolant;
@@ -483,9 +483,9 @@
483483 byte nSquirts;
484484 byte nChannels; //Number of fuel and ignition channels
485485 int16_t fuelLoad;
486- int16_t fuelLoad2; //[PJSC v1.10] For Secondary Fuel Load
487- int16_t fuelLoad3; //[PJSC v1.10] For x4 VE table support
488- int16_t fuelLoad4; //[PJSC v1.10] For x4 VE table support
486+ int16_t fuelLoad2; //[PJSC v1.01] For Secondary Fuel Load
487+ int16_t fuelLoad3; //[PJSC v1.01] For x4 VE table support
488+ int16_t fuelLoad4; //[PJSC v1.01] For x4 VE table support
489489 int16_t ignLoad;
490490 bool fuelPumpOn; //The current status of the fuel pump
491491 byte syncLossCounter;
@@ -515,14 +515,14 @@
515515 unsigned long dutyOFFlast_time2; //[PJSC] For capturing duty pulse
516516 unsigned long cycle_t2; //[PJSC] For capturing duty pulse
517517 unsigned long on_t2; //[PJSC] For capturing duty pulse
518- byte testMode; //[PJSC v1.10] For test mode
519- byte testModeActive; //[PJSC v1.10] For test mode
520- int16_t testCnt; //[PJSC v1.10] For test mode
521- boolean mapSelectSw; //[PJSC v1.10] For MAP switching
522- byte veMapSelectionSw1Pri[4]; //[PJSC v1.10] For x4 Fuel table support
523- byte veMapSelectionSw1Sec[4]; //[PJSC v1.10] |
524- byte veMapSelectionSw2Pri[4]; //[PJSC v1.10] V
525- byte veMapSelectionSw2Sec[4]; //[PJSC v1.10] For x4 Fuel table support
518+ byte testMode; //[PJSC v1.01] For test mode
519+ byte testModeActive; //[PJSC v1.01] For test mode
520+ int16_t testCnt; //[PJSC v1.01] For test mode
521+ boolean mapSelectSw; //[PJSC v1.01] For MAP switching
522+ byte veMapSelectionSw1Pri[4]; //[PJSC v1.01] For x4 Fuel table support
523+ byte veMapSelectionSw1Sec[4]; //[PJSC v1.01] |
524+ byte veMapSelectionSw2Pri[4]; //[PJSC v1.01] V
525+ byte veMapSelectionSw2Sec[4]; //[PJSC v1.01] For x4 Fuel table support
526526
527527 //Helpful bitwise operations:
528528 //Useful reference: http://playground.arduino.cc/Code/BitMath
@@ -646,7 +646,7 @@
646646 byte mapSwitchingEnabled: 1; // |
647647 byte dualFuelEnabled: 1; // |
648648 byte secondaryFuelUsage: 1; // |
649- byte fuelCorrectionEnabled: 1; // |[PJSC v1.01c]
649+ byte fuelCorrectionEnabled: 1; // |[PJSC v1.01]
650650 byte unused2_75: 1; // |
651651 byte exTrigModeSelect : 2; // | For External Trigger
652652 byte externalTrigEdge: 1; // | 0: Rising, 1: Falling
@@ -674,9 +674,9 @@
674674 byte veMapSelectionInj3_2Sec: 4; //[PJSCv1.10] |
675675 byte veMapSelectionInj4_2Pri: 4; //[PJSCv1.10] V
676676 byte veMapSelectionInj4_2Sec: 4; //[PJSCv1.10] For x4 Fuel table support
677-//[PJSC v1.01c] byte dutyFreqTst[4]; //[PJSC v1.10] For test mode
678-//[PJSC v1.01c] byte dutyRatioTst[4]; // |
679- byte dutyFreqTst[12]; //[PJSC v1.10] For test mode
677+//[PJSC v1.01] byte dutyFreqTst[4]; //[PJSC v1.01] For test mode
678+//[PJSC v1.01] byte dutyRatioTst[4]; // |
679+ byte dutyFreqTst[12]; //[PJSC v1.01] For test mode
680680 byte dutyRatioTst[12]; // |
681681 byte testop_fp: 1; // |
682682 byte testop_inj: 2; // |
@@ -688,22 +688,22 @@
688688 uint16_t testinjcnt; // |
689689 byte muxout1Selection: 4; // | MUX output1 selection
690690 byte muxout2Selection: 4; // | MUX output2 selection
691- byte muxout3Selection: 4; // |[PJSC v1.01c] MUX output3 selection
692- byte muxout4Selection: 4; // |[PJSC v1.01c] MUX output4 selection
693-//[PJSC v1.01c] byte baroDenBins[9]; // | For Barometric extend correnction
694-//[PJSC v1.01c] byte baroDenRates[9]; // | For Barometric extend correnction
695- byte fuelAlgorithm2: 3; //[PJSC v1.10] For Secondary Fuel Algorithm
691+ byte muxout3Selection: 4; // |[PJSC v1.01] MUX output3 selection
692+ byte muxout4Selection: 4; // |[PJSC v1.01] MUX output4 selection
693+//[PJSC v1.01] byte baroDenBins[9]; // | For Barometric extend correnction
694+//[PJSC v1.01] byte baroDenRates[9]; // | For Barometric extend correnction
695+ byte fuelAlgorithm2: 3; //[PJSC v1.01] For Secondary Fuel Algorithm
696696 byte fuelAlgorithm3: 3; // |
697697 byte unused2_118: 2; // |
698698 byte table4Usage: 1; // | For switching usage of 3rd table Ignition/Fuel
699699 byte unused2_119: 7; // V
700-//[PJSC v1.01c] byte unused2_122[6]; //[PJSC v1.10] For test mode
701- byte inj1SquirtStartEnd: 1; //[PJSC v1.01c]
700+//[PJSC v1.01] byte unused2_122[6]; //[PJSC v1.01] For test mode
701+ byte inj1SquirtStartEnd: 1; //[PJSC v1.01]
702702 byte inj2SquirtStartEnd: 1; // |
703703 byte inj3SquirtStartEnd: 1; // |
704704 byte inj4SquirtStartEnd: 1; // |
705705 byte unused2_121: 4; // V
706- byte unused2_122[6]; //[PJSC v1.01c]
706+ byte unused2_122[6]; //[PJSC v1.01]
707707
708708 #if defined(CORE_AVR)
709709 };
@@ -777,9 +777,9 @@
777777 byte ADCFILTER_MAP; //This is only used on Instantaneous MAP readings and is intentionally very weak to allow for faster response
778778 byte ADCFILTER_BARO;
779779
780-//[PJSC v1.01c] byte unused2_64[57];
781- byte baroDenBins[9]; //[PJSC v1.01c] For Barometric extend correnction
782- byte baroDenRates[9]; //[PJSC v1.01c] For Barometric extend correnction
780+//[PJSC v1.01] byte unused2_64[57];
781+ byte baroDenBins[9]; //[PJSC v1.01] For Barometric extend correnction
782+ byte baroDenRates[9]; //[PJSC v1.01] For Barometric extend correnction
783783 byte unused2_82[39];
784784
785785 #if defined(CORE_AVR)
@@ -1112,16 +1112,16 @@
11121112 byte pinExValve; //[PJSC] Exhaust valve position input pin
11131113 byte pinCaptureDuty1; //[PJSC] For capturing duty pulse
11141114 byte pinCaptureDuty2; //[PJSC] For capturing duty pulse
1115-byte pinMuxout1; //[PJSC v1.10] For MUX output setting
1116-byte pinMuxout2; //[PJSC v1.10] For MUX output setting
1117-byte pinMuxout3; //[PJSC v1.01c] For MUX output setting
1118-byte pinMuxout4; //[PJSC v1.01c] For MUX output setting
1115+byte pinMuxout1; //[PJSC v1.01] For MUX output setting
1116+byte pinMuxout2; //[PJSC v1.01] For MUX output setting
1117+byte pinMuxout3; //[PJSC v1.01] For MUX output setting
1118+byte pinMuxout4; //[PJSC v1.01] For MUX output setting
11191119
11201120 // global variables // from speeduino.ino
11211121 extern struct statuses currentStatus; // from speeduino.ino
11221122 extern struct table3D fuelTable; //16x16 fuel map
11231123 extern struct table3D fuelTable2; //16x16 fuel map2 [PJSC]
1124-extern struct table3D fuelTable3; //16x16 fuel map2 [PJSC v1.10]
1124+extern struct table3D fuelTable3; //16x16 fuel map2 [PJSC v1.01]
11251125 extern struct table3D ignitionTable; //16x16 ignition map
11261126 extern struct table3D afrTable; //16x16 afr target map
11271127 extern struct table3D stagingTable; //8x8 afr target map
--- branches/Ver1.01/speeduino/init.h (revision 81)
+++ branches/Ver1.01/speeduino/init.h (revision 82)
@@ -5,7 +5,7 @@
55 void initialiseTriggers();
66 void setPinMapping(byte);
77 void initialiseExternalTrigger(); //[PJSC] For External Trigger Interruot
8-void changeMapSelectSw(); //[PJSC v1.10] For MAP switch
8+void changeMapSelectSw(); //[PJSC v1.01] For MAP switch
99 void initialiseCaptureDutyPulse(); //[PJSC] For capturing duty pulse
1010 void initialiseCaptureDutyPulse2(); //[PJSC] For capturing duty pulse
1111
--- branches/Ver1.01/speeduino/scheduler.h (revision 81)
+++ branches/Ver1.01/speeduino/scheduler.h (revision 82)
@@ -214,28 +214,28 @@
214214
215215 //[PJSC] For PJSC
216216 void pjscControl();
217-//[PJSC v1.01c]byte pjscDuty[4];
218-//[PJSC v1.01c]unsigned int pjsc_pwm_max_count[4];
219-byte pjscDuty[12]; //[PJSC v1.01c]
220-unsigned int pjsc_pwm_max_count[12]; //[PJSC v1.01c]
221-volatile unsigned int pjsc_pwm_cur_value[12]; //[PJSC v1.01c]
222-long pjsc_pwm_target_value[12]; //[PJSC v1.01c]
223-volatile bool pjsc_pwm_state[12]; //[PJSC v1.01c]
224-//[PJSC v1.01c]volatile bool pjsc1_pwm_state;
225-//[PJSC v1.01c]volatile bool pjsc2_pwm_state;
226-//[PJSC v1.01c]volatile bool pjsc3_pwm_state;
227-//[PJSC v1.01c]volatile bool pjsc4_pwm_state;
228-//[PJSC v1.01c]volatile unsigned int pjsc1_pwm_cur_value;
229-//[PJSC v1.01c]volatile unsigned int pjsc2_pwm_cur_value;
230-//[PJSC v1.01c]volatile unsigned int pjsc3_pwm_cur_value;
231-//[PJSC v1.01c]volatile unsigned int pjsc4_pwm_cur_value;
232-//[PJSC v1.01c]long pjsc1_pwm_target_value;
233-//[PJSC v1.01c]long pjsc2_pwm_target_value;
234-//[PJSC v1.01c]long pjsc3_pwm_target_value;
235-//[PJSC v1.01c]long pjsc4_pwm_target_value;
217+//[PJSC v1.01]byte pjscDuty[4];
218+//[PJSC v1.01]unsigned int pjsc_pwm_max_count[4];
219+byte pjscDuty[12]; //[PJSC v1.01]
220+unsigned int pjsc_pwm_max_count[12]; //[PJSC v1.01]
221+volatile unsigned int pjsc_pwm_cur_value[12]; //[PJSC v1.01]
222+long pjsc_pwm_target_value[12]; //[PJSC v1.01]
223+volatile bool pjsc_pwm_state[12]; //[PJSC v1.01]
224+//[PJSC v1.01]volatile bool pjsc1_pwm_state;
225+//[PJSC v1.01]volatile bool pjsc2_pwm_state;
226+//[PJSC v1.01]volatile bool pjsc3_pwm_state;
227+//[PJSC v1.01]volatile bool pjsc4_pwm_state;
228+//[PJSC v1.01]volatile unsigned int pjsc1_pwm_cur_value;
229+//[PJSC v1.01]volatile unsigned int pjsc2_pwm_cur_value;
230+//[PJSC v1.01]volatile unsigned int pjsc3_pwm_cur_value;
231+//[PJSC v1.01]volatile unsigned int pjsc4_pwm_cur_value;
232+//[PJSC v1.01]long pjsc1_pwm_target_value;
233+//[PJSC v1.01]long pjsc2_pwm_target_value;
234+//[PJSC v1.01]long pjsc3_pwm_target_value;
235+//[PJSC v1.01]long pjsc4_pwm_target_value;
236236 //[PJSC] For PJSC
237237
238-//[PJSC v1.10]
238+//[PJSC v1.01]
239239 void pjsc1Toggle();
240240 void pjsc2Toggle();
241241 void pjsc3Toggle();
@@ -244,7 +244,7 @@
244244 void setPjsc2Duty();
245245 void setPjsc3Duty();
246246 void setPjsc4Duty();
247-void setCoil1Duty(); //[PJSC v1.01c]
247+void setCoil1Duty(); //[PJSC v1.01]
248248 void setCoil2Duty(); // |
249249 void setCoil3Duty(); // |
250250 void setCoil4Duty(); // |
@@ -255,7 +255,7 @@
255255 void setMux1Duty(); // |
256256 void setMux2Duty(); // |
257257 void setMux3Duty(); // V
258-void setMux4Duty(); //[PJSC v1.01c]
258+void setMux4Duty(); //[PJSC v1.01]
259259 void injTstPulseToggle1();
260260 void injTstPulseToggle2();
261261 void injTstPulseToggle3();
@@ -264,6 +264,6 @@
264264 void injTstControlPulse(byte injCh);
265265
266266 #define DISABLE_TIMER_FUEL1TO4() FUEL1_TIMER_DISABLE(); FUEL2_TIMER_DISABLE(); FUEL3_TIMER_DISABLE(); FUEL4_TIMER_DISABLE()
267-//[PJSC v1.10]
267+//[PJSC v1.01]
268268
269269 #endif // SCHEDULER_H
--- branches/Ver1.01/speeduino/speeduino.h (revision 81)
+++ branches/Ver1.01/speeduino/speeduino.h (revision 82)
@@ -3,18 +3,18 @@
33
44 uint16_t PW(int REQ_FUEL, byte VE, long MAP, int corrections, int injOpen);
55 byte getVE();
6-byte getVE2(); //[PJSC v1.10]Multi VE Map support
7-byte getVE3(); //[PJSC v1.10]Multi VE Map support
8-byte getVE4(); //[PJSC v1.10]Multi VE Map support
6+byte getVE2(); //[PJSC v1.01]Multi VE Map support
7+byte getVE3(); //[PJSC v1.01]Multi VE Map support
8+byte getVE4(); //[PJSC v1.01]Multi VE Map support
99 byte getAdvance();
1010
11-byte selectVE(byte); //[PJSC v1.10]Multi VE Map support
11+byte selectVE(byte); //[PJSC v1.01]Multi VE Map support
1212
1313 uint16_t calculateInjector2StartAngle(unsigned int);
1414 uint16_t calculateInjector3StartAngle(unsigned int);
1515 uint16_t calculateInjector4StartAngle(unsigned int);
16-//[PJSC v1.01c]uint16_t calculateInjector4StartAngle(unsigned int);
17-uint16_t calculateInjector5StartAngle(unsigned int); //[PJSC v1.01c]
16+//[PJSC v1.01]uint16_t calculateInjector4StartAngle(unsigned int);
17+uint16_t calculateInjector5StartAngle(unsigned int); //[PJSC v1.01]
1818
1919 struct config2 configPage2;
2020 struct config4 configPage4; //Done
--- branches/Ver1.01/speeduino/storage.h (revision 81)
+++ branches/Ver1.01/speeduino/storage.h (revision 82)
@@ -119,7 +119,7 @@
119119 #define EEPROM_CONFIG7_XBINS3 1485
120120 #define EEPROM_CONFIG7_YBINS3 1493
121121 #define EEPROM_CONFIG7_END 1501
122-/* [PJSC v1.10] Change EEPROM layout for preparing VE table 4 support
122+/* [PJSC v1.01] Change EEPROM layout for preparing VE table 4 support
123123 #define EEPROM_CONFIG8_XSIZE1 1501
124124 #define EEPROM_CONFIG8_YSIZE1 1502
125125 #define EEPROM_CONFIG8_MAP1 1503
@@ -153,7 +153,7 @@
153153 */
154154
155155 //=============================================
156-//[PJSC v1.10] New EEPROM layout for preparing VE table 4 support
156+//[PJSC v1.01] New EEPROM layout for preparing VE table 4 support
157157 #define EEPROM_CONFIG9_START 1501
158158 #define EEPROM_CONFIG9_END 1693
159159 #define EEPROM_CONFIG10_START 1693
--- branches/Ver1.01/speeduino/table.h (revision 81)
+++ branches/Ver1.01/speeduino/table.h (revision 82)
@@ -5,8 +5,8 @@
55 #define TABLE_H
66
77 #define TABLE_RPM_MULTIPLIER 100
8-//[PJSC v1.10]#define TABLE_LOAD_MULTIPLIER 2
9-#define TABLE_LOAD_MULTIPLIER 1 //[PJSC v1.10]
8+//[PJSC v1.01]#define TABLE_LOAD_MULTIPLIER 2
9+#define TABLE_LOAD_MULTIPLIER 1 //[PJSC v1.01]
1010
1111 /*
1212 The 2D table can contain either 8-bit (byte) or 16-bit (int) values