B&B Electronics 1939STB manual Description

Page 5

Description

The 1939STB is an interface device allowing the user to connect a PC to an SAE-1939 bus via a serial port. The 1939STB conforms to the Physical Layer specification as set forth in SAE-J1939/11. The 1939STB allows the reception and transmission of messages over an SAE-J1939 standard bus. This converter has 14 message “slots” that can be configured for either reception or transmission. A sample program is provided to aid in the setup of the interface. Source code is provided and can be found in a subdirectory under B&B Electronics/J1939/VB6. The Visual Basic program runs under Windows: however, setup and data transfers can be sent and received by any terminal capable of serial communications.

The power supply is a wide-range design and will accept a DC voltage between 10 and 42 volts. The 1939STB has reverse polarity protection. Power is connected to the 1939STB though a terminal block located under the snap cover. +DC is connected to the terminal marked “POWER”. -DC is connected to the terminal marked “GND”.

The serial port on the 1939STB is a 9-pin male connection, configured as DCE (pin 2 receive// pin 3 transmit). The serial baud rate is user selectable between 300 and 57600. The stop, parity, and word length can also be adjusted.

Two LED’s are provided on the 1939STB. One indicates that DC power is connected to the converter and the power supply is working properly. This LED will be lit constantly. The second LED is labeled “DATA”. This LED monitors the function of the converter. After the device is connected, the LED should flash approximately once every 2 seconds. The flashing LED confirms that the converter is operating properly and is ready to accept data.

Connection to the SAE-J1939 bus is made by a terminal connection. The terminal, located under the snap cover, is marked “CAN LOW and “CAN HIGH”. In some applications it may be necessary to add a terminating resistor across the CAN high/low terminals. Consult the SAE-J1939/11 publication for details concerning terminating resistors.

The terminals marked “ A” and “B” are not used.

1939STB4600 Manual

3

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 5
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 Internal Functions Vendor String SetupVendor String Message Received from the SAE-J1939 BusRS-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 ID Byte Reception of DataSAE-J1939 Bus 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