B&B Electronics 1939STB manual Byte, Intpnd

Page 18

Byte 5

Table 24. Byte 5

 

 

 

 

 

 

 

 

 

 

 

Byte 5

 

 

 

 

 

 

 

 

 

 

 

Bit Function

Bit 7

Bit 6

 

Bit 5

 

Bit 4

 

Bit 3

 

Bit 2

 

Bit 1

Bit 0

 

 

MSGVAL

 

 

 

TXIE

 

RXIE

 

 

INTPND

Sets the message valid

 

1

 

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Sets the message invalid

 

0

 

 

1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Transmit interrupt set

 

 

 

 

 

 

 

1

 

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

Transmit interrupt not set

 

 

 

 

 

 

 

0

 

 

1

 

 

 

 

 

 

 

 

 

 

 

 

 

Receive interrupt set

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

 

0

 

 

 

 

 

 

 

Receive not set

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

 

1

 

 

 

 

 

 

 

Interrupt has occurred

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

 

0

 

No interrupt pending

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

 

1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

NOTE: The dark gray (white letters) should be set to this value when sending a new message to the 1939STB.

MSGVAL Bits 6 and 7

Message Valid. The message must be valid before any operations can be preformed on it. Messages can be preloaded on the converter and activated / deactivated as needed. Note that all messages locations are set invalid at power up. Any time the converter is reset, all message information is lost.

TXIE Bits 5 and 4

Transmit Interrupt Enable. Set bit(s) INTPND after a message is successfully sent to the bus.

RXIE Bits 3 and 2

Receive Interrupt Enable. Set bit(s) INTPND after a message is received from the bus. NOTE: It is possible to send a remote frame by setting both the TXIE and RXIE. The controller will clear the TXIE after the message is sent or if the data is received before the message can be sent.

INTPND Bits 1 and 0

Interrupt Pending. Indicates that a message object has generated an interrupt request. Be aware that when a message is being serviced by the controller, it is temporarily inactive. This prevents a message from being overwritten by the J1939 controller while the message is being loaded to the serial port. During the upload the message location cannot receive or transmit.

16

1939STB4600 Manual

 

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 18
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 Reception of Data SAE-J1939 BusID Byte 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