Mode 01 PID 31 (SAE J1979) reports distance travelled since codes cleared. Request 01 31; the response 41 31 carries 2 data bytes, decoded with 256 A + B.
Request: 01 31
Response: 41 31 A BSend 01 31 to the functional address 0x7DF (every emissions ECU answers) or to one ECU, such as 0x7E0 for the engine. The answer starts 41 31 and carries 2 data bytes, named A and B in the formula. In a freeze frame (mode 02) the same PID comes as 42 31 00 followed by the data.
| Value | Formula | Unit |
|---|---|---|
| Distance travelled since codes cleared | 256 A + B | km |
Response: 41 31 05 DC
Distance travelled since codes cleared: 1500 km