B&B Electronics 1939STB manual Reception of Data, SAE-J1939 Bus, ID Byte

Page 31

Reception of Data

The 1939STB sends data to the RS-232 port and onto the PC using a 16 byte format. The first byte of the message is 42hex. The next byte is the Function byte. The next field displays the SAE-J1939 header. If an internal message is received then this field is filled with zero. The receive message header is detailed below.

Table 36. Message Received from the SAE-J1939 Bus

 

I

 

Func

 

 

J1939 Address

 

M

 

 

 

 

 

 

 

 

 

 

 

Data

 

 

 

 

 

 

 

 

 

 

 

 

 

D

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

C

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4

 

 

09

 

C

 

80

 

00

 

40

 

 

1

 

41

42

 

43

44

45

 

46

47

48

F

 

2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

E

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

F

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4

 

 

28

 

 

0

 

 

00

 

 

00

 

 

00

 

 

0

 

 

A

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

A

2

 

 

 

 

0

 

 

 

 

 

 

 

 

 

 

0

 

A

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

A

Table 36 shows the receive message. The black line separates the two types of messages that the 1939STB produces. Each message is detailed separately below.

SAE-J1939 Bus

Referring to Table 36 this is a message received from the SAE-J1939 bus. The first byte (ID) is the start of frame byte and is fixed at 42hex. The next byte is a function code byte. This byte is broken into two nibbles and decoded as follows:

Table 37. Function

 

 

Nibble 2

 

 

Nibble 1

Bit 7

Bit 6

 

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

The gray area shown in Table 36 is information that was not received from the bus, but is needed to track the message.

ID Byte

This is a start of a message and will always be 42Hex.

1939STB4600 Manual

29

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 31
Contents Model 1939STB RS-232 to J1939 Converter CETable of Contents SAE Publications Introduction1939STB4600 Manual Description Physical Description Electrical SpecificationCommunication directed to the device Format Byte 3 Nibble Control ByteByte Message Received from the SAE-J1939 Bus Vendor String SetupInternal Functions Vendor StringRS-232 Baud Change Baud Rate SetupRS-232 Baud Rate Change cont’d Byte 5 UB3 Parity SetupWord Length Stop Bit SetupJ1939 Format External CommandsValid Codes for Byte Message Header SetupTwo Bit Values for Byte 5 Message Information J1939 Message InformationIntpnd ByteTransmit DLC DIR XTD Bit2J1939 Message Frame SAE-J1939 Control Header1939STB4600 Manual Shown in Table Byte1939STB4600 Manual Byte 1939STB4600 Manual Bytes 9 1939STB4600 Manual DIR Message Direction DLC Data Length CodeData Field SAE-J1939 Bus Reception of DataID Byte Function Internal Messages Software Installation1939STB4600 Manual Message Transmission sending data to the 1939STB File Logging Saving Message InformationAppendix A. The Extended can / SAE-J1939 Message Frame Arbitration Field Appendix B. Example