## Forums

#### Guest

Welcome Guest, posting in this forum require registration.

 Pages: [1]
Author Topic: Custom PID Problem (or possibly personal stupidity)
FntX
Member
Posts: 57
 Custom PID Problem (or possibly personal stupidity)on: April 6, 2018 (GMT)

When requesting a value for BMW ECUs, the response looks like this on the “Test Screen”:
6C104510

The actual PID values are represented by the last two bytes:
45 10

When referencing ‘A’ in the formula, it yields ’10’

Shouldn’t ‘A’ yield ‘6C’ ? Or is ‘A’ referencing the last byte?

Am I missing something here?

cintakc
Member
Posts: 1608
 Re: Custom PID Problem (or possibly personal stupidity)on: April 6, 2018 (GMT)

6C104510
6C – R0
10 – R1
45 – R2
10 – R3 or A
xx – R4 or B
…..

FntX
Member
Posts: 57
 Re: Custom PID Problem (or possibly personal stupidity)on: April 6, 2018 (GMT)

Thank you very much for clearing things up!

So next thing is to combine to the last two bytes into one value.

Is this the correct syntax?

cintakc
Member
Posts: 1608
 Re: Custom PID Problem (or possibly personal stupidity)on: April 6, 2018 (GMT)

depending on which formula will be used,
for example: (R2*256+R3)

FntX
Member
Posts: 57
 Re: Custom PID Problem (or possibly personal stupidity)on: April 6, 2018 (GMT)

The two bytes R2 and R3 need to be treated as a word – therefore the question about how to append R2 to R3 for proper treatment.

cintakc
Member
Posts: 1608
 Re: Custom PID Problem (or possibly personal stupidity)on: April 6, 2018 (GMT)

if as a word, then I gave an example above
(R2*256+R3) = 0 – 65535 dec

FntX
Member
Posts: 57
 Re: Custom PID Problem (or possibly personal stupidity)on: April 6, 2018 (GMT)

Thanks, that worked

doodedge
Member
Posts: 5
 Re: Custom PID Problem (or possibly personal stupidity)on: April 7, 2018 (GMT)

Test

Reno, NV
2005 Mercedes E55 AMG

 Pages: [1]
WP-Forum by: Fredrik Fahlstad, Version: 2.4