Torque

Forums

Forums

Guest  

Show or hide header
Welcome Guest, posting in this forum require registration.




Torque » Torque OBD ECU Scanner » Torque Discussion / Ideas » Understanding Duramax REAG_LVL PID?

Pages: [1]
Author Topic: Understanding Duramax REAG_LVL PID?
ghostrider
Member
Posts: 7
Post Understanding Duramax REAG_LVL PID?
on: June 15, 2017 (GMT)

I’m trying to get the REAG_LVL (DEF Fluid Level) from , and it works, but I dont understand the response…wondering if someone can break down how to read the bits/bytes for this example?

Full spec is:

A = Byte 1 of 10
A, bit 0 = Avg Reagent Consumption Supported
A, bit 1 = Avg Demanded Reagent Consumption Supported
A, bit 2 = Reagent Tank Level Supported
A, bit 3 = Minutes run by engine while NOx warning mode is activated Supported
A, bits 4-7 = Reserved – 0 default

B,C = Average Reagent Consumption
0 L/h to 327.675 L/h
0.005 L/h per bit scaling
xxx.xx L/h

D,E = Average Demanded Reagent Consumption
0 L/h to 327.675 L/h
0.005 L/h per bit scaling
xxx.xx L/h

F = Reagent Tank Level
0% to 100%
100/255 % scaling
xxx.x %

G,H,I,J = Total run time by the engine while NOx warning mode is activated
0 sec to 4,294,967,295 sec at 1 sec/bit
xxxxxxx hrs, xx min

I sent a 0185 and full response is:

7E8100C418504000000
7E82100FF00000000AA

A = 04 (bit 2 set = REAG_LVL supported)
(100/255) * F = 100%

…so I got the result I wanted which was to read REAG_LVL and its at 100%…but I don’t understand the full response.

7E8 10 0C 41 85 04 00 00 00
7E8 21 00 FF 00 00 00 00 AA

I know 7E8 means engine ECU response, and I see the 04(A) and FF(F) but I don’t understand how 04 is A…and FF is F.

What bytes correspond to the respective letter in the example above? And How does it know that?

Capp777
Member
Posts: 2993
Post Re: Understanding Duramax REAG_LVL PID?
on: June 15, 2017 (GMT)

I could be wrong but I believe
Torque assigns its variables like this:

……………………….A…B…C…D
7E8 10 0C 41 85 04 00 00 00

………….E…F…G…H…I…J…K
7E8 21 00 FF 00 00 00 00 AA

Where…

7E8 – responding module.

10/21 – multiframe message flow control
used to assemble frames in proper order.

0C – number data bytes following in hex (12 decimal)
for embedded message.

41 85 – response for given pid…
plus 10 data bytes. (Torque begins assigning variables
after the pid response bytes).

AA – padded to complete last message frame.

I suggest searching for the Elm327 document
which explains its commands and some basic
concepts for the different protocols supported.

(An encapsulated message within a message).

Pages: [1]
WP-Forum by: Fredrik Fahlstad, Version: 2.4
Page loaded in: 0.011 seconds.

  Follow me on twitter