You need engine speed, vehicle speed, and coolant temperature from a truck, and J1939 defines thousands of parameters. In practice, most projects use the same dozen PGNs. This page lists them with the byte positions and scaling you need to decode them.

New to the terms? A PGN identifies a message, and an SPN is one value inside it. See what a PGN is for how they map onto the 29-bit CAN ID.

How to read the tables

  • Bytes count from 1, as in the J1939 documents. Multi-byte values are little-endian (low byte first).
  • Physical value = raw × scale + offset.
  • Not available is all ones: 0xFF for one byte, 0xFFFF for two. Error values start at 0xFE and 0xFE00. Filter both before you trust a value.

The values below match the published J1939 definitions as widely documented. The SAE J1939 Digital Annex is the authoritative list; check it, or your engine maker's documentation, before production use.

Engine

PGNNameSPNParameterBytesScaleOffset
61444 (F004)EEC1 Electronic Engine Controller 1190Engine speed4–50.125 rpm0
513Actual engine percent torque31 %−125 %
512Driver's demand engine percent torque21 %−125 %
61443 (F003)EEC2 Electronic Engine Controller 291Accelerator pedal position 120.4 %0
92Engine percent load at current speed31 %0
65262 (FEEE)ET1 Engine Temperature 1110Engine coolant temperature11 °C−40 °C
174Engine fuel temperature 121 °C−40 °C
175Engine oil temperature 13–40.03125 °C−273 °C
65263 (FEEF)EFL/P1 Engine Fluid Level/Pressure 194Fuel delivery pressure14 kPa0
98Engine oil level30.4 %0
100Engine oil pressure44 kPa0

EEC1 is the fastest of these, sent at a rate that rises with engine speed, usually with priority 3 (0CF004xx). ET1 and EFL/P1 are slower status messages (18FEEExx, 18FEEFxx).

Vehicle and transmission

PGNNameSPNParameterBytesScaleOffset
65265 (FEF1)CCVS1 Cruise Control/Vehicle Speed 184Wheel-based vehicle speed2–31/256 km/h0
61445 (F005)ETC2 Electronic Transmission Controller 2524Selected gear11 gear−125
523Current gear41 gear−125
65248 (FEE0)VD Vehicle Distance245Total vehicle distance5–80.125 km0

A gear value of 0 is neutral, negative values are reverse gears, and 251 (raw) means park.

Fuel, electrics, and environment

PGNNameSPNParameterBytesScaleOffset
65266 (FEF2)LFE1 Fuel Economy (Liquid) 1183Engine fuel rate1–20.05 L/h0
184Instantaneous fuel economy3–41/512 km/L0
65257 (FEE9)LFC1 Fuel Consumption (Liquid) 1250Engine total fuel used5–80.5 L0
65276 (FEFC)DD Dash Display96Fuel level 120.4 %0
65271 (FEF7)VEP1 Vehicle Electrical Power 1168Battery potential / power input 15–60.05 V0
65269 (FEF5)AMB Ambient Conditions108Barometric pressure10.5 kPa0
171Ambient air temperature4–50.03125 °C−273 °C
65253 (FEE5)HOURS Engine Hours, Revolutions247Engine total hours of operation1–40.05 h0
65260 (FEEC)VI Vehicle Identification237Vehicle identification number (VIN)ASCII

Network and diagnostics

PGNNameWhat it is for
0 (0000)TSC1 Torque/Speed Control 1Commands to the engine from transmission, retarder, or other controllers
59392 (E800)AcknowledgementPositive or negative reply to a command or request
59904 (EA00)RequestAsk an ECU to send a PGN
60160 (EB00)TP.DTTransport protocol data packets
60416 (EC00)TP.CMTransport protocol announcement and control
60928 (EE00)Address ClaimedAn ECU claims its source address
65226 (FECA)DM1Active fault codes and warning lamps
65227 (FECB)DM2Previously active fault codes

See the guides to DM1 fault codes, the transport protocol, and address claiming for these.

Worked example: vehicle speed

A CCVS1 frame from the engine at address 0x00:

Example
18FEF100  [8]  FF 00 50 FF FF FF FF FF

Bytes 2–3 are 00 50. Little-endian, that is 0x5000 = 20480. Multiply by 1/256: 80.0 km/h.

Python
data = bytes.fromhex("FF0050FFFFFFFFFF")
raw = int.from_bytes(data[1:3], "little")
if raw < 0xFE00:  # skip error and not-available values
    print(raw / 256, "km/h")  # 80.0 km/h

Coolant temperature works the same way. An ET1 frame with byte 1 = 0x78 (120) gives 120 − 40 = 80 °C.

Some PGNs only arrive on request

Engine hours, vehicle distance, total fuel used, and the VIN are usually sent only when another ECU asks for them. To ask, send the Request PGN 59904 with the wanted PGN in 3 bytes, low byte first.

To request engine hours (PGN 65253 = 0x00FEE5) from the engine at address 0x00, from a tool at address 0xF9:

Terminal
cansend can0 18EA00F9#E5FE00

The engine replies with 18FEE500. The VIN is longer than 8 bytes, so it comes back with the transport protocol as ASCII text, usually ending with *.

Only send requests on a vehicle or bench you are allowed to transmit on, and give your tool an address that no ECU uses.

Proprietary PGNs

Two PGN ranges are reserved for manufacturers to use as they like:

  • Proprietary A, PGN 61184 (EF00), addressed to one ECU.
  • Proprietary B, PGN 65280 to 65535 (FF00–FFFF), broadcast.

Their content differs between makers and even between models. You need the manufacturer's DBC or documentation to decode them, or you have to work them out from recordings.

Frequently asked questions

What is the J1939 PGN for engine speed?

PGN 61444 (0xF004), called EEC1. Engine speed is SPN 190 in bytes 4–5, at 0.125 rpm per bit.

What is the J1939 PGN for vehicle speed?

PGN 65265 (0xFEF1), called CCVS1. Wheel-based vehicle speed is SPN 84 in bytes 2–3, at 1/256 km/h per bit.

How do I get engine hours over J1939?

Send a Request (PGN 59904) for PGN 65253. The engine answers with the HOURS message, where SPN 247 in bytes 1–4 gives total hours at 0.05 h per bit.

References