B&B Electronics HVD100A3 manual Introduction, Intelligent Mode Verification

Page 5

Introduction

The HDV100A3 adapter has two modes of operation: J1708 Intelligent and J1939 Intelligent mode In Intelligent mode the HDV100A3 works with a command protocol to control different operations of the HDV100A3.

The HDV100A3 performs several functions in the intelligent mode in order to reduce the overhead and timing requirements of the host application when communicating with the J1708 bus. The device handles collision detection and retries with no additional interaction from the host application. This greatly reduces the processor overhead required by the host in order to communicate efficiently with the J1708 bus.

Note that the HDV100A3 is powered from the vehicle side of the interface. If the device is to be used without a vehicle, it will be necessary to connect power to the device through the 15-pin connector. Positive voltage is connected on pin 8. Pin 7 is connected to ground.

Intelligent Mode Verification

To confirm that the HDV100A3 is in the Intelligent mode, set the host baud rate to 115.2 KB 8,1,N. The host application can request the vendor number from the HDV100A3 This is done by sending the following string in hex from the host to the HDV100A3:

(01, 01, 05, 00, 07)

It will respond as follows:

Hex (01, 0B, 85, MM, DD, MA, M1, M2, MO, 00, VV, VV, 00, DB, CS)

An example of this command can be found on page 12 of this document. The HDV100A3 does not need to be connected to a vehicle to respond, however power must be supplied the HDV100A3.

HDV100A3 Command & Response Manual-1306cr

1

B&B Electronics -- 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350

PH (815) 433-5100 -- FAX (815) 433-5104

Image 5
Contents HDV100A3 Command Response Protocol Page Table of Contents Do Not Transmit Any Messages to the network Introduction Intelligent Mode VerificationIntelligent Mode Message Structure Intelligent Mode Command ProtocolSOF Control Field StructureFormatting the Control Bytes Detailed Description of General Function Codes Command AcknowledgementRS-232 Baud Rate Setup HDV100A3 Command & Response Manual-1306cr Setting Baud 1, Baud Baud Rate Setup Table UB3 Baud Rate ExampleByte Byte Function Number Value Hex Reply from HDV100A3 Byte Function Number ValueFunction code 20 = stop time stamping Vendor Information Master Reset CommandByte Byte Value Byte Function Number Hex J1708 CommandsReceiving Data from the J1708 Bus Function code 10 hex stop receive Priority Byte Value Binary Value Hex Value Transmitting Data to the J1708 BusID bytes 9 = transmit OK Set Filter Off Byte Function Number Value J1708 Message FilterSet Filter Active Byte Function Number Value Data Broadcast MessageByte 6 Priority Values Byte 4 ValuesJ1939 Commands Stop Receive on J1939 Bus Start Receive on J1939 BusArbitration Field Y1, Y2, Y3, Y4 Message received from the HDV will be formatted as follows MSB-1 Transmit Data to J1939 BusMSB-2 Set MaskSet Filter 1 to HDV100A3 Command & Response Manual-1306cr J1939 Header Worksheet DEC HEX Error Codes