• R/O
  • SSH
  • HTTPS

Commit

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

Revision13 (tree)
Time2018-06-30 21:29:57
Authormaharu

Log Message

(empty log message)

Change Summary

Incremental Difference

--- branches/Ver1.00_base/LICENSE (nonexistent)
+++ branches/Ver1.00_base/LICENSE (revision 13)
@@ -0,0 +1,84 @@
1+GNU GENERAL PUBLIC LICENSE
2+
3+Version 2, June 1991
4+
5+Copyright (C) 1989, 1991 Free Software Foundation, Inc.
6+51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
7+
8+Everyone is permitted to copy and distribute verbatim copies
9+of this license document, but changing it is not allowed.
10+Preamble
11+
12+The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Lesser General Public License instead.) You can apply it to your programs, too.
13+
14+When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.
15+
16+To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.
17+
18+For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
19+
20+We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.
21+
22+Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.
23+
24+Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.
25+
26+The precise terms and conditions for copying, distribution and modification follow.
27+
28+TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
29+
30+0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you".
31+
32+Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.
33+
34+1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.
35+
36+You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
37+
38+2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:
39+
40+a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.
41+b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.
42+c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)
43+These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
44+
45+Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.
46+
47+In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
48+
49+3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:
50+
51+a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
52+b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
53+c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)
54+The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.
55+
56+If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.
57+
58+4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
59+
60+5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it.
61+
62+6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.
63+
64+7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.
65+
66+If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.
67+
68+It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.
69+
70+This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
71+
72+8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.
73+
74+9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
75+
76+Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.
77+
78+10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.
79+
80+NO WARRANTY
81+
82+11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
83+
84+12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
\ No newline at end of file
--- branches/Ver1.00_base/reference/PJSC.ini (nonexistent)
+++ branches/Ver1.00_base/reference/PJSC.ini (revision 13)
@@ -0,0 +1,2766 @@
1+;-------------------------------------------------------------------------------
2+#unset CAN_COMMANDS
3+#unset enablehardware_test
4+
5+[MegaTune]
6+ MTversion = 2.25
7+
8+ queryCommand = "Q"
9+ signature = "speeduino - PJSC v1.0"
10+ versionInfo = "S" ;This info is what is displayed to user
11+
12+[TunerStudio]
13+ iniSpecVersion = 3.51
14+
15+;-------------------------------------------------------------------------------
16+
17+[SettingGroups]
18+ ; the referenceName will over-ride previous, so if you are creating a
19+ ; settingGroup with a reference name of lambdaSensor, it will replace the
20+ ; setting group defined in the settingGroups.xml of the TunerStudio config
21+ ; folder. If is is an undefined referenceName, it will be added.
22+ ; keyword = referenceName, DisplayName
23+
24+ ;settingGroup = boostUnits, "Boost table units"
25+ ;settingOption = DEFAULT, "kPa"
26+ ;settingOption = BOOSTPSI, "PSI"
27+ settingGroup = enablehardware_test, "Enable Hardware Test Page"
28+
29+ settingGroup = resetcontrol_group, "Reset Control Features"
30+ settingOption = resetcontrol_standard, "Basic Options Only"
31+ settingOption = resetcontrol_adv, "Advanced Features (16u2 Firmware Update Required)"
32+
33+[PcVariables]
34+ ; valid types: boolean, double, int, list
35+ ;
36+ ; no offset as they are local variables.
37+ ; entry format the same as Constants, except there is no offset.
38+ ; arrays are not yet supported.
39+ ; name = class, type, shape, units, scale, translate, lo, hi, digits
40+ ; name = type, min, max;
41+ ;
42+ ; type List: value will be index.
43+ tsCanId = bits, U08, [0:3], "CAN ID 0", "CAN ID 1", "CAN ID 2", "CAN ID 3", "CAN ID 4", "CAN ID 5", "CAN ID 6", "CAN ID 7", "CAN ID 8", "CAN ID 9", "CAN ID 10","CAN ID 11","CAN ID 12","CAN ID 13","CAN ID 14","INVALID"
44+ rpmhigh = scalar, U16, "rpm", 1, 0, 0, 30000, 0
45+ rpmwarn = scalar, U16, "rpm", 1, 0, 0, 30000, 0
46+ rpmdang = scalar, U16, "rpm", 1, 0, 0, 30000, 0
47+
48+ idleUnits = bits, U08, [0:2], "None", "On/Off", "Duty Cycle", "Duty Cycle", "Steps", "Steps"
49+
50+ algorithmNames = bits, U08, [0:2], "Speed Density", "Alpha-N", "IMAP/EMAP", "ITB", "INVALID", "INVALID", "INVALID", "INVALID"
51+ algorithmUnits = bits, U08, [0:2], "kPa", "% TPS", "%", "% TPS", "INVALID", "INVALID", "INVALID", "INVALID"
52+
53+[Constants]
54+
55+ ;----------------------------------------------------------------------------
56+ ; Constants Definition
57+ ; --------------------
58+ ;
59+ ; Scalar Values
60+ ; -------------
61+ ; The scaling and translation values are used as follows:
62+ ; msValue = userValue / scale - translate
63+ ; userValue = (msValue + translate) * scale
64+ ;
65+ ;
66+ ; Temperatures are fine, check out the Fielding IAC example (fastIdleT).
67+ ;
68+ ; Array Values
69+ ; ------------
70+ ; Arrays are specified just like scalars, except that they have a "shape"
71+ ; entry in the fourth parameter. The shape allows you to define lists or
72+ ; tables, for example [8] defines a list with eight values and [2x4] defines
73+ ; a table with eight values (two rows and four columns). Tables may be
74+ ; stored in either "X-" or "Y-order." X-order means that memory is layed
75+ ; out like.
76+ ;
77+ ; [x1,y1] [x2,y1]...[xn,y1] [x1,y2]...
78+ ;
79+ ; Y-order would be
80+ ;
81+ ; [x1,y1] [x1,y2]...[x1,yn] [x2,y1]...
82+ ;
83+ ; To use the TableEditor, you must define two lists and a table, and
84+ ; the lengths of the lists must correspond to the shape of the table.
85+ ;
86+ ; Bit Fields
87+ ; ----------
88+ ; Bits are numbered 0-7, the rightmost being bit zero. The basic
89+ ; data word that stores bit fields must be unsigned.
90+ ;
91+ ; You need NOT supply the correct number of labels matching the
92+ ; number of bits you've specified (one bit requires 2 values, two
93+ ; bits requires 4 values and so on). If you neglect to supply enough
94+ ; labels, they will be synthesized using the sequence "1", "2" and so
95+ ; on based upon their position in the sequence (the cltType and matType
96+ ; will end up with identical lists).
97+ ;
98+ ; If you specify a label as "INVALID" (all upper case), then it will
99+ ; not be displayed in the combo box, so you can leave out values that
100+ ; make no sense.
101+ ;
102+ ;----------------------------------------------------------------------------
103+
104+ endianness = little
105+;[PJSC] nPages = 10
106+;[PJSC] pageSize = 288, 128, 288, 128, 288, 128, 240, 192, 128, 192
107+ nPages = 11 ;[PJSC]
108+ pageSize = 288, 128, 288, 128, 288, 128, 240, 192, 128, 192, 288 ;[PJSC]
109+
110+ ;burnCommand = "B"
111+ ;pageActivate = "P\001", "P\002", "P\003", "P\004", "P\005", "P\006", "P\007", "P\010", "P\011", "P\012", "P\013"
112+ ;pageReadCommand = "V", "V", "V", "V", "V", "V", "V", "V", "V", "V", "V"
113+ ;pageValueWrite = "W%2o%v", "W%o%v", "W%2o%v", "W%o%v", "W%2o%v", "W%o%v", "W%o%v", "W%o%v", "W%o%v", "W%o%v", "W%o%v"
114+
115+ ; New commands
116+ ;pageSize = 288, 128, 288, 128, 288, 128, 128, 160, 192, 128, 192
117+;[PJSC] pageIdentifier = "\$tsCanId\x01", "\$tsCanId\x02", "\$tsCanId\x03", "\$tsCanId\x04", "\$tsCanId\x05", "\$tsCanId\x06", "\$tsCanId\x07", "\$tsCanId\x08", "\$tsCanId\x09", "\$tsCanId\x0A"
118+;[PJSC] burnCommand = "b%2i", "b%2i", "b%2i", "b%2i", "b%2i", "b%2i", "b%2i", "b%2i", "b%2i", "b%2i"
119+;[PJSC] pageReadCommand = "p%2i%2o%2c%v", "p%2i%2o%2c%v", "p%2i%2o%2c%v", "p%2i%2o%2c%v", "p%2i%2o%2c%v", "p%2i%2o%2c%v", "p%2i%2o%2c%v", "p%2i%2o%2c%v", "p%2i%2o%2c%v", "p%2i%2o%2c%v"
120+;[PJSC] 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"
121+;[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"
122+
123+ ;[PJSC] New commands for PJSC
124+ pageIdentifier = "\$tsCanId\x01", "\$tsCanId\x02", "\$tsCanId\x03", "\$tsCanId\x04", "\$tsCanId\x05", "\$tsCanId\x06", "\$tsCanId\x07", "\$tsCanId\x08", "\$tsCanId\x09", "\$tsCanId\x0A", "\$tsCanId\x0B"
125+ burnCommand = "b%2i", "b%2i", "b%2i", "b%2i", "b%2i", "b%2i", "b%2i", "b%2i", "b%2i", "b%2i", "b%2i"
126+ pageReadCommand = "p%2i%2o%2c%v", "p%2i%2o%2c%v", "p%2i%2o%2c%v", "p%2i%2o%2c%v", "p%2i%2o%2c%v", "p%2i%2o%2c%v", "p%2i%2o%2c%v", "p%2i%2o%2c%v", "p%2i%2o%2c%v", "p%2i%2o%2c%v", "p%2i%2o%2c%v" ;[PJSC]
127+ 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]
128+ 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]
129+
130+;[PJSC] blockingFactor = 2048
131+;[PJSC] tableBlockingFactor = 2048
132+ blockingFactor = 2238 ;[PJSC]
133+ tableBlockingFactor = 2238 ;[PJSC]
134+ delayAfterPortOpen=1000
135+ ;validateArrayBounds = true
136+;[PJSC] blockReadTimeout = 2000
137+ blockReadTimeout = 3000 ;[PJSC]
138+ ;tsWriteBlocks = on
139+ interWriteDelay = 5 ;Ignored when tsWriteBlocks is on
140+ pageActivationDelay = 10
141+
142+;New for TS 3.0.08ish upwards, define lists of standard I/O options
143+
144+ #define PIN_OUT10inv = "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID"
145+ #define PIN_OUT16inv = "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID"
146+
147+ #define tsCanId_list = "CAN ID 0", "CAN ID 1", "CAN ID 2", "CAN ID 3", "CAN ID 4", "CAN ID 5", "CAN ID 6", "CAN ID 7", "CAN ID 8", "CAN ID 9", "CAN ID 10","CAN ID 11","CAN ID 12","CAN ID 13","CAN ID 14","INVALID"
148+ #define CAN_ADDRESS_HEX_inv255 = $PIN_OUT16inv, $PIN_OUT16inv, $PIN_OUT16inv, $PIN_OUT16inv, $PIN_OUT16inv, $PIN_OUT16inv, $PIN_OUT16inv, $PIN_OUT16inv, $PIN_OUT16inv, $PIN_OUT16inv, $PIN_OUT16inv, $PIN_OUT16inv, $PIN_OUT16inv, $PIN_OUT16inv, $PIN_OUT16inv, $PIN_OUT10inv, "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID"
149+ #define CAN_ADDRESS_HEX_00XX = "INVALID", "0x001", "0x002", "0x003", "0x004", "0x005", "0x006", "0x007", "0x008", "0x009", "0x00A", "0x00B", "0x00C", "0x00D", "0x00E", "0x00F", "0x010", "0x011", "0x012", "0x013", "0x014", "0x015", "0x016", "0x017", "0x018", "0x019", "0x01A", "0x01B", "0x01C", "0x01D", "0x01E", "0x01F", "0x020", "0x021", "0x022", "0x023", "0x024", "0x025", "0x026", "0x027", "0x028", "0x029", "0x02A", "0x02B", "0x02C", "0x02D", "0x02E", "0x02F", "0x030", "0x031", "0x032", "0x033", "0x034", "0x035", "0x036", "0x037", "0x038", "0x039", "0x03A", "0x03B", "0x03C", "0x03D", "0x03E", "0x03F", "0x040", "0x041", "0x042", "0x043", "0x044", "0x045", "0x046", "0x047", "0x048", "0x049", "0x04A", "0x04B", "0x04C", "0x04D", "0x04E", "0x04F", "0x050", "0x051", "0x052", "0x053", "0x054", "0x055", "0x056", "0x057", "0x058", "0x059", "0x05A", "0x05B", "0x05C", "0x05D", "0x05E", "0x05F" ,"0x060", "0x061", "0x062", "0x063", "0x064", "0x065", "0x066", "0x067", "0x068", "0x069", "0x06A", "0x06B", "0x06C", "0x06D", "0x06E", "0x06F", "0x070", "0x071", "0x072", "0x073", "0x074", "0x075", "0x076", "0x077", "0x078", "0x079", "0x07A", "0x07B", "0x07C", "0x07D", "0x07E", "0x07F", "0x080", "0x081", "0x082", "0x083", "0x084", "0x085", "0x086", "0x087", "0x088", "0x089", "0x08A", "0x08B", "0x08C", "0x08D", "0x08E", "0x08F" ,"0x090", "0x091", "0x092", "0x093", "0x094", "0x095", "0x096", "0x097", "0x098", "0x099", "0x09A", "0x09B", "0x09C", "0x09D", "0x09E", "0x09F", "0x0A0", "0x0A1", "0x0A2", "0x0A3", "0x0A4", "0x0A5", "0x0A6", "0x0A7", "0x0A8", "0x0A9", "0x0AA", "0x0AB", "0x0AC", "0x0AD", "0x0AE", "0x0AF", "0x0B0", "0x0B1", "0x0B2", "0x0B3", "0x0B4", "0x0B5", "0x0B6", "0x0B7", "0x0B8", "0x0B9", "0x0BA", "0x0BB", "0x0BC", "0x0BD", "0x0BE", "0x0BF" ,"0x0C0", "0x0C1", "0x0C2", "0x0C3", "0x0C4", "0x0C5", "0x0C6", "0x0C7", "0x0C8", "0x0C9", "0x0CA", "0x0CB", "0x0CC", "0x0CD", "0x0CE", "0x0CF", "0x0D0", "0x0D1", "0x0D2", "0x0D3", "0x0D4", "0x0D5", "0x0D6", "0x0D7", "0x0D8", "0x0D9", "0x0DA", "0x0DB", "0x0DC", "0x0DD", "0x0DE", "0x0DF", "0x0E0", "0x0E1", "0x0E2", "0x0E3", "0x0E4", "0x0E5", "0x0E6", "0x0E7", "0x0E8", "0x0E9", "0x0EA", "0x0EB", "0x0EC", "0x0ED", "0x0EE", "0x0EF" ,"0x0F0", "0x0F1", "0x0F2", "0x0F3", "0x0F4", "0x0F5", "0x0F6", "0x0F7", "0x0F8", "0x0F9", "0x0FA", "0x0FB", "0x0FC", "0x0FD", "0x0FE", "0x0FF"
150+ #define CAN_ADDRESS_HEX_01XX = "0x100", "0x101", "0x102", "0x103", "0x104", "0x105", "0x106", "0x107", "0x108", "0x109", "0x10A", "0x10B", "0x10C", "0x10D", "0x10E", "0x10F", "0x110", "0x111", "0x112", "0x113", "0x114", "0x115", "0x116", "0x117", "0x118", "0x119", "0x11A", "0x11B", "0x11C", "0x11D", "0x11E", "0x11F", "0x120", "0x121", "0x122", "0x123", "0x124", "0x125", "0x126", "0x127", "0x128", "0x129", "0x12A", "0x12B", "0x12C", "0x12D", "0x12E", "0x12F", "0x130", "0x131", "0x132", "0x133", "0x134", "0x135", "0x136", "0x137", "0x138", "0x139", "0x13A", "0x13B", "0x13C", "0x13D", "0x13E", "0x13F", "0x140", "0x141", "0x142", "0x143", "0x144", "0x145", "0x146", "0x147", "0x148", "0x149", "0x14A", "0x14B", "0x14C", "0x14D", "0x14E", "0x14F", "0x150", "0x151", "0x152", "0x153", "0x154", "0x155", "0x156", "0x157", "0x158", "0x159", "0x15A", "0x15B", "0x15C", "0x15D", "0x15E", "0x15F" ,"0x160", "0x161", "0x162", "0x163", "0x164", "0x165", "0x166", "0x167", "0x168", "0x169", "0x16A", "0x16B", "0x16C", "0x16D", "0x16E", "0x16F", "0x170", "0x171", "0x172", "0x173", "0x174", "0x175", "0x176", "0x177", "0x178", "0x179", "0x17A", "0x17B", "0x17C", "0x17D", "0x17E", "0x17F", "0x180", "0x181", "0x182", "0x183", "0x184", "0x185", "0x186", "0x187", "0x188", "0x189", "0x18A", "0x18B", "0x18C", "0x18D", "0x18E", "0x18F" ,"0x190", "0x191", "0x192", "0x193", "0x194", "0x195", "0x196", "0x197", "0x198", "0x199", "0x19A", "0x19B", "0x19C", "0x19D", "0x19E", "0x19F", "0x1A0", "0x1A1", "0x1A2", "0x1A3", "0x1A4", "0x1A5", "0x1A6", "0x1A7", "0x1A8", "0x1A9", "0x1AA", "0x1AB", "0x1AC", "0x1AD", "0x1AE", "0x1AF", "0x1B0", "0x1B1", "0x1B2", "0x1B3", "0x1B4", "0x1B5", "0x1B6", "0x1B7", "0x1B8", "0x1B9", "0x1BA", "0x1BB", "0x1BC", "0x1BD", "0x1BE", "0x1BF" ,"0x1C0", "0x1C1", "0x1C2", "0x1C3", "0x1C4", "0x1C5", "0x1C6", "0x1C7", "0x1C8", "0x1C9", "0x1CA", "0x1CB", "0x1CC", "0x1CD", "0x1CE", "0x1CF", "0x1D0", "0x1D1", "0x1D2", "0x1D3", "0x1D4", "0x1D5", "0x1D6", "0x1D7", "0x1D8", "0x1D9", "0x1DA", "0x1DB", "0x1DC", "0x1DD", "0x1DE", "0x1DF", "0x1E0", "0x1E1", "0x1E2", "0x1E3", "0x1E4", "0x1E5", "0x1E6", "0x1E7", "0x1E8", "0x1E9", "0x1EA", "0x1EB", "0x1EC", "0x1ED", "0x1EE", "0x1EF" ,"0x1F0", "0x1F1", "0x1F2", "0x1F3", "0x1F4", "0x1F5", "0x1F6", "0x1F7", "0x1F8", "0x1F9", "0x1FA", "0x1FB", "0x1FC", "0x1FD", "0x1FE", "0x1FF"
151+ #define CAN_ADDRESS_HEX_02XX = "0x200", "0x201", "0x202", "0x203", "0x204", "0x205", "0x206", "0x207", "0x208", "0x209", "0x20A", "0x20B", "0x20C", "0x20D", "0x20E", "0x20F", "0x210", "0x211", "0x212", "0x213", "0x214", "0x215", "0x216", "0x217", "0x218", "0x219", "0x21A", "0x21B", "0x21C", "0x21D", "0x21E", "0x21F", "0x220", "0x221", "0x222", "0x223", "0x224", "0x225", "0x226", "0x227", "0x228", "0x229", "0x22A", "0x22B", "0x22C", "0x22D", "0x22E", "0x22F", "0x230", "0x231", "0x232", "0x233", "0x234", "0x235", "0x236", "0x237", "0x238", "0x239", "0x23A", "0x23B", "0x23C", "0x23D", "0x23E", "0x23F", "0x240", "0x241", "0x242", "0x243", "0x244", "0x245", "0x246", "0x247", "0x248", "0x249", "0x24A", "0x24B", "0x24C", "0x24D", "0x24E", "0x24F", "0x250", "0x251", "0x252", "0x253", "0x254", "0x255", "0x256", "0x257", "0x258", "0x259", "0x25A", "0x25B", "0x25C", "0x25D", "0x25E", "0x25F" ,"0x260", "0x261", "0x262", "0x263", "0x264", "0x265", "0x266", "0x267", "0x268", "0x269", "0x26A", "0x26B", "0x26C", "0x26D", "0x26E", "0x26F", "0x270", "0x271", "0x272", "0x273", "0x274", "0x275", "0x276", "0x277", "0x278", "0x279", "0x27A", "0x27B", "0x27C", "0x27D", "0x27E", "0x27F", "0x280", "0x281", "0x282", "0x283", "0x284", "0x285", "0x286", "0x287", "0x288", "0x289", "0x28A", "0x28B", "0x28C", "0x28D", "0x28E", "0x28F" ,"0x290", "0x291", "0x292", "0x293", "0x294", "0x295", "0x296", "0x297", "0x298", "0x299", "0x29A", "0x29B", "0x29C", "0x29D", "0x29E", "0x29F", "0x2A0", "0x2A1", "0x2A2", "0x2A3", "0x2A4", "0x2A5", "0x2A6", "0x2A7", "0x2A8", "0x2A9", "0x2AA", "0x2AB", "0x2AC", "0x2AD", "0x2AE", "0x2AF", "0x2B0", "0x2B1", "0x2B2", "0x2B3", "0x2B4", "0x2B5", "0x2B6", "0x2B7", "0x2B8", "0x2B9", "0x2BA", "0x2BB", "0x2BC", "0x2BD", "0x2BE", "0x2BF" ,"0x2C0", "0x2C1", "0x2C2", "0x2C3", "0x2C4", "0x2C5", "0x2C6", "0x2C7", "0x2C8", "0x2C9", "0x2CA", "0x2CB", "0x2CC", "0x2CD", "0x2CE", "0x2CF", "0x2D0", "0x2D1", "0x2D2", "0x2D3", "0x2D4", "0x2D5", "0x2D6", "0x2D7", "0x2D8", "0x2D9", "0x2DA", "0x2DB", "0x2DC", "0x2DD", "0x2DE", "0x2DF", "0x2E0", "0x2E1", "0x2E2", "0x2E3", "0x2E4", "0x2E5", "0x2E6", "0x2E7", "0x2E8", "0x2E9", "0x2EA", "0x2EB", "0x2EC", "0x2ED", "0x2EE", "0x2EF" ,"0x2F0", "0x2F1", "0x2F2", "0x2F3", "0x2F4", "0x2F5", "0x2F6", "0x2F7", "0x2F8", "0x2F9", "0x2FA", "0x2FB", "0x2FC", "0x2FD", "0x2FE", "0x2FF"
152+ #define CAN_ADDRESS_HEX_03XX = "0x300", "0x301", "0x302", "0x303", "0x304", "0x305", "0x306", "0x307", "0x308", "0x309", "0x30A", "0x30B", "0x30C", "0x30D", "0x30E", "0x30F", "0x310", "0x311", "0x312", "0x313", "0x314", "0x315", "0x316", "0x317", "0x318", "0x319", "0x31A", "0x31B", "0x31C", "0x31D", "0x31E", "0x31F", "0x320", "0x321", "0x322", "0x323", "0x324", "0x325", "0x326", "0x327", "0x328", "0x329", "0x32A", "0x32B", "0x32C", "0x32D", "0x32E", "0x32F", "0x330", "0x331", "0x332", "0x333", "0x334", "0x335", "0x336", "0x337", "0x338", "0x339", "0x33A", "0x33B", "0x33C", "0x33D", "0x33E", "0x33F", "0x340", "0x341", "0x342", "0x343", "0x344", "0x345", "0x346", "0x347", "0x348", "0x349", "0x34A", "0x34B", "0x34C", "0x34D", "0x34E", "0x34F", "0x350", "0x351", "0x352", "0x353", "0x354", "0x355", "0x356", "0x357", "0x358", "0x359", "0x35A", "0x35B", "0x35C", "0x35D", "0x35E", "0x35F" ,"0x360", "0x361", "0x362", "0x363", "0x364", "0x365", "0x366", "0x367", "0x368", "0x369", "0x36A", "0x36B", "0x36C", "0x36D", "0x36E", "0x36F", "0x370", "0x371", "0x372", "0x373", "0x374", "0x375", "0x376", "0x377", "0x378", "0x379", "0x37A", "0x37B", "0x37C", "0x37D", "0x37E", "0x37F", "0x380", "0x381", "0x382", "0x383", "0x384", "0x385", "0x386", "0x387", "0x388", "0x389", "0x38A", "0x38B", "0x38C", "0x38D", "0x38E", "0x38F" ,"0x390", "0x391", "0x392", "0x393", "0x394", "0x395", "0x396", "0x397", "0x398", "0x399", "0x39A", "0x39B", "0x39C", "0x39D", "0x39E", "0x39F", "0x3A0", "0x3A1", "0x3A2", "0x3A3", "0x3A4", "0x3A5", "0x3A6", "0x3A7", "0x3A8", "0x3A9", "0x3AA", "0x3AB", "0x3AC", "0x3AD", "0x3AE", "0x3AF", "0x3B0", "0x3B1", "0x3B2", "0x3B3", "0x3B4", "0x3B5", "0x3B6", "0x3B7", "0x3B8", "0x3B9", "0x3BA", "0x3BB", "0x3BC", "0x3BD", "0x3BE", "0x3BF" ,"0x3C0", "0x3C1", "0x3C2", "0x3C3", "0x3C4", "0x3C5", "0x3C6", "0x3C7", "0x3C8", "0x3C9", "0x3CA", "0x3CB", "0x3CC", "0x3CD", "0x3CE", "0x3CF", "0x3D0", "0x3D1", "0x3D2", "0x3D3", "0x3D4", "0x3D5", "0x3D6", "0x3D7", "0x3D8", "0x3D9", "0x3DA", "0x3DB", "0x3DC", "0x3DD", "0x3DE", "0x3DF", "0x3E0", "0x3E1", "0x3E2", "0x3E3", "0x3E4", "0x3E5", "0x3E6", "0x3E7", "0x3E8", "0x3E9", "0x3EA", "0x3EB", "0x3EC", "0x3ED", "0x3EE", "0x3EF" ,"0x3F0", "0x3F1", "0x3F2", "0x3F3", "0x3F4", "0x3F5", "0x3F6", "0x3F7", "0x3F8", "0x3F9", "0x3FA", "0x3FB", "0x3FC", "0x3FD", "0x3FE", "0x3FF"
153+ #define CAN_ADDRESS_HEX_04XX = "0x400", "0x401", "0x402", "0x403", "0x404", "0x405", "0x406", "0x407", "0x408", "0x409", "0x40A", "0x40B", "0x40C", "0x40D", "0x40E", "0x40F", "0x410", "0x411", "0x412", "0x413", "0x414", "0x415", "0x416", "0x417", "0x418", "0x419", "0x41A", "0x41B", "0x41C", "0x41D", "0x41E", "0x41F", "0x420", "0x421", "0x422", "0x423", "0x424", "0x425", "0x426", "0x427", "0x428", "0x429", "0x42A", "0x42B", "0x42C", "0x42D", "0x42E", "0x42F", "0x430", "0x431", "0x432", "0x433", "0x434", "0x435", "0x436", "0x437", "0x438", "0x439", "0x43A", "0x43B", "0x43C", "0x43D", "0x43E", "0x43F", "0x440", "0x441", "0x442", "0x443", "0x444", "0x445", "0x446", "0x447", "0x448", "0x449", "0x44A", "0x44B", "0x44C", "0x44D", "0x44E", "0x44F", "0x450", "0x451", "0x452", "0x453", "0x454", "0x455", "0x456", "0x457", "0x458", "0x459", "0x45A", "0x45B", "0x45C", "0x45D", "0x45E", "0x45F" ,"0x460", "0x461", "0x462", "0x463", "0x464", "0x465", "0x466", "0x467", "0x468", "0x469", "0x46A", "0x46B", "0x46C", "0x46D", "0x46E", "0x46F", "0x470", "0x471", "0x472", "0x473", "0x474", "0x475", "0x476", "0x477", "0x478", "0x479", "0x47A", "0x47B", "0x47C", "0x47D", "0x47E", "0x47F", "0x480", "0x481", "0x482", "0x483", "0x484", "0x485", "0x486", "0x487", "0x488", "0x489", "0x48A", "0x48B", "0x48C", "0x48D", "0x48E", "0x48F" ,"0x490", "0x491", "0x492", "0x493", "0x494", "0x495", "0x496", "0x497", "0x498", "0x499", "0x49A", "0x49B", "0x49C", "0x49D", "0x49E", "0x49F", "0x4A0", "0x4A1", "0x4A2", "0x4A3", "0x4A4", "0x4A5", "0x4A6", "0x4A7", "0x4A8", "0x4A9", "0x4AA", "0x4AB", "0x4AC", "0x4AD", "0x4AE", "0x4AF", "0x4B0", "0x4B1", "0x4B2", "0x4B3", "0x4B4", "0x4B5", "0x4B6", "0x4B7", "0x4B8", "0x4B9", "0x4BA", "0x4BB", "0x4BC", "0x4BD", "0x4BE", "0x4BF" ,"0x4C0", "0x4C1", "0x4C2", "0x4C3", "0x4C4", "0x4C5", "0x4C6", "0x4C7", "0x4C8", "0x4C9", "0x4CA", "0x4CB", "0x4CC", "0x4CD", "0x4CE", "0x4CF", "0x4D0", "0x4D1", "0x4D2", "0x4D3", "0x4D4", "0x4D5", "0x4D6", "0x4D7", "0x4D8", "0x4D9", "0x4DA", "0x4DB", "0x4DC", "0x4DD", "0x4DE", "0x4DF", "0x4E0", "0x4E1", "0x4E2", "0x4E3", "0x4E4", "0x4E5", "0x4E6", "0x4E7", "0x4E8", "0x4E9", "0x4EA", "0x4EB", "0x4EC", "0x4ED", "0x4EE", "0x4EF" ,"0x4F0", "0x4F1", "0x4F2", "0x4F3", "0x4F4", "0x4F5", "0x4F6", "0x4F7", "0x4F8", "0x4F9", "0x4FA", "0x4FB", "0x4FC", "0x4FD", "0x4FE", "0x4FF"
154+ #define CAN_ADDRESS_HEX_05XX = "0x500", "0x501", "0x502", "0x503", "0x504", "0x505", "0x506", "0x507", "0x508", "0x509", "0x50A", "0x50B", "0x50C", "0x50D", "0x50E", "0x50F", "0x510", "0x511", "0x512", "0x513", "0x514", "0x515", "0x516", "0x517", "0x518", "0x519", "0x51A", "0x51B", "0x51C", "0x51D", "0x51E", "0x51F", "0x520", "0x521", "0x522", "0x523", "0x524", "0x525", "0x526", "0x527", "0x528", "0x529", "0x52A", "0x52B", "0x52C", "0x52D", "0x52E", "0x52F", "0x530", "0x531", "0x532", "0x533", "0x534", "0x535", "0x536", "0x537", "0x538", "0x539", "0x53A", "0x53B", "0x53C", "0x53D", "0x53E", "0x53F", "0x540", "0x541", "0x542", "0x543", "0x544", "0x545", "0x546", "0x547", "0x548", "0x549", "0x54A", "0x54B", "0x54C", "0x54D", "0x54E", "0x54F", "0x550", "0x551", "0x552", "0x553", "0x554", "0x555", "0x556", "0x557", "0x558", "0x559", "0x55A", "0x55B", "0x55C", "0x55D", "0x55E", "0x55F" ,"0x560", "0x561", "0x562", "0x563", "0x564", "0x565", "0x566", "0x567", "0x568", "0x569", "0x56A", "0x56B", "0x56C", "0x56D", "0x56E", "0x56F", "0x570", "0x571", "0x572", "0x573", "0x574", "0x575", "0x576", "0x577", "0x578", "0x579", "0x57A", "0x57B", "0x57C", "0x57D", "0x57E", "0x57F", "0x580", "0x581", "0x582", "0x583", "0x584", "0x585", "0x586", "0x587", "0x588", "0x589", "0x58A", "0x58B", "0x58C", "0x58D", "0x58E", "0x58F" ,"0x590", "0x591", "0x592", "0x593", "0x594", "0x595", "0x596", "0x597", "0x598", "0x599", "0x59A", "0x59B", "0x59C", "0x59D", "0x59E", "0x59F", "0x5A0", "0x5A1", "0x5A2", "0x5A3", "0x5A4", "0x5A5", "0x5A6", "0x5A7", "0x5A8", "0x5A9", "0x5AA", "0x5AB", "0x5AC", "0x5AD", "0x5AE", "0x5AF", "0x5B0", "0x5B1", "0x5B2", "0x5B3", "0x5B4", "0x5B5", "0x5B6", "0x5B7", "0x5B8", "0x5B9", "0x5BA", "0x5BB", "0x5BC", "0x5BD", "0x5BE", "0x5BF" ,"0x5C0", "0x5C1", "0x5C2", "0x5C3", "0x5C4", "0x5C5", "0x5C6", "0x5C7", "0x5C8", "0x5C9", "0x5CA", "0x5CB", "0x5CC", "0x5CD", "0x5CE", "0x5CF", "0x5D0", "0x5D1", "0x5D2", "0x5D3", "0x5D4", "0x5D5", "0x5D6", "0x5D7", "0x5D8", "0x5D9", "0x5DA", "0x5DB", "0x5DC", "0x5DD", "0x5DE", "0x5DF", "0x5E0", "0x5E1", "0x5E2", "0x5E3", "0x5E4", "0x5E5", "0x5E6", "0x5E7", "0x5E8", "0x5E9", "0x5EA", "0x5EB", "0x5EC", "0x5ED", "0x5EE", "0x5EF" ,"0x5F0", "0x5F1", "0x5F2", "0x5F3", "0x5F4", "0x5F5", "0x5F6", "0x5F7", "0x5F8", "0x5F9", "0x5FA", "0x5FB", "0x5FC", "0x5FD", "0x5FE", "0x5FF"
155+ #define CAN_ADDRESS_HEX_06XX = "0x600", "0x601", "0x602", "0x603", "0x604", "0x605", "0x606", "0x607", "0x608", "0x609", "0x60A", "0x60B", "0x60C", "0x60D", "0x60E", "0x60F", "0x610", "0x611", "0x612", "0x613", "0x614", "0x615", "0x616", "0x617", "0x618", "0x619", "0x61A", "0x61B", "0x61C", "0x61D", "0x61E", "0x61F", "0x620", "0x621", "0x622", "0x623", "0x624", "0x625", "0x626", "0x627", "0x628", "0x629", "0x62A", "0x62B", "0x62C", "0x62D", "0x62E", "0x62F", "0x630", "0x631", "0x632", "0x633", "0x634", "0x635", "0x636", "0x637", "0x638", "0x639", "0x63A", "0x63B", "0x63C", "0x63D", "0x63E", "0x63F", "0x640", "0x641", "0x642", "0x643", "0x644", "0x645", "0x646", "0x647", "0x648", "0x649", "0x64A", "0x64B", "0x64C", "0x64D", "0x64E", "0x64F", "0x650", "0x651", "0x652", "0x653", "0x654", "0x655", "0x656", "0x657", "0x658", "0x659", "0x65A", "0x65B", "0x65C", "0x65D", "0x65E", "0x65F" ,"0x660", "0x661", "0x662", "0x663", "0x664", "0x665", "0x666", "0x667", "0x668", "0x669", "0x66A", "0x66B", "0x66C", "0x66D", "0x66E", "0x66F", "0x670", "0x671", "0x672", "0x673", "0x674", "0x675", "0x676", "0x677", "0x678", "0x679", "0x67A", "0x67B", "0x67C", "0x67D", "0x67E", "0x67F", "0x680", "0x681", "0x682", "0x683", "0x684", "0x685", "0x686", "0x687", "0x688", "0x689", "0x68A", "0x68B", "0x68C", "0x68D", "0x68E", "0x68F" ,"0x690", "0x691", "0x692", "0x693", "0x694", "0x695", "0x696", "0x697", "0x698", "0x699", "0x69A", "0x69B", "0x69C", "0x69D", "0x69E", "0x69F", "0x6A0", "0x6A1", "0x6A2", "0x6A3", "0x6A4", "0x6A5", "0x6A6", "0x6A7", "0x6A8", "0x6A9", "0x6AA", "0x6AB", "0x6AC", "0x6AD", "0x6AE", "0x6AF", "0x6B0", "0x6B1", "0x6B2", "0x6B3", "0x6B4", "0x6B5", "0x6B6", "0x6B7", "0x6B8", "0x6B9", "0x6BA", "0x6BB", "0x6BC", "0x6BD", "0x6BE", "0x6BF" ,"0x6C0", "0x6C1", "0x6C2", "0x6C3", "0x6C4", "0x6C5", "0x6C6", "0x6C7", "0x6C8", "0x6C9", "0x6CA", "0x6CB", "0x6CC", "0x6CD", "0x6CE", "0x6CF", "0x6D0", "0x6D1", "0x6D2", "0x6D3", "0x6D4", "0x6D5", "0x6D6", "0x6D7", "0x6D8", "0x6D9", "0x6DA", "0x6DB", "0x6DC", "0x6DD", "0x6DE", "0x6DF", "0x6E0", "0x6E1", "0x6E2", "0x6E3", "0x6E4", "0x6E5", "0x6E6", "0x6E7", "0x6E8", "0x6E9", "0x6EA", "0x6EB", "0x6EC", "0x6ED", "0x6EE", "0x6EF" ,"0x6F0", "0x6F1", "0x6F2", "0x6F3", "0x6F4", "0x6F5", "0x6F6", "0x6F7", "0x6F8", "0x6F9", "0x6FA", "0x6FB", "0x6FC", "0x6FD", "0x6FE", "0x6FF"
156+ #define CAN_ADDRESS_HEX_07XX = "0x700", "0x701", "0x702", "0x703", "0x704", "0x705", "0x706", "0x707", "0x708", "0x709", "0x70A", "0x70B", "0x70C", "0x70D", "0x70E", "0x70F", "0x710", "0x711", "0x712", "0x713", "0x714", "0x715", "0x716", "0x717", "0x718", "0x719", "0x71A", "0x71B", "0x71C", "0x71D", "0x71E", "0x71F", "0x720", "0x721", "0x722", "0x723", "0x724", "0x725", "0x726", "0x727", "0x728", "0x729", "0x72A", "0x72B", "0x72C", "0x72D", "0x72E", "0x72F", "0x730", "0x731", "0x732", "0x733", "0x734", "0x735", "0x736", "0x737", "0x738", "0x739", "0x73A", "0x73B", "0x73C", "0x73D", "0x73E", "0x73F", "0x740", "0x741", "0x742", "0x743", "0x744", "0x745", "0x746", "0x747", "0x748", "0x749", "0x74A", "0x74B", "0x74C", "0x74D", "0x74E", "0x74F", "0x750", "0x751", "0x752", "0x753", "0x754", "0x755", "0x756", "0x757", "0x758", "0x759", "0x75A", "0x75B", "0x75C", "0x75D", "0x75E", "0x75F" ,"0x760", "0x761", "0x762", "0x763", "0x764", "0x765", "0x766", "0x767", "0x768", "0x769", "0x76A", "0x76B", "0x76C", "0x76D", "0x76E", "0x76F", "0x770", "0x771", "0x772", "0x773", "0x774", "0x775", "0x776", "0x777", "0x778", "0x779", "0x77A", "0x77B", "0x77C", "0x77D", "0x77E", "0x77F", "0x780", "0x781", "0x782", "0x783", "0x784", "0x785", "0x786", "0x787", "0x788", "0x789", "0x78A", "0x78B", "0x78C", "0x78D", "0x78E", "0x78F" ,"0x790", "0x791", "0x792", "0x793", "0x794", "0x795", "0x796", "0x797", "0x798", "0x799", "0x79A", "0x79B", "0x79C", "0x79D", "0x79E", "0x79F", "0x7A0", "0x7A1", "0x7A2", "0x7A3", "0x7A4", "0x7A5", "0x7A6", "0x7A7", "0x7A8", "0x7A9", "0x7AA", "0x7AB", "0x7AC", "0x7AD", "0x7AE", "0x7AF", "0x7B0", "0x7B1", "0x7B2", "0x7B3", "0x7B4", "0x7B5", "0x7B6", "0x7B7", "0x7B8", "0x7B9", "0x7BA", "0x7BB", "0x7BC", "0x7BD", "0x7BE", "0x7BF" ,"0x7C0", "0x7C1", "0x7C2", "0x7C3", "0x7C4", "0x7C5", "0x7C6", "0x7C7", "0x7C8", "0x7C9", "0x7CA", "0x7CB", "0x7CC", "0x7CD", "0x7CE", "0x7CF", "0x7D0", "0x7D1", "0x7D2", "0x7D3", "0x7D4", "0x7D5", "0x7D6", "0x7D7", "0x7D8", "0x7D9", "0x7DA", "0x7DB", "0x7DC", "0x7DD", "0x7DE", "0x7DF", "0x7E0", "0x7E1", "0x7E2", "0x7E3", "0x7E4", "0x7E5", "0x7E6", "0x7E7", "0x7E8", "0x7E9", "0x7EA", "0x7EB", "0x7EC", "0x7ED", "0x7EE", "0x7EF" ,"0x7F0", "0x7F1", "0x7F2", "0x7F3", "0x7F4", "0x7F5", "0x7F6", "0x7F7", "0x7F8", "0x7F9", "0x7FA", "0x7FB", "0x7FC", "0x7FD", "0x7FE", "0x7FF"
157+ #define CAN_ADDRESS_HEX = $CAN_ADDRESS_HEX_01XX, $CAN_ADDRESS_HEX_02XX, $CAN_ADDRESS_HEX_03XX, $CAN_ADDRESS_HEX_04XX, $CAN_ADDRESS_HEX_05XX, $CAN_ADDRESS_HEX_06XX, $CAN_ADDRESS_HEX_07XX, $CAN_ADDRESS_HEX_inv255
158+
159+;Page 1 is the fuel map and axis bins only
160+page = 1
161+ ; name = bits, type, offset, bits
162+ ; name = array, type, offset, shape, units, scale, translate, lo, hi, digits
163+ ; name = scalar, type, offset, units, scale, translate, lo, hi, digits
164+ veTable = array, U08, 0, [16x16],"%", 1.0, 0.0, 0.0, 255.0, 0
165+ rpmBins = array, U08, 256, [ 16], "RPM", 100.0, 0.0, 100.0, 25500.0, 0
166+ #if SPEED_DENSITY
167+ ;mapBins = array, U08, 272, [ 16], "kPa", 1.0, 0.0, 0.0, 255.0, 0
168+ mapBins = array, U08, 272, [ 16], "kPa", 2.0, 0.0, 0.0, 511.0, 0
169+ #elif ALPHA_N
170+ tpsBins = array, U08, 272, [ 16], "TPS", 2.0, 0.0, 0.0, 100.0, 0
171+ #endif
172+
173+
174+;--------------------------------------------------
175+;Start Page 2
176+;Page 2 is all general settings (Previously part of page 1)
177+;--------------------------------------------------
178+page = 2
179+ unused2-1 = scalar, S08, 0, "kPa", 1.0, 0.0, -127, 127, 0
180+ unused2-2 = scalar, U08, 1, "kPa", 1.0, 0.0, 0.0, 255, 0
181+ asePct = scalar, U08, 2, "%", 1.0, 0.0, 0.0, 95.0, 0
182+ aseCount = scalar, U08, 3, "s", 1.0, 0.0, 0.0, 255, 0
183+ wueRates = array, U08, 4, [10], "%", 1.0, 0.0, 0.0, 255, 0
184+ crankingPct = scalar, U08, 14, "%", 1.0, 0.0, 0.0, 255, 0
185+;[PJSC] pinLayout = bits, U08, 15, [0:7], "Speeduino v0.1", "Speeduino v0.2", "Speeduino v0.3", "Speeduino v0.4", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "NA6 MX5 PNP", "Turtana PCB", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "Plazomat I/O 0.1", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "Daz V6 Shield 0.1", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "NO2C", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "dvjcodec Teensy RevA", "dvjcodec Teensy RevB", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID"
186+ pinLayout = bits, U08, 15, [0:7], "Speeduino v0.1", "Speeduino v0.2", "Speeduino v0.3", "Speeduino v0.4", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "NA6 MX5 PNP", "Turtana PCB", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "Plazomat I/O 0.1", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "Daz V6 Shield 0.1", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "NO2C", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "dvjcodec Teensy RevA", "dvjcodec Teensy RevB", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "PJSC v1.0", "PJSC v0.2", "PJSC v0.3", "PJSC v0.4", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID" ;[PJSC] Boad ID: PJSC boad ver1.0/0.2/0.3 (2018/20/19)
187+ tachoPin = bits, U08, 16, [0:5], "Board Default", "1", "2", "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", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID"
188+ tachoDiv = bits, U08, 16, [6:7], "Normal", "Half", "INVALID", "INVALID"
189+ unused2-17 = scalar, U08, 17, "ms", 0.1, 0.0, 0.0, 25.5, 1
190+ unused2-18 = scalar, U08, 18, "ms", 0.1, 0.0, 0.0, 25.5, 1
191+ tpsThresh = scalar, U08, 19, "%/s", 1.0, 0.0, 0.0, 255, 0
192+ taeTime = scalar, U08, 20, "ms", 10, 0.0, 0.0, 2550, 0
193+
194+ ; Display (Options for what the display is showing)
195+ display = bits, U08, 21, [0:2], "Unused", "Adafruit 128x32", "Generic 128x32", "Adafruit 128x64", "Generic 128x64", "INVALID", "INVALID", "INVALID"
196+ display1 = bits U08, 21, [3:5], "RPM", "PW", "Advance", "VE", "GammaE", "TPS", "IAT", "CLT"
197+ display2 = bits U08, 21, [6:7], "O2", "Voltage", "CPU", "Mem"
198+
199+ display3 = bits U08, 22, [0:2], "RPM", "PW", "Advance", "VE", "GammaE", "TPS", "IAT", "CLT"
200+ display4 = bits U08, 22, [3:4], "O2", "Voltage", "CPU", "Mem"
201+ display5 = bits U08, 22, [5:7], "RPM", "PW", "Advance", "VE", "GammaE", "TPS", "IAT", "CLT"
202+
203+ displayB1 = bits U08, 23, [0:3], "RPM", "PW", "Advance", "VE", "GammaE", "TPS", "IAT", "CLT"
204+ displayB2 = bits U08, 23, [4:7], "RPM", "PW", "Advance", "VE", "GammaE", "TPS", "IAT", "CLT"
205+
206+ reqFuel = scalar, U08, 24, "ms", 0.1, 0.0, 0.0, 25.5, 1
207+ divider = scalar, U08, 25, "", 1.0, 0.0
208+ alternate = bits, U08, 26, [0:0], "Simultaneous", "Alternating"
209+ multiplyMAP = bits, U08, 26, [1:1], "No", "Yes"
210+ includeAFR = bits, U08, 26, [2:2], "No", "Yes"
211+ hardCutType = bits, U08, 26, [3:3], "Full", "Rolling"
212+ ignAlgorithm = bits, U08, 26, [4:6], "Speed Density", "Alpha-N", "IMAP/EMAP", "ITB", "INVALID", "INVALID", "INVALID", "INVALID" ;Must match the Algorithm Names PC Variable
213+ indInjAng = bits, U08, 26, [7:7], "Disabled", "Enabled"
214+ injOpen = scalar, U08, 27, "ms", 0.1, 0.0, 0.1, 25.5, 1
215+ inj1Ang = scalar, U16, 28, "deg", 1.0, 0.0, 0.0, 360, 0
216+ inj2Ang = scalar, U16, 30, "deg", 1.0, 0.0, 0.0, 360, 0
217+ inj3Ang = scalar, U16, 32, "deg", 1.0, 0.0, 0.0, 360, 0
218+ inj4Ang = scalar, U16, 34, "deg", 1.0, 0.0, 0.0, 360, 0
219+
220+ ; Config1
221+ mapSample = bits, U08, 36, [0:1], "Instantaneous", "Cycle Average", "Cycle Minimum", "INVALID"
222+ twoStroke = bits, U08, 36, [2:2], "Four-stroke", "Two-stroke"
223+ injType = bits, U08, 36, [3:3], "Port", "Throttle Body"
224+ nCylinders = bits, U08, 36, [4:7], "INVALID","1","2","3","4","5","6","INVALID","8","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID"
225+
226+ ; Config2
227+ fuelAlgorithm = bits, U08, 37, [0:2], "Speed Density", "Alpha-N", "IMAP/EMAP", "ITB", "INVALID", "INVALID", "INVALID", "INVALID" ;Must match the Algorithm Names PC Variable
228+ unused2-37d = bits, U08, 37, [2:3], "INVALID", "None", "None", "None"
229+ nInjectors = bits, U08, 37, [4:7], "INVALID","1","2","3","4","5","6","INVALID","8","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID"
230+
231+ ; Config3
232+ engineType = bits, U08, 38, [0:0], "Even fire", "Odd fire"
233+ flexEnabled = bits, U08, 38, [1:1], "Off", "On"
234+ algorithm = bits, U08, 38, [2:2], "Speed Density", "Alpha-N"
235+ baroCorr = bits, U08, 38, [3:3], "Off", "On"
236+ injLayout = bits, U08, 38, [4:5], "Paired", "Semi-Sequential", "INVALID", "Sequential"
237+ perToothIgn = bits, U08, 38, [6:6], "No", "Yes"
238+ dfcoEnabled = bits, U08, 38, [7:7], "Off", "On"
239+
240+ primePulse = scalar, U08, 39, "ms", 0.1, 0.0, 0.0, 25.5, 1
241+ dutyLim = scalar, U08, 40, "%", 1.0, 0.0, 0.0, 100.0, 0
242+ flexFreqLow = scalar, U08, 41, "Hz", 1.0, 0.0, 0.0, 250.0, 0
243+ flexFreqHigh = scalar, U08, 42, "Hz", 1.0, 0.0, 0.0, 250.0, 0
244+
245+ boostMaxDuty = scalar, U08, 43, "%", 1.0, 0.0, 0.0, 100.0, 0
246+ tpsMin = scalar, U08, 44, "ADC", 1.0, 0.0, 0.0, 255.0, 0
247+ tpsMax = scalar, U08, 45, "ADC", 1.0, 0.0, 0.0, 255.0, 0
248+ mapMin = scalar, S08, 46, "kpa", 1.0, 0.0, -100, 127.0, 0
249+ mapMax = scalar, U16, 47, "kpa", 1.0, 0.0, 0.0, 25500, 0
250+ fpPrime = scalar, U08, 49, "s", 1.0, 0.0, 0.0, 255.0, 0
251+ stoich = scalar, U08, 50, ":1", 0.1, 0.0, 0.0, 25.5, 1
252+ oddfire2 = scalar, U16, 51, "deg", 1.0, 0.0, 0.0, 720, 0 ; * ( 2 byte)
253+ oddfire3 = scalar, U16, 53, "deg", 1.0, 0.0, 0.0, 720, 0 ; * ( 2 byte)
254+ oddfire4 = scalar, U16, 55, "deg", 1.0, 0.0, 0.0, 720, 0 ; * ( 2 byte)
255+
256+ unused2-57 = scalar, U08, 57, "%", 1.0, 0.0, 0.0, 250.0, 0
257+ unused2-58 = scalar, U08, 58, "%", 1.0, 0.0, 0.0, 250.0, 0
258+ unused2-59 = scalar, U08, 59, "Deg", 1.0, 0.0, 0.0, 250.0, 0
259+ unused2-60 = scalar, U08, 60, "Deg", 1.0, 0.0, 0.0, 250.0, 0
260+
261+ iacCLminDuty = scalar, U08, 61, "%", 1.0, 0.0, 0.0, 100.0, 0 ; Minimum and maximum duty cycles when using closed loop idle
262+ iacCLmaxDuty = scalar, U08, 62, "%", 1.0, 0.0, 0.0, 100.0, 0
263+ boostMinDuty = scalar, U08, 63, "%", 1.0, 0.0, 0.0, 100.0, 0 ; Minimum and maximum duty cycles for boost control
264+
265+ baroMin = scalar, S08, 64, "kpa", 1.0, 0.0, -100, 127.0, 0
266+ baroMax = scalar, U16, 65, "kpa", 1.0, 0.0, 0.0, 25500, 0
267+ EMAPMin = scalar, S08, 67, "kpa", 1.0, 0.0, -100, 127.0, 0
268+ EMAPMax = scalar, U16, 68, "kpa", 1.0, 0.0, 0.0, 25500, 0
269+;[PJSC] unused2-67 = array, U08, 70, [57], "%", 1.0, 0.0, 0.0, 255, 0
270+ pjscFreq = scalar, U08, 70, "Hz", 2.0, 0.0, 10, 511, 0 ;[PJSC]
271+ exValvePosMin = scalar, U08, 71, "ADC", 1.0, 0.0, 0.0, 255.0, 0 ; |
272+ exValvePosMax = scalar, U08, 72, "ADC", 1.0, 0.0, 0.0, 255.0, 0 ; |
273+ squirtDeviceType = bits, U08, 73, [0:0], "Injector", "Solenoid valve" ; |
274+ multiVEmapEnabled = bits, U08, 73, [1:1], "No", "Yes" ; |
275+ externalTriggerEnabled = bits, U08, 73, [2:2], "Off", "On" ; |
276+ externalTrigEdge = bits, U08, 73, [3:3], "Rising", "Falling" ; |
277+ exValveCaptureEnabled = bits, U08, 73, [4:4], "Off", "On" ; |
278+ dutyPulseCaptureEnabled = bits, U08, 73, [5:5], "Off", "On" ; |
279+ dutyPulseCaptureEnabled2 = bits, U08, 73, [6:6], "Off", "On" ; |
280+ dutyPulseOnLevel = bits, U08, 73, [7:7], "High", "Low" ; |
281+ dutyPulseOnLevel2 = bits, U08, 74, [0:0], "High", "Low" ; |
282+ exValveCalibrationMode = bits, U08, 74, [1:1], "Off", "On" ; |
283+ unused2-73-2 = bits, U08, 74, [2:2], "None", "None" ; |
284+ unused2-73-3 = bits, U08, 74, [3:3], "None", "None" ; |
285+ unused2-73-4 = bits, U08, 74, [4:4], "None", "None" ; |
286+ unused2-73-5 = bits, U08, 74, [5:5], "None", "None" ; |
287+ unused2-73-6 = bits, U08, 74, [6:6], "None", "None" ; |
288+ unused2-73-7 = bits, U08, 74, [7:7], "None", "None" ; |
289+ veMapSelection1 = bits, U08, 75, [0:7], "VE Table 1","VE Table 2","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID"
290+ veMapSelection2 = bits, U08, 76, [0:7], "VE Table 1","VE Table 2","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID"
291+ veMapSelection3 = bits, U08, 77, [0:7], "VE Table 1","VE Table 2","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID"
292+ veMapSelection4 = bits, U08, 78, [0:7], "VE Table 1","VE Table 2","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID"
293+ unused2-79 = array, U08, 79, [49], "%", 1.0, 0.0, 0.0, 255, 0 ;[PJSC]
294+
295+
296+;--------------------------------------------------
297+;Start Ignition table (Page 3)
298+;--------------------------------------------------
299+page = 3
300+ advTable1 = array, U08, 0,[16x16], "deg", 1.0, -40, -40, 215.0, 0
301+ rpmBins2 = array, U08, 256,[ 16], "RPM", 100.0, 0.0, 100, 25500, 0
302+
303+ #if SPEED_DENSITY
304+ mapBins2 = array, U08, 272, [ 16], "kPa", 2.0, 0.0, 0.0, 511.0, 0
305+ #elif ALPHA_N
306+ tpsBins2 = array, U08, 272, [ 16], "TPS", 2.0, 0.0, 0.0, 100.0, 0
307+ #endif
308+
309+;--------------------------------------------------
310+;Start Page 4
311+;These are primarily ignition related settings (Previously part of page 2)
312+;--------------------------------------------------
313+page = 4
314+ TrigAng = scalar, S16, 0, "Deg", 1, 0, -360, 360, 0
315+ FixAng = scalar, S08, 2, "Deg", 1, 0, -64, 64, 0 ; Allow negative values here
316+ CrankAng = scalar, U08, 3, "Deg", 1, 0, -10, 80, 0
317+ TrigAngMul = scalar, U08, 4, "", 1, 0, 0, 88, 0 ; Multiplier for tooth counts that don't evenly divide into 360
318+ TrigEdge = bits, U08, 5,[0:0], "Leading", "Trailing"
319+ TrigSpeed = bits, U08, 5,[1:1], "Crank Speed", "Cam Speed"
320+ IgInv = bits, U08, 5,[2:2], "Going Low", "Going High"
321+ TrigPattern= bits, U08, 5,[3:7], "Missing Tooth", "Basic Distributor", "Dual Wheel", "GM 7X", "4G63 / Miata / 3000GT", "GM 24X", "Jeep 2000", "Audi 135", "Honda D17", "Miata 99-05", "Mazda AU", "Non-360 Dual", "Nissan 360", "Subaru 6/7", "Daihatsu +1", "Harley EVO", "36-2-2-2", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID"
322+ TrigEdgeSec= bits, U08, 6,[0:0], "Leading", "Trailing"
323+ fuelPumpPin= bits , U08, 6,[1:6], "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"
324+ useResync = bits, U08, 6,[7:7], "No", "Yes"
325+ sparkDur = scalar, U08, 7, "ms", 0.1, 0, 0, 25.5, 1 ; Spark duration
326+ trigPatternSec = bits, U08, 8,[0:7], "Single tooth cam", "4-1 cam", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID"
327+
328+;Reset Control
329+ bootloaderCaps = scalar, U08, 9, "level", 1, 0, 0, 255, 0
330+#if resetcontrol_adv
331+ resetControl = bits, U08, 10,[0:1], "Disabled", "Prevent When Running", "Prevent Always", "Serial Command"
332+#else
333+ resetControl = bits, U08, 10,[0:1], "Disabled", "INVALID", "INVALID", "Serial Command"
334+#endif
335+ resetControlPin = bits, U08, 10,[2:7], "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"
336+
337+ SkipCycles = scalar, U08, 11, "cycles", 1, 0, 0, 255, 0
338+
339+ ; name = array, type, offset, shape, units, scale, translate, lo, hi, digits
340+ ; name = scalar, type, offset, units, scale, translate, lo, hi, digits
341+;Dwell control
342+ unused4-12a = bits, U08, 12, [0:0], "INVALID", "NOTHING"
343+ useDwellLim = bits, U08, 12, [1:1], "Off", "On"
344+ sparkMode = bits, U08, 12, [2:4], "Wasted Spark", "Single Channel", "Wasted COP", "Sequential", "Rotary", "INVALID", "INVALID", "INVALID"
345+ TrigFilter = bits, U08, 12, [5:6], "Off", "Weak", "Medium", "Aggressive"
346+ ignCranklock = bits, U08, 12, [7:7], "Off", "On"
347+ dwellcrank = scalar, U08, 13, "ms", 0.1, 0, 0, 25, 1
348+ dwellrun = scalar, U08, 14, "ms", 0.1, 0, 0, 8, 1 ;running dwell variable railed to 8 - who needs more than 8ms?
349+ numTeeth = scalar, U08, 15, "teeth", 1.0, 0.0, 0.0, 255, 0
350+ missingTeeth = scalar, U08, 16, "teeth", 1.0, 0.0, 0.0, 255, 0
351+
352+ crankRPM = scalar, U08, 17, "rpm", 10, 0.0, 100, 1000, 0
353+ tpsflood = scalar, U08, 18, "%", 1.0, 0.0, 0.0, 255.0, 0
354+
355+;Rev Limits
356+ SoftRevLim = scalar, U08, 19, "rpm", 100, 0.0, 100, 25500, 0
357+ SoftLimRetard = scalar, U08, 20, "deg", 1.0, 0.0, 0.0, 80, 0
358+ SoftLimMax = scalar, U08, 21, "s", 0.1, 0.0, 0.0, 25.5, 1
359+ HardRevLim = scalar, U08, 22, "rpm", 100, 0.0, 100, 25500, 0
360+
361+;TPS based acceleration enrichment
362+ taeBins = array, U08, 23, [ 4], "%/s", 10.0, 0.0, 0.00, 2550.0, 0
363+ taeRates = array, U08, 27, [ 4], "%", 1.0, 0.0, 0.00, 255.0, 0 ; 4 bytes
364+;WUE Bins (Needed somewhere to put these
365+ #if CELSIUS
366+ wueBins = array, U08, 31, [10], "C", 1.0, -40, -40, 102.0, 0
367+ #else
368+ wueBins = array, U08, 31, [10], "F", 1.8, -22.23, -40, 215.0, 0
369+ #endif
370+;Dwell config options
371+ dwellLim = scalar, U08, 41, "ms", 1, 0, 0, 32, 0
372+ dwellRates = array, U08, 42, [6], "%", 1.0, 0.0, 0.00, 255.0, 0
373+
374+;IAT (Inlet air temp) timing retard
375+ #if CELSIUS
376+ iatRetBins = array, U08, 48, [ 6], "C", 1.0, 0.0, 0.00, 255.0, 0
377+ #else
378+ iatRetBins = array, U08, 48, [ 6], "F", 1.8, 17.77, 0.00, 255.0, 0 ; No -40 degree offset here
379+ #endif
380+ iatRetRates = array, U08, 54, [ 6], "deg", 1.0, 0.0, 0.00, 255.0, 0
381+;Decelleration Fuel Cut Off (DFCO)
382+ dfcoRPM = scalar, U08, 60, "RPM", 10.0, 0.0, 100, 2550, 0
383+ dfcoHyster = scalar, U08, 61, "RPM", 1.0, 0.0, 100, 255.0, 0
384+ dfcoTPSThresh= scalar, U08, 62, "%", 1.0, 0.0, 0, 100.0, 0
385+;Cranking ignition bypass
386+ ignBypassEnable = bits, U08, 63, [0:0], "Off", "On"
387+ ignBypassPin = bits , U08, 63, [1:6], "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", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID"
388+ ignBypassHiLo = bits, U08, 63, [7:7], "LOW", "HIGH"
389+
390+ unused4-64 = array, U08, 64, [63], "%", 1.0, 0.0, 0.0, 255, 0
391+;--------------------------------------------------
392+;Start AFR page
393+;--------------------------------------------------
394+page = 5
395+#if LAMBDA
396+ afrTable = array, U08, 0,[16x16], "Lambda", { 0.1 / stoich }, 0.0000, 0.00, 2.00, 3
397+#else
398+ afrTable = array, U08, 0,[16x16], "AFR", 0.1, 0.0, 7, 25.5, 1
399+#endif
400+
401+ rpmBinsAFR = array, U08, 256,[ 16], "RPM", 100.0, 0.0, 100, 25500, 0
402+ #if SPEED_DENSITY
403+ mapBinsAFR = array, U08, 272,[ 16], "kPa", 2.0, 0.0, 0.0, 511.0, 0
404+ #elif ALPHA_N
405+ tpsBinsAFR = array, U08, 272,[ 16], "TPS", 2.0, 0.0, 0.0, 100.0, 0
406+ #endif
407+
408+;--------------------------------------------------
409+;Start page 6
410+; Page 6 is all settings associated with O2/AFR
411+;--------------------------------------------------
412+page = 6
413+ egoAlgorithm= bits , U08, 0, [0:1], "Simple", "INVALID", "PID", "No correction" ; * ( 1 byte)
414+ egoType = bits , U08, 0, [2:3], "Disabled", "Narrow Band", "Wide Band", "INVALID" ; egoOption
415+ boostEnabled= bits, U08, 0, [4:4], "Off", "On"
416+ vvtEnabled = bits, U08, 0, [5:5], "Off", "On"
417+ boostCutType= bits, U08, 0, [6:7], "Off", "Spark Only", "Fuel Only","Both"
418+
419+ egoKP = scalar, U08, 1, "%", 1.0, 0.0, 0.0, 200.0, 0 ; * ( 1 byte)
420+ egoKI = scalar, U08, 2, "%", 1.0, 0.0, 0.0, 200.0, 0 ; * ( 1 byte)
421+ egoKD = scalar, U08, 3, "%", 1.0, 0.0, 0.0, 200.0, 0 ; * ( 1 byte)
422+ #if CELSIUS
423+ egoTemp = scalar, U08, 4, "C", 1.0, -40, -40, 102.0, 0
424+ #else
425+ egoTemp = scalar, U08, 4, "F", 1.8, -22.23, -40, 215.0, 0
426+ #endif
427+ egoCount = scalar, U08, 5, "", 4.0, 0.0, 4.0, 255.0, 0 ; * ( 1 byte)
428+ unused6-6 = scalar, U08, 6, "%", 1.0, 0.0, 0.0, 255.0, 0
429+ egoLimit = scalar, U08, 7, "", 1, 0, 0, 16, 0
430+ ego_min = scalar, U08, 8, "AFR", 0.1, 0.0, 7, 25, 1
431+ ego_max = scalar, U08, 9, "AFR", 0.1, 0.0, 7, 25, 1
432+ ego_sdelay = scalar, U08, 10, "sec", 1, 0, 0, 120, 0
433+ egoRPM = scalar, U08, 11, "rpm", 100, 0.0, 100, 25500, 0
434+ egoTPSMax = scalar, U08, 12, "%", 1, 0, 0, 120, 0
435+ vvtPin = bits , U08, 13, [0:5], "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", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID"
436+ useExtBaro = bits, U08, 13, [6:6], "No", "Yes"
437+ boostMode = bits, U08, 13, [7:7], "Simple", "Full"
438+ boostPin = bits, U08, 14, [0:5], "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", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID"
439+ VVTasOnOff = bits, U08, 14, [6:6], "No", "Yes"
440+ useEMAP = bits, U08, 14, [7:7], "No", "Yes"
441+ brvBins = array, U08, 15, [6], "V", 0.1, 0, 6, 24, 1 ; Bins for the battery reference voltage
442+ injBatRates = array, U08, 21, [6], "%", 1, 0, 0, 255, 0 ;Values for injector pulsewidth vs voltage
443+ #if CELSIUS
444+ airDenBins = array, U08, 27, [9], "C", 1.0, -40, -40, 215, 0 ; Bins for the air density correction curve
445+ #else
446+ airDenBins = array, U08, 27, [9], "F", 1.8, -22.23, -40, 215, 0 ; Bins for the air density correction curve
447+ #endif
448+ airDenRates = array, U08, 36, [9], "%", 1.0, 0.0, 0, 255, 0 ; Values for the air density correction curve
449+
450+; PWM Frequencies
451+ boostFreq = scalar, U08, 45, "Hz", 2.0, 0.0, 10, 511, 0
452+ vvtFreq = scalar, U08, 46, "Hz", 2.0, 0.0, 10, 511, 0
453+ idleFreq = scalar, U08, 47, "Hz", 2.0, 0.0, 10, 511, 0
454+
455+; Launch Control
456+ launchPin = bits , U08, 48, [0:5], "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", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID"
457+ launchEnable= bits, U08, 48, [6:6], "No", "Yes"
458+ launchHiLo = bits, U08, 48, [7:7], "LOW", "HIGH"
459+
460+ lnchSoftLim = scalar, U08, 49, "rpm", 100, 0.0, 100, 25500, 0
461+ lnchRetard = scalar, S08, 50, "deg", 1.0, 0.0, -30, 40, 0
462+ lnchHardLim = scalar, U08, 51, "rpm", 100, 0.0, 100, 25500, 0
463+ lnchFuelAdd = scalar, U08, 52, "%", 1.0, 0.0, 0.0, 80, 0
464+
465+ idleKP = scalar, U08, 53, "%", 1.0, 0.0, 0.0, 200.0, 0 ; * ( 1 byte)
466+ idleKI = scalar, U08, 54, "%", 1.0, 0.0, 0.0, 200.0, 0 ; * ( 1 byte)
467+ idleKD = scalar, U08, 55, "%", 1.0, 0.0, 0.0, 200.0, 0 ; * ( 1 byte)
468+ boostLimit = scalar, U08, 56, "kPa", 2.0, 0.0, 0.0, 511.0, 0
469+ boostKP = scalar, U08, 57, "%", 1.0, 0.0, 0.0, 200.0, 0 ; * ( 1 byte)
470+ boostKI = scalar, U08, 58, "%", 1.0, 0.0, 0.0, 200.0, 0 ; * ( 1 byte)
471+ boostKD = scalar, U08, 59, "%", 1.0, 0.0, 0.0, 200.0, 0 ; * ( 1 byte)
472+
473+ lnchPullRes = bits, U08, 60, [0:1], "Float" , "Pullup", "INVALID", "INVALID"
474+ fuelTrimEnabled= bits, U08, 60, [2:2], "No", "Yes"
475+ flatSEnable = bits, U08, 60, [3:3], "No", "Yes"
476+; Baro Sensor pin
477+ baroPin = bits, U08, 60, [4:7], "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "A8", "A8", "A10", "A11", "A12", "A13", "A14", "A15"
478+
479+; Flat shift
480+ flatSSoftWin = scalar, U08, 61, "rpm", 100, 0.0, 100, 25500, 0
481+ flatSRetard = scalar, U08, 62, "deg", 1.0, 0.0, 0.0, 80, 0
482+ flatSArm = scalar, U08, 63, "rpm", 100, 0.0, 100, 25500, 0
483+
484+ iacCLValues = array, U08, 64, [10], "RPM", 10.0, 0.0, 0, 2550, 0
485+ iacOLStepVal = array, U08, 74, [10], "Steps", 3, 0, 0, 765, 0
486+ iacOLPWMVal = array, U08, 84, [10], "Duty %", 1.0, 0, 0, 100, 0
487+ #if CELSIUS
488+ iacBins = array, U08, 94, [10], "C", 1.0, -40, -40, 215, 0
489+ #else
490+ iacBins = array, U08, 94, [10], "F", 1.8, -22.23, -40, 215, 0
491+ #endif
492+ iacCrankSteps= array, U08, 104, [4], "Steps", 3, 0, 0, 765, 0
493+ iacCrankDuty = array, U08, 108, [4], "Duty %", 1.0, 0, 0, 100, 0
494+ #if CELSIUS
495+ iacCrankBins = array, U08, 112, [4], "C", 1.0, -40, -40, 215, 0
496+ #else
497+ iacCrankBins = array, U08, 112, [4], "F", 1.8, -22.23, -40, 215, 0
498+ #endif
499+
500+ iacAlgorithm = bits , U08, 116, [0:2], "None", "On/Off", "PWM Open loop", "PWM Closed loop", "Stepper Open Loop", "Stepper Closed Loop", "INVALID", "INVALID"
501+ iacStepTime = bits , U08, 116, [3:5], "INVALID","1", "2", "3", "4", "5", "6","INVALID"
502+ iacChannels = bits, U08, 116, [6:6], "1", "2"
503+ iacPWMdir = bits , U08, 116, [7:7], "Normal", "Reverse"
504+
505+ #if CELSIUS
506+ iacFastTemp = scalar, U08, 117, "C", 1.0, -40, -40, 215, 0
507+ #else
508+ iacFastTemp = scalar, U08, 117, "F", 1.8, -22.23, -40, 215, 0
509+ #endif
510+
511+ iacStepHome = scalar, U08, 118, "Steps", 3, 0, 0, 765, 0
512+ iacStepHyster= scalar, U08, 119, "Steps", 1, 0.0, 0.0, 10, 0
513+
514+ ; Begin fan control vairables
515+ fanInv = bits, U08, 120, [0:0], "No", "Yes"
516+ fanEnable = bits, U08, 120, [1:1], "Off", "On/Off"
517+ fanPin = bits , U08, 120, [2:7], "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"
518+ #if CELSIUS
519+ fanSP = scalar, U08, 121, "C", 1.0, -40, -40, 215.0, 0
520+ fanHyster = scalar, U08, 122, "C", 1.0, 0.0, 0.0, 40, 0
521+ #else
522+ fanSP = scalar, U08, 121, "F", 1.8, -22.23, -40, 215.0, 0
523+ fanHyster = scalar, U08, 122, "F", 1.0, 0.0, 0.0, 40, 0
524+ #endif
525+ fanFreq = scalar, U08 , 123, "Hz", 2.0, 0.0, 10, 511, 0
526+ #if CELSIUS
527+ fanPWMBins = array, U08, 124, [4], "C", 1.0, -40, -40, 215, 0
528+ #else
529+ fanPWMBins = array, U08, 124, [4], "F", 1.8, -22.23, -40, 215, 0
530+ #endif
531+
532+;--------------------------------------------------
533+;Boost and vvt maps (Page 7)
534+;--------------------------------------------------
535+page = 7
536+;notes for boostTable in PSI~~~There are 6.895 psis to a kPa then x 2 like the kPa ver~~~div atmos. pressure in kPa by 2 and make neg so to subtract instead of add
537+; #if BOOSTPSI
538+; boostTable = array, U08, 0,[8x8], "PSI", 0.29007547546041846, -50.6625, 0, 74, 0
539+; #else
540+ boostTable = array, U08, 0,[8x8], "kPa", 2.0, 0.0, 0, 511, 0
541+; #endif
542+ rpmBinsBoost = array, U08, 64,[ 8], "RPM", 100.0, 0.0, 100, 25500, 0
543+ tpsBinsBoost = array, U08, 72,[ 8], "TPS", 1.0, 0.0, 0.0, 255.0, 0
544+ vvtTable = array, U08, 80,[8x8], "%", 1.0, 0.0, 0, 100, 0
545+ rpmBinsVVT = array, U08, 144,[ 8], "RPM", 100.0, 0.0, 100, 25500, 0
546+ tpsBinsVVT = array, U08, 152,[ 8], "TPS", 1.0, 0.0, 0.0, 255.0, 0
547+;Fuel staging Table
548+ stagingTable = array, U08, 160, [8x8], "%", 1.0, 0.0, 0.0, 100.0, 0
549+ rpmBinsStaging= array, U08, 224, [ 8], "RPM", 100.0, 0.0, 100.0, 25500.0, 0
550+ #if SPEED_DENSITY
551+ mapBinsStaging= array, U08, 232, [ 8], "kPa", 2.0, 0.0, 0.0, 511.0, 0
552+ #elif ALPHA_N
553+ tpsBinsStaging= array, U08, 232, [ 8], "TPS", 2.0, 0.0, 0.0, 100.0, 0
554+ #endif
555+
556+;--------------------------------------------------
557+;Sequential fuel trim tables (Page 8)
558+;--------------------------------------------------
559+page = 8
560+ fuelTrim1Table = array, U08, 0,[6x6], "%", 1.0, -128, -50, 50, 0
561+ fuelTrim1rpmBins = array, U08, 36,[ 6], "RPM", 100.0, 0.0, 0, 25500, 0
562+#if SPEED_DENSITY
563+ fuelTrim1loadBins = array, U08, 42,[ 6], "kPa", 2.0, 0.0, 0.0, 511.0, 0
564+#elif ALPHA_N
565+ fuelTrim1loadBins = array, U08, 42,[ 6], "TPS", 2.0, 0.0, 0.0, 100.0, 0
566+#endif
567+
568+ fuelTrim2Table = array, U08, 48,[6x6], "%", 1.0, -128, -50, 50, 0
569+ fuelTrim2rpmBins = array, U08, 84,[ 6], "RPM", 100.0, 0.0, 0, 25500, 0
570+#if SPEED_DENSITY
571+ fuelTrim2loadBins = array, U08, 90,[ 6], "kPa", 2.0, 0.0, 0.0, 511.0, 0
572+#elif ALPHA_N
573+ fuelTrim2loadBins = array, U08, 90,[ 6], "TPS", 2.0, 0.0, 0.0, 100.0, 0
574+#endif
575+
576+ fuelTrim3Table = array, U08, 96,[6x6], "%", 1.0, -128, -50, 50, 0
577+ fuelTrim3rpmBins = array, U08, 132,[ 6], "RPM", 100.0, 0.0, 0, 25500, 0
578+#if SPEED_DENSITY
579+ fuelTrim3loadBins = array, U08, 138,[ 6], "kPa", 2.0, 0.0, 0.0, 511.0, 0
580+#elif ALPHA_N
581+ fuelTrim3loadBins = array, U08, 138,[ 6], "TPS", 2.0, 0.0, 0.0, 100.0, 0
582+#endif
583+
584+ fuelTrim4Table = array, U08, 144,[6x6], "%", 1.0, -128, -50, 50, 0
585+ fuelTrim4rpmBins = array, U08, 180,[ 6], "RPM", 100.0, 0.0, 0, 25500, 0
586+#if SPEED_DENSITY
587+ fuelTrim4loadBins = array, U08, 186,[ 6], "kPa", 2.0, 0.0, 0.0, 511.0, 0
588+#elif ALPHA_N
589+ fuelTrim4loadBins = array, U08, 186,[ 6], "TPS", 2.0, 0.0, 0.0, 100.0, 0
590+#endif
591+
592+;--------------------------------------------------
593+;CANBUS control (Page 9)
594+;--------------------------------------------------
595+page = 9
596+ #if CAN_COMMANDS
597+ enable_canbus = bits, U08, 0, [0:1], "Disable", "On Via Secondary Serial", "ON via Internal CAN ", "INVALID"
598+ #else
599+ enable_canbus = bits, U08, 0, [0:1], "Disable", "On Via Secondary Serial", "INVALID", "INVALID"
600+ #endif
601+ enable_candata_in = bits, U08, 0, [2:2], "Off", "On"
602+
603+ caninput_sel0 = bits, U16, 1, [0:0], "Off", "On"
604+ caninput_sel1 = bits, U16, 1, [1:1], "Off", "On"
605+ caninput_sel2 = bits, U16, 1, [2:2], "Off", "On"
606+ caninput_sel3 = bits, U16, 1, [3:3], "Off", "On"
607+ caninput_sel4 = bits, U16, 1, [4:4], "Off", "On"
608+ caninput_sel5 = bits, U16, 1, [5:5], "Off", "On"
609+ caninput_sel6 = bits, U16, 1, [6:6], "Off", "On"
610+ caninput_sel7 = bits, U16, 1, [7:7], "Off", "On"
611+ caninput_sel8 = bits, U16, 1, [8:8], "Off", "On"
612+ caninput_sel9 = bits, U16, 1, [9:9], "Off", "On"
613+ caninput_sel10 = bits, U16, 1, [10:10], "Off", "On"
614+ caninput_sel11 = bits, U16, 1, [11:11], "Off", "On"
615+ caninput_sel12 = bits, U16, 1, [12:12], "Off", "On"
616+ caninput_sel13 = bits, U16, 1, [13:13], "Off", "On"
617+ caninput_sel14 = bits, U16, 1, [14:14], "Off", "On"
618+ caninput_sel15 = bits, U16, 1, [15:15], "Off", "On"
619+
620+ ;caninput_param_group = array , U16, 9, [ 8], "", 1, 0, 0, 65535, 0
621+ caninput_source_can_address0 = bits, U16, 3, [0:10], $CAN_ADDRESS_HEX
622+ caninput_source_can_address1 = bits, U16, 5, [0:10], $CAN_ADDRESS_HEX
623+ caninput_source_can_address2 = bits, U16, 7, [0:10], $CAN_ADDRESS_HEX
624+ caninput_source_can_address3 = bits, U16, 9, [0:10], $CAN_ADDRESS_HEX
625+ caninput_source_can_address4 = bits, U16, 11, [0:10], $CAN_ADDRESS_HEX
626+ caninput_source_can_address5 = bits, U16, 13, [0:10], $CAN_ADDRESS_HEX
627+ caninput_source_can_address6 = bits, U16, 15, [0:10], $CAN_ADDRESS_HEX
628+ caninput_source_can_address7 = bits, U16, 17, [0:10], $CAN_ADDRESS_HEX
629+ caninput_source_can_address8 = bits, U16, 19, [0:10], $CAN_ADDRESS_HEX
630+ caninput_source_can_address9 = bits, U16, 21, [0:10], $CAN_ADDRESS_HEX
631+ caninput_source_can_address10 = bits, U16, 23, [0:10], $CAN_ADDRESS_HEX
632+ caninput_source_can_address11 = bits, U16, 25, [0:10], $CAN_ADDRESS_HEX
633+ caninput_source_can_address12 = bits, U16, 27, [0:10], $CAN_ADDRESS_HEX
634+ caninput_source_can_address13 = bits, U16, 29, [0:10], $CAN_ADDRESS_HEX
635+ caninput_source_can_address14 = bits, U16, 31, [0:10], $CAN_ADDRESS_HEX
636+ caninput_source_can_address15 = bits, U16, 33, [0:10], $CAN_ADDRESS_HEX
637+
638+
639+
640+ caninput_source_start_byte0 = bits, U08, 35, [0:2], "0", "1", "2", "3", "4", "5", "6", "7"
641+ caninput_source_start_byte1 = bits, U08, 36, [0:2], "0", "1", "2", "3", "4", "5", "6", "7"
642+ caninput_source_start_byte2 = bits, U08, 37, [0:2], "0", "1", "2", "3", "4", "5", "6", "7"
643+ caninput_source_start_byte3 = bits, U08, 38, [0:2], "0", "1", "2", "3", "4", "5", "6", "7"
644+ caninput_source_start_byte4 = bits, U08, 39, [0:2], "0", "1", "2", "3", "4", "5", "6", "7"
645+ caninput_source_start_byte5 = bits, U08, 40, [0:2], "0", "1", "2", "3", "4", "5", "6", "7"
646+ caninput_source_start_byte6 = bits, U08, 41, [0:2], "0", "1", "2", "3", "4", "5", "6", "7"
647+ caninput_source_start_byte7 = bits, U08, 42, [0:2], "0", "1", "2", "3", "4", "5", "6", "7"
648+ caninput_source_start_byte8 = bits, U08, 43, [0:2], "0", "1", "2", "3", "4", "5", "6", "7"
649+ caninput_source_start_byte9 = bits, U08, 44, [0:2], "0", "1", "2", "3", "4", "5", "6", "7"
650+ caninput_source_start_byte10 = bits, U08, 45, [0:2], "0", "1", "2", "3", "4", "5", "6", "7"
651+ caninput_source_start_byte11 = bits, U08, 46, [0:2], "0", "1", "2", "3", "4", "5", "6", "7"
652+ caninput_source_start_byte12 = bits, U08, 47, [0:2], "0", "1", "2", "3", "4", "5", "6", "7"
653+ caninput_source_start_byte13 = bits, U08, 48, [0:2], "0", "1", "2", "3", "4", "5", "6", "7"
654+ caninput_source_start_byte14 = bits, U08, 49, [0:2], "0", "1", "2", "3", "4", "5", "6", "7"
655+ caninput_source_start_byte15 = bits, U08, 50, [0:2], "0", "1", "2", "3", "4", "5", "6", "7"
656+
657+ caninput_source_num_bytes0 = bits, U16, 51, [0:0], "1", "2"
658+ caninput_source_num_bytes1 = bits, U16, 51, [1:1], "1", "2"
659+ caninput_source_num_bytes2 = bits, U16, 51, [2:2], "1", "2"
660+ caninput_source_num_bytes3 = bits, U16, 51, [3:3], "1", "2"
661+ caninput_source_num_bytes4 = bits, U16, 51, [4:4], "1", "2"
662+ caninput_source_num_bytes5 = bits, U16, 51, [5:5], "1", "2"
663+ caninput_source_num_bytes6 = bits, U16, 51, [6:6], "1", "2"
664+ caninput_source_num_bytes7 = bits, U16, 51, [7:7], "1", "2"
665+ caninput_source_num_bytes8 = bits, U16, 51, [8:8], "1", "2"
666+ caninput_source_num_bytes9 = bits, U16, 51, [9:9], "1", "2"
667+ caninput_source_num_bytes10 = bits, U16, 51, [10:10], "1", "2"
668+ caninput_source_num_bytes11 = bits, U16, 51, [11:11], "1", "2"
669+ caninput_source_num_bytes12 = bits, U16, 51, [12:12], "1", "2"
670+ caninput_source_num_bytes13 = bits, U16, 51, [13:13], "1", "2"
671+ caninput_source_num_bytes14 = bits, U16, 51, [14:14], "1", "2"
672+ caninput_source_num_bytes15 = bits, U16, 51, [15:15], "1", "2"
673+
674+ unused10_53 = scalar, U08, 53, "", 1, 0, 0, 255, 0
675+ unused10_54 = scalar, U08, 54, "", 1, 0, 0, 255, 0
676+ enable_candata_out = bits, U08, 55, [0:0], "Off", "On"
677+ canoutput_sel0 = bits, U08, 56, [0:0], "Off", "On"
678+ canoutput_sel1 = bits, U08, 57, [0:0], "Off", "On"
679+ canoutput_sel2 = bits, U08, 58, [0:0], "Off", "On"
680+ canoutput_sel3 = bits, U08, 59, [0:0], "Off", "On"
681+ canoutput_sel4 = bits, U08, 60, [0:0], "Off", "On"
682+ canoutput_sel5 = bits, U08, 61, [0:0], "Off", "On"
683+ canoutput_sel6 = bits, U08, 62, [0:0], "Off", "On"
684+ canoutput_sel7 = bits, U08, 63, [0:0], "Off", "On"
685+ canoutput_param_group = array , U16, 64, [ 8], "", 1, 0, 0, 65535, 0
686+ canoutput_param_start_byte0 = bits, U08, 80, [0:2], "0", "1", "2", "3", "4", "5", "6", "7"
687+ canoutput_param_start_byte1 = bits, U08, 81, [0:2], "0", "1", "2", "3", "4", "5", "6", "7"
688+ canoutput_param_start_byte2 = bits, U08, 82, [0:2], "0", "1", "2", "3", "4", "5", "6", "7"
689+ canoutput_param_start_byte3 = bits, U08, 83, [0:2], "0", "1", "2", "3", "4", "5", "6", "7"
690+ canoutput_param_start_byte4 = bits, U08, 84, [0:2], "0", "1", "2", "3", "4", "5", "6", "7"
691+ canoutput_param_start_byte5 = bits, U08, 85, [0:2], "0", "1", "2", "3", "4", "5", "6", "7"
692+ canoutput_param_start_byte6 = bits, U08, 86, [0:2], "0", "1", "2", "3", "4", "5", "6", "7"
693+ canoutput_param_start_byte7 = bits, U08, 87, [0:2], "0", "1", "2", "3", "4", "5", "6", "7"
694+ canoutput_param_num_bytes0 = bits, U08, 88, [0:1], "INVALID", "1", "2", "INVALID"
695+ canoutput_param_num_bytes1 = bits, U08, 89, [0:1], "INVALID", "1", "2", "INVALID"
696+ canoutput_param_num_bytes2 = bits, U08, 90, [0:1], "INVALID", "1", "2", "INVALID"
697+ canoutput_param_num_bytes3 = bits, U08, 91, [0:1], "INVALID", "1", "2", "INVALID"
698+ canoutput_param_num_bytes4 = bits, U08, 92, [0:1], "INVALID", "1", "2", "INVALID"
699+ canoutput_param_num_bytes5 = bits, U08, 93, [0:1], "INVALID", "1", "2", "INVALID"
700+ canoutput_param_num_bytes6 = bits, U08, 94, [0:1], "INVALID", "1", "2", "INVALID"
701+ canoutput_param_num_bytes7 = bits, U08, 95, [0:1], "INVALID", "1", "2", "INVALID"
702+
703+ unused10_96 = scalar, U08, 96, "", 1, 0, 0, 255, 0
704+ unused10_97 = scalar, U08, 97, "", 1, 0, 0, 255, 0
705+ unused10_98 = scalar, U08, 98, "", 1, 0, 0, 255, 0
706+ unused10_99 = scalar, U08, 99, "", 1, 0, 0, 255, 0
707+
708+ speeduino_tsCanId = bits, U08, 100, [0:3], $tsCanId_list
709+ true_address = bits, U16, 101, [0:10], $CAN_ADDRESS_HEX
710+ realtime_base_address = bits, U16, 103, [0:10], $CAN_ADDRESS_HEX
711+ obd_address = bits, U16, 105, [0:10], $CAN_ADDRESS_HEX
712+
713+
714+ ;unused10_101 = scalar, U16, 101, "", 1, 0, 0, 255, 0
715+ ;unused10_103 = scalar, U16, 103, "", 1, 0, 0, 255, 0
716+ ;unused10_105 = scalar, U16, 105, "", 1, 0, 0, 255, 0
717+
718+ ;AFR offset for WUE VeAnalyze
719+ ;wueAFRRates = array, U08, 107, [10], "%", 1.0, 0.0, 0.0, 255, 0
720+ ;wueAFRBins = array, U08, 117, [10], "C", 1.0, -40, -40, 102.0, 0
721+
722+ unused10_107 = scalar, U08, 107, "", 1, 0, 0, 255, 0
723+ unused10_108 = scalar, U08, 108, "", 1, 0, 0, 255, 0
724+ unused10_109 = scalar, U08, 109, "", 1, 0, 0, 255, 0
725+ unused10_110 = scalar, U08, 110, "", 1, 0, 0, 255, 0
726+ unused10_111 = scalar, U08, 111, "", 1, 0, 0, 255, 0
727+ unused10_112 = scalar, U08, 112, "", 1, 0, 0, 255, 0
728+ unused10_113 = scalar, U08, 113, "", 1, 0, 0, 255, 0
729+ unused10_114 = scalar, U08, 114, "", 1, 0, 0, 255, 0
730+ unused10_115 = scalar, U08, 115, "", 1, 0, 0, 255, 0
731+ unused10_116 = scalar, U08, 116, "", 1, 0, 0, 255, 0
732+ unused10_117 = scalar, U08, 117, "", 1, 0, 0, 255, 0
733+ unused10_118 = scalar, U08, 118, "", 1, 0, 0, 255, 0
734+ unused10_119 = scalar, U08, 119, "", 1, 0, 0, 255, 0
735+ unused10_120 = scalar, U08, 120, "", 1, 0, 0, 255, 0
736+ unused10_121 = scalar, U08, 121, "", 1, 0, 0, 255, 0
737+ unused10_122 = scalar, U08, 122, "", 1, 0, 0, 255, 0
738+ unused10_123 = scalar, U08, 123, "", 1, 0, 0, 255, 0
739+ unused10_124 = scalar, U08, 124, "", 1, 0, 0, 255, 0
740+ unused10_125 = scalar, U08, 125, "", 1, 0, 0, 255, 0
741+ unused10_126 = scalar, U08, 126, "", 1, 0, 0, 255, 0
742+;[PJSC] unused10_127 = scalar, U08, 127, "", 1, 0, 0, 255, 0
743+
744+page = 10
745+#if CELSIUS
746+ crankingEnrichBins = array, U08, 0, [4], "C", 1.0, -40, -40, 215, 0
747+#else
748+ crankingEnrichBins = array, U08, 0, [4], "F", 1.8, -22.23, -40, 215, 0
749+#endif
750+ crankingEnrichValues= array, U08, 4, [4], "%", 1.0, 0.0, 0, 255, 0 ; Values for the cranking enrichment curve
751+
752+ rotaryType = bits , U08, 8, [0:1], "FC", "FD", "RX8", "INVALID"
753+ stagingEnabled = bits , U08, 8, [2:2], "Off","On"
754+ stagingMode = bits , U08, 8, [3:3], "Table","Automatic"
755+ EMAPPin = bits, U08, 8, [4:7], "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "A8", "A8", "A10", "A11", "A12", "A13", "A14", "A15"
756+
757+ rotarySplitValues = array, U08, 9, [8], "degrees", 1.0, 0.0, 0.0, 40, 0
758+#if SPEED_DENSITY
759+ rotarySplitBins = array, U08, 17, [8], "kPa", 2.0, 0.0, 0.0, 511.0, 0
760+#elif ALPHA_N
761+ rotarySplitBins = array, U08, 17, [8], "TPS", 2.0, 0.0, 0.0, 100.0, 0
762+#endif
763+ boostSens = scalar, U16, 25, "", 1, 0, 0, 5000, 0
764+ boostIntv = scalar, U08, 27, "ms", 1, 0, 0, 250, 0
765+ stagedInjSizePri = scalar, U16, 28, "cc/min", 1, 0, 0, 1500, 0
766+ stagedInjSizeSec = scalar, U16, 30, "cc/min", 1, 0, 0, 1500, 0
767+ lnchCtrlTPS = scalar, U08, 32, "%TPS", 1, 0, 0, 100, 0
768+
769+ flexBoostBins = array, U08, 33, [6], "%", 1.0, 0.0, 0.0, 250.0, 0
770+ ; The boost range is obviously arbitrary since int16_t has ~32k in both directions
771+ flexBoostAdj = array, S16, 39, [6], "kPa", 1.0, 0.0, -500.0, 500.0, 0
772+ flexFuelBins = array, U08, 51, [6], "%", 1.0, 0.0, 0.0, 250.0, 0
773+ flexFuelAdj = array, U08, 57, [6], "%", 1.0, 0.0, 0.0, 250.0, 0
774+ flexAdvBins = array, U08, 63, [6], "%", 1.0, 0.0, 0.0, 250.0, 0
775+ flexAdvAdj = array, U08, 69, [6], "Deg", 1.0, 0.0, 0.0, 250.0, 0
776+
777+ unused11_75_191 = array, U08, 75,[116],"RPM", 100.0, 0.0, 100, 25500, 0
778+
779+;--------------------------------------------------
780+;Page 12 is the fuel map and axis bins only [PJSC]
781+;--------------------------------------------------
782+page = 11
783+ ; name = bits, type, offset, bits
784+ ; name = array, type, offset, shape, units, scale, translate, lo, hi, digits
785+ ; name = scalar, type, offset, units, scale, translate, lo, hi, digits
786+ veTable2 = array, U08, 0, [16x16],"%", 1.0, 0.0, 0.0, 255.0, 0
787+ rpmBinsVE2 = array, U08, 256, [ 16], "RPM", 100.0, 0.0, 100.0, 25500.0, 0
788+ #if SPEED_DENSITY
789+ ;mapBins = array, U08, 272, [ 16], "kPa", 1.0, 0.0, 0.0, 255.0, 0
790+ mapBinsVE2 = array, U08, 272, [ 16], "kPa", 2.0, 0.0, 0.0, 511.0, 0
791+ #elif ALPHA_N
792+ tpsBinsVE2 = array, U08, 272, [ 16], "TPS", 1.0, 0.0, 0.0, 100.0, 0
793+ #elif AIR_FLOW_METER
794+ #error "Speeduino does not support MAF"
795+ ;#exit
796+ #endif
797+
798+
799+;-------------------------------------------------------------------------------
800+
801+[ConstantsExtensions]
802+ requiresPowerCycle = nCylinders
803+ requiresPowerCycle = pinLayout
804+ requiresPowerCycle = fanPin
805+ requiresPowerCycle = reqFuel
806+ requiresPowerCycle = numTeeth
807+ requiresPowerCycle = missingTeeth
808+ requiresPowerCycle = trigPatternSec
809+ requiresPowerCycle = injOpen
810+ requiresPowerCycle = IgInv
811+ requiresPowerCycle = fanInv
812+ requiresPowerCycle = boostEnabled
813+ requiresPowerCycle = vvtEnabled
814+; requiresPowerCycle = vvtChannels
815+ requiresPowerCycle = boostFreq
816+ requiresPowerCycle = vvtFreq
817+ requiresPowerCycle = idleFreq
818+ requiresPowerCycle = sparkMode
819+ requiresPowerCycle = launchPin
820+ requiresPowerCycle = launchEnable
821+ requiresPowerCycle = launchHiLo
822+ requiresPowerCycle = flexEnabled
823+ requiresPowerCycle = oddfire2
824+ requiresPowerCycle = oddfire3
825+ requiresPowerCycle = oddfire4
826+ requiresPowerCycle = iacCLminDuty
827+ requiresPowerCycle = iacCLmaxDuty
828+ requiresPowerCycle = useExtBaro
829+ requiresPowerCycle = useEMAP
830+ requiresPowerCycle = baroPin
831+ requiresPowerCycle = rotaryType
832+ requiresPowerCycle = stagedInjSizePri
833+ requiresPowerCycle = stagedInjSizeSec
834+ requiresPowerCycle = stagingEnabled
835+ requiresPowerCycle = resetControl
836+ requiresPowerCycle = resetControlPin
837+ requiresPowerCycle = pjscFreq ;[PJSC]
838+ requiresPowerCycle = squirtDeviceType ; |
839+ requiresPowerCycle = multiVEmapEnabled ; |
840+ requiresPowerCycle = externalTriggerEnabled ; |
841+ requiresPowerCycle = exValveCaptureEnabled ; |
842+ requiresPowerCycle = dutyPulseCaptureEnabled ; V
843+ requiresPowerCycle = dutyPulseCaptureEnabled2 ;[PJSC]
844+
845+
846+ defaultValue = pinLayout, 1
847+ defaultValue = TrigPattern, 0
848+ defaultValue = useResync, 1
849+ defaultValue = trigPatternSec, 0
850+ defaultValue = sparkMode, 0
851+ defaultValue = indInjAng, 0
852+ defaultValue = inj1Ang, 355
853+ defaultValue = inj2Ang, 355
854+ defaultValue = inj3Ang, 355
855+ defaultValue = inj4Ang, 355
856+ defaultValue = nInjectors, 4
857+ defaultValue = dutyLim, 100
858+ defaultValue = mapMin, 10
859+ defaultValue = mapMax, 260
860+ defaultValue = baroMin 10
861+ defaultValue = baroMax, 260
862+ defaultValue = useEMAP, 0
863+ defaultValue = EMAPMin, 10
864+ defaultValue = EMAPMax, 260
865+ defaultValue = fpPrime, 3
866+ defaultValue = TrigFilter, 0
867+ defaultValue = ignCranklock,0
868+ defaultValue = multiplyMAP, 0
869+ defaultValue = includeAFR, 0
870+ defaultValue = stoich, 14.7
871+ defaultValue = flexEnabled, 0
872+ defaultValue = oddfire2, 0
873+ defaultValue = oddfire3, 0
874+ defaultValue = oddfire4, 0
875+ defaultValue = flexFreqLow, 50
876+ defaultValue = flexFreqHigh,150
877+ defaultValue = fuelPumpPin, 0
878+ defaultValue = fanPin, 0
879+ defaultValue = iacCLminDuty,0
880+ defaultValue = iacCLmaxDuty,100
881+ defaultValue = boostMinDuty,0
882+ defaultValue = boostMaxDuty,100
883+ defaultValue = boostSens, 2000
884+ defaultValue = boostIntv, 30
885+ defaultValue = sparkDur, 1.0
886+ defaultValue = speeduino_tsCanId, 0
887+ defaultValue = true_address, 256
888+ defaultValue = realtime_base_address, 336
889+ defaultValue = VVTasOnOff, 0
890+ defaultValue = stagingEnabled, 0
891+ defaultValue = lnchCtrlTPS, 0
892+ defaultValue = resetControl, 0
893+ defaultValue = bootloaderCaps, 0
894+ ; defaultValue = obd_address, 0
895+
896+ defaultValue = multiVEmapEnabled, 0 ;[PJSC]
897+ defaultValue = pjscFreq, 14 ; |
898+ defaultValue = veMapSelection1, 0 ; |
899+ defaultValue = veMapSelection2, 0 ; |
900+ defaultValue = veMapSelection3, 0 ; |
901+ defaultValue = veMapSelection4, 0 ; |
902+ defaultValue = externalTriggerEnabled, 0 ; |
903+ defaultValue = exValveCaptureEnabled, 1 ; |
904+ defaultValue = dutyPulseCaptureEnabled, 0 ; |
905+ defaultValue = dutyPulseCaptureEnabled2, 0 ; V
906+ defaultValue = exValveCalibrationMode, 0 ;[PJSC]
907+
908+ ;Default pins
909+ defaultValue = fanPin, 0
910+ defaultValue = vvtPin, 0
911+ defaultValue = launchPin, 0
912+ defaultValue = boostPin, 0
913+ defaultValue = fuelPumpPin, 0
914+ defaultValue = tachoPin, 0
915+ defaultValue = perToothIgn, 0
916+ defaultValue = resetControlPin, 0
917+
918+ controllerPriority = bootloaderCaps
919+
920+[Menu]
921+
922+ ;----------------------------------------------------------------------------
923+ ; There are five pre-defined values that may be used to define your menus.
924+ ; The first four allow access to the "standard" dialog boxes, the last one
925+ ; merely draws a separator (horizontal line) in the menu.
926+ ;
927+ ; std_constants
928+ ; std_enrichments
929+ ; std_realtime
930+ ; std_warmup
931+ ;
932+ ; std_separator
933+ ;
934+ ; If you use any of the std_constants, std_enrichments or std_warmup
935+ ; editors, they may be optionally suffixed with a page number (only
936+ ; useful for multi-page code variants), which causes them to edit the
937+ ; specified page. If you leave off the page specifier, they edit logical
938+ ; page one as specified in the Constants section.
939+ ;
940+ ; There are four special menu names, which when used append to the standard
941+ ; menus of the same name instead of creating a new one. The menu names
942+ ; are "File", "Communications", "Tools" and "Help".
943+ ;
944+ ;----------------------------------------------------------------------------
945+
946+menuDialog = main
947+
948+ menu = "Settings"
949+ subMenu = engine_constants, "Engine Constants"
950+ subMenu = injChars, "Injector Characteristics"
951+ subMenu = triggerSettings, "Trigger Setup"
952+ ;subMenu = OLED, "OLED Setup"
953+ subMenu = airdensity_curve, "IAT Density"
954+ subMenu = reset_control, "Reset Control"
955+
956+ menu = "&Tuning"
957+ subMenu = std_realtime, "Realtime Display"
958+ subMenu = accelEnrichments, "Acceleration Enrichment"
959+ subMenu = egoControl, "AFR/O2", 3
960+ subMenu = RevLimiterS, "Limiters", 2
961+;[PJSC] subMenu = flexFueling, "Flex Fuel", 2
962+;[PJSC] subMenu = veTableDialog, "VE Table", 0
963+ subMenu = veMapSelectDialog, "VE Table select" ;[PJSC]
964+ subMenu = veTable1Dialog, "&VE Table 1", 0 ; V
965+ subMenu = veTable2Dialog, "&VE Table 2", 0, { multiVEmapEnabled == 1 } ;[PJSC]
966+;[PJSC] subMenu = sparkTbl, "Spark Table", 2
967+ subMenu = afrTable1Tbl, "AFR Table", 5
968+ subMenu = std_separator
969+ subMenu = inj_trimad, "Sequential fuel trim", 9
970+ subMenu = stagingTableDialog, "Staged Injection", 10, { nCylinders <= 4 } ; Can't do staging on more than 4 cylinder engines
971+
972+;[PJSC] menu = "&Spark"
973+;[PJSC] subMenu = sparkSettings, "Spark Settings"
974+;[PJSC] subMenu = sparkTbl, "Spark Table", 2
975+;[PJSC] subMenu = dwellSettings, "Dwell settings"
976+;[PJSC] subMenu = dwell_correction_curve, "Dwell Compensation"
977+;[PJSC] subMenu = iat_retard_curve, "&IAT Retard"
978+;[PJSC] subMenu = rotary_ignition, "Rotary Ignition", { sparkMode == 4 }
979+
980+ menu = "&Starting/Idle"
981+ subMenu = crankPW, "Cranking Settings"
982+ subMenu = warmup, "Warmup Enrichment"
983+ subMenu = std_separator
984+ subMenu = idleSettings, "Idle Control"
985+ subMenu = iacClosedLoop_curve, "Idle - Closed loop targets", 7, { iacAlgorithm == 3 || iacAlgorithm == 5 }
986+ subMenu = iacPwm_curve, "Idle - PWM Duty Cycle", 7, { iacAlgorithm == 2 }
987+ subMenu = iacPwmCrank_curve, "Idle - PWM Cranking Duty Cycle", 7, { iacAlgorithm == 2 }
988+ subMenu = iacStep_curve, "Idle - Stepper Motor", 7, { iacAlgorithm == 4 }
989+ subMenu = iacStepCrank_curve, "Idle - Stepper Motor Cranking", 7, { iacAlgorithm == 4 }
990+
991+ menu = "&Accessories"
992+ subMenu = fanSettings, "Thermo Fan"
993+ subMenu = LaunchControl, "Launch Control / Flat Shift"
994+ subMenu = fuelpump, "Fuel Pump"
995+ subMenu = std_separator
996+ subMenu = boostSettings, "Boost Control"
997+ subMenu = boostTbl, "Boost target", 8, { boostEnabled }
998+ subMenu = std_separator
999+ subMenu = vvtSettings, "VVT Control"
1000+ subMenu = vvtTbl, "VVT duty cycle", 8, { vvtEnabled }
1001+ subMenu = std_separator
1002+ subMenu = tacho, "Tacho Output"
1003+
1004+ subMenu = std_separator ;[PJSC]
1005+ subMenu = captureMode, "Capture Mode" ; |
1006+;[PJSC v1.0] subMenu = captSparkSetting, "Capture External Spark Control", { externalTriggerEnabled == 1 } ; |
1007+ subMenu = captExValveSetting, "Capture Exhaust Valve Position Control", { exValveCaptureEnabled == 1 } ; V
1008+;[PJSC v1.0] subMenu = captDutyPulseSetting, "Capture Duty Pulse Control", { dutyPulseCaptureEnabled == 1 || dutyPulseCaptureEnabled2 == 1 } ;[PJSC]
1009+
1010+ subMenu = std_separator
1011+
1012+ #if CAN_COMMANDS
1013+ subMenu = can_serial3IO, "Canbus/Secondary Serial IO Interface"
1014+ subMenu = std_separator
1015+ subMenu = Canin_config, "External Data Input Configuration", {enable_canbus}
1016+ ;subMenu = std_separator
1017+ ;subMenu = Canout_config, "Canbus Output Configuration"
1018+ #else
1019+ subMenu = serial3IO, "Secondary Serial IO Interface"
1020+ #endif
1021+
1022+ menuDialog = main
1023+ menu = "Tools"
1024+ subMenu = mapCal, "Calibrate Pressure Sensors"
1025+ subMenu = std_ms2gentherm, "Calibrate Temperature Sensors", 0
1026+ subMenu = std_ms2geno2, "Calibrate AFR Sensor", 0
1027+
1028+ menuDialog = main
1029+ menu = "3D &Tuning Maps"
1030+;[PJSC] subMenu = veTable1Map, "Fuel Table"
1031+ subMenu = veTable1Map, "Fuel Table 1"
1032+ subMenu = veTable2Map, "Fuel Table 2"
1033+;[PJSC] subMenu = sparkMap, "Spark Table", 3
1034+ subMenu = afrTable1Map, "AFR Target Table"
1035+
1036+#if enablehardware_test
1037+ menuDialog = main
1038+ menu = "Hardware Testing"
1039+ subMenu = outputtest1, "Test Output Hardware"
1040+#endif
1041+
1042+ menu = "Help"
1043+ subMenu = helpGeneral, "Speeduino Help"
1044+;-------------------------------------------------------------------------------
1045+
1046+[SettingContextHelp]
1047+; constantName = "Help Text"
1048+; These provide the context help in the dialog when these variables are used
1049+ nCylinders = "Cylinder count"
1050+ alternate = "Whether or not the injectors should be fired at the same time. This setting is ignored when Sequential is selected below, however it will still affect the req_fuel value."
1051+ engineType = "Engines with an equal number of degrees between all firings (This is most engines) should select Even fire. Some 2 and 6 cylinder engines are Odd fire however."
1052+ twoStroke = "Four-Stroke (most engines), Two-stroke."
1053+ nInjectors = "Number of primary injectors."
1054+ mapSample = "The method used for calculating the MAP reading\nFor 1-2 Cylinder engines, Cycle Minimum is recommended.\nFor more than 2 cylinders Cycle Average is recommended"
1055+ stoich = "The stoichiometric ration of the fuel being used. For flex fuel, choose the primary fuel"
1056+ injLayout = "The injector layout and timing to be used. Options are: \n 1. Paired - 2 injectors per output. Outputs active is equal to half the number of cylinders. Outputs are timed over 1 crank revolution. \n 2. Semi-sequential: Same as paired except that injector channels are mirrored (1&4, 2&3) meaning the number of outputs used are equal to the number of cylinders. Only valid for 4 cylinders or less. \n 3. Banked: 2 outputs only used. \n 4. Sequential: 1 injector per output and outputs used equals the number of cylinders. Injection is timed over full cycle. "
1057+
1058+ TrigPattern = "The type of input trigger decoder to be used."
1059+ useResync = "If enabled, sync will be rechecked once every full cycle from the cam input. This is good for accuracy, however if your cam input is noisy then this can cause issues."
1060+ trigPatternSec = "Cam mode/type also known as Secondary Trigger Pattern."
1061+ numTeeth = "Number of teeth on Primary Wheel."
1062+ TrigSpeed = "Primary trigger speed."
1063+ missingTeeth= "Number of Missing teeth on Primary Wheel."
1064+ TrigAng = "The Angle ATDC when tooth No:1 on the primary wheel passes the primary sensor."
1065+ TrigAngMul = "A multiplier used by non-360 degree tooth wheels (i.e. Wheels where the tooth count doesn't divide evenly into 360. Usage: (360 * <multiplier>) / tooth_count = Whole number"
1066+ SkipCycles = "The number of revolutions that will be skipped during cranking before the injectors and coils are fired."
1067+ TrigEdge = "The Trigger edge of the primary sensor.\nLeading.\nTrailing."
1068+ TrigEdgeSec = "The Trigger edge of the secondary (Cam) sensor.\nLeading.\nTrailing."
1069+ TrigFilter = "Tuning of the trigger filter algorithm. The more aggressive the setting, the more noise will be removed, however this increases the chance of some true readings being filtered out (False positive). Medium is safe for most setups. Only select 'Aggressive' if no other options are working"
1070+
1071+ sparkMode = "Wasted Spark: Ignition outputs are on the channels <= half the number of cylinders. Eg 4 cylinder outputs on IGN1 and IGN2.\nSingle Channel: All ignition pulses are output on IGN1.\nWasted COP: Ignition pulses are output on all ignition channels up to the number of cylinders. Eg 4 cylinder outputs on all ignition channels. No valid for >4 cylinders"
1072+ IgInv = "Whether the spark fires when the ignition signal goes high or goes low. Nearly all ignition systems use 'Going Low' but please verify this as damage to coils can result from the incorrect selection. (NOTE: THIS IS NOT MEGASQUIRT. THIS SETTING IS USUALLY THE OPPOSITE OF WHAT THEY USE!)"
1073+ sparkDur = "The duration of the spark at full dwell. Typically around 1ms"
1074+
1075+ fanInv = ""
1076+ fanHyster = "The number of degrees of hysteresis to be used in controlling the fan. Recommended values are between 2 and 5"
1077+
1078+ taeTime = "The duration of the acceleration enrichment"
1079+
1080+ iacChannels = "The number of output channels used for PWM valves. Select 1 for 2-wire valves or 2 for 3-wire valves."
1081+ iacStepTime = "Pause time between each step. Values that are too low can cause the motor to behave erratically or not at all"
1082+ iacStepHome = "Homing steps to perform on startup. Must be greater than the fully open steps value"
1083+ iacStepHyster = "The minimum number of steps to move in any one go."
1084+ iacAlgorithm = "Selects method of idle control.\nNone = no idle control valve.\nOn/Off valve.\nPWM valve (2,3 wire).\nStepper Valve (4,6,8 wire)."
1085+ iacPWMdir = "Normal PWM valves increase RPM with higher duty. If RPM decreases with higher duty then select Reverse"
1086+ iacCLminDuty= "When using closed loop idle control, this is the minimum duty cycle that the PID loop will allow. Combined with the maximum value, this specifies the working range of your idle valve"
1087+ iacCLmaxDuty= "When using closed loop idle control, this is the maximum duty cycle that the PID loop will allow. Combined with the minimum value, this specifies the working range of your idle valve"
1088+ iacFastTemp = "Below this temperature, the idle output will be high (On). Above this temperature, it will turn off."
1089+
1090+ oddfire2 = "The ATDC angle of channel 2 for oddfire engines. This is relative to the TDC angle of channel 1"
1091+ oddfire3 = "The ATDC angle of channel 3 for oddfire engines. This is relative to the TDC angle of channel 1 (NOT channel 2)"
1092+ oddfire4 = "The ATDC angle of channel 4 for oddfire engines. This is relative to the TDC angle of channel 1 (NOT channel 3)"
1093+
1094+ dfcoRPM = "The RPM above which DFCO will be active. Typically set a few hundred RPM above maximum idle speed"
1095+ dfcoHyster = "Hysteresis for DFCO RPM. 200-300 RPM is typical for this, however a higher value may be needed if the RPM is fluctuating around the cutout speed"
1096+ dfcoTPSThresh= "The TPS value below which DFCO will be active. Typical value is 5%-10%, but higher may be needed if TPS signal is noisy"
1097+
1098+ launchPin = "The ARDUINO pin that the clutch switch is connected to. This is NOT the pin on the connector, but the pin it relates to on the arduino"
1099+ ignBypassPin = "The ARDUINO pin that the ignition bypass is connected to. This is NOT the pin on the connector, but the pin it relates to on the arduino"
1100+ ignBypassEnable = "If turned on, a ground signal will be output during cranking on the specified pin. This is used to bypass the Speeduino ignition control during cranking."
1101+ ignCranklock = "On certain low resolution ignition patterns, the cranking timing can be locked to occur when a pulse is recieved."
1102+
1103+ multiplyMAP = "If enabled, the MAP reading is included directly into the pulsewidth calculation by multiplying the VE lookup value by the MAP:Baro ratio. This results in a flatter VE table that can be easier to tune in some instances. VE table must be retuned when this value is changed."
1104+ includeAFR = "When enabled, the current AFR reading is incorporated directly in the pulsewidth calculation as a percentage of the current target ratio. VE table must be retuned when this value is changed. "
1105+ useExtBaro = "By Default, Speeduino will measure barometric pressure upon startup. Optionally however, a 2nd pressure sensor can be used to perform live barometric readings whilst the system is on."
1106+
1107+ flexEnabled = "Turns on readings from the Flex sensor and enables the below adjustments"
1108+ flexFreqLow = "The frequency of the sensor at 0% ethanol (50Hz for standard GM/Continental sensor)"
1109+ flexFreqHigh = "The frequency of the sensor at 100% ethanol (150Hz for standard GM/Continental sensor)"
1110+ flexFuelAdj = "Fuel % to be used for the current ethanol % (Typically 100% @ 0%, 163% @ 100%)"
1111+ flexAdvAdj = "Additional advance (in degrees) for the current ethanol % (Typically 0 @ 0%, 10-20 @ 100%)"
1112+ flexBoostAdj = "Adjustment, in kPa, to the boost target for the current ethanol %. Negative values are allowed to lower boost at lower ethanol % if necessary."
1113+
1114+ flatSArm = "The RPM switch point that determines whether an eganged clutch is for launch control or flat shift. Below this figure, an engaged clutch is considered to be for launch, above this figure an active clutch input will be considered a flat shift. This should be set at least several hundred RPM above idle"
1115+ flatSSoftWin= "The number of RPM below the flat shift point where the softlimit will be applied (aka Soft limit window). Recommended values are 200-1000"
1116+ flatSRetard = "The absolute timing (BTDC) that will be used when within the soft limit window"
1117+ hardCutType = "How hard cuts should be performed for rev/launch limits. Full cut will stop all ignition events, Rolling cut will step through all ignition outputs, only cutting 1 per revolution"
1118+
1119+ #if CAN_COMMANDS
1120+ enable_canbus = "This Enables either the secondary serial port or output via internal Can module. Secondary serial is serial3 on mega2560 processor, and Serial2 on STM32 and Teensy processor "
1121+ #else
1122+ enable_canbus = "This Enables the IO on the secondary serial port. This is serial3 on mega2560 processor, and Serial2 on STM32 and Teensy processor "
1123+ #endif
1124+ ;speeduino_tsCanId = "This is the TsCanId that the Speeduino ECU will respond to. This should match the main controller CAN ID in project properties if it is connected directy to TunerStudio, Otherwise the device ID if connected via CAN passthrough"
1125+ true_address = "This is the 11bit Can address of the Speeduino ECU "
1126+ realtime_base_address = "This is the 11bit CAN address of the realtime data broadcast from the Speeduino ECU. This MUST be at least 0x16 greater than the true address"
1127+ ;obd_address = "The 11bit Can address that the Speeduino ECU responds to for OBD2 diagnostic requests"
1128+ caninput_sel0 = "This Enables CAN data input channel 0 "
1129+ caninput_sel1 = "This Enables CAN data input channel 1 "
1130+ caninput_sel2 = "This Enables CAN data input channel 2 "
1131+ caninput_sel3 = "This Enables CAN data input channel 3 "
1132+ caninput_sel4 = "This Enables CAN data input channel 4 "
1133+ caninput_sel5 = "This Enables CAN data input channel 5 "
1134+ caninput_sel6 = "This Enables CAN data input channel 6 "
1135+ caninput_sel7 = "This Enables CAN data input channel 7 "
1136+ caninput_sel8 = "This Enables CAN data input channel 8 "
1137+ caninput_sel9 = "This Enables CAN data input channel 9 "
1138+ caninput_sel10 = "This Enables CAN data input channel 10 "
1139+ caninput_sel11 = "This Enables CAN data input channel 11 "
1140+ caninput_sel12 = "This Enables CAN data input channel 12 "
1141+ caninput_sel13 = "This Enables CAN data input channel 13 "
1142+ caninput_sel14 = "This Enables CAN data input channel 14 "
1143+ caninput_sel15 = "This Enables CAN data input channel 15 "
1144+ caninput_source_can_address0 = "The source 11bit CAN address of the data for channel 0"
1145+ caninput_source_can_address1 = "The source 11bit CAN address of the data for channel 1"
1146+ caninput_source_can_address2 = "The source 11bit CAN address of the data for channel 2"
1147+ caninput_source_can_address3 = "The source 11bit CAN address of the data for channel 3"
1148+ caninput_source_can_address4 = "The source 11bit CAN address of the data for channel 4"
1149+ caninput_source_can_address5 = "The source 11bit CAN address of the data for channel 5"
1150+ caninput_source_can_address6 = "The source 11bit CAN address of the data for channel 6"
1151+ caninput_source_can_address7 = "The source 11bit CAN address of the data for channel 7"
1152+ caninput_source_can_address8 = "The source 11bit CAN address of the data for channel 8 "
1153+ caninput_source_can_address9 = "The source 11bit CAN address of the data for channel 9"
1154+ caninput_source_can_address10 = "The source 11bit CAN address of the data for channel 10"
1155+ caninput_source_can_address11 = "The source 11bit CAN address of the data for channel 11"
1156+ caninput_source_can_address12 = "The source 11bit CAN address of the data for channel 12"
1157+ caninput_source_can_address13 = "The source 11bit CAN address of the data for channel 13"
1158+ caninput_source_can_address14 = "The source 11bit CAN address of the data for channel 14"
1159+ caninput_source_can_address15 = "The source 11bit CAN address of the data for channel 15"
1160+ caninput_source_start_byte0 = "The Starting byte the data begins at for channel 0"
1161+ caninput_source_start_byte1 = "The Starting byte the data begins at for channel 1"
1162+ caninput_source_start_byte2 = "The Starting byte the data begins at for channel 2"
1163+ caninput_source_start_byte3 = "The Starting byte the data begins at for channel 3"
1164+ caninput_source_start_byte4 = "The Starting byte the data begins at for channel 4"
1165+ caninput_source_start_byte5 = "The Starting byte the data begins at for channel 5"
1166+ caninput_source_start_byte6 = "The Starting byte the data begins at for channel 6"
1167+ caninput_source_start_byte7 = "The Starting byte the data begins at for channel 7"
1168+ caninput_source_start_byte8 = "The Starting byte the data begins at for channel 8"
1169+ caninput_source_start_byte9 = "The Starting byte the data begins at for channel 9"
1170+ caninput_source_start_byte10 = "The Starting byte the data begins at for channel 10"
1171+ caninput_source_start_byte11 = "The Starting byte the data begins at for channel 11"
1172+ caninput_source_start_byte12 = "The Starting byte the data begins at for channel 12"
1173+ caninput_source_start_byte13 = "The Starting byte the data begins at for channel 13"
1174+ caninput_source_start_byte14 = "The Starting byte the data begins at for channel 14"
1175+ caninput_source_start_byte15 = "The Starting byte the data begins at for channel 15"
1176+ caninput_source_num_bytes0 = "The number of bytes the data is made from starting at selected start byte number"
1177+ caninput_source_num_bytes1 = "The number of bytes the data is made from starting at selected start byte number"
1178+ caninput_source_num_bytes2 = "The number of bytes the data is made from starting at selected start byte number"
1179+ caninput_source_num_bytes3 = "The number of bytes the data is made from starting at selected start byte number"
1180+ caninput_source_num_bytes4 = "The number of bytes the data is made from starting at selected start byte number"
1181+ caninput_source_num_bytes5 = "The number of bytes the data is made from starting at selected start byte number"
1182+ caninput_source_num_bytes6 = "The number of bytes the data is made from starting at selected start byte number"
1183+ caninput_source_num_bytes7 = "The number of bytes the data is made from starting at selected start byte number"
1184+ caninput_source_num_bytes8 = "The number of bytes the data is made from starting at selected start byte number"
1185+ caninput_source_num_bytes9 = "The number of bytes the data is made from starting at selected start byte number"
1186+ caninput_source_num_bytes10 = "The number of bytes the data is made from starting at selected start byte number"
1187+ caninput_source_num_bytes11 = "The number of bytes the data is made from starting at selected start byte number"
1188+ caninput_source_num_bytes12 = "The number of bytes the data is made from starting at selected start byte number"
1189+ caninput_source_num_bytes13 = "The number of bytes the data is made from starting at selected start byte number"
1190+ caninput_source_num_bytes14 = "The number of bytes the data is made from starting at selected start byte number"
1191+ caninput_source_num_bytes15 = "The number of bytes the data is made from starting at selected start byte number"
1192+
1193+ cmdEnableTestMode = "Click this to enable test mode. This will not be available if the engine is running"
1194+ cmdStopTestMode = "Click this to disable test mode"
1195+ cmdtestinj150dc = "this will cycle the output at 50% Duty cycle"
1196+ cmdtestinj250dc = "this will cycle the output at 50% Duty cycle"
1197+ cmdtestinj350dc = "this will cycle the output at 50% Duty cycle"
1198+ cmdtestinj450dc = "this will cycle the output at 50% Duty cycle"
1199+ cmdtestspk150dc = "this will cycle the output at 50% Duty cycle"
1200+ cmdtestspk250dc = "this will cycle the output at 50% Duty cycle"
1201+ cmdtestspk350dc = "this will cycle the output at 50% Duty cycle"
1202+ cmdtestspk450dc = "this will cycle the output at 50% Duty cycle"
1203+
1204+ boostIntv = "The closed loop control interval will run every this many ms. Generally values between 50% and 100% of the valve frequency work best"
1205+ VVTasOnOff = "Whether or not the VVT table should be treated as on and off control only. If you are using the VVT map to control a switch, this should be Yes. If you are using the VVT control to drive a PWM signal, this should be No"
1206+
1207+ stagedInjSizePri= "Size of the primary injectors. The sum of the Pri and Sec injectors values MUST match the value used in the req_fuel calculation"
1208+ stagedInjSizeSec= "Size of the secondary injectors. The sum of the Pri and Sec injectors values MUST match the value used in the req_fuel calculation"
1209+#if resetcontrol_adv
1210+ resetControl = "How to control the Arduino's automatic reset feature. NOTE: Some of these settings require modifying your hardware and replacing the Arduino bootloader. See the Wiki for more details.\n\nDisabled: Allow the Arduino to reset when a new serial connection is made.\n\nPrevent When Running: Hold the control pin high while the engine is running.\n\nPrevent Always: Always hold the control pin high.\n\nSerial Command: Normally hold the control pin high, but pull it low when the 'U' serial command is issued and reset upon receiving more data."
1211+#else
1212+ resetControl = "If set to Serial Command, normally hold the control pin high but pull it low when the 'U' serial command is issued and reset upon receiving more data. The control pin should be connected to the Arduino's reset pin."
1213+#endif
1214+ resetControlPin = "The Arduino pin used to control resets."
1215+
1216+[UserDefined]
1217+
1218+; Enhanced TunerStudio dialogs can be defined here
1219+; MegaTune will over look this section
1220+; These dialogs will over-ride those in the UserDefined Section
1221+; User defined ar loaded first, then if one by the same name is defiend here,
1222+; it will replace the MegaTune definition
1223+
1224+; dialog = name, Title, Layout
1225+;
1226+; valid options for layout are xAxis, yAxis, border
1227+; for an xAxis, each field added will be added from right to left
1228+; A yAxis layout will add fields from top to bottom
1229+; A border layout will expect an additional constraint to determine placement
1230+; valid border constraints are north, South, East, West, Center
1231+; all 5 do not need to be filled.
1232+
1233+; The field name can be either a constant reference, or a reference to another
1234+; dialog which will be added.
1235+; dialogs can be nested and can be mixed with fields
1236+
1237+ dialog = engine_constants_southwest, "Speeduino Board"
1238+ field = "Stoichiometric ratio", stoich
1239+ field = "Injector Layout", injLayout, { nCylinders <= 4 }
1240+ field = "Board Layout", pinLayout
1241+ field = "MAP Sample method", mapSample
1242+
1243+ dialog = engine_constants_west, ""
1244+ panel = std_injection, North
1245+ panel = engine_constants_southwest
1246+
1247+ dialog = engine_constants_northeast, "Oddfire Angles"
1248+ field = "Channel 2 angle", oddfire2, { engineType == 1 }
1249+ field = "Channel 3 angle", oddfire3, { engineType == 1 && nCylinders >= 3 }
1250+ field = "Channel 4 angle", oddfire4, { engineType == 1 && nCylinders >= 4 }
1251+
1252+ dialog = engine_constants_east, ""
1253+ panel = engine_constants_northeast, North
1254+ field = ""
1255+
1256+ dialog = engine_constants, "", border
1257+ panel = engine_constants_west, West
1258+ panel = engine_constants_east, East
1259+
1260+ dialog = captureMode, "Capture Mode" ;[PJSC]
1261+;[PJSC v1.0] field = "Capture External Spark Timing", externalTriggerEnabled ; |
1262+ field = "Capture Exhaust Valve Position", exValveCaptureEnabled ; |
1263+;[PJSC v1.0] field = "Capture Duty Pulse ch1", dutyPulseCaptureEnabled ; V
1264+;[PJSC v1.0] field = "Capture Duty Pulse ch2", dutyPulseCaptureEnabled2 ;[PJSC]
1265+
1266+ dialog = captSparkSetting, "Capture External Spark Control" ;[PJSC]
1267+ field = "Spark caputure trigger edge", externalTrigEdge ;[PJSC]
1268+
1269+ dialog = captExValveSetting, "Capture Exhaust Valve Position Control" ;[PJSC]
1270+ field = "Exhaust valve calibration mode", exValveCalibrationMode ; |
1271+ field = "Closed exhaust valve ADC count", exValvePosMin ; V
1272+ field = "Open exhaust valve ADC count", exValvePosMax ;[PJSC]
1273+
1274+ dialog = captDutyPulseSetting, "Capture Duty Pulse Control" ;[PJSC]
1275+ field = "Duty pulse ON Level ch1", dutyPulseOnLevel ;[PJSC]
1276+ field = "Duty pulse ON Level ch2", dutyPulseOnLevel2 ;[PJSC]
1277+
1278+# Flex fuel stuff
1279+ dialog = flexFuelSettings, "", yAxis
1280+ field = "Flex Fuel Sensor ", flexEnabled
1281+ field = "Low (E0) ", flexFreqLow, { flexEnabled }
1282+ field = "High (E100) ", flexFreqHigh, { flexEnabled }
1283+
1284+ dialog = flexFuelWest, ""
1285+ panel = flex_fuel_curve, { flexEnabled }
1286+ panel = flex_adv_curve, { flexEnabled }
1287+
1288+ dialog = flexFuelEast, ""
1289+ panel = flex_boost_curve, { flexEnabled && boostEnabled }
1290+
1291+ ;dialog = flexCurves, "", indexCard
1292+ dialog = flexCurves, "", xAxis
1293+ panel = flexFuelWest, West
1294+ panel = flexFuelEast, East
1295+
1296+ dialog = flexFueling, "Fuel Sensor Settings", border
1297+ topicHelp = "http://speeduino.com/wiki/index.php/Flex_Fuel"
1298+ ;panel = flexFuelWest, West
1299+ panel = flexFuelSettings, North
1300+ panel = flexCurves, South
1301+
1302+ dialog = tacho, "Tacho"
1303+ field = "Output pin", tachoPin
1304+ field = "Output speed", tachoDiv
1305+
1306+ dialog = accelEnrichments_center, ""
1307+ field = "TPSdot Threshold", tpsThresh
1308+ field = "Accel Time", taeTime
1309+
1310+ dialog = accelEnrichments_south, "Decelleration Fuel Cutoff (DFCO)"
1311+ field = "Enabled", dfcoEnabled
1312+ field = "TPS Threshold", dfcoTPSThresh, { dfcoEnabled }
1313+ field = "Cutoff RPM", dfcoRPM, { dfcoEnabled }
1314+ field = "RPM Hysteresis", dfcoHyster, { dfcoEnabled }
1315+
1316+ dialog = accelEnrichments_north_south, ""
1317+ liveGraph = pump_ae_Graph, "AE Graph"
1318+ graphLine = afr
1319+ graphLine = TPSdot, "%", -2000, 2000, auto, auto
1320+
1321+ dialog = accelEnrichments_north, "", xAxis
1322+ panel = time_accel_tpsdot_curve
1323+
1324+ dialog = accelEnrichments, "Acceleration Enrichment"
1325+ topicHelp = "http://speeduino.com/wiki/index.php/Acceleration_Wizard"
1326+ panel = accelEnrichments_north, North
1327+ panel = accelEnrichments_north_south, Center
1328+ panel = accelEnrichments_center, Center
1329+ panel = accelEnrichments_south, South
1330+
1331+ dialog = veMapSelectDialog, "VE Table select" ;[PJSC]
1332+ field = "Multi VE Table", multiVEmapEnabled ; |
1333+ field = "Injector 1", veMapSelection1, { multiVEmapEnabled == 1 } ; |
1334+ field = "Injector 2", veMapSelection2, { multiVEmapEnabled == 1 } ; |
1335+ field = "Injector 3", veMapSelection3, { multiVEmapEnabled == 1 } ; V
1336+ field = "Injector 4", veMapSelection4, { multiVEmapEnabled == 1 } ;[PJSC]
1337+
1338+;[PJSC] dialog = veTableDialog_north, ""
1339+;[PJSC] panel = veTable1Tbl
1340+ dialog = veTable1Dialog_north, "" ;[PJSC]
1341+ panel = veTable1Tbl ;[PJSC]
1342+
1343+;[PJSC] dialog = veTableDialog_south, ""
1344+ dialog = veTable1Dialog_south, "" ;[PJSC]
1345+ field = "Multiply VE value by MAP:Baro ratio", multiplyMAP
1346+ field = "Multiply by ratio of AFR to Target AFR", includeAFR, { egoType == 2 }
1347+
1348+;[PJSC] dialog = veTableDialog, "VE Table"
1349+;[PJSC] panel = veTableDialog_north, North
1350+;[PJSC] panel = veTableDialog_south, South
1351+ dialog = veTable1Dialog, "VE Table 1" ;[PJSC]
1352+ panel = veTable1Dialog_north, North ;[PJSC]
1353+ panel = veTable1Dialog_south, South ;[PJSC]
1354+
1355+ dialog = veTable2Dialog_north, ""
1356+ panel = veTable2Tbl
1357+
1358+ dialog = veTable2Dialog_south, ""
1359+ field = "Multiply VE value by MAP", multiplyMAP
1360+ field = "Include AFR directly", includeAFR, { egoType == 2 }
1361+
1362+ dialog = veTable2Dialog, "VE Table 2"
1363+ panel = veTable2Dialog_north, North
1364+ panel = veTable2Dialog_south, South
1365+
1366+
1367+ dialog = injChars, "Injector Characteristics"
1368+ field = "Squirt Device", squirtDeviceType ;[PJSC]
1369+ field = "PJSC solenoid freq.", pjscFreq, { squirtDeviceType == 1 } ;[PJSC]
1370+ field = "Injector Open Time", injOpen, { squirtDeviceType == 0 } ;[PJSC]
1371+ field = "Injector close angle", { squirtDeviceType == 0 } ;[PJSC]
1372+ field = "", inj1Ang, { indInjAng == 0 && squirtDeviceType == 0 } ;[PJSC]
1373+ field = "Individual channel setting", indInjAng, { squirtDeviceType == 0 } ;[PJSC]
1374+ field = "Channel 1", inj1Ang, { indInjAng && squirtDeviceType == 0 } ;[PJSC]
1375+ field = "Channel 2", inj2Ang, { nCylinders > 1 && indInjAng && squirtDeviceType == 0 } ;[PJSC]
1376+ field = "Channel 3", inj3Ang, { indInjAng && (nCylinders > 4 || nCylinders == 3 || ((nCylinders == 4) && (injLayout == 3))) && squirtDeviceType == 0 } ;[PJSC]
1377+ field = "Channel 4", inj4Ang, { indInjAng && (nCylinders > 6 || ((nCylinders == 4) && (injLayout == 3))) && squirtDeviceType == 0 } ;[PJSC]
1378+ field = "Injector Duty Limit", dutyLim, { squirtDeviceType == 0 } ;[PJSC]
1379+;[PJSC] field = "Injector Open Time", injOpen
1380+;[PJSC] field = "Injector close angle"
1381+;[PJSC] field = "", inj1Ang, { indInjAng == 0 }
1382+;[PJSC] field = "Individual channel setting", indInjAng
1383+;[PJSC] field = "Channel 1", inj1Ang, { indInjAng }
1384+;[PJSC] field = "Channel 2", inj2Ang, { nCylinders > 1 && indInjAng }
1385+;[PJSC] field = "Channel 3", inj3Ang, { indInjAng && (nCylinders > 4 || nCylinders == 3 || ((nCylinders == 4) && (injLayout == 3))) }
1386+;[PJSC] field = "Channel 4", inj4Ang, { indInjAng && (nCylinders > 6 || ((nCylinders == 4) && (injLayout == 3))) }
1387+;[PJSC] field = "Injector Duty Limit", dutyLim
1388+ panel = injector_voltage_curve
1389+
1390+ dialog = egoControl, ""
1391+ topicHelp = "http://speeduino.com/wiki/index.php/AFR/O2"
1392+ field = "Sensor Type", egoType
1393+ field = "Algorithm", egoAlgorithm, { egoType }
1394+ field = "Ignition Events per Step", egoCount, { egoType && (egoAlgorithm < 3) }
1395+ field = "Controller Auth +/-", egoLimit, { egoType && (egoAlgorithm < 3) }
1396+ field = "Only correct above:", ego_min, { egoType && (egoAlgorithm < 3) }
1397+ field = "and correct below:", ego_max, { egoType && (egoAlgorithm < 3) }
1398+
1399+ field = "Active Above Coolant", egoTemp, { egoType && (egoAlgorithm < 3) }
1400+ field = "Active Above RPM", egoRPM, { egoType && (egoAlgorithm < 3) }
1401+ field = "Active Below TPS", egoTPSMax, { egoType && (egoAlgorithm < 3) }
1402+ field = "EGO delay after start", ego_sdelay, { (egoAlgorithm < 3) }
1403+ field = "PID Proportional Gain", egoKP, { egoType && (egoAlgorithm == 2) }
1404+ field = "PID Integral", egoKI, { egoType && (egoAlgorithm == 2) }
1405+ field = "PID Derivative", egoKD, { egoType && (egoAlgorithm == 2) }
1406+
1407+ dialog = fanSettings,"Fan Settings",7
1408+ field = "Fan Mode", fanEnable
1409+ field = "Fan output pin", fanPin, { fanEnable }
1410+ field = "Fan Output Inverted", fanInv , { fanEnable }
1411+ field = "Fan temperature SP", fanSP, { fanEnable }
1412+ field = "Fan hysteresis", fanHyster, { fanEnable }
1413+
1414+ dialog = stepper_idle, "Stepper Idle"
1415+ field = "Step time (ms)", iacStepTime, { iacAlgorithm == 4 || iacAlgorithm == 5 }
1416+ field = "Home steps", iacStepHome, { iacAlgorithm == 4 || iacAlgorithm == 5 }
1417+ field = "Minimum Steps", iacStepHyster, { iacAlgorithm == 4 || iacAlgorithm == 5 }
1418+
1419+ dialog = pwm_idle, "PWM Idle"
1420+ field = "Number of outputs", iacChannels, { iacAlgorithm == 2 || iacAlgorithm == 3 }
1421+ field = "Idle valve frequency", idleFreq, { iacAlgorithm == 2 || iacAlgorithm == 3 }
1422+ field = "Idle valve direction", iacPWMdir, { iacAlgorithm == 2 || iacAlgorithm == 3 }
1423+
1424+ dialog = closedloop_idle, "Closed loop Idle"
1425+ field = "P", idleKP, { iacAlgorithm == 3 || iacAlgorithm == 5 }
1426+ field = "I", idleKI, { iacAlgorithm == 3 || iacAlgorithm == 5 }
1427+ field = "D", idleKD, { iacAlgorithm == 3 || iacAlgorithm == 5 }
1428+ field = "Minimum valve duty", iacCLminDuty, { iacAlgorithm == 3 }
1429+ field = "Maximum valve duty", iacCLmaxDuty, { iacAlgorithm == 3 }
1430+
1431+ dialog = idleSettings, "Idle Settings"
1432+ topicHelp = "http://speeduino.com/wiki/index.php/Idle"
1433+ field = "Idle control type", iacAlgorithm
1434+ field = "#Fast Idle"
1435+ field = "Fast idle temp", iacFastTemp, { iacAlgorithm == 1 }
1436+ panel = pwm_idle
1437+ panel = stepper_idle
1438+ panel = closedloop_idle
1439+
1440+ dialog = fuelpump, "Fuel pump"
1441+ field = "Fuel pump pin", fuelPumpPin
1442+ field = "Fuel pump prime duration", fpPrime
1443+
1444+ dialog = crankingEnrichDialog, "Cranking Enrichment", yAxis
1445+ panel = cranking_enrich_curve
1446+ field = "#Note"
1447+ field = "Values are specified as modifiers to the normal fueling. Eg 100% = No change."
1448+
1449+ dialog = crankingIgnOptions, "Cranking Timing", yAxis
1450+ field = "Cranking advance Angle", CrankAng, { ignCranklock == 0 }
1451+ field = "Cranking bypass", ignBypassEnable
1452+ field = "Bypass output pin", ignBypassPin { ignBypassEnable }
1453+ field = "Fix cranking timing with trigger", ignCranklock, { TrigPattern == 1 || TrigPattern == 4 || TrigPattern == 10 || TrigPattern == 9 }
1454+
1455+ dialog = crankingOptions, "", yAxis
1456+ field = "Cranking RPM (Max)", crankRPM
1457+ field = "Flood Clear level", tpsflood
1458+ field = ""
1459+ field = "Fuel pump prime duration", fpPrime
1460+ field = "Priming Pulsewidth", primePulse
1461+
1462+ dialog = crankPW, "Cranking Settings", yAxis
1463+ topicHelp = "http://speeduino.com/wiki/index.php/Cranking"
1464+ panel = crankingOptions, North
1465+ panel = crankingEnrichDialog, Center
1466+ panel = crankingIgnOptions, South
1467+
1468+
1469+ dialog = aseSettings, "Afterstart Enrichment"
1470+ field = "Enrichment %", asePct
1471+ field = "Number of Sec to run", aseCount
1472+
1473+
1474+ dialog = triggerSettings,"Trigger Settings",4
1475+ topicHelp = "http://speeduino.com/wiki/index.php/Decoders"
1476+ field = "Trigger Pattern", TrigPattern
1477+ field = "Primary base teeth", numTeeth, { TrigPattern == 0 || TrigPattern == 2 || TrigPattern == 11 }
1478+ field = "Primary trigger speed", TrigSpeed, { TrigPattern == 0 }
1479+ field = "Missing teeth", missingTeeth, { TrigPattern == 0 }
1480+ field = "Secondary teeth", missingTeeth, { TrigPattern == 2 }
1481+ field = "Trigger angle multiplier", TrigAngMul, { TrigPattern == 11 }
1482+ field = "Trigger Angle ", TrigAng
1483+ field = "This number represents the angle ATDC when "
1484+ field = "tooth #1 passes the primary sensor."
1485+ field = ""
1486+ field = "Skip Revolutions", SkipCycles
1487+ field = "Note: This is the number of revolutions that will be skipped during"
1488+ field = "cranking before the injectors and coils are fired"
1489+ field = "Trigger edge", TrigEdge
1490+ field = "Secondary trigger edge", TrigEdgeSec, { TrigPattern == 0 || TrigPattern == 2 || TrigPattern == 9 || TrigPattern == 12 } ;Missing tooth, dual wheel and Miata 9905
1491+ field = "Missing Tooth Secondary type" trigPatternSec, { TrigPattern == 0 }
1492+ field = "Trigger Filter", TrigFilter
1493+ field = "Re-sync every cycle", useResync, { TrigPattern == 2 || TrigPattern == 4 || TrigPattern == 7 || TrigPattern == 12 || TrigPattern == 9 } ;Dual wheel, 4G63, Audi 135, Nissan 360, Miata 99-05
1494+ field = ""
1495+ field = "#The below option is EXPERIMENTAL! If unsure what this is, please set to No"
1496+ field = "User per tooth ignition calculation", perToothIgn, {TrigPattern == 0 || TrigPattern == 1 || TrigPattern == 2 || TrigPattern == 4 || TrigPattern == 12 || TrigPattern == 16 } ;Only works for missing tooth, distributor, dual wheel, nissan 360, 36-2-2-2
1497+
1498+;[PJSC] dialog = sparkSettings,"Spark Settings",4
1499+;[PJSC] field = "Spark output mode", sparkMode
1500+;[PJSC] field = "Cranking advance Angle", CrankAng
1501+;[PJSC] field = "Spark Outputs triggers", IgInv
1502+;[PJSC] field = ""
1503+;[PJSC] field = "Fixed Angle (0 = use map)", FixAng
1504+
1505+;[PJSC] dialog = dwellSettings, "Dwell Settings", 4
1506+;[PJSC] topicHelp = "http://speeduino.com/wiki/index.php/Dwell"
1507+;[PJSC] field = " Cranking dwell", dwellcrank
1508+;[PJSC] field = " Running dwell", dwellrun
1509+;[PJSC] field = " Spark duration", sparkDur
1510+;[PJSC] field = ""
1511+;[PJSC] field = "#Note"
1512+;[PJSC] field = "The above times are for 12V. Voltage correction"
1513+;[PJSC] field = "is applied. At higher voltages the time is reduced"
1514+;[PJSC] field = "and when low it is increased"
1515+;[PJSC] field = ""
1516+;[PJSC] field = "Overdwell protection"
1517+;[PJSC] field = "Use Overdwell protection", useDwellLim
1518+;[PJSC] field = "Max dwell time", dwellLim, { useDwellLim }
1519+;[PJSC] field = "Note: Set the maximum dwell time at least 3ms above"
1520+;[PJSC] field = "your desired dwell time (Including cranking)"
1521+
1522+;[PJSC] dialog = rotary_ignition, "Rotary Ignition", 4
1523+;[PJSC] field = "Ignition Configuration", rotaryType
1524+;[PJSC] panel = rotaryTrailing_curve
1525+
1526+ dialog = boostCut, "Boost Cut"
1527+ field = "Boost Cut", boostCutType
1528+ field = "Boost Limit", boostLimit, { boostCutType }
1529+
1530+ dialog = RevLimiterS, "Rev Limiter", 4
1531+ topicHelp = "http://speeduino.com/wiki/index.php/Rev_Limits"
1532+ field = "Rev Limiter"
1533+ field = "Soft rev limit", SoftRevLim
1534+ field = "Soft limit absolute timing", SoftLimRetard
1535+ field = "Soft limit max time", SoftLimMax
1536+ field = "Hard Rev limit", HardRevLim
1537+ field = "Hard limiter method", hardCutType
1538+ panel = boostCut
1539+
1540+ dialog = clutchInput, "Clutch input"
1541+ field = "Clutch Input Pin", launchPin, { launchEnable || flatSEnable }
1542+ field = "Clutch enabled when signal is",launchHiLo, { launchEnable || flatSEnable }
1543+ field = "Clutch Pullup Resistor", lnchPullRes, { launchEnable || flatSEnable }
1544+ field = "Launch / Flat Shift switch RPM",flatSArm, { launchEnable || flatSEnable }
1545+
1546+ dialog = LaunchControl, "Launch Control / Flat shift", 6
1547+ topicHelp = "http://speeduino.com/wiki/index.php/Launch_Flatshift"
1548+ panel = clutchInput
1549+ ; Launch control
1550+ field = "Launch Control"
1551+ field = "Enable Launch", launchEnable
1552+ field = "TPS threshold", lnchCtrlTPS, { launchEnable }
1553+ field = "Soft rev limit", lnchSoftLim, { launchEnable }
1554+ field = "Soft limit absolute timing", lnchRetard, { launchEnable }
1555+ field = "Hard rev limit", lnchHardLim, { launchEnable }
1556+ field = "Fuel adder during launch", lnchFuelAdd, { launchEnable }
1557+
1558+ ; Flat shift
1559+ field = "Flat Shift"
1560+ field = "Enable flat shift", flatSEnable
1561+ field = "Soft rev window", flatSSoftWin, { flatSEnable }
1562+ field = "Soft limit absolute timing", flatSRetard, { flatSEnable }
1563+
1564+
1565+ dialog = OLED, "OLED Display", 2
1566+ field = "Display Type", display
1567+ field = "#Note"
1568+ field = "ECU must be rebooted after changing above value"
1569+ field = "Field 1", display1, { display }
1570+ field = "Field 2", display2, { display }
1571+ field = "Field 3", display3, { display }
1572+ field = "Field 4", display4, { display }
1573+ ;field = "Bar 1", displayB1, { display }
1574+ ;field = "Bar 2", displayB2, { display > 2 }
1575+
1576+ dialog = mapCal, "Calibrate MAP"
1577+ field = "#MAP Sensor"
1578+ settingSelector = "Common Pressure Sensors"
1579+ settingOption = "MPX4115", mapMin=10, mapMax=118 ; https://www.nxp.com/docs/en/data-sheet/MPX4115.pdf
1580+ settingOption = "MPX4250", mapMin=10, mapMax=260 ; https://www.nxp.com/docs/en/data-sheet/MPX4250A.pdf Vout = VCC x (P x 0.004 – 0.04)
1581+ settingOption = "GM 1-BAR", mapMin=10, mapMax=105 ; https://speeduino.com/wiki/index.php/File:GM_Table.gif
1582+ settingOption = "GM 2-BAR", mapMin=9, mapMax=208 ; https://speeduino.com/wiki/index.php/File:GM_Table.gif
1583+ settingOption = "GM 3-BAR", mapMin=1, mapMax=315 ; VOUT = VS*(.00318*P-.00353)
1584+ settingOption = "MPXH6300", mapMin=1, mapMax=315 ; https://www.nxp.com/docs/en/data-sheet/MPXH6300A.pdf VOUT = VS*(.00318*P-.00353)
1585+ settingOption = "MPX5700", mapMin=-31, mapMax=746 ; https://www.nxp.com/docs/en/data-sheet/MPX5700.pdf Vout = VS*(0.0012858*P+0.04)
1586+ settingOption = "MPX6400", mapMin=3, mapMax=416 ; https://www.nxp.com/docs/en/data-sheet/MPXH6400A.pdf VOUT = VS x (0.002421xP–0.00842)
1587+ settingOption = "Denso 079800", mapMin=0, mapMax=173 ; http://speeduino.com/forum/viewtopic.php?f=18&t=510&p=7023#p7021
1588+ settingOption = "VW/Audi/Porsche 250kPa", mapMin=26, mapMax=250 ; http://speeduino.com/forum/viewtopic.php?p=17502#p17502
1589+
1590+ field = "kPa At 0.0 Volts", mapMin
1591+ field = "kPa At 5.0 Volts", mapMax
1592+
1593+ field = "#Baro Sensor"
1594+ field = "Use external Baro sensor", useExtBaro
1595+ field = "Analog pin to use for ext. Baro sensor", baroPin, { useExtBaro }
1596+
1597+ settingSelector = "Common Pressure Sensors", { useExtBaro }
1598+ settingOption = "MPX4115", baroMin=10, baroMax=118 ; https://www.nxp.com/docs/en/data-sheet/MPX4115.pdf
1599+ settingOption = "MPX4250", baroMin=10, baroMax=260 ; https://www.nxp.com/docs/en/data-sheet/MPX4250A.pdf Vout = VCC x (P x 0.004 – 0.04)
1600+ settingOption = "GM 1-BAR", baroMin=10, baroMax=105 ; https://speeduino.com/wiki/index.php/File:GM_Table.gif
1601+ settingOption = "GM 2-BAR", baroMin=9, baroMax=208 ; https://speeduino.com/wiki/index.php/File:GM_Table.gif
1602+ settingOption = "GM 3-BAR", baroMin=1, baroMax=315 ; VOUT = VS*(.00318*P-.00353)
1603+ settingOption = "MPXH6300", baroMin=1, baroMax=315 ; https://www.nxp.com/docs/en/data-sheet/MPXH6300A.pdf VOUT = VS*(.00318*P-.00353)
1604+ settingOption = "MPX5700", baroMin=-31, baroMax=746 ; https://www.nxp.com/docs/en/data-sheet/MPX5700.pdf Vout = VS*(0.0012858*P+0.04)
1605+ settingOption = "MPX6400", baroMin=3, baroMax=416 ; https://www.nxp.com/docs/en/data-sheet/MPXH6400A.pdf VOUT = VS x (0.002421xP–0.00842)
1606+ settingOption = "Denso 079800", baroMin=0, baroMax=173 ; http://speeduino.com/forum/viewtopic.php?f=18&t=510&p=7023#p7021
1607+ settingOption = "VW/Audi/Porsche 250kPa", baroMin=26, baroMax=250 ; http://speeduino.com/forum/viewtopic.php?p=17502#p17502
1608+
1609+ field = "kPa At 0.0 Volts", baroMin, { useExtBaro }
1610+ field = "kPa At 5.0 Volts", baroMax, { useExtBaro }
1611+
1612+ field = "#EMAP Sensor"
1613+ field = "Use EMAP sensor", useEMAP
1614+ field = "Analog pin to use for ext. Baro sensor", EMAPPin, { useEMAP }
1615+
1616+ settingSelector = "Common Pressure Sensors", { useEMAP }
1617+ settingOption = "MPX4115", EMAPMin=10, EMAPMax=118 ; https://www.nxp.com/docs/en/data-sheet/MPX4115.pdf
1618+ settingOption = "MPX4250", EMAPMin=10, EMAPMax=260 ; https://www.nxp.com/docs/en/data-sheet/MPX4250A.pdf Vout = VCC x (P x 0.004 – 0.04)
1619+ settingOption = "GM 1-BAR", EMAPMin=10, EMAPMax=105 ; https://speeduino.com/wiki/index.php/File:GM_Table.gif
1620+ settingOption = "GM 2-BAR", EMAPMin=9, EMAPMax=208 ; https://speeduino.com/wiki/index.php/File:GM_Table.gif
1621+ settingOption = "GM 3-BAR", EMAPMin=1, EMAPMax=315 ; VOUT = VS*(.00318*P-.00353)
1622+ settingOption = "MPXH6300", EMAPMin=1, EMAPMax=315 ; https://www.nxp.com/docs/en/data-sheet/MPXH6300A.pdf VOUT = VS*(.00318*P-.00353)
1623+ settingOption = "MPX5700", EMAPMin=-31, EMAPMax=746 ; https://www.nxp.com/docs/en/data-sheet/MPX5700.pdf Vout = VS*(0.0012858*P+0.04)
1624+ settingOption = "MPX6400", EMAPMin=3, EMAPMax=416 ; https://www.nxp.com/docs/en/data-sheet/MPXH6400A.pdf VOUT = VS x (0.002421xP–0.00842)
1625+ settingOption = "Denso 079800", EMAPMin=0, EMAPMax=173 ; http://speeduino.com/forum/viewtopic.php?f=18&t=510&p=7023#p7021
1626+ settingOption = "VW/Audi/Porsche 250kPa", EMAPMin=26, EMAPMax=250 ; http://speeduino.com/forum/viewtopic.php?p=17502#p17502
1627+
1628+ field = "kPa At 0.0 Volts", EMAPMin, { useEMAP }
1629+ field = "kPa At 5.0 Volts", EMAPMax, { useEMAP }
1630+
1631+ dialog = boostSettings, "Boost Control"
1632+ topicHelp = "http://speeduino.com/wiki/index.php/Boost_Control"
1633+ field = "Boost Control Enabled", boostEnabled
1634+ field = "Boost output pin", boostPin, { boostEnabled }
1635+ field = "Boost solenoid freq.", boostFreq, { boostEnabled }
1636+
1637+ field = "Valve minimum duty cycle", boostMinDuty, { boostEnabled }
1638+ field = "Valve maximum duty cycle", boostMaxDuty, { boostEnabled }
1639+ panel = boostCut
1640+ field = "Closed Loop settings"
1641+ field = "Control mode", boostMode, { boostEnabled }
1642+ slider = "Sensitivity", boostSens, horizontal, { boostEnabled }
1643+ field = "Control interval", boostIntv, { boostEnabled }
1644+ field = "P", boostKP, { boostEnabled && boostMode }
1645+ field = "I", boostKI, { boostEnabled && boostMode}
1646+ field = "D", boostKD, { boostEnabled && boostMode}
1647+
1648+
1649+ dialog = vvtSettings, "VVT Control"
1650+ field = "VVT Control Enabled", vvtEnabled
1651+ field = "Use VVT map as On / Off only", VVTasOnOff, { vvtEnabled }
1652+ field = "VVT output pin", vvtPin, { vvtEnabled }
1653+ field = "VVT solenoid freq.", vvtFreq, { vvtEnabled }
1654+
1655+
1656+ dialog = warmup, "Warmup Enrichment (WUE) - Percent Multiplier"
1657+ panel = warmup_curve
1658+ field = "Final enrichment value must be 100%."
1659+ field = ""
1660+ panel = aseSettings
1661+
1662+ ;Fuel trim composite dialog
1663+ dialog = inj_trim1TblTitle, "Channel #1"
1664+ panel = fuelTrimTable1Tbl, { fuelTrimEnabled }
1665+ dialog = inj_trim2TblTitle, "Channel #2"
1666+ panel = fuelTrimTable2Tbl, { fuelTrimEnabled }
1667+ dialog = inj_trim3TblTitle, "Channel #3"
1668+ panel = fuelTrimTable3Tbl, { fuelTrimEnabled }
1669+ dialog = inj_trim4TblTitle, "Channel #4"
1670+ panel = fuelTrimTable4Tbl, { fuelTrimEnabled }
1671+
1672+ dialog = inj_trimadt, "", xAxis
1673+ panel = inj_trim1TblTitle
1674+ panel = inj_trim2TblTitle
1675+ dialog = inj_trimadb, "", xAxis
1676+ panel = inj_trim3TblTitle
1677+ panel = inj_trim4TblTitle
1678+
1679+ dialog = inj_trim_enable, ""
1680+ field = "Individual fuel trim enabled", fuelTrimEnabled, { injLayout == 3 }
1681+
1682+ dialog = inj_trimad,"Injector Cyl 1-4 Trims", yAxis
1683+ panel = inj_trim_enable, North
1684+ panel = inj_trimadt, Center
1685+ panel = inj_trimadb, South
1686+
1687+ ;;Injector staging
1688+ dialog = stagingTableDialog_north, ""
1689+ field = "Staging enabled", stagingEnabled
1690+ field = "Staging mode", stagingMode
1691+ field = "Size of primary injectors", stagedInjSizePri, { stagingEnabled }
1692+ field = "Size of secondary injectors", stagedInjSizeSec, { stagingEnabled }
1693+
1694+ dialog = stagingTableDialog_south, ""
1695+ panel = stagingTbl, { stagingMode == 0 }
1696+
1697+ dialog = stagingTableDialog, "Staged injection"
1698+ topicHelp = "https://speeduino.com/wiki/index.php/Staged_Injection"
1699+ panel = stagingTableDialog_north, North
1700+ panel = stagingTableDialog_south, South
1701+
1702+ dialog = outputtest_warningmessage, ""
1703+ field = "WARNING! USE AT YOUR OWN RISK. INCORRECT USE WILL DAMAGE YOUR HARDWARE!"
1704+ field = "Do not attempt to use this page whilst your engine is running!"
1705+ field = "Forcing the Injector or Spark outputs could cause flooding of your engine or permanent damage to ignition coils!"
1706+
1707+
1708+ dialog = enableoutputtestbuttons, "Enable Test Controls", xAxis
1709+ ;commandButton = "Label Text", command, { Enabled Condition }, optionalFlags
1710+
1711+ ; The rem > 0 expression is just for testing.. It works when the arduino is on the Stim with rpm.
1712+ ; a status bit there would be the expected real expression
1713+ commandButton = "Enable Test Mode", cmdEnableTestMode,{!testenabled & !testactive }
1714+
1715+ ; if clickOnCloseIfEnabled is set, then the command assigned to this button will be run on the
1716+ ; dialog close, but only if the enable condition is true
1717+ ; valid click flags are:
1718+ ; clickOnCloseIfEnabled - the command will be sent on dialog close if active condition is true
1719+ ; clickOnCloseIfDisabled - the command will be sent on dialog close if active condition is false
1720+ ; clickOnClose - the command will be sent on dialog close always
1721+ commandButton = "Stop Test Mode", cmdStopTestMode,{testactive}, clickOnCloseIfEnabled
1722+
1723+ dialog = outputtestinj1, "Injector CH1", yAxis
1724+ commandButton = "Off", cmdtestinj1off,{testactive}
1725+ commandButton = "50% DC", cmdtestinj150dc,{!testenabled & testactive}
1726+ commandButton = "On", cmdtestinj1on,{!testenabled & testactive}
1727+ dialog = outputtestinj2, "Injector CH2", yAxis
1728+ commandButton = "Off", cmdtestinj2off,{testactive}
1729+ commandButton = "50% DC", cmdtestinj250dc,{!testenabled &testactive}
1730+ commandButton = "On", cmdtestinj2on,{!testenabled & testactive}
1731+ dialog = outputtestinj3, "Injector CH3", yAxis
1732+ commandButton = "Off", cmdtestinj3off,{testactive}
1733+ commandButton = "50% DC", cmdtestinj350dc,{!testenabled & testactive}
1734+ commandButton = "On", cmdtestinj3on,{!testenabled & testactive}
1735+ dialog = outputtestinj4, "Injector CH4", yAxis
1736+ commandButton = "Off", cmdtestinj4off,{testactive}
1737+ commandButton = "50% DC", cmdtestinj450dc,{!testenabled & testactive}
1738+ commandButton = "On", cmdtestinj4on ,{!testenabled & testactive}
1739+
1740+ dialog = outputtest_injectors, "Injector Driver Output Test", xAxis
1741+ panel = outputtestinj1
1742+ panel = outputtestinj2
1743+ panel = outputtestinj3
1744+ panel = outputtestinj4
1745+
1746+;[PJSC] dialog = outputtestspk1, "Spark CH1 ", yAxis
1747+;[PJSC] commandButton = "Off", cmdtestspk1off,{testactive}
1748+;[PJSC] commandButton = "50% DC", cmdtestspk150dc,{!testenabled & testactive}
1749+;[PJSC] commandButton = "On", cmdtestspk1on,{!testenabled & testactive}
1750+;[PJSC] dialog = outputtestspk2, "Spark CH2", yAxis
1751+;[PJSC] commandButton = "Off", cmdtestspk2off,{testactive}
1752+;[PJSC] commandButton = "50% DC", cmdtestspk250dc,{!testenabled & testactive}
1753+;[PJSC] commandButton = "On", cmdtestspk2on,{!testenabled & testactive}
1754+;[PJSC] dialog = outputtestspk3, "Spark CH3", yAxis
1755+;[PJSC] commandButton = "Off", cmdtestspk3off,{testactive}
1756+;[PJSC] commandButton = "50% DC", cmdtestspk350dc,{!testenabled & testactive}
1757+;[PJSC] commandButton = "On", cmdtestspk3on,{!testenabled & testactive}
1758+;[PJSC] dialog = outputtestspk4, "Spark CH4", yAxis
1759+;[PJSC] commandButton = "Off", cmdtestspk4off,{testactive}
1760+;[PJSC] commandButton = "50% DC", cmdtestspk450dc,{!testenabled & testactive}
1761+;[PJSC] commandButton = "On", cmdtestspk4on,{!testenabled & testactive}
1762+
1763+;[PJSC] dialog = outputtest_spark, "Spark Driver Output Test", xAxis
1764+;[PJSC] panel = outputtestspk1
1765+;[PJSC] panel = outputtestspk2
1766+;[PJSC] panel = outputtestspk3
1767+;[PJSC] panel = outputtestspk4
1768+
1769+ dialog = outputtest1,"Test Output Hardware"
1770+ topicHelp = "http://speeduino.com/wiki/index.php/Hardware_testing_page"
1771+ panel = enableoutputtestbuttons
1772+ panel = outputtest_injectors
1773+;[PJSC] panel = outputtest_spark
1774+ ;panel = outputtest_io2
1775+ panel = outputtest_warningmessage
1776+
1777+ dialog = caninput_sel, ""
1778+ ;CAN inputs
1779+ field = " CAN Input Channel on/off"
1780+ field = "CAN Input 0", caninput_sel0, { enable_candata_in }
1781+ field = "CAN Input 1", caninput_sel1, { enable_candata_in }
1782+ field = "CAN Input 2", caninput_sel2, { enable_candata_in }
1783+ field = "CAN Input 3", caninput_sel3, { enable_candata_in }
1784+ field = "CAN Input 4", caninput_sel4, { enable_candata_in }
1785+ field = "CAN Input 5", caninput_sel5, { enable_candata_in }
1786+ field = "CAN Input 6", caninput_sel6, { enable_candata_in }
1787+ field = "CAN Input 7", caninput_sel7, { enable_candata_in }
1788+ field = "CAN Input 8", caninput_sel8, { enable_candata_in }
1789+ field = "CAN Input 9", caninput_sel9, { enable_candata_in }
1790+ field = "CAN Input 10", caninput_sel10, { enable_candata_in }
1791+ field = "CAN Input 11", caninput_sel11, { enable_candata_in }
1792+ field = "CAN Input 12", caninput_sel12, { enable_candata_in }
1793+ field = "CAN Input 13", caninput_sel13, { enable_candata_in }
1794+ field = "CAN Input 14", caninput_sel14, { enable_candata_in }
1795+ field = "CAN Input 15", caninput_sel15, { enable_candata_in }
1796+
1797+ dialog = caninput_parameter_group, "", yAxis
1798+ field = " Source CAN Address"
1799+ field = "", caninput_source_can_address0, { caninput_sel0 && enable_candata_in }
1800+ field = "", caninput_source_can_address1, { caninput_sel1 && enable_candata_in }
1801+ field = "", caninput_source_can_address2, { caninput_sel2 && enable_candata_in }
1802+ field = "", caninput_source_can_address3, { caninput_sel3 && enable_candata_in }
1803+ field = "", caninput_source_can_address4, { caninput_sel4 && enable_candata_in }
1804+ field = "", caninput_source_can_address5, { caninput_sel5 && enable_candata_in }
1805+ field = "", caninput_source_can_address6, { caninput_sel6 && enable_candata_in }
1806+ field = "", caninput_source_can_address7, { caninput_sel7 && enable_candata_in }
1807+ field = "", caninput_source_can_address8, { caninput_sel8 && enable_candata_in }
1808+ field = "", caninput_source_can_address9, { caninput_sel9 && enable_candata_in }
1809+ field = "", caninput_source_can_address10, { caninput_sel10 && enable_candata_in }
1810+ field = "", caninput_source_can_address11, { caninput_sel11 && enable_candata_in }
1811+ field = "", caninput_source_can_address12, { caninput_sel12 && enable_candata_in }
1812+ field = "", caninput_source_can_address13, { caninput_sel13 && enable_candata_in }
1813+ field = "", caninput_source_can_address14, { caninput_sel14 && enable_candata_in }
1814+ field = "", caninput_source_can_address15, { caninput_sel15 && enable_candata_in }
1815+
1816+ dialog = caninput_parameter_start_byte, "", yAxis
1817+ field = " source data start byte"
1818+ field = "", caninput_source_start_byte0, { caninput_sel0 && enable_candata_in }
1819+ field = "", caninput_source_start_byte1, { caninput_sel1 && enable_candata_in }
1820+ field = "", caninput_source_start_byte2, { caninput_sel2 && enable_candata_in }
1821+ field = "", caninput_source_start_byte3, { caninput_sel3 && enable_candata_in }
1822+ field = "", caninput_source_start_byte4, { caninput_sel4 && enable_candata_in }
1823+ field = "", caninput_source_start_byte5, { caninput_sel5 && enable_candata_in }
1824+ field = "", caninput_source_start_byte6, { caninput_sel6 && enable_candata_in }
1825+ field = "", caninput_source_start_byte7, { caninput_sel7 && enable_candata_in }
1826+ field = "", caninput_source_start_byte8, { caninput_sel8 && enable_candata_in }
1827+ field = "", caninput_source_start_byte9, { caninput_sel9 && enable_candata_in }
1828+ field = "", caninput_source_start_byte10, { caninput_sel10 && enable_candata_in }
1829+ field = "", caninput_source_start_byte11, { caninput_sel11 && enable_candata_in }
1830+ field = "", caninput_source_start_byte12, { caninput_sel12 && enable_candata_in }
1831+ field = "", caninput_source_start_byte13, { caninput_sel13 && enable_candata_in }
1832+ field = "", caninput_source_start_byte14, { caninput_sel14 && enable_candata_in }
1833+ field = "", caninput_source_start_byte15, { caninput_sel15 && enable_candata_in }
1834+
1835+ dialog = caninput_parameter_num_byte, "", yAxis
1836+ field = "Input Parameter Number of Bytes"
1837+ field = "", caninput_source_num_bytes0, { caninput_sel0 && enable_candata_in }
1838+ field = "", caninput_source_num_bytes1, { caninput_sel1 && enable_candata_in }
1839+ field = "", caninput_source_num_bytes2, { caninput_sel3 && enable_candata_in }
1840+ field = "", caninput_source_num_bytes3, { caninput_sel3 && enable_candata_in }
1841+ field = "", caninput_source_num_bytes4, { caninput_sel4 && enable_candata_in }
1842+ field = "", caninput_source_num_bytes5, { caninput_sel5 && enable_candata_in }
1843+ field = "", caninput_source_num_bytes6, { caninput_sel6 && enable_candata_in }
1844+ field = "", caninput_source_num_bytes7, { caninput_sel7 && enable_candata_in }
1845+ field = "", caninput_source_num_bytes8, { caninput_sel8 && enable_candata_in }
1846+ field = "", caninput_source_num_bytes9, { caninput_sel9 && enable_candata_in }
1847+ field = "", caninput_source_num_bytes10, { caninput_sel10 && enable_candata_in }
1848+ field = "", caninput_source_num_bytes11, { caninput_sel11 && enable_candata_in }
1849+ field = "", caninput_source_num_bytes12, { caninput_sel12 && enable_candata_in }
1850+ field = "", caninput_source_num_bytes13, { caninput_sel13 && enable_candata_in }
1851+ field = "", caninput_source_num_bytes14, { caninput_sel14 && enable_candata_in }
1852+ field = "", caninput_source_num_bytes15, { caninput_sel15 && enable_candata_in }
1853+
1854+ dialog = caninconfig_blank1,""
1855+ field = ""
1856+
1857+ dialog = Canin_config1, "", xAxis
1858+ panel = caninput_sel
1859+ panel = caninconfig_blank1
1860+ panel = caninput_parameter_group
1861+ panel = caninconfig_blank1
1862+ panel = caninput_parameter_start_byte
1863+ panel = caninconfig_blank1
1864+ panel = caninput_parameter_num_byte
1865+
1866+ dialog = Canin_config2, "External Data Input"
1867+ field = "Enable External data input", enable_candata_in
1868+
1869+ dialog = Canin_config, "", border
1870+ topicHelp = "http://speeduino.com/wiki/index.php/Secondary_Serial_IO_interface#Read_external_analog_data"
1871+ panel = Canin_config2, North
1872+ panel = Canin_config1, South
1873+
1874+ dialog = canoutput_sel, ""
1875+ ;CAN outputs
1876+ field = "CAN Output Channel on/off"
1877+ field = "CAN Output 0", canoutput_sel0, { enable_candata_out}
1878+ field = "CAN Output 1", canoutput_sel1, { enable_candata_out }
1879+ field = "CAN Output 2", canoutput_sel2, { enable_candata_out }
1880+ field = "CAN Output 3", canoutput_sel3, { enable_candata_out }
1881+ field = "CAN Output 4", canoutput_sel4, { enable_candata_out }
1882+ field = "CAN Output 5", canoutput_sel5, { enable_candata_out }
1883+ field = "CAN Output 6", canoutput_sel6, { enable_candata_out }
1884+ field = "CAN Output 7", canoutput_sel7, { enable_candata_out }
1885+ ; field = "CAN Output 8", canoutput_sel8, { enable_candata_out}
1886+ ; field = "CAN Output 9", canoutput_sel9, { enable_candata_out }
1887+ ; field = "CAN Output 10", canoutput_sel10, { enable_candata_out }
1888+ ; field = "CAN Output 11", canoutput_sel11, { enable_candata_out }
1889+ ; field = "CAN Output 12", canoutput_sel12, { enable_candata_out }
1890+ ; field = "CAN Output 13", canoutput_sel13, { enable_candata_out }
1891+ ; field = "CAN Output 14", canoutput_sel14, { enable_candata_out }
1892+ ; field = "CAN Output 15", canoutput_sel15, { enable_candata_out }
1893+
1894+ dialog = canoutput_parameter_group, "", yAxis
1895+ field = "Output Parameter Group"
1896+ field = "", canoutput_param_group[0], { canoutput_sel0 && enable_candata_out }
1897+ field = "", canoutput_param_group[1], { canoutput_sel1 && enable_candata_out }
1898+ field = "", canoutput_param_group[2], { canoutput_sel3 && enable_candata_out }
1899+ field = "", canoutput_param_group[3], { canoutput_sel3 && enable_candata_out }
1900+ field = "", canoutput_param_group[4], { canoutput_sel4 && enable_candata_out }
1901+ field = "", canoutput_param_group[5], { canoutput_sel5 && enable_candata_out }
1902+ field = "", canoutput_param_group[6], { canoutput_sel6 && enable_candata_out }
1903+ field = "", canoutput_param_group[7], { canoutput_sel7 && enable_candata_out }
1904+ ; field = "", canoutput_param_group[8], { canoutput_sel9 && enable_candata_out }
1905+ ; field = "", canoutput_param_group[9], { canoutput_sel10 && enable_candata_out }
1906+ ; field = "", canoutput_param_group[10], { canoutput_sel1 && enable_candata_out }
1907+ ; field = "", canoutput_param_group[11], { canoutput_sel2 && enable_candata_out }
1908+ ; field = "", canoutput_param_group[12], { canoutput_sel3 && enable_candata_out }
1909+ ; field = "", canoutput_param_group[13], { canoutput_sel4 && enable_candata_out }
1910+ ; field = "", canoutput_param_group[14], { canoutput_sel5 && enable_candata_out }
1911+ ; field = "", canoutput_param_group[15], { canoutput_sel6 && enable_candata_out }
1912+
1913+ dialog = canoutput_parameter_start_byte, "", yAxis
1914+ field = "Output Parameter Start Byte"
1915+ field = "", canoutput_param_start_byte0, { canoutput_sel0 && enable_candata_out }
1916+ field = "", canoutput_param_start_byte1, { canoutput_sel1 && enable_candata_out }
1917+ field = "", canoutput_param_start_byte2, { canoutput_sel2 && enable_candata_out }
1918+ field = "", canoutput_param_start_byte3, { canoutput_sel3 && enable_candata_out }
1919+ field = "", canoutput_param_start_byte4, { canoutput_sel4 && enable_candata_out }
1920+ field = "", canoutput_param_start_byte5, { canoutput_sel5 && enable_candata_out }
1921+ field = "", canoutput_param_start_byte6, { canoutput_sel6 && enable_candata_out }
1922+ field = "", canoutput_param_start_byte7, { canoutput_sel7 && enable_candata_out }
1923+ ; field = "", canoutput_param_start_byte8, { canoutput_sel8 && enable_candata_out }
1924+ ; field = "", canoutput_param_start_byte9, { canoutput_sel9 && enable_candata_out }
1925+ ; field = "", canoutput_param_start_byte10, { canoutput_sel10 && enable_candata_out }
1926+ ; field = "", canoutput_param_start_byte11, { canoutput_sel11 && enable_candata_out }
1927+ ; field = "", canoutput_param_start_byte12, { canoutput_sel12 && enable_candata_out }
1928+ ; field = "", canoutput_param_start_byte13, { canoutput_sel13 && enable_candata_out }
1929+; field = "", canoutput_param_start_byte14, { canoutput_sel14 && enable_candata_out }
1930+ ; field = "", canoutput_param_start_byte15, { canoutput_sel15 && enable_candata_out }
1931+
1932+ dialog = canoutput_parameter_num_byte, "", yAxis
1933+ field = "Output Parameter Number of Bytes"
1934+ field = "", canoutput_param_num_bytes0, { canoutput_sel0 && enable_candata_out }
1935+ field = "", canoutput_param_num_bytes1, { canoutput_sel1 && enable_candata_out }
1936+ field = "", canoutput_param_num_bytes2, { canoutput_sel2 && enable_candata_out }
1937+ field = "", canoutput_param_num_bytes3, { canoutput_sel3 && enable_candata_out }
1938+ field = "", canoutput_param_num_bytes4, { canoutput_sel4 && enable_candata_out }
1939+ field = "", canoutput_param_num_bytes5, { canoutput_sel5 && enable_candata_out }
1940+ field = "", canoutput_param_num_bytes6, { canoutput_sel6 && enable_candata_out }
1941+ field = "", canoutput_param_num_bytes7, { canoutput_sel7 && enable_candata_out }
1942+ ; field = "", canoutput_param_num_bytes8, { canoutput_sel8 && enable_candata_out }
1943+ ; field = "", canoutput_param_num_bytes9, { canoutput_sel9 && enable_candata_out }
1944+ ; field = "", canoutput_param_num_bytes10, { canoutput_sel10 && enable_candata_out }
1945+ ; field = "", canoutput_param_num_bytes11, { canoutput_sel11 && enable_candata_out }
1946+ ; field = "", canoutput_param_num_bytes12, { canoutput_sel12 && enable_candata_out }
1947+ ; field = "", canoutput_param_num_bytes13, { canoutput_sel13 && enable_candata_out }
1948+; field = "", canoutput_param_num_bytes14, { canoutput_sel14 && enable_candata_out }
1949+ ; field = "", canoutput_param_num_bytes15, { canoutput_sel15 && enable_candata_out }
1950+
1951+ dialog = canoutconfig_blank1,""
1952+ field = ""
1953+
1954+ dialog = Canout_config1, "", xAxis
1955+ panel = canoutput_sel
1956+ panel = canoutconfig_blank1
1957+ panel = canoutput_parameter_group
1958+ panel = canoutconfig_blank1
1959+ panel = canoutput_parameter_start_byte
1960+ panel = canoutconfig_blank1
1961+ panel = canoutput_parameter_num_byte
1962+
1963+ dialog = Canout_config2, "CAN Data Out"
1964+ field = "Enable CanBus data Output", enable_candata_out
1965+
1966+ dialog = Canout_config, "", border
1967+ topicHelp = ""
1968+ panel = Canout_config2, North
1969+ panel = Canout_config1, South
1970+
1971+ dialog = can_serial3IO, "CanBus/Serial3 IO interface"
1972+ topicHelp = "http://speeduino.com/wiki/index.php/Secondary_Serial_IO_interface"
1973+ field = "Enable CanBus/Second Serial", enable_canbus
1974+ ; field = "Speeduino TsCanId", speeduino_tsCanId
1975+ field = "True Canbus Address", true_address {enable_canbus}
1976+ field = "NOTE! Realtime Datat Base Address MUST be at least 0x16 GREATER than the True Address as they are reserved for future expansion"
1977+ field = "Realtime Data Base Can Address", realtime_base_address {enable_canbus}
1978+ ; field = "Speeduino OBD address", obd_address
1979+
1980+ dialog = serial3IO, "Serial3 IO interface"
1981+ topicHelp = "http://speeduino.com/wiki/index.php/Serial3_IO_interface"
1982+ field = "Enable Second Serial", enable_canbus
1983+
1984+ dialog = reset_control, "Reset Control"
1985+ ; Control type options for custom firmware
1986+ field = "Control Type", resetControl
1987+ field = "Control Pin", resetControlPin
1988+
1989+;-------------------------------------------------------------------------------
1990+; General help text
1991+
1992+ help = helpGeneral, "Speeduino General Help"
1993+ webHelp = "http://speeduino.com/wiki/index.php/Speeduino"
1994+ text = "For current WIKI documentation, click the Web Help button,"
1995+ text = "or visit http://www.speeduino.com/."
1996+ text = "<br>"
1997+ text = "<br>why not visit our forum http://speeduino.com/forum/"
1998+;------------------------------------------------------------------------------
1999+[ControllerCommands]
2000+; commandName = command1, command2, commandn...
2001+; command in standard ini format, a command name can be assigned to 1 to n commands that will be executed in order.
2002+; This does not include any resultant protocol envelope data, only the response data itself.
2003+
2004+; WARNING!! These commands bypass TunerStudio's normal memory synchronization. If these commands
2005+; alter mapped settings (Constant) memory in the controller, TunerStudio will have an out of sync condition
2006+; and may create error messages.
2007+; It is expected that these commands would not typically alter any ram mapped to a Constant.
2008+
2009+cmdStopTestMode = "E\x01\x00"
2010+cmdEnableTestMode = "E\x01\x01"
2011+
2012+cmdtestinj1on = "E\x02\x01"
2013+cmdtestinj1off = "E\x02\x02"
2014+cmdtestinj150dc = "E\x02\x03"
2015+cmdtestinj2on = "E\x02\x04"
2016+cmdtestinj2off = "E\x02\x05"
2017+cmdtestinj250dc = "E\x02\x06"
2018+cmdtestinj3on = "E\x02\x07"
2019+cmdtestinj3off = "E\x02\x08"
2020+cmdtestinj350dc = "E\x02\x09"
2021+cmdtestinj4on = "E\x02\x0A"
2022+cmdtestinj4off = "E\x02\x0B"
2023+cmdtestinj450dc = "E\x02\x0C"
2024+
2025+cmdtestspk1on = "E\x03\x01"
2026+cmdtestspk1off = "E\x03\x02"
2027+cmdtestspk150dc = "E\x03\x03"
2028+cmdtestspk2on = "E\x03\x04"
2029+cmdtestspk2off = "E\x03\x05"
2030+cmdtestspk250dc = "E\x03\x06"
2031+cmdtestspk3on = "E\x03\x07"
2032+cmdtestspk3off = "E\x03\x08"
2033+cmdtestspk350dc = "E\x03\x09"
2034+cmdtestspk4on = "E\x03\x0A"
2035+cmdtestspk4off = "E\x03\x0B"
2036+cmdtestspk450dc = "E\x03\x0C"
2037+
2038+; -------------------------------------------------------------
2039+; Help down here
2040+[SettingContextHelp]
2041+
2042+
2043+[CurveEditor]
2044+
2045+;time-based accel enrichment
2046+ curve = time_accel_tpsdot_curve, "TPS based AE"
2047+ columnLabel = "TPSdot", "Added"
2048+ xAxis = 0, 1200, 6
2049+ yAxis = 0, 250, 4
2050+ xBins = taeBins, TPSdot
2051+ yBins = taeRates
2052+ ;gauge = cltGauge
2053+
2054+; Correction curve for dwell vs battery voltage
2055+ curve = dwell_correction_curve, "Dwell voltage correction"
2056+ columnLabel = "Voltage", "Dwell"
2057+ xAxis = 6, 22, 6
2058+ yAxis = 0, 255, 6
2059+ xBins = brvBins, batteryVoltage
2060+ yBins = dwellRates
2061+
2062+; Correction curve for injectors vs battery voltage
2063+ curve = injector_voltage_curve, "Injector voltage correction"
2064+ columnLabel = "Voltage", "Injector"
2065+ xAxis = 6, 22, 6
2066+ yAxis = 0, 255, 6
2067+ xBins = brvBins, batteryVoltage
2068+ yBins = injBatRates
2069+
2070+; Correction curve for Air Density vs temperature
2071+ curve = airdensity_curve, "IAT density correction"
2072+ columnLabel = "Air Temperature", "Fuel Amount"
2073+ xAxis = -40, 160, 6
2074+ yAxis = 0, 255, 6
2075+ xBins = airDenBins, iat
2076+ yBins = airDenRates
2077+
2078+; IAT based ignition timing retard
2079+ curve = iat_retard_curve, "IAT timing retard"
2080+ columnLabel = "Inlet Air Temp", "Retard"
2081+ xAxis = -40, 200, 5
2082+ yAxis = 0, 30, 5
2083+ xBins = iatRetBins, iat
2084+ yBins = iatRetRates
2085+
2086+; Curves for idle control
2087+ ; Standard duty table for PWM valves
2088+ curve = iacPwm_curve, "IAC PWM Duty"
2089+ columnLabel = "Coolant Temperature", "Valve"
2090+ #if CELSIUS
2091+ xAxis = -40, 215, 6
2092+ #else
2093+ xAxis = -40, 315, 6
2094+ #endif
2095+ yAxis = 0, 100, 4
2096+ xBins = iacBins, coolant
2097+ yBins = iacOLPWMVal
2098+
2099+ ; Cranking duty table for PWM valves
2100+ curve = iacPwmCrank_curve, "IAC PWM Cranking Duty"
2101+ columnLabel = "Coolant Temperature", "Valve"
2102+ xAxis = -40, 215, 6
2103+ yAxis = 0, 100, 4
2104+ xBins = iacCrankBins, coolant
2105+ yBins = iacCrankDuty
2106+
2107+ curve = iacStep_curve, "IAC Stepper Motor"
2108+ columnLabel = "Coolant Temperature", "Motor"
2109+ #if CELSIUS
2110+ xAxis = -40, 215, 6
2111+ #else
2112+ xAxis = -40, 315, 6
2113+ #endif
2114+ yAxis = 0, 850, 4
2115+ xBins = iacBins, coolant
2116+ yBins = iacOLStepVal
2117+
2118+ curve = iacStepCrank_curve, "IAC Stepper Motor Cranking"
2119+ columnLabel = "Coolant Temperature", "Motor"
2120+ xAxis = -40, 120, 6
2121+ yAxis = 0, 850, 4
2122+ xBins = iacCrankBins, coolant
2123+ yBins = iacCrankSteps
2124+
2125+ curve = iacClosedLoop_curve, "IAC Closed Loop Targets"
2126+ columnLabel = "Coolant Temperature", "Motor"
2127+ xAxis = -40, 120, 6
2128+ yAxis = 0, 2000, 4
2129+ xBins = iacBins, coolant
2130+ yBins = iacCLValues
2131+
2132+ curve = rotaryTrailing_curve, "Rotary Trailing Split"
2133+ columnLabel = "Engine load", "Split"
2134+ yAxis = 0, 40, 4
2135+#if SPEED_DENSITY
2136+ xBins = rotarySplitBins, map
2137+ xAxis = 0, 250, 5
2138+#else
2139+ xBins = rotarySplitBins, throttle
2140+ xAxis = 0, 100, 5
2141+#endif
2142+ yBins = rotarySplitValues
2143+
2144+; Warmup enrichment curve
2145+ curve = warmup_curve, "Warmup Enrichment (WUE) Curve"
2146+ columnLabel = "Coolant", "WUE %"
2147+ xAxis = -40, 210, 9
2148+ yAxis = 0, 240, 6
2149+ xBins = wueBins, coolant
2150+ yBins = wueRates
2151+ gauge = cltGauge
2152+
2153+; Cranking enrichment curve
2154+ curve = cranking_enrich_curve, "Cranking Enrichment Curve"
2155+ columnLabel = "Coolant", "Fuel Modifier"
2156+ xAxis = -40, 110, 9
2157+ yAxis = 0, 200, 6
2158+ xBins = crankingEnrichBins, coolant
2159+ yBins = crankingEnrichValues
2160+ ;gauge = cltGau25
2161+
2162+; Warmup enrichment VEAL AFR adjustment curve (Not currently working)
2163+ ;curve = warmup_afr_curve, "AFR Target Temperature Adustment"
2164+ ; columnLabel = "Coolant Temp", "AFR Offset %"
2165+ ; xAxis = -40, 210, 9
2166+ ; yAxis = 0, 240, 6
2167+ ; xBins = wueAFRBins, coolant
2168+ ; yBins = wueAFRRates
2169+
2170+; Flex fuel correction curves
2171+ curve = flex_fuel_curve, "Flex Fuel Adjustments"
2172+ columnLabel = "Ethanol", "Fuel"
2173+ xAxis = 0, 100, 10
2174+ yAxis = 50, 250, 5
2175+ xBins = flexFuelBins, flex
2176+ yBins = flexFuelAdj
2177+ size = 400, 200
2178+
2179+ curve = flex_adv_curve, "Flex Timing Advance"
2180+ columnLabel = "Ethanol", "Advance"
2181+ xAxis = 0, 100, 10
2182+ yAxis = 0, 50, 5
2183+ xBins = flexAdvBins, flex
2184+ yBins = flexAdvAdj
2185+ size = 400, 200
2186+
2187+ curve = flex_boost_curve, "Flex Boost Adjustments"
2188+ columnLabel = "Ethanol", "Boost"
2189+ xAxis = 0, 100, 10
2190+ yAxis = -100, 200, 5
2191+ xBins = flexBoostBins, flex
2192+ yBins = flexBoostAdj
2193+ size = 400, 200
2194+
2195+[TableEditor]
2196+ ; table_id, map3d_id, "title", page
2197+ table = veTable1Tbl, veTable1Map, "VE Table", 1
2198+ topicHelp = "http://speeduino.com/wiki/index.php/Tuning"
2199+ ; constant, variable
2200+ xBins = rpmBins, rpm
2201+ #if SPEED_DENSITY
2202+ yBins = mapBins, map
2203+ #else
2204+ yBins = tpsBins, throttle
2205+ #endif
2206+ zBins = veTable
2207+
2208+ gridHeight = 2.0
2209+ gridOrient = 250, 0, 340
2210+ upDownLabel = "(RICHER)", "(LEANER)"
2211+
2212+ table = sparkTbl, sparkMap, "Ignition Advance Table", 3
2213+ xBins = rpmBins2, rpm
2214+ #if SPEED_DENSITY
2215+ yBins = mapBins2, map
2216+ #else ALPHA_N
2217+ yBins = tpsBins2, throttle
2218+ #endif
2219+ zBins = advTable1
2220+ gridHeight = 3.0
2221+ upDownLabel = "ADVANCED", "RETARDED"
2222+
2223+ ;table = afrTbl, afrTableMap, "AFR Table", 5
2224+ table = afrTable1Tbl, afrTable1Map, "AFR Table", 5
2225+ xBins = rpmBinsAFR, rpm
2226+ #if SPEED_DENSITY
2227+ yBins = mapBinsAFR, map
2228+ #else ALPHA_N
2229+ yBins = tpsBinsAFR, throttle
2230+ #endif
2231+ zBins = afrTable
2232+ gridHeight = 1.0
2233+ upDownLabel = "RICHER", "LEANER"
2234+ gridOrient = 250, 0, 340
2235+
2236+ #if BOOSTPSI
2237+ table = boostTbl, boostMap, "Boost targets (PSI)", 8
2238+ #else
2239+ table = boostTbl, boostMap, "Boost targets (Absolute kPa)", 8
2240+ #endif
2241+ xBins = rpmBinsBoost, rpm
2242+ yBins = tpsBinsBoost, throttle
2243+ zBins = boostTable
2244+ gridHeight = 3.0
2245+ upDownLabel = "HIGHER", "LOWER"
2246+
2247+ table = vvtTbl, vvtMap, "VVT control Table", 8
2248+ xBins = rpmBinsVVT, rpm
2249+ yBins = tpsBinsVVT, throttle
2250+ zBins = vvtTable
2251+ gridHeight = 3.0
2252+ upDownLabel = "HIGHER", "LOWER"
2253+
2254+ table = stagingTbl, stagingMap, "Fuel Staging Table", 10
2255+ xBins = rpmBinsStaging, rpm
2256+ #if SPEED_DENSITY
2257+ yBins = mapBinsStaging, map
2258+ #else ALPHA_N
2259+ yBins = tpsBinsStaging, throttle
2260+ #endif
2261+ zBins = stagingTable
2262+ gridHeight = 3.0
2263+ upDownLabel = "HIGHER", "LOWER"
2264+
2265+;--------- Sequential fuel trim maps -----------
2266+ table = fuelTrimTable1Tbl, fuelTrimTable1Map, "Fuel trim Table 1", 9
2267+ topicHelp = "http://speeduino.com/wiki/index.php/Tuning"
2268+ xBins = fuelTrim1rpmBins, rpm
2269+ #if SPEED_DENSITY
2270+ yBins = fuelTrim1loadBins, map
2271+ #else
2272+ yBins = fuelTrim1loadBins, throttle
2273+ #endif
2274+ zBins = fuelTrim1Table
2275+
2276+ gridHeight = 2.0
2277+ gridOrient = 250, 0, 340
2278+ upDownLabel = "(RICHER)", "(LEANER)"
2279+
2280+ table = fuelTrimTable2Tbl, fuelTrimTable2Map, "Fuel trim Table 2", 9
2281+ topicHelp = "http://speeduino.com/wiki/index.php/Tuning"
2282+ xBins = fuelTrim2rpmBins, rpm
2283+ #if SPEED_DENSITY
2284+ yBins = fuelTrim2loadBins, map
2285+ #else
2286+ yBins = fuelTrim2loadBins, throttle
2287+ #endif
2288+ zBins = fuelTrim2Table
2289+
2290+ gridHeight = 2.0
2291+ gridOrient = 250, 0, 340
2292+ upDownLabel = "(RICHER)", "(LEANER)"
2293+
2294+ table = fuelTrimTable3Tbl, fuelTrimTable3Map, "Fuel trim Table 3", 9
2295+ topicHelp = "http://speeduino.com/wiki/index.php/Tuning"
2296+ xBins = fuelTrim3rpmBins, rpm
2297+ #if SPEED_DENSITY
2298+ yBins = fuelTrim3loadBins, map
2299+ #else
2300+ yBins = fuelTrim3loadBins, throttle
2301+ #endif
2302+ zBins = fuelTrim3Table
2303+
2304+ gridHeight = 2.0
2305+ gridOrient = 250, 0, 340
2306+ upDownLabel = "(RICHER)", "(LEANER)"
2307+
2308+ table = fuelTrimTable4Tbl, fuelTrimTable4Map, "Fuel trim Table 4", 9
2309+ topicHelp = "http://speeduino.com/wiki/index.php/Tuning"
2310+ xBins = fuelTrim4rpmBins, rpm
2311+ #if SPEED_DENSITY
2312+ yBins = fuelTrim4loadBins, map
2313+ #else
2314+ yBins = fuelTrim4loadBins, throttle
2315+ #endif
2316+ zBins = fuelTrim4Table
2317+
2318+ gridHeight = 2.0
2319+ gridOrient = 250, 0, 340
2320+ upDownLabel = "(RICHER)", "(LEANER)"
2321+
2322+;[PJSC]------------------------------------------------------------------------
2323+ table = veTable2Tbl, veTable2Map, "VE Table 2", 12
2324+ topicHelp = "http://speeduino.com/wiki/index.php/Tuning"
2325+ ; constant, variable
2326+ xBins = rpmBinsVE2, rpm
2327+ #if SPEED_DENSITY
2328+ yBins = mapBinsVE2, map
2329+ #else
2330+ yBins = tpsBinsVE2, throttle
2331+ #endif
2332+ zBins = veTable2
2333+
2334+ gridHeight = 2.0
2335+ gridOrient = 250, 0, 340 ; Space 123 rotation of grid in degrees.
2336+ upDownLabel = "(RICHER)", "(LEANER)"
2337+;[PJSC]-------------------------------------------------------------------------
2338+
2339+;-------------------------------------------------------------------------------
2340+
2341+[GaugeConfigurations]
2342+
2343+ ;-------------------------------------------------------------------------------
2344+ ; Define a gauge's characteristics here, then go to a specific layout
2345+ ; block (Tuning or FrontPage) and use the name you've defined here to
2346+ ; display that gauge in a particular position.
2347+ ;
2348+ ; Name = Case-sensitive, user-defined name for this gauge configuration.
2349+ ; Var = Case-sensitive name of variable to be displayed, see the
2350+ ; OutputChannels block in this file for possible values.
2351+ ; Title = Title displayed at the top of the gauge.
2352+ ; Units = Units displayed below value on gauge.
2353+ ; Lo = Lower scale limit of gauge.
2354+ ; Hi = Upper scale limit of gauge.
2355+ ; LoD = Lower limit at which danger color is used for gauge background.
2356+ ; LoW = Lower limit at which warning color is used.
2357+ ; HiW = Upper limit at which warning color is used.
2358+ ; HiD = Upper limit at which danger color is used.
2359+ ; vd = Decimal places in displayed value
2360+ ; ld = Label decimal places for display of Lo and Hi, above.
2361+
2362+ gaugeCategory = "Main"
2363+ ;Name Var Title Units Lo Hi LoD LoW HiW HiD vd ld
2364+ accelEnrichGauge = accelEnrich, "Accel Enrich", "%", 50, 150, -1, -1, 999, 999, 0, 0
2365+ dutyCycleGauge = dutyCycle, "Duty Cycle", "%", 0, 100, -1, -1, 70, 80, 1, 1
2366+ egoCorrGauge = egoCorrection, "EGO Correction", "%", 50, 150, 90, 99, 101, 110, 0, 0
2367+
2368+ gammaEnrichGauge = gammaEnrich, "Gamma Enrichment", "%", 50, 150, -1, -1, 151, 151, 0, 0
2369+ pulseWidthGauge = pulseWidth, "Pulse Width", "mSec", 0, 35.0, 1.0, 1.2, 20, 25, 3, 3
2370+ tachometer = rpm, "Engine Speed", "RPM", 0, 13000, 300, 600,11500,12000, 0, 0
2371+ veGauge = veCurr, "VE Current", "%", 0, 120, -1, -1, 999, 999, 0, 0
2372+ veGauge2 = veCurr2, "VE2 Current", "%", 0, 120, -1, -1, 999, 999, 0, 0 ;[PJSC]
2373+ warmupEnrichGauge = warmupEnrich, "Warmup Enrichment", "%", 100, 200, 130, 140, 140, 150, 0, 0
2374+ aseEnrichGauge = ase_enrich, "Afterstart Enrichment", "%", 0, 200, 130, 140, 140, 150, 0, 0
2375+ batCorrectGauge = batCorrection, "Voltage Correction", "%", 0, 200, 130, 140, 140, 150, 0, 0
2376+ iatCorrectGauge = airCorrection, "IAT Correction", "%", 0, 200, 130, 140, 140, 150, 0, 0
2377+ flexEnrich, = flexFuelCor, "Flex Correction", "%", 0, 200, 130, 140, 140, 150, 0, 0
2378+ advanceGauge = advance, "Spark Advance", "deg BTDC", 50, -10, 0, 0, 35, 45, 0, 0
2379+ dwellGauge = dwell, "Ign Dwell", "mSec", 0, 35.0, 1.0, 1.2, 20, 25, 3, 3
2380+
2381+ gaugeCategory = "Sensor inputs"
2382+ mapGauge = map, "Engine MAP", "kPa", 0, 255, 0, 20, 200, 245, 0, 0
2383+ mapGauge_psi = map_psi, "Engine MAP (PSI)", "PSI", -15, 100, 0, 20, 200, 245, 0, 0
2384+ mapGauge_bar = map_bar, "Engine MAP (BAR)", "Bar", -1, 3, -1, -1, 5, 5, 2, 2
2385+ mapGauge_vacBoost = map_vacboost, "Engine MAP (in-Hg/PSI)", "in-Hg/PSI", -30, 30, -30, -30, 30, 30, 1, 1
2386+ batteryVoltage = batteryVoltage, "Battery Voltage", "volts", 0, 25, 8, 9, 15, 16, 2, 2
2387+
2388+ tpsADCGauge = tpsADC, "TPS ADC", "", 0, 255, -1, -1, 256, 256, 0, 0
2389+ throttleGauge = throttle, "Throttle Position", "%TPS", 0, 100, -1, 1, 90, 100, 0, 0
2390+
2391+ afrGauge = afr, "Air:Fuel Ratio", "", 7, 25, 12, 13, 15, 16, 2, 2
2392+ afrGauge2 = afr2, "Air:Fuel Ratio 2", "", 7, 25, 12, 13, 15, 16, 2, 2
2393+ lambdaGauge = lambda, "Lambda", "", 0.5, 1.5, 0.5, 0.7, 2, 1.1, 2, 2
2394+ exValvePosGauge = valvePosition, "Exhaust Valve Position", "%open", 0, 100, -1, 1, 90, 100, 0, 0 ;[PJSC]For External Trigger
2395+ exValveADCGauge = valvePositionADC, "Exhaust Valve ADC", "", 0, 255, -1, -1, 256, 256, 0, 0 ;[PJSC]For External Trigger
2396+ exSparkGauge = sparkedAngle, "Sparked Angle", "deg BTDC", -20, 60, 0, 0, 45, 50, 0, 0 ;[PJSC]For External Trigger
2397+ dutyFreqGauge = dutyFreq, "Duty Pulse Frequency", "Hz", 0, 100, 5, 10, 90, 95, 0, 0 ;[PJSC]For capturing duty pulse
2398+ dutyRatioGauge = dutyRatio, "Duty Ratio", "%", 0, 100, 5, 10, 90, 95, 0, 0 ;[PJSC]For capturing duty pulse
2399+ dutyFreqGauge2 = dutyFreq2, "Duty Pulse Frequency 2", "Hz", 0, 100, 5, 10, 90, 95, 0, 0 ;[PJSC]For capturing duty pulse
2400+ dutyRatioGauge2 = dutyRatio2, "Duty Ratio 2", "%", 0, 100, 5, 10, 90, 95, 0, 0 ;[PJSC]For capturing duty pulse
2401+
2402+ #if CELSIUS
2403+ cltGauge = coolant, "Coolant Temp", "TEMP", -40, 215, -15, 0, 95, 105, 0, 0
2404+ iatGauge = iat, "Inlet Air Temp", "TEMP", -40, 215, -15, 0, 95, 100, 0, 0
2405+ #else
2406+ cltGauge = coolant, "Coolant Temp", "TEMP", -40, 215, 0, 30, 200, 220, 0, 0
2407+ iatGauge = iat, "Inlet Air Temp", "TEMP", -40, 215, 0, 30, 200, 210, 0, 0
2408+ #endif
2409+ flexGauge = flex, "Flex sensor", "%", 0, 100, -1, -1, 999, 999, 0, 0
2410+
2411+ #if CAN_COMMANDS
2412+ gaugeCategory = "CanBus Inputs"
2413+ CanGauge0 = canin_gauge0, "Can In0" "", 0, 1024, -1, -1, 1025, 1025, 0, 0
2414+ CanGauge1 = canin_gauge1, "Can In1" "", 0, 1024, -1, -1, 1025, 1025, 0, 0
2415+ CanGauge2 = canin_gauge2, "Can In2" "", 0, 1024, -1, -1, 1025, 1025, 0, 0
2416+ CanGauge3 = canin_gauge3, "Can In3" "", 0, 1024, -1, -1, 1025, 1025, 0, 0
2417+ CanGauge4 = canin_gauge4, "Can In4" "", 0, 1024, -1, -1, 1025, 1025, 0, 0
2418+ CanGauge5 = canin_gauge5, "Can In5" "", 0, 1024, -1, -1, 1025, 1025, 0, 0
2419+ CanGauge6 = canin_gauge6, "Can In6" "", 0, 1024, -1, -1, 1025, 1025, 0, 0
2420+ CanGauge7 = canin_gauge7, "Can In7" "", 0, 1024, -1, -1, 1025, 1025, 0, 0
2421+ CanGauge8 = canin_gauge8, "Can In8" "", 0, 1024, -1, -1, 1025, 1025, 0, 0
2422+ CanGauge9 = canin_gauge9, "Can In9" "", 0, 1024, -1, -1, 1025, 1025, 0, 0
2423+ CanGauge10 = canin_gauge10, "Can In10" "", 0, 1024, -1, -1, 1025, 1025, 0, 0
2424+ CanGauge11 = canin_gauge11, "Can In11" "", 0, 1024, -1, -1, 1025, 1025, 0, 0
2425+ CanGauge12 = canin_gauge12, "Can In12" "", 0, 1024, -1, -1, 1025, 1025, 0, 0
2426+ CanGauge13 = canin_gauge13, "Can In13" "", 0, 1024, -1, -1, 1025, 1025, 0, 0
2427+ CanGauge14 = canin_gauge14, "Can In14" "", 0, 1024, -1, -1, 1025, 1025, 0, 0
2428+ CanGauge15 = canin_gauge15, "Can In15" "", 0, 1024, -1, -1, 1025, 1025, 0, 0
2429+ #endif
2430+
2431+ gaugeCategory = "System Data"
2432+ clockGauge = secl, "Clock", "Seconds", 0, 255, 10, 10, 245, 245, 0, 0
2433+ loopGauge = loopsPerSecond, "Main loop speed", "Loops/S" , 0, 70000, -1, 500, 1800, 4000, 0, 0
2434+ memoryGauge = freeRAM, "Free memory", "bytes" , 0, 8000, -1, 1000, 8000, 1000, 0, 0
2435+ reqFuelGauge = req_fuel, "Req. Fuel", "ms", 0, 35.0, 1.0, 1.2, 20, 25, 2, 2
2436+ injOpenGauge = inj_open, "Injector Open Time", "ms", 0, 35.0, 1.0, 1.2, 20, 25, 1, 1
2437+ mapMultiplyGauge = map_multiply_amt, "MAP Multiply", "%", 0, 200, 130, 140, 140, 150, 0, 0
2438+ nSquirtsGauge = nSquirts, "# Squirts", "", 0, 10, 130, 140, 140, 150, 0, 0
2439+;-------------------------------------------------------------------------------
2440+
2441+[FrontPage]
2442+
2443+
2444+ ; Gauges are numbered left to right, top to bottom.
2445+ ;
2446+ ; 1 2 3 4
2447+ ; 5 6 7 8
2448+
2449+ gauge1 = tachometer
2450+ gauge2 = throttleGauge
2451+ gauge3 = mapGauge
2452+ gauge4 = pulseWidthGauge
2453+ gauge5 = afrGauge
2454+ gauge6 = iatGauge
2455+ gauge7 = cltGauge
2456+ gauge6 = batteryVoltage
2457+
2458+ ;----------------------------------------------------------------------------
2459+ ; Indicators
2460+ ; expr off-label on-label, off-bg, off-fg, on-bg, on-fg
2461+ indicator = { running }, "Not Running", "Running" white, black, green, black
2462+ indicator = { crank }, "Not Cranking", "Cranking", white, black, green, black
2463+ indicator = { ase }, "ASE OFF", "ASE ON", white, black, green, black
2464+ indicator = { warmup }, "WUE OFF", "WUE ON", white, black, green, black
2465+ indicator = { tpsaccaen }, "Accel", "Accel", white, black, green, black
2466+ indicator = { tpsaccden }, "Decel", "Decel", white, black, green, black
2467+ indicator = { mapaccaen }, "MAP Accel", "MAP Accel", white, black, green, black
2468+ indicator = { mapaccden }, "MAP Decel", "MAP Decel", white, black, green, black
2469+ indicator = { error }, "No Errors", "ERROR", white, black, green, black
2470+ indicator = { (tps > tpsflood) && (rpm < crankRPM) }, "FLOOD OFF", "FLOOD CLEAR", white, black, red, black
2471+ indicator = { DFCOOn }, "DFCO OFF", "DFCO On", white, black, red, black
2472+ indicator = { launchHard }, "Launch Hard", "Launch Hard", white, black, green, black
2473+ indicator = { launchSoft }, "Launch Soft", "Launch Soft", white, black, green, black
2474+ indicator = { softlimitOn }, "Soft Limit OFF","Soft Limiter", white, black, red, black
2475+ indicator = { hardLimitOn }, "Hard Limit OFF","Hard Limiter", white, black, red, black
2476+ indicator = { boostCutOut }, "Ign Cut OFF", "Ign Cut (Boost)", white, black, red, black
2477+ indicator = { sync }, "No Sync", "Sync", white, black, green, black
2478+ indicator = { resetLockOn }, "Reset Lock OFF","Reset Lock ON", red, black, green, black
2479+ indicator = { bootloaderCaps > 0 }, "Std. Boot", "Custom Boot", white, black, white, black
2480+
2481+;-------------------------------------------------------------------------------
2482+
2483+[OutputChannels]
2484+ ; The number of bytes MegaTune or TunerStudio should expect as a result
2485+ ; of sending the "A" command to Speeduino is determined
2486+ ; by the value of ochBlockSize, so be very careful when
2487+ ; you change it.
2488+
2489+ ochGetCommand = "r\$tsCanId\x30%2o%2c"
2490+;[PJSC] ochBlockSize = 85
2491+ ochBlockSize = 98 ;[PJSC]Extend block size for External Trigger
2492+
2493+ secl = scalar, U08, 0, "sec", 1.000, 0.000
2494+ status1 = scalar, U08, 1, "bits", 1.000, 0.000
2495+ inj1Status = bits, U08, 1, [0:0]
2496+ inj2Status = bits, U08, 1, [1:1]
2497+ inj3Status = bits, U08, 1, [2:2]
2498+ inj4Status = bits, U08, 1, [3:3]
2499+ DFCOOn = bits, U08, 1, [4:4]
2500+ boostCutFuel = bits, U08, 1, [5:5]
2501+ toothLog1Ready = bits, U08, 1, [6:6]
2502+ toothLog2Ready = bits, U08, 1, [7:7]
2503+ engine = scalar, U08, 2, "bits", 1.000, 0.000
2504+ running = bits, U08, 2, [0:0]
2505+ crank = bits, U08, 2, [1:1]
2506+ ase = bits, U08, 2, [2:2]
2507+ warmup = bits, U08, 2, [3:3]
2508+ tpsaccaen = bits, U08, 2, [4:4]
2509+ tpsaccden = bits, U08, 2, [5:5]
2510+ mapaccaen = bits, U08, 2, [6:6]
2511+ mapaccden = bits, U08, 2, [7:7]
2512+ dwell = scalar, U08, 3, "ms", 0.100, 0.000
2513+ map = scalar, U16, 4, "kpa", 1.000, 0.000
2514+ iatRaw = scalar, U08, 6, "°C", 1.000, 0.000
2515+ coolantRaw = scalar, U08, 7, "°C", 1.000, 0.000
2516+ batCorrection = scalar, U08, 8, "%", 1.000, 0.000
2517+ batteryVoltage = scalar, U08, 9, "V", 0.100, 0.000
2518+ afr = scalar, U08, 10, "O2", 0.100, 0.000
2519+ egoCorrection = scalar, U08, 11, "%", 1.000, 0.000
2520+ airCorrection = scalar, U08, 12, "%", 1.000, 0.000
2521+ warmupEnrich = scalar, U08, 13, "%", 1.000, 0.000
2522+ rpm = scalar, U16, 14, "rpm", 1.000, 0.000
2523+ accelEnrich = scalar, U08, 16, "%", 2.000, 0.000
2524+ gammaEnrich = scalar, U08, 17, "%", 1.000, 0.000
2525+ veCurr = scalar, U08, 18, "%", 1.000, 0.000
2526+ afrTarget = scalar, U08, 19, "O2", 0.100, 0.000
2527+ pulseWidth = scalar, U16, 20, "ms", 0.001, 0.000
2528+ TPSdot = scalar, U08, 22, "%/s", 10.00, 0.000
2529+ advance = scalar, S08, 23, "deg", 1.000, 0.000
2530+ tps = scalar, U08, 24, "%", 1.000, 0.000
2531+ loopsPerSecond = scalar, U16, 25, "loops", 1.000, 0.000
2532+ freeRAM = scalar, U16, 27, "bytes", 1.000, 0.000
2533+ boostTarget = scalar, U08, 29, "kPa", 2.000, 0.000
2534+ boostDuty = scalar, U08, 30, "%", 1.000, 0.000
2535+ status2 = scalar, U08, 31, "bits", 1.000, 0.000
2536+ launchHard = bits, U08, 31, [0:0]
2537+ launchSoft = bits, U08, 31, [1:1]
2538+ hardLimitOn = bits, U08, 31, [2:2]
2539+ softlimitOn = bits, U08, 31, [3:3]
2540+ boostCutSpark = bits, U08, 31, [4:4]
2541+ error = bits, U08, 31, [5:5]
2542+ idle = bits, U08, 31, [6:6]
2543+ sync = bits, U08, 31, [7:7]
2544+ rpmDOT = scalar, S16, 32, "rpm/s", 1.000, 0.000
2545+ flex = scalar, U08, 34, "%", 1.000, 0.000
2546+ flexFuelCor = scalar, U08, 35, "%", 1.000, 0.000
2547+ flexIgnCor = scalar, U08, 36, "deg", 1.000, 0.000
2548+
2549+ idleLoad = scalar, U08, 37, { bitStringValue( idleUnits , iacAlgorithm ) }, 2.000, 0.000 ; This is a combined variable covering both PWM and stepper IACs. The units used depend on which idle algorithm is chosen
2550+ testoutputs = scalar, U08, 38, "bits", 1.000, 0.000
2551+ testenabled = bits, U08, 38, [0:0]
2552+ testactive = bits, U08, 38, [1:1]
2553+ afr2 = scalar, U08, 39, "O2", 0.100, 0.000
2554+ baro = scalar, U08, 40, "kpa", 1.000, 0.000
2555+ canin_gauge0 = scalar, U16, 41, "", 1.000, 0.000
2556+ canin_gauge1 = scalar, U16, 43, "", 1.000, 0.000
2557+ canin_gauge2 = scalar, U16, 45, "", 1.000, 0.000
2558+ canin_gauge3 = scalar, U16, 47, "", 1.000, 0.000
2559+ canin_gauge4 = scalar, U16, 49, "", 1.000, 0.000
2560+ canin_gauge5 = scalar, U16, 51, "", 1.000, 0.000
2561+ canin_gauge6 = scalar, U16, 53, "", 1.000, 0.000
2562+ canin_gauge7 = scalar, U16, 55, "", 1.000, 0.000
2563+ canin_gauge8 = scalar, U16, 57, "", 1.000, 0.000
2564+ canin_gauge9 = scalar, U16, 59, "", 1.000, 0.000
2565+ canin_gauge10 = scalar, U16, 61, "", 1.000, 0.000
2566+ canin_gauge11 = scalar, U16, 63, "", 1.000, 0.000
2567+ canin_gauge12 = scalar, U16, 65, "", 1.000, 0.000
2568+ canin_gauge13 = scalar, U16, 67, "", 1.000, 0.000
2569+ canin_gauge14 = scalar, U16, 69, "", 1.000, 0.000
2570+ canin_gauge15 = scalar, U16, 71, "", 1.000, 0.000
2571+ tpsADC = scalar, U08, 73, "ADC", 1.000, 0.000
2572+ errors = scalar, U08, 74, "bits", 1.000, 0.000
2573+ errorNum = bits, U08, 74, [0:1]
2574+ currentError = bits, U08, 74, [2:7]
2575+ pulseWidth2 = scalar, U16, 75, "ms", 0.001, 0.000
2576+ pulseWidth3 = scalar, U16, 77, "ms", 0.001, 0.000
2577+ pulseWidth4 = scalar, U16, 79, "ms", 0.001, 0.000
2578+ status3 = scalar, U08, 81, "bits", 1.000, 0.000
2579+ resetLockOn = bits, U08, 81, [0:0]
2580+ unused81_1-4 = bits, U08, 81, [1:4]
2581+ nSquirts = bits, U08, 81, [5:7]
2582+ flexBoostCor = scalar, S16, 82, "kPa", 1.000, 0.000
2583+ nChannels = scalar, U08, 84, "bits", 1.000, 0.000
2584+ nIgnChannels = bits, U08, 84, [0:3]
2585+ nFuelChannels = bits, U08, 84, [4:7]
2586+ veCurr2 = scalar, U08, 85, "%", 1.000, 0.000 ;[PJSC]Multi VE Map support
2587+ valvePosition = scalar, U08, 86, "%", 1.000, 0.000 ;[PJSC]Extend output channel for External Trigger
2588+ valvePositionADC = scalar, U08, 87, "ADC", 1.000, 0.000 ;[PJSC]Extend output channel for External Trigger
2589+ sparkedAngle = scalar, S16, 88, "deg", 1.000, 0.000 ;[PJSC]Extend output channel for External Trigger
2590+ dutyFreq = scalar, U16, 90, "Hz", 1.000, 0.000 ;[PJSC]For capturing duty pulse
2591+ dutyRatio = scalar, U16, 92, "%", 1.000, 0.000 ;[PJSC]For capturing duty pulse
2592+ dutyFreq2 = scalar, U16, 94, "Hz", 1.000, 0.000 ;[PJSC]For capturing duty pulse
2593+ dutyRatio2 = scalar, U16, 96, "%", 1.000, 0.000 ;[PJSC]For capturing duty pulse
2594+
2595+#if CELSIUS
2596+ coolant = { coolantRaw - 40 } ; Temperature readings are offset by 40 to allow for negatives
2597+ iat = { iatRaw - 40 } ; Temperature readings are offset by 40 to allow for negatives
2598+#else
2599+ coolant = { (coolantRaw - 40) * 1.8 + 32 } ;Convert C to F (Offset by 40)
2600+ iat = { (iatRaw - 40) * 1.8 + 32 } ;Convert C to F (Offset by 40)
2601+#endif
2602+ time = { timeNow }
2603+ seconds = { secl }
2604+
2605+ throttle = { tps }, "%"
2606+
2607+ cycleTime = { rpm ? ( 60000.0 / rpm ) : 0 }
2608+ cycleMultiplier = { injLayout == 3 ? 2 : 1 }
2609+ dutyCycle = { rpm ? ( 100.0*pulseWidth/(cycleTime * cycleMultiplier) ) : 0 }
2610+
2611+ boostCutOut = { boostCutFuel || boostCutSpark }
2612+ lambda = { afr / stoich }
2613+ MAPxRPM = { rpm * map }
2614+ loopsPerRev = { loopsPerSecond / (rpm / 60) }
2615+ req_fuel = { reqFuel }
2616+ inj_open = { injOpen }
2617+ ase_enrich = { ase ? (100 + asePct ) : 100 } ; If ASE is active then equal the ASE + 100
2618+ map_multiply_amt = { multiplyMAP ? map : 100 } ; If multiply MAP is enabled, use the current MAP value, otherwise 100%
2619+ ;nSquirts = { nCylinders / divider }
2620+
2621+ ;Manifold pressure in weirdo units
2622+ map_bar = { (map - baro) / 101.33 }
2623+ map_psi = { (map - baro) * 0.145038 }
2624+ map_inhg = { (baro - map) * 0.2953007 } ;in-Hg
2625+ map_vacboost = { map < baro ? -map_inhg : map_psi }
2626+
2627+;-------------------------------------------------------------------------------
2628+
2629+[Datalog]
2630+ ; Full datalog.
2631+ ;
2632+ ; Default user-defined log emulates the full datalog.
2633+ ;
2634+ ; The entries are saved in the datalog file in the order in
2635+ ; which they appear in the list below.
2636+ ;
2637+ ; Channel - Case sensitive name of output channel to be logged.
2638+ ; Label - String written to header line of log. Be careful
2639+ ; about changing these, as programs like MSLVV and
2640+ ; MSTweak key off specific column names.
2641+ ; Type - Data type of output, converted before writing.
2642+ ; Format - C-style output format of data.
2643+ ;
2644+ ; Channel Label Type Format
2645+ ; -------------- ---------- ----- ------
2646+ entry = time, "Time", float, "%.3f"
2647+ entry = secl, "SecL", int, "%d"
2648+ entry = rpm, "RPM", int, "%d"
2649+ entry = map, "MAP", int, "%d"
2650+ entry = MAPxRPM, "MAPxRPM", int, "%d"
2651+ entry = tps, "TPS", int, "%d"
2652+ entry = afr, "O2", float, "%.3f"
2653+ entry = lambda, "Lambda", float, "%.3f"
2654+ entry = iat, "IAT", int, "%d"
2655+ entry = coolant, "CLT", int, "%d"
2656+ entry = engine, "Engine", int, "%d"
2657+ entry = DFCOOn, "DFCO", int, "%d"
2658+ entry = egoCorrection, "Gego", int, "%d"
2659+ entry = airCorrection, "Gair", int, "%d"
2660+ entry = batCorrection, "Gbattery", int, "%d"
2661+ entry = warmupEnrich, "Gwarm", int, "%d"
2662+ ;entry = baroCorrection, "Gbaro", int, "%d"
2663+ entry = gammaEnrich, "Gammae", int, "%d"
2664+ entry = accelEnrich, "Accel Enrich",int, "%d"
2665+ entry = veCurr, "VE", int, "%d"
2666+ entry = veCurr2, "VE2", int, "%d", { multiVEmapEnabled } ;[PJSC]
2667+ entry = pulseWidth, "PW", float, "%.1f"
2668+ entry = afrTarget, "AFR Target", float, "%.3f"
2669+ entry = pulseWidth, "PW2", float, "%.1f"
2670+ entry = dutyCycle, "DutyCycle1", float, "%.1f"
2671+ entry = dutyCycle, "DutyCycle2", float, "%.1f"
2672+ entry = TPSdot, "TPS DOT", int, "%d"
2673+ entry = advance, "Advance", int, "%d"
2674+ entry = dwell, "Dwell", float, "%.1f"
2675+ entry = batteryVoltage, "Battery V", float, "%.1f"
2676+ entry = rpmDOT, "rpm/s", int, "%d"
2677+ entry = flex, "Eth %", int, "%d", { flexEnabled }
2678+ entry = errorNum, "Error #", int, "%d"
2679+ entry = currentError, "Error ID", int, "%d"
2680+ entry = map_psi, "Boost PSI", float, "%.1f"
2681+ entry = boostTarget, "Boost Target",int, "%d", { boostEnabled }
2682+ entry = boostDuty, "Boost Duty", int, "%d", { boostEnabled }
2683+ entry = boostCutOut , "Boost cut", int, "%d"
2684+ entry = launchHard , "Launch Hard", int, "%d"
2685+ entry = hardLimitOn , "Hard Limiter",int, "%d"
2686+ entry = idleLoad, "IAC value", int, "%d"
2687+ entry = baro, "Baro Pressure",int, "%d"
2688+ entry = valvePosition, "ExValve Pos", int, "%d", { exValveCaptureEnabled } ;[PJSC]
2689+ entry = sparkedAngle, "Spark Angle", int, "%d", { externalTriggerEnabled } ;[PJSC]
2690+ entry = dutyFreq, "Duty Frequency", int, "%d", { dutyPulseCaptureEnabled } ;[PJSC]
2691+ entry = dutyRatio, "Duty Ratio", int, "%d", { dutyPulseCaptureEnabled } ;[PJSC]
2692+ entry = dutyFreq2, "Duty Frequency2", int, "%d", { dutyPulseCaptureEnabled2 } ;[PJSC]
2693+ entry = dutyRatio2, "Duty Ratio2", int, "%d", { dutyPulseCaptureEnabled2 } ;[PJSC]
2694+
2695+#if CAN_COMMANDS
2696+ entry = canin_gauge0, "CanIn CH0", int, "%d"
2697+ entry = canin_gauge1, "CanIn CH1", int, "%d"
2698+ entry = canin_gauge2, "CanIn CH2", int, "%d"
2699+ entry = canin_gauge3, "CanIn CH3", int, "%d"
2700+ entry = canin_gauge4, "CanIn CH4", int, "%d"
2701+ entry = canin_gauge5, "CanIn CH5", int, "%d"
2702+ entry = canin_gauge6, "CanIn CH6", int, "%d"
2703+ entry = canin_gauge7, "CanIn CH7", int, "%d"
2704+#endif
2705+
2706+
2707+[LoggerDefinition]
2708+ ; valid logger types: composite, tooth, trigger, csv
2709+
2710+ ;loggerDef = uniqueName, Display Name, type
2711+ loggerDef = tooth, "Tooth Logger", tooth
2712+ ;dataReadCommand = "r\\x00\\xf4\\x00\\x00\\x04\\x00" ; standard TS command format
2713+ dataReadCommand = "T" ; Basic TS command format
2714+ dataReadTimeout = 15000 ; time in ms
2715+ dataReadyCondition = { toothLog1Ready }
2716+ dataLength = 256 ; in bytes, including headers, footers and data (not used)
2717+
2718+ ;recordDef = headerLen. footerLen, recordLen
2719+ recordDef = 0, 0, 2; in bytes, the recordLen is for each record, currently limited to 4 bytes
2720+
2721+ ;recordField = Name, HeaderName, startBit, bitCount, scale, units, updateCondition
2722+ recordField = toothGap, "ToothTime", 0, 16, 1.0, "uS"
2723+
2724+
2725+[Tools]
2726+ ;addTool = toolName, PanelName
2727+ addTool = veTableGenerator, "VE Table Generator", veTable1Tbl
2728+ addTool = afrTableGenerator, "AFR Table Generator", afrTable1Tbl
2729+
2730+
2731+[VeAnalyze]
2732+ ; tableName, lambdaTargetTableName, lambdaChannel, egoCorrectionChannel, activeCondition
2733+ veAnalyzeMap = veTable1Tbl, afrTable1Tbl, afr, egoCorrection
2734+ lambdaTargetTables = afrTable1Tbl, afrTSCustom,
2735+ filter = std_xAxisMin ; Auto build with appropriate axis channels
2736+ ;filter = minRPMFilter, "Minimum RPM", rpm, < , 500, , true
2737+ filter = std_xAxisMax ; Auto build with appropriate axis channels
2738+ filter = std_yAxisMin ; Auto build with appropriate axis channels
2739+ filter = std_yAxisMax ; Auto build with appropriate axis channels
2740+ filter = std_DeadLambda ; Auto build
2741+
2742+#if CELSIUS
2743+ filter = minCltFilter, "Minimum CLT", coolant, < , 71, , true
2744+#else
2745+ filter = minCltFilter, "Minimum CLT", coolant, < , 160, , true
2746+#endif
2747+ filter = accelFilter, "Accel Flag" , engine, & , 16, , false
2748+ filter = aseFilter, "ASE Flag" , engine, & , 4, , false
2749+ filter = overrunFilter, "Overrun" , pulseWidth, = , 0, , false
2750+ filter = std_Custom ; Standard Custom Expression Filter.
2751+
2752+;------------- WUE VEAL not currently working ----------------
2753+;[WueAnalyze]
2754+ ; tableName, lambdaTargetTableName, lambdaChannel, egoCorrectionChannel, activeCondition
2755+ ; wueAnalyzeMap = veTable1Tbl, afrTable1Tbl, afr, egoCorrection
2756+; wueAnalyzeMap = afrTable1Tbl, warmup_afr_curve, warmup_curve, afr, coolant, warmupEnrich ;warmup_afr_curve,
2757+; lambdaTargetTables = afrTable1Tbl, afrTSCustom,
2758+ ;filter = std_xAxisMin ; Auto build with appropriate axis channels
2759+ ;filter = minRPMFilter, "Minimum RPM", rpm, < , 500, , true
2760+ ;filter = std_xAxisMax ; Auto build with appropriate axis channels
2761+ ;filter = std_yAxisMin ; Auto build with appropriate axis channels
2762+ ;filter = std_yAxisMax ; Auto build with appropriate axis channels
2763+ ;filter = std_DeadLambda ; Auto build
2764+
2765+; filter = maxTPSFilter, "High Throttle", tps, < , 15, , true
2766+;------------- WUE VEAL not currently working ----------------