luda8890
Joined: 03 Mar 2016 Posts: 6

Posted: Thu Mar 03, 2016 9:01 pm Post subject: mathematical issues 


Lets start with why I have this question. I am working on developing support for the 8891 preludes using the PK2 ecus. I have had a working mask for about two years, although limited to the six fuel tables, the six ignition tables, and the check sum on/off functionality. I took a break from this project for about 1.5 years other wise I believe I would have more.
The equation I am using for the fuel is D=(V*0.027)(110.595*M)
The variables in this are Dduty cycle, Vraw table value in hex converted to decimal, and Mtable multiplier.
In the PK2 ecus the table multiplier (M) is the first character on the left of the 16 bit fuel value. So for fuel value 6411, the 6 is the multiplier value (M).
So my question finally is, can I set tunerpro to only read the hex digit of the multiplier so I don't have to manually enter the value for M into the equation for each load cell as every cell has its own multiplier value unlike many popular Honda ECU codes.
I can't seem to find a way to set the definition of M to only read the first byte. 
