B&B Electronics 1939STB manual Appendix A. The Extended can / SAE-J1939 Message Frame

Page 38

Appendix A. The Extended CAN / SAE-J1939 Message Frame

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Arbitration Field

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Control Field

 

 

Data

CRC

Ack

EOF

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Field

Field

Field

 

S

 

 

 

 

Identifier

(11) bits

 

 

 

S

I

 

 

 

 

 

 

 

Identifier Extension

(18 Bits)

 

 

 

 

R

R

R

 

DLC

 

 

 

 

 

 

1

2

 

3

4

5

6

 

7

8

 

9

1

1

1

2

3

4

 

5

6

7

 

8

9

1

1

1

1

 

1

1

1

1

1

1

 

2

3

4

8 bytes

2 bytes

 

 

O

 

 

 

 

 

 

 

 

 

 

 

 

0

1

R

D

 

 

 

 

 

 

 

 

 

 

 

0

1

2

3

 

4

5

6

7

8

T

1

0

 

 

 

 

 

64 bits

16 bits

 

 

F

Priority

 

R

D

PDU Format (PF)

 

S

E

PF

 

PDU Specific (PS)

 

 

 

 

 

Source Address

 

 

R

 

 

 

 

 

 

 

 

 

 

 

 

(3 bits)

 

1

P

 

 

(8 bits)

 

 

 

 

 

Cont

 

 

(8 Bits)

 

 

 

 

 

 

 

 

(8 Bits)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

2

3

 

4

5

6

7

 

8

9

 

1

1

1

1

1

1

1

1

1

 

1

2

2

 

2

2

2

2

2

2

 

2

2

3

3

3

3

3

3

3

 

3

3

3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

1

2

3

4

5

6

7

8

 

9

0

1

 

2

3

4

5

6

7

 

8

9

0

1

2

3

4

5

6

 

7

8

9

 

 

 

 

The table above shows a comparison between the SAE-J1939 message frame and the extended CAN message frame.

The bold line separates the upper and lower parts of the table. The upper half of the table shows the CAN data frame labels and the lower part of the table contains the SAE-J1939 data labels. The areas that are in gray are controlled by the CAN controller and cannot be altered.

The CAN extended frame is made up of 6 fields: Arbitration, Control, Data, CRC, ACK, EOF. The arbitration field is subdivided into two fields of 11 and 18 bit identifiers. CAN uses these fields to determine both identification and priority.

The SAE-J1939 specification future subdivides the arbitration field as follows:

Priority

3 bits with a value of 0 to 7 - with 0 having the highest priority.

R1

1 bit. This bit is reserved by the SAE for future use and should be set to 0.

DP Data Page

1bit. Sets an auxiliary page of parameter groups.

PDU-Format

8 bit. One of the fields that makes up the Parameter Group Number.

PDU-Specific

8 bit. The second field the makes up the Parameter Group Number.

Source Address 8 bit. The address of the sending/receiving node.

The fields above are required to send a message on the SAE-J1939 bus. Additionally the 8 byte data field may or may not contain data.

An expanded view of the Arbitration field is shown on the following page.

1939STB4600 Manual

Appendix A

A-1

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104

B&B Electronics Ltd – Westlink Commercial Park – Oranmore, Galway, Ireland – Ph +353 91 792444 – Fax +353 91 792445

Image 38
Contents RS-232 to J1939 Converter CE Model 1939STBTable of Contents Introduction SAE Publications1939STB4600 Manual Description Electrical Specification Physical DescriptionCommunication directed to the device Format Control Byte Byte 3 NibbleByte Vendor String Vendor String SetupInternal Functions Message Received from the SAE-J1939 BusBaud Rate Setup RS-232 Baud ChangeRS-232 Baud Rate Change cont’d Parity Setup Byte 5 UB3Stop Bit Setup Word LengthExternal Commands J1939 FormatMessage Header Setup Valid Codes for ByteMessage Information J1939 Message Information Two Bit Values for Byte 5Byte IntpndTransmit XTD Bit2 DLC DIRSAE-J1939 Control Header J1939 Message Frame1939STB4600 Manual Byte Shown in Table1939STB4600 Manual Byte 1939STB4600 Manual Bytes 9 1939STB4600 Manual DLC Data Length Code DIR Message DirectionData Field ID Byte Reception of DataSAE-J1939 Bus Function Internal Messages Installation Software1939STB4600 Manual Message Transmission sending data to the 1939STB Saving Message Information File LoggingAppendix A. The Extended can / SAE-J1939 Message Frame Arbitration Field Appendix B. Example