equation #342
-
Does anyone of you guys know how to query signed values in wican eqation? PS: total ack charge is properly working. The equation here is: From my point of view this is a very interesting date. Why?: with total charge discharge along with odometer you can calculate "real" power consumption of your car... |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
figured it out by myself. In case it is useful for someone: |
Beta Was this translation helpful? Give feedback.
-
Another question: Is there also an equation for ascii strings available? Need to get 7 bytes from OBD return code interpreted as text. |
Beta Was this translation helpful? Give feedback.
figured it out by myself. In case it is useful for someone:
total acknowledged discharge is a signed 32bit decimal in VW ID.3=Cupra Born.
equation is: ([B19:B20]*65536 + [B21:B22] - 4294967296)/8583.07123641215
4294967296 corresponds to 2^32
All you have to do is subtract 2^32 from result of [B19:B20]*65536 + [B21:B22]. Result is a negative decimal representing total discharged in kWh.