HGM CAN Bus Messaging

Overview

Most of HGM’s products use SAE J1939 standard messages as their “native” protocol, usually at a 500 kb data rate.

Some versions of our controller software have menus under Network Setup / J1939 Messages which allows you to specifically enable and disable the various messages. In most cases, these messages will be disabled by default. Note that a reboot of the controller is often required after these messages have been enabled or disabled.

Protocol Specifics

Attached to this page is a DBC file for the commonly used messages, along with the tables below. Some things to be aware of:

  • All of the CAN arbitration ids used are 29 bit, not 11 bit, per J1939.

  • In the tables below, the last byte of the CAN id is set to “03”, which is the J1939 address for the first transmission control ECU.
    If you change this address in the controller setup, you will have to adjust the address accordingly.

  • In the attached DBC file, the last byte of the CAN id is marked as an "XX", indicating a wildcard.
    If you have to hard code this number, use a "03", which is the J1939 address for the first transmission control ECU.

  • The upper bits of a J1939 arbitration id are used for priority. In all cases, HGM uses the SAE recommended priority and that is shown in the tables below.

  • Not all signals and messages are transmitted for all transmission and engine type combinations.
    EEC1, EEC2 and ET1 are sent from the engine address, in the engine’s stead, and are not enabled in the J1939 engine configurations.

  • In J1939, an all ones bit combination is used to describe the "not available" situation, so if a bit field is all ones, then the system isn’t transmitting that signal.

  • For torque management, you will want to use the "shift in process" bits of ETC1.
    Not all transmission types transmit this signal.

  • Bytes are numbered 1-8, with 1 being the first byte in the CAN frame.

  • Bits are numbered 0 to 7, with 0 being the least significant bit in the byte.

  • To convert a signal: physical value = raw value × multiplier + offset. Multi-byte signals are little-endian (Intel byte order): the lower-numbered byte holds the least significant bits.

ETC1 Electronic Transmission

CAN ID 0x0CF00203 (29-bit extended) · sent every 10 ms

Byte

Bit

Length [bit]

Signal

Multiplier

Offset

Units

Range / values

1

0

2

Transmission Driveline Engaged (SPN 560)




0 – Driveline Disengaged
1 – Driveline Engaged
2 – Error
3 – Not Available

1

2

2

Transmission Torque Converter Lockup Engaged (SPN 573)




0 – Torque Converter Lockup Disengaged
1 – Torque Converter Lockup Engaged
2 – Error
3 – Not Available

1

4

2

Transmission Shift in Process (SPN 574)




0 – Shift is Not in Process
1 – Shift in Process
2 – Error
3 – Not Available

1

6

2

Transmission Torque Converter Lockup Transition in Process (SPN 4816)




0 – Transition is Not in Process
1 – Transition is in Process
2 – Error
3 – Not Available

2

0

16

Transmission Output Shaft Speed (SPN 191)

0.125

0

rpm

0..8031.88

6

0

16

Transmission Input Shaft Speed (SPN 161)

0.125

0

rpm

0..8031.88

EEC2 Electronic Engine Controls

CAN ID 0x0CF00303 (29-bit extended) · sent every 50 ms

Byte

Bit

Length [bit]

Signal

Multiplier

Offset

Units

Range / values

2

0

8

Accelerator Pedal Position 1 (SPN 91)

0.4

0

%

0..100

5

0

8

Accelerator Pedal Position 2 (SPN 29)

0.4

0

%

0..100

EEC1 Electronic Engine Controls

CAN ID 0x0CF00403 (29-bit extended) · sent every 10 ms

Byte

Bit

Length [bit]

Signal

Multiplier

Offset

Units

Range / values

1

4

4

Actual Engine Percent Torque High Resolution (SPN 4154)

0.125

0

%

0..0.875

2

0

8

Driver's Demand Engine Percent Torque (SPN 512)

1

-125

%

-125..125

3

0

8

Actual Engine Percent Torque (SPN 513)

1

-125

%

-125..125

4

0

16

Engine Speed (SPN 190)

0.125

0

rpm

0..8031.88

8

0

8

Engine Demand Percent Torque 2 (SPN 2432)

1

-125

%

-125..125

ETC2 Electronic Transmission

CAN ID 0x18F00503 (29-bit extended) · sent every 100 ms

Byte

Bit

Length [bit]

Signal

Multiplier

Offset

Units

Range / values

1

0

8

Transmission Selected Gear (SPN 524)

1

-125


-125..125

2

0

16

Transmission Actual Gear Ratio (SPN 526)

0.001

0


0..64.255

4

0

8

Transmission Current Gear (SPN 523)

1

-125


-125..125

5

0

16

Transmission Requested Range (SPN 162)




Two ASCII characters. See the text values below.

7

0

16

Transmission Current Range (SPN 163)




Two ASCII characters. See the text values below.

Transmission Requested Range and Current Range text values

Each field is two ASCII characters, the first in the lower-numbered byte. A single character is sent in the second position, with a space before it. Both fields are FF FF (not available) when the controller does not provide them.

Requested Range is the shift selector position.

Current Range is the same in automatic mode. In the other modes it is the mode letter and the selected gear.

Text

Meaning

" P"

Park

" R"

Reverse

" N"

Neutral

" D"

Drive

"D1", "D2", "D3", …

Drive, held to that gear: the lever in a lower position, or range select on

" I"

Shift selector position not recognized

"M" + gear

Manual mode and the selected gear, for example "M3"; the gear is a digit, R or N

"S" + gear

Switch shift mode and the selected gear

"T" + gear

Diagnostic mode and the selected gear

"F" + gear

Failsafe and the selected gear

ETC8 Electronic Transmission

CAN ID 0x18F00C03 (29-bit extended) · sent every 20 ms

Byte

Bit

Length [bit]

Signal

Multiplier

Offset

Units

Range / values

1

0

16

Transmission Torque Converter Ratio (SPN 3030)

0.001

0


0..64.255

3

0

16

Transmission Clutch Converter Input Speed (SPN 5052)

0.125

0

rpm

0..8031.88

ACCS Acceleration Sensor

CAN ID 0x18F02D03 (29-bit extended) · sent every 10 ms

Byte

Bit

Length [bit]

Signal

Multiplier

Offset

Units

Range / values

1

0

16

Lateral Acceleration Extended Range (SPN 5347)

0.01

-320

m/s^2

-320..322.55

3

0

16

Longitudinal Acceleration Extended Range (SPN 5348)

0.01

-320

m/s^2

-320..322.55

5

0

16

Vertical Acceleration Extended Range (SPN 5349)

0.01

-320

m/s^2

-320..322.55

TRF2 Transmission Fluids 2

CAN ID 0x18FD9503 (29-bit extended) · sent every 1000 ms

Byte

Bit

Length [bit]

Signal

Multiplier

Offset

Units

Range / values

1

4

2

Transmission Overheat Indicator (SPN 5345)




0 – Transmission Overheat Indicator is Off
1 – Transmission Overheat Indicator is On Continuously
2 – Transmission Overheat Indicator is Flashing
3 – Not Available

2

0

16

Transmission Torque Converter Oil Outlet Temperature (SPN 3823)

0.03125

-273

deg C

-273..1734.97

ETC7 Electronic Transmission

CAN ID 0x18FE4A03 (29-bit extended) · sent every 100 ms

Byte

Bit

Length [bit]

Signal

Multiplier

Offset

Units

Range / values

1

0

2

Transmission Current Range Display Blank State (SPN 4176)




0 – Not Blanked
1 – Blanked
2 – Error
3 – Not Supported

1

2

2

Transmission Service Indicator (SPN 4178)




0 – Transmission Service Indicator is Off
1 – Transmission Service Indicator is on Continuously
2 – Transmission Service Indicator is Flashing
3 – Not Available

1

4

2

Transmission Requested Range Display Blank State (SPN 1850)




0 – Inactive; Transmission Requested Range display should NOT be blanked
1 – Active; Transmission Requested Range display SHOULD be blanked
2 – Reserved
3 – No Action

1

6

2

Transmission Requested Range Display Flash State (SPN 1849)




0 – Inactive; Transmission Requested Range display should NOT be flashing
1 – Active; Transmission Range display SHOULD be flashing
2 – Reserved
3 – No Action

2

2

2

Active Shift Console Indicator (SPN 2945)




0 – Primary Shift Console is Active
1 – Secondary Shift Console is Active
2 – Reserved
3 – Not Available

2

4

2

Transmission Engine Crank Enable (SPN 2900)




0 – Cranking Disabled; engine cranking is prohibited by the transmission
1 – Cranking Enabled; engine cranking is allowed by the transmission
2 – Error
3 – Not Available

2

6

2

Transmission Shift Inhibit Indicator (SPN 1851)




0 – Inactive; shift is not inhibited
1 – Active (on continuously); shift is inhibited
2 – Active (flashing)
3 – No Action

3

0

2

Transmission Mode 4 Indicator (SPN 2539)




0 – Transmission Mode 4 Not Active
1 – Transmission Mode 4 Active
2 – Error
3 – Not Available

3

2

2

Transmission Mode 3 Indicator (SPN 2538)




0 – Transmission Mode 3 Not Active
1 – Transmission Mode 3 Active
2 – Error
3 – Not Available

3

4

2

Transmission Mode 2 Indicator (SPN 2537)




0 – Transmission Mode 2 Not Active
1 – Transmission Mode 2 Active
2 – Error
3 – Not Available

3

6

2

Transmission Mode 1 Indicator (SPN 2536)




0 – Transmission Mode 1 Not Active
1 – Transmission Mode 1 Active
2 – Error
3 – Not Available

4

0

8

Transmission Requested Gear Feedback (SPN 3289)

1

-125


-125..125

5

0

2

Transmission Mode 5 Indicator (SPN 4250)




0 – Disable
1 – Enable
2 – Reserved
3 – No Action

5

2

2

Transmission Mode 6 Indicator (SPN 4251)




0 – Disable
1 – Enable
2 – Reserved
3 – No Action

5

4

2

Transmission Mode 7 Indicator (SPN 4252)




0 – Disable
1 – Enable
2 – Reserved
3 – No Action

5

6

2

Transmission Mode 8 Indicator (SPN 4253)




0 – Disable
1 – Enable
2 – Reserved
3 – No Action

6

0

2

Transmission Reverse Gear Shift Inhibit Status (SPN 4261)




0 – Reverse Gear Shifts are Currently Allowed
1 – Reverse Gear Shifts are Currently Inhibited
2 – Error
3 – Not Available

6

2

2

Transmission Warning Indicator (SPN 5344)




0 – Transmission Warning Indicator is Off
1 – Transmission Warning Indicator is On Continuously
2 – Transmission Warning Indicator is Flashing
3 – Not Available

VEP2 Vehicle Electrical Power

CAN ID 0x18FE8D03 (29-bit extended) · sent every 1000 ms

Byte

Bit

Length [bit]

Signal

Multiplier

Offset

Units

Range / values

1

0

16

Battery Potential Power Input 2 (SPN 444)

0.05

0

V

0..3212.75

3

0

16

ECU Power Output Supply Voltage 1 (SPN 3597)

0.05

0

V

0..3212.75

5

0

16

ECU Power Output Supply Voltage 2 (SPN 3598)

0.05

0

V

0..3212.75

7

0

16

ECU Power Output Supply Voltage 3 (SPN 3599)

0.05

0

V

0..3212.75

ET2 Engine Temperature 2

CAN ID 0x18FEA403 (29-bit extended) · sent every 1000 ms

Byte

Bit

Length [bit]

Signal

Multiplier

Offset

Units

Range / values

3

0

16

ECU Temperature (SPN 1136)

0.03125

-273

deg C

-273..1734.97

ETC6 Electronic Transmission

CAN ID 0x18FEAB03 (29-bit extended) · sent on 50ms

Byte

Bit

Length [bit]

Signal

Multiplier

Offset

Units

Range / values

1

0

8

Recommended Gear (SPN 1113)

1

-125


-125..125

2

0

8

Highest Possible Gear (SPN 1115)

1

-125


-125..125

3

0

8

Lowest Possible Gear (SPN 1114)

1

-125


-125..125

DM1 Active Diagnostic Trouble Codes

CAN ID 0x18FECA03 (29-bit extended) · sent every 1000 ms

Byte

Bit

Length [bit]

Signal

Multiplier

Offset

Units

Range / values

1

0

2

Protect Lamp (SPN 987)




0 – Lamp Off
1 – Lamp On
2 – Reserved
3 – Reserved

1

2

2

Amber Warning Lamp (SPN 624)




0 – Lamp Off
1 – Lamp On
2 – Reserved
3 – Reserved

1

4

2

Red Stop Lamp (SPN 623)




0 – Lamp Off
1 – Lamp On
2 – Reserved
3 – Reserved

ET1 Engine Temperature 1

CAN ID 0x18FEEE00 (29-bit extended) · sent every 1000 ms

Byte

Bit

Length [bit]

Signal

Multiplier

Offset

Units

Range / values

1

0

8

Engine Coolant Temperature (SPN 110)

1

-40

deg C

-40..210

CCVS1 Cruise Control Vehicle

CAN ID 0x18FEF103 (29-bit extended) · sent every 100 ms

Byte

Bit

Length [bit]

Signal

Multiplier

Offset

Units

Range / values

2

0

16

Wheel Based Vehicle Speed (SPN 84)

0.00390625

0

km/h

0..250.996

4

4

2

Brake Switch (SPN 597)




0 – Brake pedal released
1 – Brake pedal depressed
2 – Error
3 – Not Available

TRF1 Transmission Fluids 1

CAN ID 0x18FEF803 (29-bit extended) · sent every 1000 ms

Byte

Bit

Length [bit]

Signal

Multiplier

Offset

Units

Range / values

1

0

8

Clutch Pressure (SPN 123)

16

0

kPa

0..4000

2

0

8

Transmission Oil Level 1 (SPN 124)

0.4

0

%

0..100

4

0

8

Transmission Oil Pressure (SPN 127)

16

0

kPa

0..4000

5

0

16

Transmission Oil Temperature 1 (SPN 177)

0.03125

-273

deg C

-273..1734.97

7

0

8

Transmission Oil Level 1 High Low (SPN 3027)

0.5

-62.5

L

-62.5..62.5

8

0

4

Transmission Oil Level 1 Countdown Timer (SPN 3028)




See the value table below.

8

4

4

Transmission Oil Level 1 Measurement Status (SPN 3026)




See the value table below.

Transmission Oil Level 1 Countdown Timer

Value

Meaning

0

Less than 1 Minute

1

One Minute

2

Two Minutes

3

Three Minutes

4

Four Minutes

5

Five Minutes

6

Six Minutes

7

Seven Minutes

8

Eight Minutes

9

Nine Minutes

10

Ten Minutes

11

Eleven Minutes

12

Twelve Minutes

13

Thirteen Minutes

14

Error

15

Not Available

Transmission Oil Level 1 Measurement Status

Value

Meaning

0

Conditions Valid for Transmission Oil Level Measurement

1

Conditions Not Valid - Setting Timer Still Counting Down

2

Conditions Not Valid - Transmission in Gear

3

Conditions Not Valid - Transmission Fluid Temperature Too Low

4

Conditions Not Valid - Transmission Fluid Temperature Too High

5

Conditions Not Valid - Vehicle Moving; Output Shaft Speed Too High

6

Conditions Not Valid - Vehicle Not Level

7

Conditions Not Valid - Engine Speed Too Low

8

Conditions Not Valid - Engine Speed Too High

9

Conditions Not Valid - No Request for Reading

10

Not Defined

11

Not Defined

12

Not Defined

13

Conditions Not Valid - Other

14

Error

15

Not Available

DBC File

HGM Standard Messages